gonslapi

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// IDMapNameL3Egress is L3Egress entry name.
	IDMapNameL3Egress = "L3Egress"
	// IDMapNameL3Iface is L3Iface entry name.
	IDMapNameL3Iface = "L3Iface"
	// IDMapNameTrunk is Trunk entry name.
	IDMapNameTrunk = "Trunk"
)

Variables

View Source
var FieldEntry_EntryType_name = map[int32]string{
	0: "NOP",
	1: "ETH_TYPE",
	2: "DST_IP",
	3: "IP_PROTO",
	4: "ETH_DST",
}
View Source
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 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 IDMapName

type IDMapName string

IDMapName is entry kind name.

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 NewL2Addr

func NewL2Addr(mac string, vid opennsl.Vlan) *L2Addr

NewL2Addr returns new instance.

func NewL2AddrFromNative

func NewL2AddrFromNative(l2addr *opennsl.L2Addr) *L2Addr

NewL2AddrFromNative creates new instance from native types.

func (*L2Addr) Descriptor

func (*L2Addr) Descriptor() ([]byte, []int)

func (*L2Addr) GetFlags

func (m *L2Addr) GetFlags() uint32

func (*L2Addr) GetMac

func (m *L2Addr) GetMac() string

func (*L2Addr) GetPort

func (m *L2Addr) GetPort() uint32

func (*L2Addr) GetVid

func (m *L2Addr) GetVid() uint32

func (*L2Addr) ProtoMessage

func (*L2Addr) ProtoMessage()

func (*L2Addr) Reset

func (m *L2Addr) Reset()

func (*L2Addr) String

func (m *L2Addr) String() string

func (*L2Addr) XXX_DiscardUnknown

func (m *L2Addr) XXX_DiscardUnknown()

func (*L2Addr) XXX_Marshal

func (m *L2Addr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*L2Addr) XXX_Merge

func (m *L2Addr) XXX_Merge(src proto.Message)

func (*L2Addr) XXX_Size

func (m *L2Addr) XXX_Size() int

func (*L2Addr) XXX_Unmarshal

func (m *L2Addr) XXX_Unmarshal(b []byte) error

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

func NewL2Station(mac string, macMask string, vlan opennsl.Vlan, vlanMask opennsl.Vlan) *L2Station

NewL2Station returns new instance.

func NewL2StationFromNative

func NewL2StationFromNative(l2st *opennsl.L2Station) *L2Station

NewL2StationFromNative creates new instance from native types.

func (*L2Station) Descriptor

func (*L2Station) Descriptor() ([]byte, []int)

func (*L2Station) GetDstMac

func (m *L2Station) GetDstMac() string

func (*L2Station) GetDstMacMask

func (m *L2Station) GetDstMacMask() string

func (*L2Station) GetFlags

func (m *L2Station) GetFlags() uint32

func (*L2Station) GetSrcPort

func (m *L2Station) GetSrcPort() uint32

func (*L2Station) GetSrcPortMask

func (m *L2Station) GetSrcPortMask() uint32

func (*L2Station) GetVlan

func (m *L2Station) GetVlan() uint32

func (*L2Station) GetVlanMask

func (m *L2Station) GetVlanMask() uint32

func (*L2Station) ProtoMessage

func (*L2Station) ProtoMessage()

func (*L2Station) Reset

func (m *L2Station) Reset()

func (*L2Station) String

func (m *L2Station) String() string

func (*L2Station) XXX_DiscardUnknown

func (m *L2Station) XXX_DiscardUnknown()

func (*L2Station) XXX_Marshal

func (m *L2Station) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*L2Station) XXX_Merge

func (m *L2Station) XXX_Merge(src proto.Message)

func (*L2Station) XXX_Size

func (m *L2Station) XXX_Size() int

func (*L2Station) XXX_Unmarshal

func (m *L2Station) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*L3Egress) GetEgressId

func (m *L3Egress) GetEgressId() uint32

func (*L3Egress) GetFlags

func (m *L3Egress) GetFlags() uint32

func (*L3Egress) GetFlags2

func (m *L3Egress) GetFlags2() uint32

func (*L3Egress) GetIfaceId

func (m *L3Egress) GetIfaceId() uint32

func (*L3Egress) GetMac

func (m *L3Egress) GetMac() string

func (*L3Egress) GetPort

func (m *L3Egress) GetPort() uint32

func (*L3Egress) GetVid

func (m *L3Egress) GetVid() uint32

func (*L3Egress) ProtoMessage

func (*L3Egress) ProtoMessage()

func (*L3Egress) Reset

func (m *L3Egress) Reset()

func (*L3Egress) String

func (m *L3Egress) String() string

func (*L3Egress) XXX_DiscardUnknown

