Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterGoNSLApiServer(s *grpc.Server, srv GoNSLApiServer)
- type DstIpFieldEntry
- func (*DstIpFieldEntry) Descriptor() ([]byte, []int)
- func (m *DstIpFieldEntry) GetEthType() uint32
- func (m *DstIpFieldEntry) GetInPort() uint32
- func (m *DstIpFieldEntry) GetIpDst() string
- func (*DstIpFieldEntry) ProtoMessage()
- func (m *DstIpFieldEntry) Reset()
- func (m *DstIpFieldEntry) String() string
- func (m *DstIpFieldEntry) XXX_DiscardUnknown()
- func (m *DstIpFieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DstIpFieldEntry) XXX_Merge(src proto.Message)
- func (m *DstIpFieldEntry) XXX_Size() int
- func (m *DstIpFieldEntry) XXX_Unmarshal(b []byte) error
- type EthDstFieldEntry
- func (*EthDstFieldEntry) Descriptor() ([]byte, []int)
- func (m *EthDstFieldEntry) GetEthDst() string
- func (m *EthDstFieldEntry) GetEthMask() string
- func (m *EthDstFieldEntry) GetInPort() uint32
- func (*EthDstFieldEntry) ProtoMessage()
- func (m *EthDstFieldEntry) Reset()
- func (m *EthDstFieldEntry) String() string
- func (m *EthDstFieldEntry) XXX_DiscardUnknown()
- func (m *EthDstFieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EthDstFieldEntry) XXX_Merge(src proto.Message)
- func (m *EthDstFieldEntry) XXX_Size() int
- func (m *EthDstFieldEntry) XXX_Unmarshal(b []byte) error
- type EthTypeFieldEntry
- func (*EthTypeFieldEntry) Descriptor() ([]byte, []int)
- func (m *EthTypeFieldEntry) GetEthType() uint32
- func (m *EthTypeFieldEntry) GetInPort() uint32
- func (*EthTypeFieldEntry) ProtoMessage()
- func (m *EthTypeFieldEntry) Reset()
- func (m *EthTypeFieldEntry) String() string
- func (m *EthTypeFieldEntry) XXX_DiscardUnknown()
- func (m *EthTypeFieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EthTypeFieldEntry) XXX_Merge(src proto.Message)
- func (m *EthTypeFieldEntry) XXX_Size() int
- func (m *EthTypeFieldEntry) XXX_Unmarshal(b []byte) error
- type FieldEntry
- func (*FieldEntry) Descriptor() ([]byte, []int)
- func (m *FieldEntry) GetDstIp() *DstIpFieldEntry
- func (m *FieldEntry) GetEntry() isFieldEntry_Entry
- func (m *FieldEntry) GetEntryType() FieldEntry_EntryType
- func (m *FieldEntry) GetEthDst() *EthDstFieldEntry
- func (m *FieldEntry) GetEthType() *EthTypeFieldEntry
- func (m *FieldEntry) GetIpProto() *IpProtoFieldEntry
- func (*FieldEntry) ProtoMessage()
- func (m *FieldEntry) Reset()
- func (m *FieldEntry) String() string
- func (m *FieldEntry) XXX_DiscardUnknown()
- func (m *FieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FieldEntry) XXX_Merge(src proto.Message)
- func (*FieldEntry) XXX_OneofWrappers() []interface{}
- func (m *FieldEntry) XXX_Size() int
- func (m *FieldEntry) XXX_Unmarshal(b []byte) error
- type FieldEntry_DstIp
- type FieldEntry_EntryType
- type FieldEntry_EthDst
- type FieldEntry_EthType
- type FieldEntry_IpProto
- type FindL3IfaceReply
- func (*FindL3IfaceReply) Descriptor() ([]byte, []int)
- func (m *FindL3IfaceReply) GetIface() *L3Iface
- func (*FindL3IfaceReply) ProtoMessage()
- func (m *FindL3IfaceReply) Reset()
- func (m *FindL3IfaceReply) String() string
- func (m *FindL3IfaceReply) XXX_DiscardUnknown()
- func (m *FindL3IfaceReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FindL3IfaceReply) XXX_Merge(src proto.Message)
- func (m *FindL3IfaceReply) XXX_Size() int
- func (m *FindL3IfaceReply) XXX_Unmarshal(b []byte) error
- type FindL3IfaceRequest
- func (*FindL3IfaceRequest) Descriptor() ([]byte, []int)
- func (m *FindL3IfaceRequest) GetMac() string
- func (m *FindL3IfaceRequest) GetVid() uint32
- func (*FindL3IfaceRequest) ProtoMessage()
- func (m *FindL3IfaceRequest) Reset()
- func (m *FindL3IfaceRequest) String() string
- func (m *FindL3IfaceRequest) XXX_DiscardUnknown()
- func (m *FindL3IfaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FindL3IfaceRequest) XXX_Merge(src proto.Message)
- func (m *FindL3IfaceRequest) XXX_Size() int
- func (m *FindL3IfaceRequest) XXX_Unmarshal(b []byte) error
- type GetFieldEntriesReply
- func (*GetFieldEntriesReply) Descriptor() ([]byte, []int)
- func (m *GetFieldEntriesReply) GetEntries() []*FieldEntry
- func (*GetFieldEntriesReply) ProtoMessage()
- func (m *GetFieldEntriesReply) Reset()
- func (m *GetFieldEntriesReply) String() string
- func (m *GetFieldEntriesReply) XXX_DiscardUnknown()
- func (m *GetFieldEntriesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFieldEntriesReply) XXX_Merge(src proto.Message)
- func (m *GetFieldEntriesReply) XXX_Size() int
- func (m *GetFieldEntriesReply) XXX_Unmarshal(b []byte) error
- type GetFieldEntriesRequest
- func (*GetFieldEntriesRequest) Descriptor() ([]byte, []int)
- func (*GetFieldEntriesRequest) ProtoMessage()
- func (m *GetFieldEntriesRequest) Reset()
- func (m *GetFieldEntriesRequest) String() string
- func (m *GetFieldEntriesRequest) XXX_DiscardUnknown()
- func (m *GetFieldEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFieldEntriesRequest) XXX_Merge(src proto.Message)
- func (m *GetFieldEntriesRequest) XXX_Size() int
- func (m *GetFieldEntriesRequest) XXX_Unmarshal(b []byte) error
- type GetIDMapEntriesReply
- func (*GetIDMapEntriesReply) Descriptor() ([]byte, []int)
- func (m *GetIDMapEntriesReply) GetEntries() []*IDMapEntry
- func (*GetIDMapEntriesReply) ProtoMessage()
- func (m *GetIDMapEntriesReply) Reset()
- func (m *GetIDMapEntriesReply) String() string
- func (m *GetIDMapEntriesReply) XXX_DiscardUnknown()
- func (m *GetIDMapEntriesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetIDMapEntriesReply) XXX_Merge(src proto.Message)
- func (m *GetIDMapEntriesReply) XXX_Size() int
- func (m *GetIDMapEntriesReply) XXX_Unmarshal(b []byte) error
- type GetIDMapEntriesRequest
- func (*GetIDMapEntriesRequest) Descriptor() ([]byte, []int)
- func (*GetIDMapEntriesRequest) ProtoMessage()
- func (m *GetIDMapEntriesRequest) Reset()
- func (m *GetIDMapEntriesRequest) String() string
- func (m *GetIDMapEntriesRequest) XXX_DiscardUnknown()
- func (m *GetIDMapEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetIDMapEntriesRequest) XXX_Merge(src proto.Message)
- func (m *GetIDMapEntriesRequest) XXX_Size() int
- func (m *GetIDMapEntriesRequest) XXX_Unmarshal(b []byte) error
- type GetL2AddrsReply
- func (*GetL2AddrsReply) Descriptor() ([]byte, []int)
- func (m *GetL2AddrsReply) GetAddrs() []*L2Addr
- func (*GetL2AddrsReply) ProtoMessage()
- func (m *GetL2AddrsReply) Reset()
- func (m *GetL2AddrsReply) String() string
- func (m *GetL2AddrsReply) XXX_DiscardUnknown()
- func (m *GetL2AddrsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL2AddrsReply) XXX_Merge(src proto.Message)
- func (m *GetL2AddrsReply) XXX_Size() int
- func (m *GetL2AddrsReply) XXX_Unmarshal(b []byte) error
- type GetL2AddrsRequest
- func (*GetL2AddrsRequest) Descriptor() ([]byte, []int)
- func (*GetL2AddrsRequest) ProtoMessage()
- func (m *GetL2AddrsRequest) Reset()
- func (m *GetL2AddrsRequest) String() string
- func (m *GetL2AddrsRequest) XXX_DiscardUnknown()
- func (m *GetL2AddrsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL2AddrsRequest) XXX_Merge(src proto.Message)
- func (m *GetL2AddrsRequest) XXX_Size() int
- func (m *GetL2AddrsRequest) XXX_Unmarshal(b []byte) error
- type GetL2StationsReply
- func (*GetL2StationsReply) Descriptor() ([]byte, []int)
- func (m *GetL2StationsReply) GetStations() []*L2Station
- func (*GetL2StationsReply) ProtoMessage()
- func (m *GetL2StationsReply) Reset()
- func (m *GetL2StationsReply) String() string
- func (m *GetL2StationsReply) XXX_DiscardUnknown()
- func (m *GetL2StationsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL2StationsReply) XXX_Merge(src proto.Message)
- func (m *GetL2StationsReply) XXX_Size() int
- func (m *GetL2StationsReply) XXX_Unmarshal(b []byte) error
- type GetL2StationsRequest
- func (*GetL2StationsRequest) Descriptor() ([]byte, []int)
- func (*GetL2StationsRequest) ProtoMessage()
- func (m *GetL2StationsRequest) Reset()
- func (m *GetL2StationsRequest) String() string
- func (m *GetL2StationsRequest) XXX_DiscardUnknown()
- func (m *GetL2StationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL2StationsRequest) XXX_Merge(src proto.Message)
- func (m *GetL2StationsRequest) XXX_Size() int
- func (m *GetL2StationsRequest) XXX_Unmarshal(b []byte) error
- type GetL3EgressesReply
- func (*GetL3EgressesReply) Descriptor() ([]byte, []int)
- func (m *GetL3EgressesReply) GetEgresses() []*L3Egress
- func (*GetL3EgressesReply) ProtoMessage()
- func (m *GetL3EgressesReply) Reset()
- func (m *GetL3EgressesReply) String() string
- func (m *GetL3EgressesReply) XXX_DiscardUnknown()
- func (m *GetL3EgressesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL3EgressesReply) XXX_Merge(src proto.Message)
- func (m *GetL3EgressesReply) XXX_Size() int
- func (m *GetL3EgressesReply) XXX_Unmarshal(b []byte) error
- type GetL3EgressesRequest
- func (*GetL3EgressesRequest) Descriptor() ([]byte, []int)
- func (*GetL3EgressesRequest) ProtoMessage()
- func (m *GetL3EgressesRequest) Reset()
- func (m *GetL3EgressesRequest) String() string
- func (m *GetL3EgressesRequest) XXX_DiscardUnknown()
- func (m *GetL3EgressesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL3EgressesRequest) XXX_Merge(src proto.Message)
- func (m *GetL3EgressesRequest) XXX_Size() int
- func (m *GetL3EgressesRequest) XXX_Unmarshal(b []byte) error
- type GetL3HostsReply
- func (*GetL3HostsReply) Descriptor() ([]byte, []int)
- func (m *GetL3HostsReply) GetHosts() []*L3Host
- func (*GetL3HostsReply) ProtoMessage()
- func (m *GetL3HostsReply) Reset()
- func (m *GetL3HostsReply) String() string
- func (m *GetL3HostsReply) XXX_DiscardUnknown()
- func (m *GetL3HostsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL3HostsReply) XXX_Merge(src proto.Message)
- func (m *GetL3HostsReply) XXX_Size() int
- func (m *GetL3HostsReply) XXX_Unmarshal(b []byte) error
- type GetL3HostsRequest
- func (*GetL3HostsRequest) Descriptor() ([]byte, []int)
- func (*GetL3HostsRequest) ProtoMessage()
- func (m *GetL3HostsRequest) Reset()
- func (m *GetL3HostsRequest) String() string
- func (m *GetL3HostsRequest) XXX_DiscardUnknown()
- func (m *GetL3HostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL3HostsRequest) XXX_Merge(src proto.Message)
- func (m *GetL3HostsRequest) XXX_Size() int
- func (m *GetL3HostsRequest) XXX_Unmarshal(b []byte) error
- type GetL3IfaceReply
- func (*GetL3IfaceReply) Descriptor() ([]byte, []int)
- func (m *GetL3IfaceReply) GetIface() *L3Iface
- func (*GetL3IfaceReply) ProtoMessage()
- func (m *GetL3IfaceReply) Reset()
- func (m *GetL3IfaceReply) String() string
- func (m *GetL3IfaceReply) XXX_DiscardUnknown()
- func (m *GetL3IfaceReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL3IfaceReply) XXX_Merge(src proto.Message)
- func (m *GetL3IfaceReply) XXX_Size() int
- func (m *GetL3IfaceReply) XXX_Unmarshal(b []byte) error
- type GetL3IfaceRequest
- func (*GetL3IfaceRequest) Descriptor() ([]byte, []int)
- func (m *GetL3IfaceRequest) GetIfaceId() uint32
- func (*GetL3IfaceRequest) ProtoMessage()
- func (m *GetL3IfaceRequest) Reset()
- func (m *GetL3IfaceRequest) String() string
- func (m *GetL3IfaceRequest) XXX_DiscardUnknown()
- func (m *GetL3IfaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL3IfaceRequest) XXX_Merge(src proto.Message)
- func (m *GetL3IfaceRequest) XXX_Size() int
- func (m *GetL3IfaceRequest) XXX_Unmarshal(b []byte) error
- type GetL3IfacesReply
- func (*GetL3IfacesReply) Descriptor() ([]byte, []int)
- func (m *GetL3IfacesReply) GetIfaces() []*L3Iface
- func (*GetL3IfacesReply) ProtoMessage()
- func (m *GetL3IfacesReply) Reset()
- func (m *GetL3IfacesReply) String() string
- func (m *GetL3IfacesReply) XXX_DiscardUnknown()
- func (m *GetL3IfacesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL3IfacesReply) XXX_Merge(src proto.Message)
- func (m *GetL3IfacesReply) XXX_Size() int
- func (m *GetL3IfacesReply) XXX_Unmarshal(b []byte) error
- type GetL3IfacesRequest
- func (*GetL3IfacesRequest) Descriptor() ([]byte, []int)
- func (*GetL3IfacesRequest) ProtoMessage()
- func (m *GetL3IfacesRequest) Reset()
- func (m *GetL3IfacesRequest) String() string
- func (m *GetL3IfacesRequest) XXX_DiscardUnknown()
- func (m *GetL3IfacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL3IfacesRequest) XXX_Merge(src proto.Message)
- func (m *GetL3IfacesRequest) XXX_Size() int
- func (m *GetL3IfacesRequest) XXX_Unmarshal(b []byte) error
- type GetL3RoutesReply
- func (*GetL3RoutesReply) Descriptor() ([]byte, []int)
- func (m *GetL3RoutesReply) GetRoutes() []*L3Route
- func (*GetL3RoutesReply) ProtoMessage()
- func (m *GetL3RoutesReply) Reset()
- func (m *GetL3RoutesReply) String() string
- func (m *GetL3RoutesReply) XXX_DiscardUnknown()
- func (m *GetL3RoutesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL3RoutesReply) XXX_Merge(src proto.Message)
- func (m *GetL3RoutesReply) XXX_Size() int
- func (m *GetL3RoutesReply) XXX_Unmarshal(b []byte) error
- type GetL3RoutesRequest
- func (*GetL3RoutesRequest) Descriptor() ([]byte, []int)
- func (*GetL3RoutesRequest) ProtoMessage()
- func (m *GetL3RoutesRequest) Reset()
- func (m *GetL3RoutesRequest) String() string
- func (m *GetL3RoutesRequest) XXX_DiscardUnknown()
- func (m *GetL3RoutesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetL3RoutesRequest) XXX_Merge(src proto.Message)
- func (m *GetL3RoutesRequest) XXX_Size() int
- func (m *GetL3RoutesRequest) XXX_Unmarshal(b []byte) error
- type GetPortInfosReply
- func (*GetPortInfosReply) Descriptor() ([]byte, []int)
- func (m *GetPortInfosReply) GetPortInfos() []*PortInfo
- func (*GetPortInfosReply) ProtoMessage()
- func (m *GetPortInfosReply) Reset()
- func (m *GetPortInfosReply) String() string
- func (m *GetPortInfosReply) XXX_DiscardUnknown()
- func (m *GetPortInfosReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPortInfosReply) XXX_Merge(src proto.Message)
- func (m *GetPortInfosReply) XXX_Size() int
- func (m *GetPortInfosReply) XXX_Unmarshal(b []byte) error
- type GetPortInfosRequest
- func (*GetPortInfosRequest) Descriptor() ([]byte, []int)
- func (*GetPortInfosRequest) ProtoMessage()
- func (m *GetPortInfosRequest) Reset()
- func (m *GetPortInfosRequest) String() string
- func (m *GetPortInfosRequest) XXX_DiscardUnknown()
- func (m *GetPortInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPortInfosRequest) XXX_Merge(src proto.Message)
- func (m *GetPortInfosRequest) XXX_Size() int
- func (m *GetPortInfosRequest) XXX_Unmarshal(b []byte) error
- type GetTunnelInitiatorsReply
- func (*GetTunnelInitiatorsReply) Descriptor() ([]byte, []int)
- func (m *GetTunnelInitiatorsReply) GetTunnels() []*TunnelInitiator
- func (*GetTunnelInitiatorsReply) ProtoMessage()
- func (m *GetTunnelInitiatorsReply) Reset()
- func (m *GetTunnelInitiatorsReply) String() string
- func (m *GetTunnelInitiatorsReply) XXX_DiscardUnknown()
- func (m *GetTunnelInitiatorsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTunnelInitiatorsReply) XXX_Merge(src proto.Message)
- func (m *GetTunnelInitiatorsReply) XXX_Size() int
- func (m *GetTunnelInitiatorsReply) XXX_Unmarshal(b []byte) error
- type GetTunnelInitiatorsRequest
- func (*GetTunnelInitiatorsRequest) Descriptor() ([]byte, []int)
- func (*GetTunnelInitiatorsRequest) ProtoMessage()
- func (m *GetTunnelInitiatorsRequest) Reset()
- func (m *GetTunnelInitiatorsRequest) String() string
- func (m *GetTunnelInitiatorsRequest) XXX_DiscardUnknown()
- func (m *GetTunnelInitiatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTunnelInitiatorsRequest) XXX_Merge(src proto.Message)
- func (m *GetTunnelInitiatorsRequest) XXX_Size() int
- func (m *GetTunnelInitiatorsRequest) XXX_Unmarshal(b []byte) error
- type GetTunnelTerminatorsReply
- func (*GetTunnelTerminatorsReply) Descriptor() ([]byte, []int)
- func (m *GetTunnelTerminatorsReply) GetTunnels() []*TunnelTerminator
- func (*GetTunnelTerminatorsReply) ProtoMessage()
- func (m *GetTunnelTerminatorsReply) Reset()
- func (m *GetTunnelTerminatorsReply) String() string
- func (m *GetTunnelTerminatorsReply) XXX_DiscardUnknown()
- func (m *GetTunnelTerminatorsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTunnelTerminatorsReply) XXX_Merge(src proto.Message)
- func (m *GetTunnelTerminatorsReply) XXX_Size() int
- func (m *GetTunnelTerminatorsReply) XXX_Unmarshal(b []byte) error
- type GetTunnelTerminatorsRequest
- func (*GetTunnelTerminatorsRequest) Descriptor() ([]byte, []int)
- func (*GetTunnelTerminatorsRequest) ProtoMessage()
- func (m *GetTunnelTerminatorsRequest) Reset()
- func (m *GetTunnelTerminatorsRequest) String() string
- func (m *GetTunnelTerminatorsRequest) XXX_DiscardUnknown()
- func (m *GetTunnelTerminatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTunnelTerminatorsRequest) XXX_Merge(src proto.Message)
- func (m *GetTunnelTerminatorsRequest) XXX_Size() int
- func (m *GetTunnelTerminatorsRequest) XXX_Unmarshal(b []byte) error
- type GetVlansReply
- func (*GetVlansReply) Descriptor() ([]byte, []int)
- func (m *GetVlansReply) GetVlans() []*VlanEntry
- func (*GetVlansReply) ProtoMessage()
- func (m *GetVlansReply) Reset()
- func (m *GetVlansReply) String() string
- func (m *GetVlansReply) XXX_DiscardUnknown()
- func (m *GetVlansReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVlansReply) XXX_Merge(src proto.Message)
- func (m *GetVlansReply) XXX_Size() int
- func (m *GetVlansReply) XXX_Unmarshal(b []byte) error
- type GetVlansRequest
- func (*GetVlansRequest) Descriptor() ([]byte, []int)
- func (*GetVlansRequest) ProtoMessage()
- func (m *GetVlansRequest) Reset()
- func (m *GetVlansRequest) String() string
- func (m *GetVlansRequest) XXX_DiscardUnknown()
- func (m *GetVlansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVlansRequest) XXX_Merge(src proto.Message)
- func (m *GetVlansRequest) XXX_Size() int
- func (m *GetVlansRequest) XXX_Unmarshal(b []byte) error
- type GoNSLApiClient
- type GoNSLApiServer
- type IDMapEntry
- func (*IDMapEntry) Descriptor() ([]byte, []int)
- func (m *IDMapEntry) GetKey() string
- func (m *IDMapEntry) GetName() string
- func (m *IDMapEntry) GetValue() uint32
- func (*IDMapEntry) ProtoMessage()
- func (m *IDMapEntry) Reset()
- func (m *IDMapEntry) String() string
- func (m *IDMapEntry) XXX_DiscardUnknown()
- func (m *IDMapEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IDMapEntry) XXX_Merge(src proto.Message)
- func (m *IDMapEntry) XXX_Size() int
- func (m *IDMapEntry) XXX_Unmarshal(b []byte) error
- type IDMapName
- type IpProtoFieldEntry
- func (*IpProtoFieldEntry) Descriptor() ([]byte, []int)
- func (m *IpProtoFieldEntry) GetEthType() uint32
- func (m *IpProtoFieldEntry) GetInPort() uint32
- func (m *IpProtoFieldEntry) GetIpProto() uint32
- func (*IpProtoFieldEntry) ProtoMessage()
- func (m *IpProtoFieldEntry) Reset()
- func (m *IpProtoFieldEntry) String() string
- func (m *IpProtoFieldEntry) XXX_DiscardUnknown()
- func (m *IpProtoFieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IpProtoFieldEntry) XXX_Merge(src proto.Message)
- func (m *IpProtoFieldEntry) XXX_Size() int
- func (m *IpProtoFieldEntry) XXX_Unmarshal(b []byte) error
- type L2Addr
- func (*L2Addr) Descriptor() ([]byte, []int)
- func (m *L2Addr) GetFlags() uint32
- func (m *L2Addr) GetMac() string
- func (m *L2Addr) GetPort() uint32
- func (m *L2Addr) GetVid() uint32
- func (*L2Addr) ProtoMessage()
- func (m *L2Addr) Reset()
- func (m *L2Addr) String() string
- func (m *L2Addr) XXX_DiscardUnknown()
- func (m *L2Addr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *L2Addr) XXX_Merge(src proto.Message)
- func (m *L2Addr) XXX_Size() int
- func (m *L2Addr) XXX_Unmarshal(b []byte) error
- type L2Station
- func (*L2Station) Descriptor() ([]byte, []int)
- func (m *L2Station) GetDstMac() string
- func (m *L2Station) GetDstMacMask() string
- func (m *L2Station) GetFlags() uint32
- func (m *L2Station) GetSrcPort() uint32
- func (m *L2Station) GetSrcPortMask() uint32
- func (m *L2Station) GetVlan() uint32
- func (m *L2Station) GetVlanMask() uint32
- func (*L2Station) ProtoMessage()
- func (m *L2Station) Reset()
- func (m *L2Station) String() string
- func (m *L2Station) XXX_DiscardUnknown()
- func (m *L2Station) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *L2Station) XXX_Merge(src proto.Message)
- func (m *L2Station) XXX_Size() int
- func (m *L2Station) XXX_Unmarshal(b []byte) error
- type L3Egress
- func (*L3Egress) Descriptor() ([]byte, []int)
- func (m *L3Egress) GetEgressId() uint32
- func (m *L3Egress) GetFlags() uint32
- func (m *L3Egress) GetFlags2() uint32
- func (m *L3Egress) GetIfaceId() uint32
- func (m *L3Egress) GetMac() string
- func (m *L3Egress) GetPort() uint32
- func (m *L3Egress) GetVid() uint32
- func (*L3Egress) ProtoMessage()
- func (m *L3Egress) Reset()
- func (m *L3Egress) String() string
- func (m *L3Egress) XXX_DiscardUnknown()
- func (m *L3Egress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *L3Egress) XXX_Merge(src proto.Message)
- func (m *L3Egress) XXX_Size() int
- func (m *L3Egress) XXX_Unmarshal(b []byte) error
- type L3Host
- func (*L3Host) Descriptor() ([]byte, []int)
- func (m *L3Host) GetEgressId() uint32
- func (m *L3Host) GetFlags() uint32
- func (m *L3Host) GetIp6Addr() string
- func (m *L3Host) GetIpAddr() string
- func (m *L3Host) GetMac() string
- func (m *L3Host) GetVrf() uint32
- func (*L3Host) ProtoMessage()
- func (m *L3Host) Reset()
- func (m *L3Host) String() string
- func (m *L3Host) XXX_DiscardUnknown()
- func (m *L3Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *L3Host) XXX_Merge(src proto.Message)
- func (m *L3Host) XXX_Size() int
- func (m *L3Host) XXX_Unmarshal(b []byte) error
- type L3Iface
- func (*L3Iface) Descriptor() ([]byte, []int)
- func (m *L3Iface) GetFlags() uint32
- func (m *L3Iface) GetIfaceId() uint32
- func (m *L3Iface) GetMac() string
- func (m *L3Iface) GetMtu() uint32
- func (m *L3Iface) GetMtuFwd() uint32
- func (m *L3Iface) GetTtl() uint32
- func (m *L3Iface) GetVid() uint32
- func (m *L3Iface) GetVrf() uint32
- func (*L3Iface) ProtoMessage()
- func (m *L3Iface) Reset()
- func (m *L3Iface) String() string
- func (m *L3Iface) XXX_DiscardUnknown()
- func (m *L3Iface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *L3Iface) XXX_Merge(src proto.Message)
- func (m *L3Iface) XXX_Size() int
- func (m *L3Iface) XXX_Unmarshal(b []byte) error
- type L3Route
- func (*L3Route) Descriptor() ([]byte, []int)
- func (m *L3Route) GetEgressId() uint32
- func (m *L3Route) GetFlags() uint32
- func (m *L3Route) GetIp6Addr() string
- func (m *L3Route) GetIpAddr() string
- func (m *L3Route) GetVrf() uint32
- func (*L3Route) ProtoMessage()
- func (m *L3Route) Reset()
- func (m *L3Route) String() string
- func (m *L3Route) XXX_DiscardUnknown()
- func (m *L3Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *L3Route) XXX_Merge(src proto.Message)
- func (m *L3Route) XXX_Size() int
- func (m *L3Route) XXX_Unmarshal(b []byte) error
- type PortInfo
- func (*PortInfo) Descriptor() ([]byte, []int)
- func (m *PortInfo) GetLinkStatus() int32
- func (m *PortInfo) GetPort() uint32
- func (m *PortInfo) GetUntaggedVlan() uint32
- func (*PortInfo) ProtoMessage()
- func (m *PortInfo) Reset()
- func (m *PortInfo) String() string
- func (m *PortInfo) XXX_DiscardUnknown()
- func (m *PortInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PortInfo) XXX_Merge(src proto.Message)
- func (m *PortInfo) XXX_Size() int
- func (m *PortInfo) XXX_Unmarshal(b []byte) error
- type TunnelInitiator
- func (*TunnelInitiator) Descriptor() ([]byte, []int)
- func (m *TunnelInitiator) GetDstIp() string
- func (m *TunnelInitiator) GetDstMac() string
- func (m *TunnelInitiator) GetDstPort() uint32
- func (m *TunnelInitiator) GetFlags() uint32
- func (m *TunnelInitiator) GetL3IfaceId() uint32
- func (m *TunnelInitiator) GetMtu() uint32
- func (m *TunnelInitiator) GetSrcIp() string
- func (m *TunnelInitiator) GetSrcMac() string
- func (m *TunnelInitiator) GetSrcPort() uint32
- func (m *TunnelInitiator) GetTtl() uint32
- func (m *TunnelInitiator) GetTunnelId() uint32
- func (m *TunnelInitiator) GetTunnelType() string
- func (m *TunnelInitiator) GetVlan() uint32
- func (*TunnelInitiator) ProtoMessage()
- func (m *TunnelInitiator) Reset()
- func (m *TunnelInitiator) String() string
- func (m *TunnelInitiator) XXX_DiscardUnknown()
- func (m *TunnelInitiator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TunnelInitiator) XXX_Merge(src proto.Message)
- func (m *TunnelInitiator) XXX_Size() int
- func (m *TunnelInitiator) XXX_Unmarshal(b []byte) error
- type TunnelTerminator
- func (*TunnelTerminator) Descriptor() ([]byte, []int)
- func (m *TunnelTerminator) GetDstIp() string
- func (m *TunnelTerminator) GetDstPort() uint32
- func (m *TunnelTerminator) GetFlags() uint32
- func (m *TunnelTerminator) GetPbmp() []uint32
- func (m *TunnelTerminator) GetRemotePort() uint32
- func (m *TunnelTerminator) GetSrcIp() string
- func (m *TunnelTerminator) GetSrcPort() uint32
- func (m *TunnelTerminator) GetTunnelId() uint32
- func (m *TunnelTerminator) GetTunnelType() string
- func (m *TunnelTerminator) GetVlan() uint32
- func (m *TunnelTerminator) GetVrf() uint32
- func (*TunnelTerminator) ProtoMessage()
- func (m *TunnelTerminator) Reset()
- func (m *TunnelTerminator) String() string
- func (m *TunnelTerminator) XXX_DiscardUnknown()
- func (m *TunnelTerminator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TunnelTerminator) XXX_Merge(src proto.Message)
- func (m *TunnelTerminator) XXX_Size() int
- func (m *TunnelTerminator) XXX_Unmarshal(b []byte) error
- type UnimplementedGoNSLApiServer
- func (*UnimplementedGoNSLApiServer) FindL3Iface(ctx context.Context, req *FindL3IfaceRequest) (*FindL3IfaceReply, error)
- func (*UnimplementedGoNSLApiServer) GetFieldEntries(ctx context.Context, req *GetFieldEntriesRequest) (*GetFieldEntriesReply, error)
- func (*UnimplementedGoNSLApiServer) GetIDMapEntries(ctx context.Context, req *GetIDMapEntriesRequest) (*GetIDMapEntriesReply, error)
- func (*UnimplementedGoNSLApiServer) GetL2Addrs(ctx context.Context, req *GetL2AddrsRequest) (*GetL2AddrsReply, error)
- func (*UnimplementedGoNSLApiServer) GetL2Stations(ctx context.Context, req *GetL2StationsRequest) (*GetL2StationsReply, error)
- func (*UnimplementedGoNSLApiServer) GetL3Egresses(ctx context.Context, req *GetL3EgressesRequest) (*GetL3EgressesReply, error)
- func (*UnimplementedGoNSLApiServer) GetL3Hosts(ctx context.Context, req *GetL3HostsRequest) (*GetL3HostsReply, error)
- func (*UnimplementedGoNSLApiServer) GetL3Iface(ctx context.Context, req *GetL3IfaceRequest) (*GetL3IfaceReply, error)
- func (*UnimplementedGoNSLApiServer) GetL3Ifaces(ctx context.Context, req *GetL3IfacesRequest) (*GetL3IfacesReply, error)
- func (*UnimplementedGoNSLApiServer) GetL3Routes(ctx context.Context, req *GetL3RoutesRequest) (*GetL3RoutesReply, error)
- func (*UnimplementedGoNSLApiServer) GetPortInfos(ctx context.Context, req *GetPortInfosRequest) (*GetPortInfosReply, error)
- func (*UnimplementedGoNSLApiServer) GetTunnelInitiators(ctx context.Context, req *GetTunnelInitiatorsRequest) (*GetTunnelInitiatorsReply, error)
- func (*UnimplementedGoNSLApiServer) GetTunnelTerminators(ctx context.Context, req *GetTunnelTerminatorsRequest) (*GetTunnelTerminatorsReply, error)
- func (*UnimplementedGoNSLApiServer) GetVlans(ctx context.Context, req *GetVlansRequest) (*GetVlansReply, error)
- type VlanEntry
- func (*VlanEntry) Descriptor() ([]byte, []int)
- func (m *VlanEntry) GetPorts() []uint32
- func (m *VlanEntry) GetUntagPorts() []uint32
- func (m *VlanEntry) GetVid() uint32
- func (*VlanEntry) ProtoMessage()
- func (m *VlanEntry) Reset()
- func (m *VlanEntry) String() string
- func (m *VlanEntry) XXX_DiscardUnknown()
- func (m *VlanEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VlanEntry) XXX_Merge(src proto.Message)
- func (m *VlanEntry) XXX_Size() int
- func (m *VlanEntry) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // IDMapNameL3Egress is L3Egress entry name. IDMapNameL3Egress = "L3Egress" // IDMapNameL3Iface is L3Iface entry name. IDMapNameL3Iface = "L3Iface" // IDMapNameTrunk is Trunk entry name. IDMapNameTrunk = "Trunk" )
Variables ¶
var FieldEntry_EntryType_name = map[int32]string{
0: "NOP",
1: "ETH_TYPE",
2: "DST_IP",
3: "IP_PROTO",
4: "ETH_DST",
}
var FieldEntry_EntryType_value = map[string]int32{
"NOP": 0,
"ETH_TYPE": 1,
"DST_IP": 2,
"IP_PROTO": 3,
"ETH_DST": 4,
}
Functions ¶
func RegisterGoNSLApiServer ¶
func RegisterGoNSLApiServer(s *grpc.Server, srv GoNSLApiServer)
Types ¶
type DstIpFieldEntry ¶
type DstIpFieldEntry struct { EthType uint32 `protobuf:"varint,1,opt,name=eth_type,json=ethType,proto3" json:"eth_type,omitempty"` IpDst string `protobuf:"bytes,2,opt,name=ip_dst,json=ipDst,proto3" json:"ip_dst,omitempty"` InPort uint32 `protobuf:"varint,3,opt,name=in_port,json=inPort,proto3" json:"in_port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewDstIPFieldEntry ¶
func NewDstIPFieldEntry(ethType uint16, dstIP string, inPort opennsl.Port) *DstIpFieldEntry
NewDstIPFieldEntry returns new instance
func (*DstIpFieldEntry) Descriptor ¶
func (*DstIpFieldEntry) Descriptor() ([]byte, []int)
func (*DstIpFieldEntry) GetEthType ¶
func (m *DstIpFieldEntry) GetEthType() uint32
func (*DstIpFieldEntry) GetInPort ¶ added in v0.4.0
func (m *DstIpFieldEntry) GetInPort() uint32
func (*DstIpFieldEntry) GetIpDst ¶
func (m *DstIpFieldEntry) GetIpDst() string
func (*DstIpFieldEntry) ProtoMessage ¶
func (*DstIpFieldEntry) ProtoMessage()
func (*DstIpFieldEntry) Reset ¶
func (m *DstIpFieldEntry) Reset()
func (*DstIpFieldEntry) String ¶
func (m *DstIpFieldEntry) String() string
func (*DstIpFieldEntry) XXX_DiscardUnknown ¶
func (m *DstIpFieldEntry) XXX_DiscardUnknown()
func (*DstIpFieldEntry) XXX_Marshal ¶
func (m *DstIpFieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DstIpFieldEntry) XXX_Merge ¶
func (m *DstIpFieldEntry) XXX_Merge(src proto.Message)
func (*DstIpFieldEntry) XXX_Size ¶
func (m *DstIpFieldEntry) XXX_Size() int
func (*DstIpFieldEntry) XXX_Unmarshal ¶
func (m *DstIpFieldEntry) XXX_Unmarshal(b []byte) error
type EthDstFieldEntry ¶
type EthDstFieldEntry struct { EthDst string `protobuf:"bytes,1,opt,name=eth_dst,json=ethDst,proto3" json:"eth_dst,omitempty"` EthMask string `protobuf:"bytes,2,opt,name=eth_mask,json=ethMask,proto3" json:"eth_mask,omitempty"` InPort uint32 `protobuf:"varint,3,opt,name=in_port,json=inPort,proto3" json:"in_port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EthDstFieldEntry) Descriptor ¶
func (*EthDstFieldEntry) Descriptor() ([]byte, []int)
func (*EthDstFieldEntry) GetEthDst ¶
func (m *EthDstFieldEntry) GetEthDst() string
func (*EthDstFieldEntry) GetEthMask ¶
func (m *EthDstFieldEntry) GetEthMask() string
func (*EthDstFieldEntry) GetInPort ¶ added in v0.4.0
func (m *EthDstFieldEntry) GetInPort() uint32
func (*EthDstFieldEntry) ProtoMessage ¶
func (*EthDstFieldEntry) ProtoMessage()
func (*EthDstFieldEntry) Reset ¶
func (m *EthDstFieldEntry) Reset()
func (*EthDstFieldEntry) String ¶
func (m *EthDstFieldEntry) String() string
func (*EthDstFieldEntry) XXX_DiscardUnknown ¶
func (m *EthDstFieldEntry) XXX_DiscardUnknown()
func (*EthDstFieldEntry) XXX_Marshal ¶
func (m *EthDstFieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EthDstFieldEntry) XXX_Merge ¶
func (m *EthDstFieldEntry) XXX_Merge(src proto.Message)
func (*EthDstFieldEntry) XXX_Size ¶
func (m *EthDstFieldEntry) XXX_Size() int
func (*EthDstFieldEntry) XXX_Unmarshal ¶
func (m *EthDstFieldEntry) XXX_Unmarshal(b []byte) error
type EthTypeFieldEntry ¶
type EthTypeFieldEntry struct { EthType uint32 `protobuf:"varint,1,opt,name=eth_type,json=ethType,proto3" json:"eth_type,omitempty"` InPort uint32 `protobuf:"varint,2,opt,name=in_port,json=inPort,proto3" json:"in_port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewEthTypeFieldEntry ¶
func NewEthTypeFieldEntry(ethType uint16, inPort opennsl.Port) *EthTypeFieldEntry
NewEthTypeFieldEntry returns new instance
func (*EthTypeFieldEntry) Descriptor ¶
func (*EthTypeFieldEntry) Descriptor() ([]byte, []int)
func (*EthTypeFieldEntry) GetEthType ¶
func (m *EthTypeFieldEntry) GetEthType() uint32
func (*EthTypeFieldEntry) GetInPort ¶ added in v0.4.0
func (m *EthTypeFieldEntry) GetInPort() uint32
func (*EthTypeFieldEntry) ProtoMessage ¶
func (*EthTypeFieldEntry) ProtoMessage()
func (*EthTypeFieldEntry) Reset ¶
func (m *EthTypeFieldEntry) Reset()
func (*EthTypeFieldEntry) String ¶
func (m *EthTypeFieldEntry) String() string
func (*EthTypeFieldEntry) XXX_DiscardUnknown ¶
func (m *EthTypeFieldEntry) XXX_DiscardUnknown()
func (*EthTypeFieldEntry) XXX_Marshal ¶
func (m *EthTypeFieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EthTypeFieldEntry) XXX_Merge ¶
func (m *EthTypeFieldEntry) XXX_Merge(src proto.Message)
func (*EthTypeFieldEntry) XXX_Size ¶
func (m *EthTypeFieldEntry) XXX_Size() int
func (*EthTypeFieldEntry) XXX_Unmarshal ¶
func (m *EthTypeFieldEntry) XXX_Unmarshal(b []byte) error
type FieldEntry ¶
type FieldEntry struct { EntryType FieldEntry_EntryType `protobuf:"varint,1,opt,name=entry_type,json=entryType,proto3,enum=gonslapi.FieldEntry_EntryType" json:"entry_type,omitempty"` // Types that are valid to be assigned to Entry: // *FieldEntry_EthType // *FieldEntry_DstIp // *FieldEntry_IpProto // *FieldEntry_EthDst Entry isFieldEntry_Entry `protobuf_oneof:"entry"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
FieldEntry
func NewFieldEntryDstIP ¶
func NewFieldEntryDstIP(ethType uint16, dstIP string, inPort opennsl.Port) *FieldEntry
NewFieldEntryDstIP returns new instance
func NewFieldEntryEthType ¶
func NewFieldEntryEthType(ethType uint16, inPort opennsl.Port) *FieldEntry
NewFieldEntryEthType returns new instance
func NewFieldEntryIPProto ¶
func NewFieldEntryIPProto(ethType uint16, ipProto uint8, inPort opennsl.Port) *FieldEntry
NewFieldEntryIPProto returns new instance
func (*FieldEntry) Descriptor ¶
func (*FieldEntry) Descriptor() ([]byte, []int)
func (*FieldEntry) GetDstIp ¶
func (m *FieldEntry) GetDstIp() *DstIpFieldEntry
func (*FieldEntry) GetEntry ¶
func (m *FieldEntry) GetEntry() isFieldEntry_Entry
func (*FieldEntry) GetEntryType ¶
func (m *FieldEntry) GetEntryType() FieldEntry_EntryType
func (*FieldEntry) GetEthDst ¶
func (m *FieldEntry) GetEthDst() *EthDstFieldEntry
func (*FieldEntry) GetEthType ¶
func (m *FieldEntry) GetEthType() *EthTypeFieldEntry
func (*FieldEntry) GetIpProto ¶
func (m *FieldEntry) GetIpProto() *IpProtoFieldEntry
func (*FieldEntry) ProtoMessage ¶
func (*FieldEntry) ProtoMessage()
func (*FieldEntry) Reset ¶
func (m *FieldEntry) Reset()
func (*FieldEntry) String ¶
func (m *FieldEntry) String() string
func (*FieldEntry) XXX_DiscardUnknown ¶
func (m *FieldEntry) XXX_DiscardUnknown()
func (*FieldEntry) XXX_Marshal ¶
func (m *FieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FieldEntry) XXX_Merge ¶
func (m *FieldEntry) XXX_Merge(src proto.Message)
func (*FieldEntry) XXX_OneofWrappers ¶
func (*FieldEntry) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*FieldEntry) XXX_Size ¶
func (m *FieldEntry) XXX_Size() int
func (*FieldEntry) XXX_Unmarshal ¶
func (m *FieldEntry) XXX_Unmarshal(b []byte) error
type FieldEntry_DstIp ¶
type FieldEntry_DstIp struct {
DstIp *DstIpFieldEntry `protobuf:"bytes,3,opt,name=dst_ip,json=dstIp,proto3,oneof"`
}
type FieldEntry_EntryType ¶
type FieldEntry_EntryType int32
const ( FieldEntry_NOP FieldEntry_EntryType = 0 FieldEntry_ETH_TYPE FieldEntry_EntryType = 1 FieldEntry_DST_IP FieldEntry_EntryType = 2 FieldEntry_IP_PROTO FieldEntry_EntryType = 3 FieldEntry_ETH_DST FieldEntry_EntryType = 4 )
func (FieldEntry_EntryType) EnumDescriptor ¶
func (FieldEntry_EntryType) EnumDescriptor() ([]byte, []int)
func (FieldEntry_EntryType) String ¶
func (x FieldEntry_EntryType) String() string
type FieldEntry_EthDst ¶
type FieldEntry_EthDst struct {
EthDst *EthDstFieldEntry `protobuf:"bytes,5,opt,name=eth_dst,json=ethDst,proto3,oneof"`
}
type FieldEntry_EthType ¶
type FieldEntry_EthType struct {
EthType *EthTypeFieldEntry `protobuf:"bytes,2,opt,name=eth_type,json=ethType,proto3,oneof"`
}
type FieldEntry_IpProto ¶
type FieldEntry_IpProto struct {
IpProto *IpProtoFieldEntry `protobuf:"bytes,4,opt,name=ip_proto,json=ipProto,proto3,oneof"`
}
type FindL3IfaceReply ¶
type FindL3IfaceReply struct { Iface *L3Iface `protobuf:"bytes,1,opt,name=iface,proto3" json:"iface,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewFindL3IfaceReply ¶
func NewFindL3IfaceReply(iface *L3Iface) *FindL3IfaceReply
NewFindL3IfaceReply returns new instance.
func (*FindL3IfaceReply) Descriptor ¶
func (*FindL3IfaceReply) Descriptor() ([]byte, []int)
func (*FindL3IfaceReply) GetIface ¶
func (m *FindL3IfaceReply) GetIface() *L3Iface
func (*FindL3IfaceReply) ProtoMessage ¶
func (*FindL3IfaceReply) ProtoMessage()
func (*FindL3IfaceReply) Reset ¶
func (m *FindL3IfaceReply) Reset()
func (*FindL3IfaceReply) String ¶
func (m *FindL3IfaceReply) String() string
func (*FindL3IfaceReply) XXX_DiscardUnknown ¶
func (m *FindL3IfaceReply) XXX_DiscardUnknown()
func (*FindL3IfaceReply) XXX_Marshal ¶
func (m *FindL3IfaceReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindL3IfaceReply) XXX_Merge ¶
func (m *FindL3IfaceReply) XXX_Merge(src proto.Message)
func (*FindL3IfaceReply) XXX_Size ¶
func (m *FindL3IfaceReply) XXX_Size() int
func (*FindL3IfaceReply) XXX_Unmarshal ¶
func (m *FindL3IfaceReply) XXX_Unmarshal(b []byte) error
type FindL3IfaceRequest ¶
type FindL3IfaceRequest struct { Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"` Vid uint32 `protobuf:"varint,2,opt,name=vid,proto3" json:"vid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewFindL3IfaceRequest ¶
func NewFindL3IfaceRequest(mac string, vid opennsl.Vlan) *FindL3IfaceRequest
NewFindL3IfaceRequest returns new instance.
func (*FindL3IfaceRequest) Descriptor ¶
func (*FindL3IfaceRequest) Descriptor() ([]byte, []int)
func (*FindL3IfaceRequest) GetMac ¶
func (m *FindL3IfaceRequest) GetMac() string
func (*FindL3IfaceRequest) GetVid ¶
func (m *FindL3IfaceRequest) GetVid() uint32
func (*FindL3IfaceRequest) ProtoMessage ¶
func (*FindL3IfaceRequest) ProtoMessage()
func (*FindL3IfaceRequest) Reset ¶
func (m *FindL3IfaceRequest) Reset()
func (*FindL3IfaceRequest) String ¶
func (m *FindL3IfaceRequest) String() string
func (*FindL3IfaceRequest) XXX_DiscardUnknown ¶
func (m *FindL3IfaceRequest) XXX_DiscardUnknown()
func (*FindL3IfaceRequest) XXX_Marshal ¶
func (m *FindL3IfaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindL3IfaceRequest) XXX_Merge ¶
func (m *FindL3IfaceRequest) XXX_Merge(src proto.Message)
func (*FindL3IfaceRequest) XXX_Size ¶
func (m *FindL3IfaceRequest) XXX_Size() int
func (*FindL3IfaceRequest) XXX_Unmarshal ¶
func (m *FindL3IfaceRequest) XXX_Unmarshal(b []byte) error
type GetFieldEntriesReply ¶
type GetFieldEntriesReply struct { Entries []*FieldEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetFieldEntriesReply ¶
func NewGetFieldEntriesReply(entries []*FieldEntry) *GetFieldEntriesReply
NewGetFieldEntriesReply returns new instance
func (*GetFieldEntriesReply) Descriptor ¶
func (*GetFieldEntriesReply) Descriptor() ([]byte, []int)
func (*GetFieldEntriesReply) GetEntries ¶
func (m *GetFieldEntriesReply) GetEntries() []*FieldEntry
func (*GetFieldEntriesReply) ProtoMessage ¶
func (*GetFieldEntriesReply) ProtoMessage()
func (*GetFieldEntriesReply) Reset ¶
func (m *GetFieldEntriesReply) Reset()
func (*GetFieldEntriesReply) String ¶
func (m *GetFieldEntriesReply) String() string
func (*GetFieldEntriesReply) XXX_DiscardUnknown ¶
func (m *GetFieldEntriesReply) XXX_DiscardUnknown()
func (*GetFieldEntriesReply) XXX_Marshal ¶
func (m *GetFieldEntriesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFieldEntriesReply) XXX_Merge ¶
func (m *GetFieldEntriesReply) XXX_Merge(src proto.Message)
func (*GetFieldEntriesReply) XXX_Size ¶
func (m *GetFieldEntriesReply) XXX_Size() int
func (*GetFieldEntriesReply) XXX_Unmarshal ¶
func (m *GetFieldEntriesReply) XXX_Unmarshal(b []byte) error
type GetFieldEntriesRequest ¶
type GetFieldEntriesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetFieldEntriesRequest ¶
func NewGetFieldEntriesRequest() *GetFieldEntriesRequest
NewGetFieldEntriesRequest returns new instance
func (*GetFieldEntriesRequest) Descriptor ¶
func (*GetFieldEntriesRequest) Descriptor() ([]byte, []int)
func (*GetFieldEntriesRequest) ProtoMessage ¶
func (*GetFieldEntriesRequest) ProtoMessage()
func (*GetFieldEntriesRequest) Reset ¶
func (m *GetFieldEntriesRequest) Reset()
func (*GetFieldEntriesRequest) String ¶
func (m *GetFieldEntriesRequest) String() string
func (*GetFieldEntriesRequest) XXX_DiscardUnknown ¶
func (m *GetFieldEntriesRequest) XXX_DiscardUnknown()
func (*GetFieldEntriesRequest) XXX_Marshal ¶
func (m *GetFieldEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFieldEntriesRequest) XXX_Merge ¶
func (m *GetFieldEntriesRequest) XXX_Merge(src proto.Message)
func (*GetFieldEntriesRequest) XXX_Size ¶
func (m *GetFieldEntriesRequest) XXX_Size() int
func (*GetFieldEntriesRequest) XXX_Unmarshal ¶
func (m *GetFieldEntriesRequest) XXX_Unmarshal(b []byte) error
type GetIDMapEntriesReply ¶
type GetIDMapEntriesReply struct { Entries []*IDMapEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetIDMapEntriesReply ¶
func NewGetIDMapEntriesReply(entries []*IDMapEntry) *GetIDMapEntriesReply
NewGetIDMapEntriesReply returns new instance.
func (*GetIDMapEntriesReply) Descriptor ¶
func (*GetIDMapEntriesReply) Descriptor() ([]byte, []int)
func (*GetIDMapEntriesReply) GetEntries ¶
func (m *GetIDMapEntriesReply) GetEntries() []*IDMapEntry
func (*GetIDMapEntriesReply) ProtoMessage ¶
func (*GetIDMapEntriesReply) ProtoMessage()
func (*GetIDMapEntriesReply) Reset ¶
func (m *GetIDMapEntriesReply) Reset()
func (*GetIDMapEntriesReply) String ¶
func (m *GetIDMapEntriesReply) String() string
func (*GetIDMapEntriesReply) XXX_DiscardUnknown ¶
func (m *GetIDMapEntriesReply) XXX_DiscardUnknown()
func (*GetIDMapEntriesReply) XXX_Marshal ¶
func (m *GetIDMapEntriesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetIDMapEntriesReply) XXX_Merge ¶
func (m *GetIDMapEntriesReply) XXX_Merge(src proto.Message)
func (*GetIDMapEntriesReply) XXX_Size ¶
func (m *GetIDMapEntriesReply) XXX_Size() int
func (*GetIDMapEntriesReply) XXX_Unmarshal ¶
func (m *GetIDMapEntriesReply) XXX_Unmarshal(b []byte) error
type GetIDMapEntriesRequest ¶
type GetIDMapEntriesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetIDMapEntriesRequest ¶
func NewGetIDMapEntriesRequest() *GetIDMapEntriesRequest
NewGetIDMapEntriesRequest returns new instance.
func (*GetIDMapEntriesRequest) Descriptor ¶
func (*GetIDMapEntriesRequest) Descriptor() ([]byte, []int)
func (*GetIDMapEntriesRequest) ProtoMessage ¶
func (*GetIDMapEntriesRequest) ProtoMessage()
func (*GetIDMapEntriesRequest) Reset ¶
func (m *GetIDMapEntriesRequest) Reset()
func (*GetIDMapEntriesRequest) String ¶
func (m *GetIDMapEntriesRequest) String() string
func (*GetIDMapEntriesRequest) XXX_DiscardUnknown ¶
func (m *GetIDMapEntriesRequest) XXX_DiscardUnknown()
func (*GetIDMapEntriesRequest) XXX_Marshal ¶
func (m *GetIDMapEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetIDMapEntriesRequest) XXX_Merge ¶
func (m *GetIDMapEntriesRequest) XXX_Merge(src proto.Message)
func (*GetIDMapEntriesRequest) XXX_Size ¶
func (m *GetIDMapEntriesRequest) XXX_Size() int
func (*GetIDMapEntriesRequest) XXX_Unmarshal ¶
func (m *GetIDMapEntriesRequest) XXX_Unmarshal(b []byte) error
type GetL2AddrsReply ¶
type GetL2AddrsReply struct { Addrs []*L2Addr `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL2AddrsReply ¶
func NewGetL2AddrsReply(addrs []*L2Addr) *GetL2AddrsReply
NewGetL2AddrsReply returns new instance.
func (*GetL2AddrsReply) Descriptor ¶
func (*GetL2AddrsReply) Descriptor() ([]byte, []int)
func (*GetL2AddrsReply) GetAddrs ¶
func (m *GetL2AddrsReply) GetAddrs() []*L2Addr
func (*GetL2AddrsReply) ProtoMessage ¶
func (*GetL2AddrsReply) ProtoMessage()
func (*GetL2AddrsReply) Reset ¶
func (m *GetL2AddrsReply) Reset()
func (*GetL2AddrsReply) String ¶
func (m *GetL2AddrsReply) String() string
func (*GetL2AddrsReply) XXX_DiscardUnknown ¶
func (m *GetL2AddrsReply) XXX_DiscardUnknown()
func (*GetL2AddrsReply) XXX_Marshal ¶
func (m *GetL2AddrsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL2AddrsReply) XXX_Merge ¶
func (m *GetL2AddrsReply) XXX_Merge(src proto.Message)
func (*GetL2AddrsReply) XXX_Size ¶
func (m *GetL2AddrsReply) XXX_Size() int
func (*GetL2AddrsReply) XXX_Unmarshal ¶
func (m *GetL2AddrsReply) XXX_Unmarshal(b []byte) error
type GetL2AddrsRequest ¶
type GetL2AddrsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL2AddrsRequest ¶
func NewGetL2AddrsRequest() *GetL2AddrsRequest
NewGetL2AddrsRequest returns new instance.
func (*GetL2AddrsRequest) Descriptor ¶
func (*GetL2AddrsRequest) Descriptor() ([]byte, []int)
func (*GetL2AddrsRequest) ProtoMessage ¶
func (*GetL2AddrsRequest) ProtoMessage()
func (*GetL2AddrsRequest) Reset ¶
func (m *GetL2AddrsRequest) Reset()
func (*GetL2AddrsRequest) String ¶
func (m *GetL2AddrsRequest) String() string
func (*GetL2AddrsRequest) XXX_DiscardUnknown ¶
func (m *GetL2AddrsRequest) XXX_DiscardUnknown()
func (*GetL2AddrsRequest) XXX_Marshal ¶
func (m *GetL2AddrsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL2AddrsRequest) XXX_Merge ¶
func (m *GetL2AddrsRequest) XXX_Merge(src proto.Message)
func (*GetL2AddrsRequest) XXX_Size ¶
func (m *GetL2AddrsRequest) XXX_Size() int
func (*GetL2AddrsRequest) XXX_Unmarshal ¶
func (m *GetL2AddrsRequest) XXX_Unmarshal(b []byte) error
type GetL2StationsReply ¶
type GetL2StationsReply struct { Stations []*L2Station `protobuf:"bytes,1,rep,name=stations,proto3" json:"stations,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL2StationsReply ¶
func NewGetL2StationsReply(stations []*L2Station) *GetL2StationsReply
NewGetL2StationsReply returns new instance.
func (*GetL2StationsReply) Descriptor ¶
func (*GetL2StationsReply) Descriptor() ([]byte, []int)
func (*GetL2StationsReply) GetStations ¶
func (m *GetL2StationsReply) GetStations() []*L2Station
func (*GetL2StationsReply) ProtoMessage ¶
func (*GetL2StationsReply) ProtoMessage()
func (*GetL2StationsReply) Reset ¶
func (m *GetL2StationsReply) Reset()
func (*GetL2StationsReply) String ¶
func (m *GetL2StationsReply) String() string
func (*GetL2StationsReply) XXX_DiscardUnknown ¶
func (m *GetL2StationsReply) XXX_DiscardUnknown()
func (*GetL2StationsReply) XXX_Marshal ¶
func (m *GetL2StationsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL2StationsReply) XXX_Merge ¶
func (m *GetL2StationsReply) XXX_Merge(src proto.Message)
func (*GetL2StationsReply) XXX_Size ¶
func (m *GetL2StationsReply) XXX_Size() int
func (*GetL2StationsReply) XXX_Unmarshal ¶
func (m *GetL2StationsReply) XXX_Unmarshal(b []byte) error
type GetL2StationsRequest ¶
type GetL2StationsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL2StationsRequest ¶
func NewGetL2StationsRequest() *GetL2StationsRequest
NewGetL2StationsRequest returns new instance.
func (*GetL2StationsRequest) Descriptor ¶
func (*GetL2StationsRequest) Descriptor() ([]byte, []int)
func (*GetL2StationsRequest) ProtoMessage ¶
func (*GetL2StationsRequest) ProtoMessage()
func (*GetL2StationsRequest) Reset ¶
func (m *GetL2StationsRequest) Reset()
func (*GetL2StationsRequest) String ¶
func (m *GetL2StationsRequest) String() string
func (*GetL2StationsRequest) XXX_DiscardUnknown ¶
func (m *GetL2StationsRequest) XXX_DiscardUnknown()
func (*GetL2StationsRequest) XXX_Marshal ¶
func (m *GetL2StationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL2StationsRequest) XXX_Merge ¶
func (m *GetL2StationsRequest) XXX_Merge(src proto.Message)
func (*GetL2StationsRequest) XXX_Size ¶
func (m *GetL2StationsRequest) XXX_Size() int
func (*GetL2StationsRequest) XXX_Unmarshal ¶
func (m *GetL2StationsRequest) XXX_Unmarshal(b []byte) error
type GetL3EgressesReply ¶
type GetL3EgressesReply struct { Egresses []*L3Egress `protobuf:"bytes,1,rep,name=egresses,proto3" json:"egresses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL3EgressesReply ¶
func NewGetL3EgressesReply(l3egresses []*L3Egress) *GetL3EgressesReply
NewGetL3EgressesReply returns new instance.
func (*GetL3EgressesReply) Descriptor ¶
func (*GetL3EgressesReply) Descriptor() ([]byte, []int)
func (*GetL3EgressesReply) GetEgresses ¶
func (m *GetL3EgressesReply) GetEgresses() []*L3Egress
func (*GetL3EgressesReply) ProtoMessage ¶
func (*GetL3EgressesReply) ProtoMessage()
func (*GetL3EgressesReply) Reset ¶
func (m *GetL3EgressesReply) Reset()
func (*GetL3EgressesReply) String ¶
func (m *GetL3EgressesReply) String() string
func (*GetL3EgressesReply) XXX_DiscardUnknown ¶
func (m *GetL3EgressesReply) XXX_DiscardUnknown()
func (*GetL3EgressesReply) XXX_Marshal ¶
func (m *GetL3EgressesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL3EgressesReply) XXX_Merge ¶
func (m *GetL3EgressesReply) XXX_Merge(src proto.Message)
func (*GetL3EgressesReply) XXX_Size ¶
func (m *GetL3EgressesReply) XXX_Size() int
func (*GetL3EgressesReply) XXX_Unmarshal ¶
func (m *GetL3EgressesReply) XXX_Unmarshal(b []byte) error
type GetL3EgressesRequest ¶
type GetL3EgressesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL3EgressesRequest ¶
func NewGetL3EgressesRequest() *GetL3EgressesRequest
NewGetL3EgressesRequest returns new instance.
func (*GetL3EgressesRequest) Descriptor ¶
func (*GetL3EgressesRequest) Descriptor() ([]byte, []int)
func (*GetL3EgressesRequest) ProtoMessage ¶
func (*GetL3EgressesRequest) ProtoMessage()
func (*GetL3EgressesRequest) Reset ¶
func (m *GetL3EgressesRequest) Reset()
func (*GetL3EgressesRequest) String ¶
func (m *GetL3EgressesRequest) String() string
func (*GetL3EgressesRequest) XXX_DiscardUnknown ¶
func (m *GetL3EgressesRequest) XXX_DiscardUnknown()
func (*GetL3EgressesRequest) XXX_Marshal ¶
func (m *GetL3EgressesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL3EgressesRequest) XXX_Merge ¶
func (m *GetL3EgressesRequest) XXX_Merge(src proto.Message)
func (*GetL3EgressesRequest) XXX_Size ¶
func (m *GetL3EgressesRequest) XXX_Size() int
func (*GetL3EgressesRequest) XXX_Unmarshal ¶
func (m *GetL3EgressesRequest) XXX_Unmarshal(b []byte) error
type GetL3HostsReply ¶
type GetL3HostsReply struct { Hosts []*L3Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL3HostsReply ¶
func NewGetL3HostsReply(hosts []*L3Host) *GetL3HostsReply
NewGetL3HostsReply returns new instance.
func (*GetL3HostsReply) Descriptor ¶
func (*GetL3HostsReply) Descriptor() ([]byte, []int)
func (*GetL3HostsReply) GetHosts ¶
func (m *GetL3HostsReply) GetHosts() []*L3Host
func (*GetL3HostsReply) ProtoMessage ¶
func (*GetL3HostsReply) ProtoMessage()
func (*GetL3HostsReply) Reset ¶
func (m *GetL3HostsReply) Reset()
func (*GetL3HostsReply) String ¶
func (m *GetL3HostsReply) String() string
func (*GetL3HostsReply) XXX_DiscardUnknown ¶
func (m *GetL3HostsReply) XXX_DiscardUnknown()
func (*GetL3HostsReply) XXX_Marshal ¶
func (m *GetL3HostsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL3HostsReply) XXX_Merge ¶
func (m *GetL3HostsReply) XXX_Merge(src proto.Message)
func (*GetL3HostsReply) XXX_Size ¶
func (m *GetL3HostsReply) XXX_Size() int
func (*GetL3HostsReply) XXX_Unmarshal ¶
func (m *GetL3HostsReply) XXX_Unmarshal(b []byte) error
type GetL3HostsRequest ¶
type GetL3HostsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL3HostsRequest ¶
func NewGetL3HostsRequest() *GetL3HostsRequest
NewGetL3HostsRequest returns new instance.
func (*GetL3HostsRequest) Descriptor ¶
func (*GetL3HostsRequest) Descriptor() ([]byte, []int)
func (*GetL3HostsRequest) ProtoMessage ¶
func (*GetL3HostsRequest) ProtoMessage()
func (*GetL3HostsRequest) Reset ¶
func (m *GetL3HostsRequest) Reset()
func (*GetL3HostsRequest) String ¶
func (m *GetL3HostsRequest) String() string
func (*GetL3HostsRequest) XXX_DiscardUnknown ¶
func (m *GetL3HostsRequest) XXX_DiscardUnknown()
func (*GetL3HostsRequest) XXX_Marshal ¶
func (m *GetL3HostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL3HostsRequest) XXX_Merge ¶
func (m *GetL3HostsRequest) XXX_Merge(src proto.Message)
func (*GetL3HostsRequest) XXX_Size ¶
func (m *GetL3HostsRequest) XXX_Size() int
func (*GetL3HostsRequest) XXX_Unmarshal ¶
func (m *GetL3HostsRequest) XXX_Unmarshal(b []byte) error
type GetL3IfaceReply ¶
type GetL3IfaceReply struct { Iface *L3Iface `protobuf:"bytes,1,opt,name=iface,proto3" json:"iface,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL3IfaceReply ¶
func NewGetL3IfaceReply(iface *L3Iface) *GetL3IfaceReply
NewGetL3IfaceReply returns new instance.
func (*GetL3IfaceReply) Descriptor ¶
func (*GetL3IfaceReply) Descriptor() ([]byte, []int)
func (*GetL3IfaceReply) GetIface ¶
func (m *GetL3IfaceReply) GetIface() *L3Iface
func (*GetL3IfaceReply) ProtoMessage ¶
func (*GetL3IfaceReply) ProtoMessage()
func (*GetL3IfaceReply) Reset ¶
func (m *GetL3IfaceReply) Reset()
func (*GetL3IfaceReply) String ¶
func (m *GetL3IfaceReply) String() string
func (*GetL3IfaceReply) XXX_DiscardUnknown ¶
func (m *GetL3IfaceReply) XXX_DiscardUnknown()
func (*GetL3IfaceReply) XXX_Marshal ¶
func (m *GetL3IfaceReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL3IfaceReply) XXX_Merge ¶
func (m *GetL3IfaceReply) XXX_Merge(src proto.Message)
func (*GetL3IfaceReply) XXX_Size ¶
func (m *GetL3IfaceReply) XXX_Size() int
func (*GetL3IfaceReply) XXX_Unmarshal ¶
func (m *GetL3IfaceReply) XXX_Unmarshal(b []byte) error
type GetL3IfaceRequest ¶
type GetL3IfaceRequest struct { IfaceId uint32 `protobuf:"varint,1,opt,name=iface_id,json=ifaceId,proto3" json:"iface_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL3IfaceRequest ¶
func NewGetL3IfaceRequest(ifaceID opennsl.L3IfaceID) *GetL3IfaceRequest
NewGetL3IfaceRequest returns new instance.
func (*GetL3IfaceRequest) Descriptor ¶
func (*GetL3IfaceRequest) Descriptor() ([]byte, []int)
func (*GetL3IfaceRequest) GetIfaceId ¶
func (m *GetL3IfaceRequest) GetIfaceId() uint32
func (*GetL3IfaceRequest) ProtoMessage ¶
func (*GetL3IfaceRequest) ProtoMessage()
func (*GetL3IfaceRequest) Reset ¶
func (m *GetL3IfaceRequest) Reset()
func (*GetL3IfaceRequest) String ¶
func (m *GetL3IfaceRequest) String() string
func (*GetL3IfaceRequest) XXX_DiscardUnknown ¶
func (m *GetL3IfaceRequest) XXX_DiscardUnknown()
func (*GetL3IfaceRequest) XXX_Marshal ¶
func (m *GetL3IfaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL3IfaceRequest) XXX_Merge ¶
func (m *GetL3IfaceRequest) XXX_Merge(src proto.Message)
func (*GetL3IfaceRequest) XXX_Size ¶
func (m *GetL3IfaceRequest) XXX_Size() int
func (*GetL3IfaceRequest) XXX_Unmarshal ¶
func (m *GetL3IfaceRequest) XXX_Unmarshal(b []byte) error
type GetL3IfacesReply ¶
type GetL3IfacesReply struct { Ifaces []*L3Iface `protobuf:"bytes,1,rep,name=ifaces,proto3" json:"ifaces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL3IfacesReply ¶
func NewGetL3IfacesReply(ifaces []*L3Iface) *GetL3IfacesReply
NewGetL3IfacesReply returns new instance.
func (*GetL3IfacesReply) Descriptor ¶
func (*GetL3IfacesReply) Descriptor() ([]byte, []int)
func (*GetL3IfacesReply) GetIfaces ¶
func (m *GetL3IfacesReply) GetIfaces() []*L3Iface
func (*GetL3IfacesReply) ProtoMessage ¶
func (*GetL3IfacesReply) ProtoMessage()
func (*GetL3IfacesReply) Reset ¶
func (m *GetL3IfacesReply) Reset()
func (*GetL3IfacesReply) String ¶
func (m *GetL3IfacesReply) String() string
func (*GetL3IfacesReply) XXX_DiscardUnknown ¶
func (m *GetL3IfacesReply) XXX_DiscardUnknown()
func (*GetL3IfacesReply) XXX_Marshal ¶
func (m *GetL3IfacesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL3IfacesReply) XXX_Merge ¶
func (m *GetL3IfacesReply) XXX_Merge(src proto.Message)
func (*GetL3IfacesReply) XXX_Size ¶
func (m *GetL3IfacesReply) XXX_Size() int
func (*GetL3IfacesReply) XXX_Unmarshal ¶
func (m *GetL3IfacesReply) XXX_Unmarshal(b []byte) error
type GetL3IfacesRequest ¶
type GetL3IfacesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL3IfacesRequest ¶
func NewGetL3IfacesRequest() *GetL3IfacesRequest
NewGetL3IfacesRequest returns new instance.
func (*GetL3IfacesRequest) Descriptor ¶
func (*GetL3IfacesRequest) Descriptor() ([]byte, []int)
func (*GetL3IfacesRequest) ProtoMessage ¶
func (*GetL3IfacesRequest) ProtoMessage()
func (*GetL3IfacesRequest) Reset ¶
func (m *GetL3IfacesRequest) Reset()
func (*GetL3IfacesRequest) String ¶
func (m *GetL3IfacesRequest) String() string
func (*GetL3IfacesRequest) XXX_DiscardUnknown ¶
func (m *GetL3IfacesRequest) XXX_DiscardUnknown()
func (*GetL3IfacesRequest) XXX_Marshal ¶
func (m *GetL3IfacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL3IfacesRequest) XXX_Merge ¶
func (m *GetL3IfacesRequest) XXX_Merge(src proto.Message)
func (*GetL3IfacesRequest) XXX_Size ¶
func (m *GetL3IfacesRequest) XXX_Size() int
func (*GetL3IfacesRequest) XXX_Unmarshal ¶
func (m *GetL3IfacesRequest) XXX_Unmarshal(b []byte) error
type GetL3RoutesReply ¶
type GetL3RoutesReply struct { Routes []*L3Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL3RoutesReply ¶
func NewGetL3RoutesReply(routes []*L3Route) *GetL3RoutesReply
NewGetL3RoutesReply returns new instance.
func (*GetL3RoutesReply) Descriptor ¶
func (*GetL3RoutesReply) Descriptor() ([]byte, []int)
func (*GetL3RoutesReply) GetRoutes ¶
func (m *GetL3RoutesReply) GetRoutes() []*L3Route
func (*GetL3RoutesReply) ProtoMessage ¶
func (*GetL3RoutesReply) ProtoMessage()
func (*GetL3RoutesReply) Reset ¶
func (m *GetL3RoutesReply) Reset()
func (*GetL3RoutesReply) String ¶
func (m *GetL3RoutesReply) String() string
func (*GetL3RoutesReply) XXX_DiscardUnknown ¶
func (m *GetL3RoutesReply) XXX_DiscardUnknown()
func (*GetL3RoutesReply) XXX_Marshal ¶
func (m *GetL3RoutesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL3RoutesReply) XXX_Merge ¶
func (m *GetL3RoutesReply) XXX_Merge(src proto.Message)
func (*GetL3RoutesReply) XXX_Size ¶
func (m *GetL3RoutesReply) XXX_Size() int
func (*GetL3RoutesReply) XXX_Unmarshal ¶
func (m *GetL3RoutesReply) XXX_Unmarshal(b []byte) error
type GetL3RoutesRequest ¶
type GetL3RoutesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetL3RoutesRequest ¶
func NewGetL3RoutesRequest() *GetL3RoutesRequest
NewGetL3RoutesRequest returns new instance.
func (*GetL3RoutesRequest) Descriptor ¶
func (*GetL3RoutesRequest) Descriptor() ([]byte, []int)
func (*GetL3RoutesRequest) ProtoMessage ¶
func (*GetL3RoutesRequest) ProtoMessage()
func (*GetL3RoutesRequest) Reset ¶
func (m *GetL3RoutesRequest) Reset()
func (*GetL3RoutesRequest) String ¶
func (m *GetL3RoutesRequest) String() string
func (*GetL3RoutesRequest) XXX_DiscardUnknown ¶
func (m *GetL3RoutesRequest) XXX_DiscardUnknown()
func (*GetL3RoutesRequest) XXX_Marshal ¶
func (m *GetL3RoutesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetL3RoutesRequest) XXX_Merge ¶
func (m *GetL3RoutesRequest) XXX_Merge(src proto.Message)
func (*GetL3RoutesRequest) XXX_Size ¶
func (m *GetL3RoutesRequest) XXX_Size() int
func (*GetL3RoutesRequest) XXX_Unmarshal ¶
func (m *GetL3RoutesRequest) XXX_Unmarshal(b []byte) error
type GetPortInfosReply ¶ added in v0.4.0
type GetPortInfosReply struct { PortInfos []*PortInfo `protobuf:"bytes,1,rep,name=port_infos,json=portInfos,proto3" json:"port_infos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetPortInfosReply ¶ added in v0.4.0
func NewGetPortInfosReply(pinfos []*PortInfo) *GetPortInfosReply
func (*GetPortInfosReply) Descriptor ¶ added in v0.4.0
func (*GetPortInfosReply) Descriptor() ([]byte, []int)
func (*GetPortInfosReply) GetPortInfos ¶ added in v0.4.0
func (m *GetPortInfosReply) GetPortInfos() []*PortInfo
func (*GetPortInfosReply) ProtoMessage ¶ added in v0.4.0
func (*GetPortInfosReply) ProtoMessage()
func (*GetPortInfosReply) Reset ¶ added in v0.4.0
func (m *GetPortInfosReply) Reset()
func (*GetPortInfosReply) String ¶ added in v0.4.0
func (m *GetPortInfosReply) String() string
func (*GetPortInfosReply) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *GetPortInfosReply) XXX_DiscardUnknown()
func (*GetPortInfosReply) XXX_Marshal ¶ added in v0.4.0
func (m *GetPortInfosReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPortInfosReply) XXX_Merge ¶ added in v0.4.0
func (m *GetPortInfosReply) XXX_Merge(src proto.Message)
func (*GetPortInfosReply) XXX_Size ¶ added in v0.4.0
func (m *GetPortInfosReply) XXX_Size() int
func (*GetPortInfosReply) XXX_Unmarshal ¶ added in v0.4.0
func (m *GetPortInfosReply) XXX_Unmarshal(b []byte) error
type GetPortInfosRequest ¶ added in v0.4.0
type GetPortInfosRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetPortInfosRequest ¶ added in v0.4.0
func NewGetPortInfosRequest() *GetPortInfosRequest
func (*GetPortInfosRequest) Descriptor ¶ added in v0.4.0
func (*GetPortInfosRequest) Descriptor() ([]byte, []int)
func (*GetPortInfosRequest) ProtoMessage ¶ added in v0.4.0
func (*GetPortInfosRequest) ProtoMessage()
func (*GetPortInfosRequest) Reset ¶ added in v0.4.0
func (m *GetPortInfosRequest) Reset()
func (*GetPortInfosRequest) String ¶ added in v0.4.0
func (m *GetPortInfosRequest) String() string
func (*GetPortInfosRequest) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *GetPortInfosRequest) XXX_DiscardUnknown()
func (*GetPortInfosRequest) XXX_Marshal ¶ added in v0.4.0
func (m *GetPortInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPortInfosRequest) XXX_Merge ¶ added in v0.4.0
func (m *GetPortInfosRequest) XXX_Merge(src proto.Message)
func (*GetPortInfosRequest) XXX_Size ¶ added in v0.4.0
func (m *GetPortInfosRequest) XXX_Size() int
func (*GetPortInfosRequest) XXX_Unmarshal ¶ added in v0.4.0
func (m *GetPortInfosRequest) XXX_Unmarshal(b []byte) error
type GetTunnelInitiatorsReply ¶
type GetTunnelInitiatorsReply struct { Tunnels []*TunnelInitiator `protobuf:"bytes,1,rep,name=tunnels,proto3" json:"tunnels,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetTunnelInitiatorsReply ¶
func NewGetTunnelInitiatorsReply(entries []*TunnelInitiator) *GetTunnelInitiatorsReply
NewGetTunnelInitiatorsReply returns new instance.
func (*GetTunnelInitiatorsReply) Descriptor ¶
func (*GetTunnelInitiatorsReply) Descriptor() ([]byte, []int)
func (*GetTunnelInitiatorsReply) GetTunnels ¶
func (m *GetTunnelInitiatorsReply) GetTunnels() []*TunnelInitiator
func (*GetTunnelInitiatorsReply) ProtoMessage ¶
func (*GetTunnelInitiatorsReply) ProtoMessage()
func (*GetTunnelInitiatorsReply) Reset ¶
func (m *GetTunnelInitiatorsReply) Reset()
func (*GetTunnelInitiatorsReply) String ¶
func (m *GetTunnelInitiatorsReply) String() string
func (*GetTunnelInitiatorsReply) XXX_DiscardUnknown ¶
func (m *GetTunnelInitiatorsReply) XXX_DiscardUnknown()
func (*GetTunnelInitiatorsReply) XXX_Marshal ¶
func (m *GetTunnelInitiatorsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTunnelInitiatorsReply) XXX_Merge ¶
func (m *GetTunnelInitiatorsReply) XXX_Merge(src proto.Message)
func (*GetTunnelInitiatorsReply) XXX_Size ¶
func (m *GetTunnelInitiatorsReply) XXX_Size() int
func (*GetTunnelInitiatorsReply) XXX_Unmarshal ¶
func (m *GetTunnelInitiatorsReply) XXX_Unmarshal(b []byte) error
type GetTunnelInitiatorsRequest ¶
type GetTunnelInitiatorsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetTunnelInitiatorsRequest ¶
func NewGetTunnelInitiatorsRequest() *GetTunnelInitiatorsRequest
NewGetTunnelInitiatorsRequest returns new instance.
func (*GetTunnelInitiatorsRequest) Descriptor ¶
func (*GetTunnelInitiatorsRequest) Descriptor() ([]byte, []int)
func (*GetTunnelInitiatorsRequest) ProtoMessage ¶
func (*GetTunnelInitiatorsRequest) ProtoMessage()
func (*GetTunnelInitiatorsRequest) Reset ¶
func (m *GetTunnelInitiatorsRequest) Reset()
func (*GetTunnelInitiatorsRequest) String ¶
func (m *GetTunnelInitiatorsRequest) String() string
func (*GetTunnelInitiatorsRequest) XXX_DiscardUnknown ¶
func (m *GetTunnelInitiatorsRequest) XXX_DiscardUnknown()
func (*GetTunnelInitiatorsRequest) XXX_Marshal ¶
func (m *GetTunnelInitiatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTunnelInitiatorsRequest) XXX_Merge ¶
func (m *GetTunnelInitiatorsRequest) XXX_Merge(src proto.Message)
func (*GetTunnelInitiatorsRequest) XXX_Size ¶
func (m *GetTunnelInitiatorsRequest) XXX_Size() int
func (*GetTunnelInitiatorsRequest) XXX_Unmarshal ¶
func (m *GetTunnelInitiatorsRequest) XXX_Unmarshal(b []byte) error
type GetTunnelTerminatorsReply ¶
type GetTunnelTerminatorsReply struct { Tunnels []*TunnelTerminator `protobuf:"bytes,1,rep,name=tunnels,proto3" json:"tunnels,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetTunnelTerminatorsReply ¶
func NewGetTunnelTerminatorsReply(entries []*TunnelTerminator) *GetTunnelTerminatorsReply
NewGetTunnelTerminatorsReply returns new instance.
func (*GetTunnelTerminatorsReply) Descriptor ¶
func (*GetTunnelTerminatorsReply) Descriptor() ([]byte, []int)
func (*GetTunnelTerminatorsReply) GetTunnels ¶
func (m *GetTunnelTerminatorsReply) GetTunnels() []*TunnelTerminator
func (*GetTunnelTerminatorsReply) ProtoMessage ¶
func (*GetTunnelTerminatorsReply) ProtoMessage()
func (*GetTunnelTerminatorsReply) Reset ¶
func (m *GetTunnelTerminatorsReply) Reset()
func (*GetTunnelTerminatorsReply) String ¶
func (m *GetTunnelTerminatorsReply) String() string
func (*GetTunnelTerminatorsReply) XXX_DiscardUnknown ¶
func (m *GetTunnelTerminatorsReply) XXX_DiscardUnknown()
func (*GetTunnelTerminatorsReply) XXX_Marshal ¶
func (m *GetTunnelTerminatorsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTunnelTerminatorsReply) XXX_Merge ¶
func (m *GetTunnelTerminatorsReply) XXX_Merge(src proto.Message)
func (*GetTunnelTerminatorsReply) XXX_Size ¶
func (m *GetTunnelTerminatorsReply) XXX_Size() int
func (*GetTunnelTerminatorsReply) XXX_Unmarshal ¶
func (m *GetTunnelTerminatorsReply) XXX_Unmarshal(b []byte) error
type GetTunnelTerminatorsRequest ¶
type GetTunnelTerminatorsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetTunnelTerminatorsRequest ¶
func NewGetTunnelTerminatorsRequest() *GetTunnelTerminatorsRequest
NewGetTunnelTerminatorsRequest returns new instance.
func (*GetTunnelTerminatorsRequest) Descriptor ¶
func (*GetTunnelTerminatorsRequest) Descriptor() ([]byte, []int)
func (*GetTunnelTerminatorsRequest) ProtoMessage ¶
func (*GetTunnelTerminatorsRequest) ProtoMessage()
func (*GetTunnelTerminatorsRequest) Reset ¶
func (m *GetTunnelTerminatorsRequest) Reset()
func (*GetTunnelTerminatorsRequest) String ¶
func (m *GetTunnelTerminatorsRequest) String() string
func (*GetTunnelTerminatorsRequest) XXX_DiscardUnknown ¶
func (m *GetTunnelTerminatorsRequest) XXX_DiscardUnknown()
func (*GetTunnelTerminatorsRequest) XXX_Marshal ¶
func (m *GetTunnelTerminatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTunnelTerminatorsRequest) XXX_Merge ¶
func (m *GetTunnelTerminatorsRequest) XXX_Merge(src proto.Message)
func (*GetTunnelTerminatorsRequest) XXX_Size ¶
func (m *GetTunnelTerminatorsRequest) XXX_Size() int
func (*GetTunnelTerminatorsRequest) XXX_Unmarshal ¶
func (m *GetTunnelTerminatorsRequest) XXX_Unmarshal(b []byte) error
type GetVlansReply ¶
type GetVlansReply struct { Vlans []*VlanEntry `protobuf:"bytes,1,rep,name=vlans,proto3" json:"vlans,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetVlansReply ¶
func NewGetVlansReply(vlans []*VlanEntry) *GetVlansReply
NewGetVlansReply returns new instance.
func (*GetVlansReply) Descriptor ¶
func (*GetVlansReply) Descriptor() ([]byte, []int)
func (*GetVlansReply) GetVlans ¶
func (m *GetVlansReply) GetVlans() []*VlanEntry
func (*GetVlansReply) ProtoMessage ¶
func (*GetVlansReply) ProtoMessage()
func (*GetVlansReply) Reset ¶
func (m *GetVlansReply) Reset()
func (*GetVlansReply) String ¶
func (m *GetVlansReply) String() string
func (*GetVlansReply) XXX_DiscardUnknown ¶
func (m *GetVlansReply) XXX_DiscardUnknown()
func (*GetVlansReply) XXX_Marshal ¶
func (m *GetVlansReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVlansReply) XXX_Merge ¶
func (m *GetVlansReply) XXX_Merge(src proto.Message)
func (*GetVlansReply) XXX_Size ¶
func (m *GetVlansReply) XXX_Size() int
func (*GetVlansReply) XXX_Unmarshal ¶
func (m *GetVlansReply) XXX_Unmarshal(b []byte) error
type GetVlansRequest ¶
type GetVlansRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetVlansRequest ¶
func NewGetVlansRequest() *GetVlansRequest
NewGetVlansRequest returns new instance.
func (*GetVlansRequest) Descriptor ¶
func (*GetVlansRequest) Descriptor() ([]byte, []int)
func (*GetVlansRequest) ProtoMessage ¶
func (*GetVlansRequest) ProtoMessage()
func (*GetVlansRequest) Reset ¶
func (m *GetVlansRequest) Reset()
func (*GetVlansRequest) String ¶
func (m *GetVlansRequest) String() string
func (*GetVlansRequest) XXX_DiscardUnknown ¶
func (m *GetVlansRequest) XXX_DiscardUnknown()
func (*GetVlansRequest) XXX_Marshal ¶
func (m *GetVlansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVlansRequest) XXX_Merge ¶
func (m *GetVlansRequest) XXX_Merge(src proto.Message)
func (*GetVlansRequest) XXX_Size ¶
func (m *GetVlansRequest) XXX_Size() int
func (*GetVlansRequest) XXX_Unmarshal ¶
func (m *GetVlansRequest) XXX_Unmarshal(b []byte) error
type GoNSLApiClient ¶
type GoNSLApiClient interface { GetFieldEntries(ctx context.Context, in *GetFieldEntriesRequest, opts ...grpc.CallOption) (*GetFieldEntriesReply, error) GetPortInfos(ctx context.Context, in *GetPortInfosRequest, opts ...grpc.CallOption) (*GetPortInfosReply, error) GetVlans(ctx context.Context, in *GetVlansRequest, opts ...grpc.CallOption) (*GetVlansReply, error) GetL2Addrs(ctx context.Context, in *GetL2AddrsRequest, opts ...grpc.CallOption) (*GetL2AddrsReply, error) GetL2Stations(ctx context.Context, in *GetL2StationsRequest, opts ...grpc.CallOption) (*GetL2StationsReply, error) FindL3Iface(ctx context.Context, in *FindL3IfaceRequest, opts ...grpc.CallOption) (*FindL3IfaceReply, error) GetL3Iface(ctx context.Context, in *GetL3IfaceRequest, opts ...grpc.CallOption) (*GetL3IfaceReply, error) GetL3Ifaces(ctx context.Context, in *GetL3IfacesRequest, opts ...grpc.CallOption) (*GetL3IfacesReply, error) GetL3Egresses(ctx context.Context, in *GetL3EgressesRequest, opts ...grpc.CallOption) (*GetL3EgressesReply, error) GetL3Hosts(ctx context.Context, in *GetL3HostsRequest, opts ...grpc.CallOption) (*GetL3HostsReply, error) GetL3Routes(ctx context.Context, in *GetL3RoutesRequest, opts ...grpc.CallOption) (*GetL3RoutesReply, error) GetIDMapEntries(ctx context.Context, in *GetIDMapEntriesRequest, opts ...grpc.CallOption) (*GetIDMapEntriesReply, error) GetTunnelInitiators(ctx context.Context, in *GetTunnelInitiatorsRequest, opts ...grpc.CallOption) (*GetTunnelInitiatorsReply, error) GetTunnelTerminators(ctx context.Context, in *GetTunnelTerminatorsRequest, opts ...grpc.CallOption) (*GetTunnelTerminatorsReply, error) }
GoNSLApiClient is the client API for GoNSLApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGoNSLApiClient ¶
func NewGoNSLApiClient(cc *grpc.ClientConn) GoNSLApiClient
type GoNSLApiServer ¶
type GoNSLApiServer interface { GetFieldEntries(context.Context, *GetFieldEntriesRequest) (*GetFieldEntriesReply, error) GetPortInfos(context.Context, *GetPortInfosRequest) (*GetPortInfosReply, error) GetVlans(context.Context, *GetVlansRequest) (*GetVlansReply, error) GetL2Addrs(context.Context, *GetL2AddrsRequest) (*GetL2AddrsReply, error) GetL2Stations(context.Context, *GetL2StationsRequest) (*GetL2StationsReply, error) FindL3Iface(context.Context, *FindL3IfaceRequest) (*FindL3IfaceReply, error) GetL3Iface(context.Context, *GetL3IfaceRequest) (*GetL3IfaceReply, error) GetL3Ifaces(context.Context, *GetL3IfacesRequest) (*GetL3IfacesReply, error) GetL3Egresses(context.Context, *GetL3EgressesRequest) (*GetL3EgressesReply, error) GetL3Hosts(context.Context, *GetL3HostsRequest) (*GetL3HostsReply, error) GetL3Routes(context.Context, *GetL3RoutesRequest) (*GetL3RoutesReply, error) GetIDMapEntries(context.Context, *GetIDMapEntriesRequest) (*GetIDMapEntriesReply, error) GetTunnelInitiators(context.Context, *GetTunnelInitiatorsRequest) (*GetTunnelInitiatorsReply, error) GetTunnelTerminators(context.Context, *GetTunnelTerminatorsRequest) (*GetTunnelTerminatorsReply, error) }
GoNSLApiServer is the server API for GoNSLApi service.
type IDMapEntry ¶
type IDMapEntry struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value uint32 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ID map
func NewIDMapEntry ¶
func NewIDMapEntry(name IDMapName, key string, value uint32) *IDMapEntry
NewIDMapEntry returns new instance.
func (*IDMapEntry) Descriptor ¶
func (*IDMapEntry) Descriptor() ([]byte, []int)
func (*IDMapEntry) GetKey ¶
func (m *IDMapEntry) GetKey() string
func (*IDMapEntry) GetName ¶
func (m *IDMapEntry) GetName() string
func (*IDMapEntry) GetValue ¶
func (m *IDMapEntry) GetValue() uint32
func (*IDMapEntry) ProtoMessage ¶
func (*IDMapEntry) ProtoMessage()
func (*IDMapEntry) Reset ¶
func (m *IDMapEntry) Reset()
func (*IDMapEntry) String ¶
func (m *IDMapEntry) String() string
func (*IDMapEntry) XXX_DiscardUnknown ¶
func (m *IDMapEntry) XXX_DiscardUnknown()
func (*IDMapEntry) XXX_Marshal ¶
func (m *IDMapEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IDMapEntry) XXX_Merge ¶
func (m *IDMapEntry) XXX_Merge(src proto.Message)
func (*IDMapEntry) XXX_Size ¶
func (m *IDMapEntry) XXX_Size() int
func (*IDMapEntry) XXX_Unmarshal ¶
func (m *IDMapEntry) XXX_Unmarshal(b []byte) error
type IpProtoFieldEntry ¶
type IpProtoFieldEntry struct { EthType uint32 `protobuf:"varint,1,opt,name=eth_type,json=ethType,proto3" json:"eth_type,omitempty"` IpProto uint32 `protobuf:"varint,2,opt,name=ip_proto,json=ipProto,proto3" json:"ip_proto,omitempty"` InPort uint32 `protobuf:"varint,3,opt,name=in_port,json=inPort,proto3" json:"in_port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewIPProtoFieldEntry ¶
func NewIPProtoFieldEntry(ethType uint16, ipProto uint8, inPort opennsl.Port) *IpProtoFieldEntry
NewIPProtoFieldEntry returns new instance
func (*IpProtoFieldEntry) Descriptor ¶
func (*IpProtoFieldEntry) Descriptor() ([]byte, []int)
func (*IpProtoFieldEntry) GetEthType ¶
func (m *IpProtoFieldEntry) GetEthType() uint32
func (*IpProtoFieldEntry) GetInPort ¶ added in v0.4.0
func (m *IpProtoFieldEntry) GetInPort() uint32
func (*IpProtoFieldEntry) GetIpProto ¶
func (m *IpProtoFieldEntry) GetIpProto() uint32
func (*IpProtoFieldEntry) ProtoMessage ¶
func (*IpProtoFieldEntry) ProtoMessage()
func (*IpProtoFieldEntry) Reset ¶
func (m *IpProtoFieldEntry) Reset()
func (*IpProtoFieldEntry) String ¶
func (m *IpProtoFieldEntry) String() string
func (*IpProtoFieldEntry) XXX_DiscardUnknown ¶
func (m *IpProtoFieldEntry) XXX_DiscardUnknown()
func (*IpProtoFieldEntry) XXX_Marshal ¶
func (m *IpProtoFieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IpProtoFieldEntry) XXX_Merge ¶
func (m *IpProtoFieldEntry) XXX_Merge(src proto.Message)
func (*IpProtoFieldEntry) XXX_Size ¶
func (m *IpProtoFieldEntry) XXX_Size() int
func (*IpProtoFieldEntry) XXX_Unmarshal ¶
func (m *IpProtoFieldEntry) XXX_Unmarshal(b []byte) error
type L2Addr ¶
type L2Addr struct { Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` Mac string `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"` Vid uint32 `protobuf:"varint,3,opt,name=vid,proto3" json:"vid,omitempty"` Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
L2 Addr
func NewL2AddrFromNative ¶
NewL2AddrFromNative creates new instance from native types.
func (*L2Addr) Descriptor ¶
func (*L2Addr) ProtoMessage ¶
func (*L2Addr) ProtoMessage()
func (*L2Addr) XXX_DiscardUnknown ¶
func (m *L2Addr) XXX_DiscardUnknown()
func (*L2Addr) XXX_Marshal ¶
func (*L2Addr) XXX_Unmarshal ¶
type L2Station ¶
type L2Station struct { Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` DstMac string `protobuf:"bytes,2,opt,name=dst_mac,json=dstMac,proto3" json:"dst_mac,omitempty"` DstMacMask string `protobuf:"bytes,3,opt,name=dst_mac_mask,json=dstMacMask,proto3" json:"dst_mac_mask,omitempty"` Vlan uint32 `protobuf:"varint,4,opt,name=vlan,proto3" json:"vlan,omitempty"` VlanMask uint32 `protobuf:"varint,5,opt,name=vlan_mask,json=vlanMask,proto3" json:"vlan_mask,omitempty"` SrcPort uint32 `protobuf:"varint,6,opt,name=src_port,json=srcPort,proto3" json:"src_port,omitempty"` SrcPortMask uint32 `protobuf:"varint,7,opt,name=src_port_mask,json=srcPortMask,proto3" json:"src_port_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
L2 Station
func NewL2Station ¶
NewL2Station returns new instance.
func NewL2StationFromNative ¶
NewL2StationFromNative creates new instance from native types.
func (*L2Station) Descriptor ¶
func (*L2Station) GetDstMacMask ¶
func (*L2Station) GetSrcPort ¶
func (*L2Station) GetSrcPortMask ¶
func (*L2Station) GetVlanMask ¶
func (*L2Station) ProtoMessage ¶
func (*L2Station) ProtoMessage()
func (*L2Station) XXX_DiscardUnknown ¶
func (m *L2Station) XXX_DiscardUnknown()
func (*L2Station) XXX_Marshal ¶
func (*L2Station) XXX_Unmarshal ¶
type L3Egress ¶
type L3Egress struct { Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` Flags2 uint32 `protobuf:"varint,2,opt,name=flags2,proto3" json:"flags2,omitempty"` EgressId uint32 `protobuf:"varint,3,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` IfaceId uint32 `protobuf:"varint,4,opt,name=iface_id,json=ifaceId,proto3" json:"iface_id,omitempty"` Mac string `protobuf:"bytes,5,opt,name=mac,proto3" json:"mac,omitempty"` Vid uint32 `protobuf:"varint,6,opt,name=vid,proto3" json:"vid,omitempty"` Port uint32 `protobuf:"varint,7,opt,name=port,proto3" json:"port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
L3 Egress
func NewL3Egress ¶
func NewL3Egress(l3egrID opennsl.L3EgressID) *L3Egress
NewL3Egress returns new instance.
func NewL3EgressFromNative ¶
func NewL3EgressFromNative(l3egrID opennsl.L3EgressID, l3egr *opennsl.L3Egress) *L3Egress
NewL3EgressFromNative creates and returns from native types.
func (*L3Egress) Descriptor ¶
func (*L3Egress) GetEgressId ¶
func (*L3Egress) GetIfaceId ¶
func (*L3Egress) ProtoMessage ¶
func (*L3Egress) ProtoMessage()
func (*L3Egress) XXX_DiscardUnknown ¶
func (m *L3Egress) XXX_DiscardUnknown()
func (*L3Egress) XXX_Marshal ¶
func (*L3Egress) XXX_Unmarshal ¶
type L3Host ¶
type L3Host struct { Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` EgressId uint32 `protobuf:"varint,2,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` IpAddr string `protobuf:"bytes,3,opt,name=ip_addr,json=ipAddr,proto3" json:"ip_addr,omitempty"` Ip6Addr string `protobuf:"bytes,4,opt,name=ip6_addr,json=ip6Addr,proto3" json:"ip6_addr,omitempty"` Mac string `protobuf:"bytes,5,opt,name=mac,proto3" json:"mac,omitempty"` Vrf uint32 `protobuf:"varint,6,opt,name=vrf,proto3" json:"vrf,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
L3 Host
func NewL3HostFromNative ¶
NewL3HostFromNative creates and returns from native types.
func (*L3Host) Descriptor ¶
func (*L3Host) GetEgressId ¶
func (*L3Host) GetIp6Addr ¶
func (*L3Host) ProtoMessage ¶
func (*L3Host) ProtoMessage()
func (*L3Host) XXX_DiscardUnknown ¶
func (m *L3Host) XXX_DiscardUnknown()
func (*L3Host) XXX_Marshal ¶
func (*L3Host) XXX_Unmarshal ¶
type L3Iface ¶
type L3Iface struct { Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` IfaceId uint32 `protobuf:"varint,2,opt,name=iface_id,json=ifaceId,proto3" json:"iface_id,omitempty"` Mac string `protobuf:"bytes,3,opt,name=mac,proto3" json:"mac,omitempty"` Mtu uint32 `protobuf:"varint,4,opt,name=mtu,proto3" json:"mtu,omitempty"` MtuFwd uint32 `protobuf:"varint,5,opt,name=mtu_fwd,json=mtuFwd,proto3" json:"mtu_fwd,omitempty"` Ttl uint32 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"` Vid uint32 `protobuf:"varint,7,opt,name=vid,proto3" json:"vid,omitempty"` Vrf uint32 `protobuf:"varint,8,opt,name=vrf,proto3" json:"vrf,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
L3 Interface
func NewL3Iface ¶
NewL3Iface returns new instance.
func NewL3IfaceFromNative ¶
NewL3IfaceFromNative creates new instance from native types.
func (*L3Iface) Descriptor ¶
func (*L3Iface) GetIfaceId ¶
func (*L3Iface) ProtoMessage ¶
func (*L3Iface) ProtoMessage()
func (*L3Iface) XXX_DiscardUnknown ¶
func (m *L3Iface) XXX_DiscardUnknown()
func (*L3Iface) XXX_Marshal ¶
func (*L3Iface) XXX_Unmarshal ¶
type L3Route ¶
type L3Route struct { Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` EgressId uint32 `protobuf:"varint,2,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` IpAddr string `protobuf:"bytes,3,opt,name=ip_addr,json=ipAddr,proto3" json:"ip_addr,omitempty"` Ip6Addr string `protobuf:"bytes,4,opt,name=ip6_addr,json=ip6Addr,proto3" json:"ip6_addr,omitempty"` Vrf uint32 `protobuf:"varint,5,opt,name=vrf,proto3" json:"vrf,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
L3 Route
func NewL3RouteFromNative ¶
NewL3RouteFromNative creates and returns from native types.
func (*L3Route) Descriptor ¶
func (*L3Route) GetEgressId ¶
func (*L3Route) GetIp6Addr ¶
func (*L3Route) ProtoMessage ¶
func (*L3Route) ProtoMessage()
func (*L3Route) XXX_DiscardUnknown ¶
func (m *L3Route) XXX_DiscardUnknown()
func (*L3Route) XXX_Marshal ¶
func (*L3Route) XXX_Unmarshal ¶
type PortInfo ¶ added in v0.4.0
type PortInfo struct { Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` LinkStatus int32 `protobuf:"varint,2,opt,name=link_status,json=linkStatus,proto3" json:"link_status,omitempty"` UntaggedVlan uint32 `protobuf:"varint,3,opt,name=untagged_vlan,json=untaggedVlan,proto3" json:"untagged_vlan,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Port
func NewPortInfoFromNative ¶ added in v0.4.0
PortInfo
func (*PortInfo) Descriptor ¶ added in v0.4.0
func (*PortInfo) GetLinkStatus ¶ added in v0.4.0
func (*PortInfo) GetUntaggedVlan ¶ added in v0.4.0
func (*PortInfo) ProtoMessage ¶ added in v0.4.0
func (*PortInfo) ProtoMessage()
func (*PortInfo) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *PortInfo) XXX_DiscardUnknown()
func (*PortInfo) XXX_Marshal ¶ added in v0.4.0
func (*PortInfo) XXX_Unmarshal ¶ added in v0.4.0
type TunnelInitiator ¶
type TunnelInitiator struct { Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` TunnelId uint32 `protobuf:"varint,2,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"` TunnelType string `protobuf:"bytes,3,opt,name=tunnel_type,json=tunnelType,proto3" json:"tunnel_type,omitempty"` L3IfaceId uint32 `protobuf:"varint,4,opt,name=l3_iface_id,json=l3IfaceId,proto3" json:"l3_iface_id,omitempty"` DstMac string `protobuf:"bytes,5,opt,name=dst_mac,json=dstMac,proto3" json:"dst_mac,omitempty"` SrcMac string `protobuf:"bytes,6,opt,name=src_mac,json=srcMac,proto3" json:"src_mac,omitempty"` DstIp string `protobuf:"bytes,7,opt,name=dst_ip,json=dstIp,proto3" json:"dst_ip,omitempty"` SrcIp string `protobuf:"bytes,8,opt,name=src_ip,json=srcIp,proto3" json:"src_ip,omitempty"` DstPort uint32 `protobuf:"varint,9,opt,name=dst_port,json=dstPort,proto3" json:"dst_port,omitempty"` SrcPort uint32 `protobuf:"varint,10,opt,name=src_port,json=srcPort,proto3" json:"src_port,omitempty"` Ttl uint32 `protobuf:"varint,11,opt,name=ttl,proto3" json:"ttl,omitempty"` Mtu uint32 `protobuf:"varint,12,opt,name=mtu,proto3" json:"mtu,omitempty"` Vlan uint32 `protobuf:"varint,13,opt,name=vlan,proto3" json:"vlan,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Tunnel
func NewTunnelInitiatorFromNative ¶
func NewTunnelInitiatorFromNative(tunnel *opennsl.TunnelInitiator) *TunnelInitiator
func (*TunnelInitiator) Descriptor ¶
func (*TunnelInitiator) Descriptor() ([]byte, []int)
func (*TunnelInitiator) GetDstIp ¶
func (m *TunnelInitiator) GetDstIp() string
func (*TunnelInitiator) GetDstMac ¶
func (m *TunnelInitiator) GetDstMac() string
func (*TunnelInitiator) GetDstPort ¶
func (m *TunnelInitiator) GetDstPort() uint32
func (*TunnelInitiator) GetFlags ¶
func (m *TunnelInitiator) GetFlags() uint32
func (*TunnelInitiator) GetL3IfaceId ¶
func (m *TunnelInitiator) GetL3IfaceId() uint32
func (*TunnelInitiator) GetMtu ¶
func (m *TunnelInitiator) GetMtu() uint32
func (*TunnelInitiator) GetSrcIp ¶
func (m *TunnelInitiator) GetSrcIp() string
func (*TunnelInitiator) GetSrcMac ¶
func (m *TunnelInitiator) GetSrcMac() string
func (*TunnelInitiator) GetSrcPort ¶
func (m *TunnelInitiator) GetSrcPort() uint32
func (*TunnelInitiator) GetTtl ¶
func (m *TunnelInitiator) GetTtl() uint32
func (*TunnelInitiator) GetTunnelId ¶
func (m *TunnelInitiator) GetTunnelId() uint32
func (*TunnelInitiator) GetTunnelType ¶
func (m *TunnelInitiator) GetTunnelType() string
func (*TunnelInitiator) GetVlan ¶
func (m *TunnelInitiator) GetVlan() uint32
func (*TunnelInitiator) ProtoMessage ¶
func (*TunnelInitiator) ProtoMessage()
func (*TunnelInitiator) Reset ¶
func (m *TunnelInitiator) Reset()
func (*TunnelInitiator) String ¶
func (m *TunnelInitiator) String() string
func (*TunnelInitiator) XXX_DiscardUnknown ¶
func (m *TunnelInitiator) XXX_DiscardUnknown()
func (*TunnelInitiator) XXX_Marshal ¶
func (m *TunnelInitiator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TunnelInitiator) XXX_Merge ¶
func (m *TunnelInitiator) XXX_Merge(src proto.Message)
func (*TunnelInitiator) XXX_Size ¶
func (m *TunnelInitiator) XXX_Size() int
func (*TunnelInitiator) XXX_Unmarshal ¶
func (m *TunnelInitiator) XXX_Unmarshal(b []byte) error
type TunnelTerminator ¶
type TunnelTerminator struct { Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` TunnelId uint32 `protobuf:"varint,2,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"` TunnelType string `protobuf:"bytes,3,opt,name=tunnel_type,json=tunnelType,proto3" json:"tunnel_type,omitempty"` RemotePort uint32 `protobuf:"varint,4,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"` DstIp string `protobuf:"bytes,5,opt,name=dst_ip,json=dstIp,proto3" json:"dst_ip,omitempty"` SrcIp string `protobuf:"bytes,6,opt,name=src_ip,json=srcIp,proto3" json:"src_ip,omitempty"` DstPort uint32 `protobuf:"varint,7,opt,name=dst_port,json=dstPort,proto3" json:"dst_port,omitempty"` SrcPort uint32 `protobuf:"varint,8,opt,name=src_port,json=srcPort,proto3" json:"src_port,omitempty"` Vlan uint32 `protobuf:"varint,9,opt,name=vlan,proto3" json:"vlan,omitempty"` Vrf uint32 `protobuf:"varint,10,opt,name=vrf,proto3" json:"vrf,omitempty"` Pbmp []uint32 `protobuf:"varint,11,rep,packed,name=pbmp,proto3" json:"pbmp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewTunnelTerminatorFromNative ¶
func NewTunnelTerminatorFromNative(tunnel *opennsl.TunnelTerminator) *TunnelTerminator
func (*TunnelTerminator) Descriptor ¶
func (*TunnelTerminator) Descriptor() ([]byte, []int)
func (*TunnelTerminator) GetDstIp ¶
func (m *TunnelTerminator) GetDstIp() string
func (*TunnelTerminator) GetDstPort ¶
func (m *TunnelTerminator) GetDstPort() uint32
func (*TunnelTerminator) GetFlags ¶
func (m *TunnelTerminator) GetFlags() uint32
func (*TunnelTerminator) GetPbmp ¶
func (m *TunnelTerminator) GetPbmp() []uint32
func (*TunnelTerminator) GetRemotePort ¶
func (m *TunnelTerminator) GetRemotePort() uint32
func (*TunnelTerminator) GetSrcIp ¶
func (m *TunnelTerminator) GetSrcIp() string
func (*TunnelTerminator) GetSrcPort ¶
func (m *TunnelTerminator) GetSrcPort() uint32
func (*TunnelTerminator) GetTunnelId ¶
func (m *TunnelTerminator) GetTunnelId() uint32
func (*TunnelTerminator) GetTunnelType ¶
func (m *TunnelTerminator) GetTunnelType() string
func (*TunnelTerminator) GetVlan ¶
func (m *TunnelTerminator) GetVlan() uint32
func (*TunnelTerminator) GetVrf ¶
func (m *TunnelTerminator) GetVrf() uint32
func (*TunnelTerminator) ProtoMessage ¶
func (*TunnelTerminator) ProtoMessage()
func (*TunnelTerminator) Reset ¶
func (m *TunnelTerminator) Reset()
func (*TunnelTerminator) String ¶
func (m *TunnelTerminator) String() string
func (*TunnelTerminator) XXX_DiscardUnknown ¶
func (m *TunnelTerminator) XXX_DiscardUnknown()
func (*TunnelTerminator) XXX_Marshal ¶
func (m *TunnelTerminator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TunnelTerminator) XXX_Merge ¶
func (m *TunnelTerminator) XXX_Merge(src proto.Message)
func (*TunnelTerminator) XXX_Size ¶
func (m *TunnelTerminator) XXX_Size() int
func (*TunnelTerminator) XXX_Unmarshal ¶
func (m *TunnelTerminator) XXX_Unmarshal(b []byte) error
type UnimplementedGoNSLApiServer ¶ added in v0.4.0
type UnimplementedGoNSLApiServer struct { }
UnimplementedGoNSLApiServer can be embedded to have forward compatible implementations.
func (*UnimplementedGoNSLApiServer) FindL3Iface ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) FindL3Iface(ctx context.Context, req *FindL3IfaceRequest) (*FindL3IfaceReply, error)
func (*UnimplementedGoNSLApiServer) GetFieldEntries ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) GetFieldEntries(ctx context.Context, req *GetFieldEntriesRequest) (*GetFieldEntriesReply, error)
func (*UnimplementedGoNSLApiServer) GetIDMapEntries ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) GetIDMapEntries(ctx context.Context, req *GetIDMapEntriesRequest) (*GetIDMapEntriesReply, error)
func (*UnimplementedGoNSLApiServer) GetL2Addrs ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) GetL2Addrs(ctx context.Context, req *GetL2AddrsRequest) (*GetL2AddrsReply, error)
func (*UnimplementedGoNSLApiServer) GetL2Stations ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) GetL2Stations(ctx context.Context, req *GetL2StationsRequest) (*GetL2StationsReply, error)
func (*UnimplementedGoNSLApiServer) GetL3Egresses ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) GetL3Egresses(ctx context.Context, req *GetL3EgressesRequest) (*GetL3EgressesReply, error)
func (*UnimplementedGoNSLApiServer) GetL3Hosts ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) GetL3Hosts(ctx context.Context, req *GetL3HostsRequest) (*GetL3HostsReply, error)
func (*UnimplementedGoNSLApiServer) GetL3Iface ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) GetL3Iface(ctx context.Context, req *GetL3IfaceRequest) (*GetL3IfaceReply, error)
func (*UnimplementedGoNSLApiServer) GetL3Ifaces ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) GetL3Ifaces(ctx context.Context, req *GetL3IfacesRequest) (*GetL3IfacesReply, error)
func (*UnimplementedGoNSLApiServer) GetL3Routes ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) GetL3Routes(ctx context.Context, req *GetL3RoutesRequest) (*GetL3RoutesReply, error)
func (*UnimplementedGoNSLApiServer) GetPortInfos ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) GetPortInfos(ctx context.Context, req *GetPortInfosRequest) (*GetPortInfosReply, error)
func (*UnimplementedGoNSLApiServer) GetTunnelInitiators ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) GetTunnelInitiators(ctx context.Context, req *GetTunnelInitiatorsRequest) (*GetTunnelInitiatorsReply, error)
func (*UnimplementedGoNSLApiServer) GetTunnelTerminators ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) GetTunnelTerminators(ctx context.Context, req *GetTunnelTerminatorsRequest) (*GetTunnelTerminatorsReply, error)
func (*UnimplementedGoNSLApiServer) GetVlans ¶ added in v0.4.0
func (*UnimplementedGoNSLApiServer) GetVlans(ctx context.Context, req *GetVlansRequest) (*GetVlansReply, error)
type VlanEntry ¶
type VlanEntry struct { Vid uint32 `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"` Ports []uint32 `protobuf:"varint,2,rep,packed,name=ports,proto3" json:"ports,omitempty"` UntagPorts []uint32 `protobuf:"varint,3,rep,packed,name=untag_ports,json=untagPorts,proto3" json:"untag_ports,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Vlan
func NewVlanEntry ¶
NewVlanEntry returns new instance
func NewVlanEntryFromNative ¶
NewVlanEntryFromNative creates new instance from native types.
func (*VlanEntry) Descriptor ¶
func (*VlanEntry) GetUntagPorts ¶
func (*VlanEntry) ProtoMessage ¶
func (*VlanEntry) ProtoMessage()
func (*VlanEntry) XXX_DiscardUnknown ¶
func (m *VlanEntry) XXX_DiscardUnknown()