func (m *L3Egress) XXX_DiscardUnknown()

func (*L3Egress) XXX_Marshal

func (m *L3Egress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*L3Egress) XXX_Merge

func (m *L3Egress) XXX_Merge(src proto.Message)

func (*L3Egress) XXX_Size

func (m *L3Egress) XXX_Size() int

func (*L3Egress) XXX_Unmarshal

func (m *L3Egress) XXX_Unmarshal(b []byte) error

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 NewL3Host

func NewL3Host(ipAddr string) *L3Host

NewL3Host returns new instance.

func NewL3HostFromNative

func NewL3HostFromNative(host *opennsl.L3Host) *L3Host

NewL3HostFromNative creates and returns from native types.

func (*L3Host) Descriptor

func (*L3Host) Descriptor() ([]byte, []int)

func (*L3Host) GetEgressId

func (m *L3Host) GetEgressId() uint32

func (*L3Host) GetFlags

func (m *L3Host) GetFlags() uint32

func (*L3Host) GetIp6Addr

func (m *L3Host) GetIp6Addr() string

func (*L3Host) GetIpAddr

func (m *L3Host) GetIpAddr() string

func (*L3Host) GetMac

func (m *L3Host) GetMac() string

func (*L3Host) GetVrf

func (m *L3Host) GetVrf() uint32

func (*L3Host) ProtoMessage

func (*L3Host) ProtoMessage()

func (*L3Host) Reset

func (m *L3Host) Reset()

func (*L3Host) String

func (m *L3Host) String() string

func (*L3Host) XXX_DiscardUnknown

func (m *L3Host) XXX_DiscardUnknown()

func (*L3Host) XXX_Marshal

func (m *L3Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*L3Host) XXX_Merge

func (m *L3Host) XXX_Merge(src proto.Message)

func (*L3Host) XXX_Size

func (m *L3Host) XXX_Size() int

func (*L3Host) XXX_Unmarshal

func (m *L3Host) XXX_Unmarshal(b []byte) error

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

func NewL3Iface(mac string, vid opennsl.Vlan) *L3Iface

NewL3Iface returns new instance.

func NewL3IfaceFromNative

func NewL3IfaceFromNative(l3iface *opennsl.L3Iface) *L3Iface

NewL3IfaceFromNative creates new instance from native types.

func (*L3Iface) Descriptor

func (*L3Iface) Descriptor() ([]byte, []int)

func (*L3Iface) GetFlags

func (m *L3Iface) GetFlags() uint32

func (*L3Iface) GetIfaceId

func (m *L3Iface) GetIfaceId() uint32

func (*L3Iface) GetMac

func (m *L3Iface) GetMac() string

func (*L3Iface) GetMtu

func (m *L3Iface) GetMtu() uint32

func (*L3Iface) GetMtuFwd

func (m *L3Iface) GetMtuFwd() uint32

func (*L3Iface) GetTtl

func (m *L3Iface) GetTtl() uint32

func (*L3Iface) GetVid

func (m *L3Iface) GetVid() uint32

func (*L3Iface) GetVrf

func (m *L3Iface) GetVrf() uint32

func (*L3Iface) ProtoMessage

func (*L3Iface) ProtoMessage()

func (*L3Iface) Reset

func (m *L3Iface) Reset()

func (*L3Iface) String

func (m *L3Iface) String() string

func (*L3Iface) XXX_DiscardUnknown

func (m *L3Iface) XXX_DiscardUnknown()

func (*L3Iface) XXX_Marshal

func (m *L3Iface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*L3Iface) XXX_Merge

func (m *L3Iface) XXX_Merge(src proto.Message)

func (*L3Iface) XXX_Size

func (m *L3Iface) XXX_Size() int

func (*L3Iface) XXX_Unmarshal

func (m *L3Iface) XXX_Unmarshal(b []byte) error

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 NewL3Route

func NewL3Route(ipAddr string) *L3Route

NewL3Route returns new instance.

func NewL3RouteFromNative

func NewL3RouteFromNative(route *opennsl.L3Route) *L3Route

NewL3RouteFromNative creates and returns from native types.

func (*L3Route) Descriptor

func (*L3Route) Descriptor() ([]byte, []int)

func (*L3Route) GetEgressId

func (m *L3Route) GetEgressId() uint32

func (*L3Route) GetFlags

func (m *L3Route) GetFlags() uint32

func (*L3Route) GetIp6Addr

func (m *L3Route) GetIp6Addr() string

func (*L3Route) GetIpAddr

func (m *L3Route) GetIpAddr() string

func (*L3Route) GetVrf

func (m *L3Route) GetVrf() uint32

func (*L3Route) ProtoMessage

func (*L3Route) ProtoMessage()

func (*L3Route) Reset

func (m *L3Route) Reset()

func (*L3Route) String

func (m *L3Route) String() string

func (*L3Route) XXX_DiscardUnknown

func (m *L3Route) XXX_DiscardUnknown()

func (*L3Route) XXX_Marshal

func (m *L3Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*L3Route) XXX_Merge

func (m *L3Route) XXX_Merge(src proto.Message)

func (*L3Route) XXX_Size

func (m *L3Route) XXX_Size() int

func (*L3Route) XXX_Unmarshal

func (m *L3Route) XXX_Unmarshal(b []byte) error

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

func NewPortInfoFromNative(port opennsl.Port, pinfo *opennsl.PortInfo) *PortInfo

PortInfo

func (*PortInfo) Descriptor added in v0.4.0

func (*PortInfo) Descriptor() ([]byte, []int)

func (*PortInfo) GetLinkStatus added in v0.4.0

func (m *PortInfo) GetLinkStatus() int32

func (*PortInfo) GetPort added in v0.4.0

func (m *PortInfo) GetPort() uint32

func (*PortInfo) GetUntaggedVlan added in v0.4.0

func (m *PortInfo) GetUntaggedVlan() uint32

func (*PortInfo) ProtoMessage added in v0.4.0

func (*PortInfo) ProtoMessage()

func (*PortInfo) Reset added in v0.4.0

func (m *PortInfo) Reset()

func (*PortInfo) String added in v0.4.0

func (m *PortInfo) String() string

func (*PortInfo) XXX_DiscardUnknown added in v0.4.0

func (m *PortInfo) XXX_DiscardUnknown()

func (*PortInfo) XXX_Marshal added in v0.4.0

func (m *PortInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PortInfo) XXX_Merge added in v0.4.0

func (m *PortInfo) XXX_Merge(src proto.Message)

func (*PortInfo) XXX_Size added in v0.4.0

func (m *PortInfo) XXX_Size() int

func (*PortInfo) XXX_Unmarshal added in v0.4.0

func (m *PortInfo) XXX_Unmarshal(b []byte) error

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) GetFieldEntries added in v0.4.0

func (*UnimplementedGoNSLApiServer) GetIDMapEntries added in v0.4.0

func (*UnimplementedGoNSLApiServer) GetL2Addrs added in v0.4.0

func (*UnimplementedGoNSLApiServer) GetL2Stations added in v0.4.0

func (*UnimplementedGoNSLApiServer) GetL3Egresses added in v0.4.0

func (*UnimplementedGoNSLApiServer) GetL3Hosts added in v0.4.0

func (*UnimplementedGoNSLApiServer) GetL3Iface added in v0.4.0

func (*UnimplementedGoNSLApiServer) GetL3Ifaces added in v0.4.0

func (*UnimplementedGoNSLApiServer) GetL3Routes added in v0.4.0

func (*UnimplementedGoNSLApiServer) GetPortInfos added in v0.4.0

func (*UnimplementedGoNSLApiServer) GetTunnelInitiators added in v0.4.0

func (*UnimplementedGoNSLApiServer) GetTunnelTerminators added in v0.4.0

func (*UnimplementedGoNSLApiServer) GetVlans added in v0.4.0

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

func NewVlanEntry(vid opennsl.Vlan, ports []opennsl.Port, utPorts []opennsl.Port) *VlanEntry

NewVlanEntry returns new instance

func NewVlanEntryFromNative

func NewVlanEntryFromNative(vid opennsl.Vlan, pbmp *opennsl.PBmp, upbmp *opennsl.PBmp) *VlanEntry

NewVlanEntryFromNative creates new instance from native types.

func (*VlanEntry) Descriptor

func (*VlanEntry) Descriptor() ([]byte, []int)

func (*VlanEntry) GetPorts

func (m *VlanEntry) GetPorts() []uint32

func (*VlanEntry) GetUntagPorts

func (m *VlanEntry) GetUntagPorts() []uint32

func (*VlanEntry) GetVid

func (m *VlanEntry) GetVid() uint32

func (*VlanEntry) ProtoMessage

func (*VlanEntry) ProtoMessage()

func (*VlanEntry) Reset

func (m *VlanEntry) Reset()

func (*VlanEntry) String

func (m *VlanEntry) String() string

func (*VlanEntry) XXX_DiscardUnknown

func (m *VlanEntry) XXX_DiscardUnknown()

func (*VlanEntry) XXX_Marshal

func (m *VlanEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VlanEntry) XXX_Merge

func (m *VlanEntry) XXX_Merge(src proto.Message)

func (*VlanEntry) XXX_Size

func (m *VlanEntry) XXX_Size() int

func (*VlanEntry) XXX_Unmarshal

func (m *VlanEntry) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL