Documentation ¶
Index ¶
- Constants
- Variables
- func DHCPClientKey(ifName string) string
- func DHCPLeaseKey(ifName string) string
- func InterfaceAddressKey(ifName string, address string) string
- func InterfaceErrorKey(ifName string) string
- func InterfaceKey(ifName string) string
- func InterfaceStateKey(ifName string) string
- func ParseInterfaceAddressKey(key string) (ifName string, ifAddr *net.IPNet, err error)
- func ParseNameFromDHCPClientKey(key string) (name string, err error)
- func ParseNameFromKey(key string) (name string, err error)
- func UnnumberedKey(ifName string) string
- type DHCPLease
- func (*DHCPLease) Descriptor() ([]byte, []int)
- func (m *DHCPLease) GetHostIpAddress() string
- func (m *DHCPLease) GetHostName() string
- func (m *DHCPLease) GetHostPhysAddress() string
- func (m *DHCPLease) GetInterfaceName() string
- func (m *DHCPLease) GetIsIpv6() bool
- func (m *DHCPLease) GetRouterIpAddress() string
- func (*DHCPLease) ProtoMessage()
- func (m *DHCPLease) Reset()
- func (m *DHCPLease) String() string
- func (m *DHCPLease) XXX_DiscardUnknown()
- func (m *DHCPLease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DHCPLease) XXX_Merge(src proto.Message)
- func (m *DHCPLease) XXX_Size() int
- func (m *DHCPLease) XXX_Unmarshal(b []byte) error
- type Interface
- func (*Interface) Descriptor() ([]byte, []int)
- func (m *Interface) GetAfpacket() *Interface_AfpacketLink
- func (m *Interface) GetEnabled() bool
- func (m *Interface) GetIpAddresses() []string
- func (m *Interface) GetLink() isInterface_Link
- func (m *Interface) GetMemif() *Interface_MemifLink
- func (m *Interface) GetMtu() uint32
- func (m *Interface) GetName() string
- func (m *Interface) GetPhysAddress() string
- func (m *Interface) GetRxModeSettings() *Interface_RxModeSettings
- func (m *Interface) GetRxPlacementSettings() *Interface_RxPlacementSettings
- func (m *Interface) GetSetDhcpClient() bool
- func (m *Interface) GetTap() *Interface_TapLink
- func (m *Interface) GetType() Interface_Type
- func (m *Interface) GetUnnumbered() *Interface_Unnumbered
- func (m *Interface) GetVrf() uint32
- func (m *Interface) GetVxlan() *Interface_VxlanLink
- func (*Interface) ProtoMessage()
- func (m *Interface) Reset()
- func (m *Interface) String() string
- func (m *Interface) XXX_DiscardUnknown()
- func (m *Interface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Interface) XXX_Merge(src proto.Message)
- func (*Interface) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Interface) XXX_Size() int
- func (m *Interface) XXX_Unmarshal(b []byte) error
- type InterfaceNotification
- func (*InterfaceNotification) Descriptor() ([]byte, []int)
- func (m *InterfaceNotification) GetState() *InterfaceState
- func (m *InterfaceNotification) GetType() InterfaceNotification_NotifType
- func (*InterfaceNotification) ProtoMessage()
- func (m *InterfaceNotification) Reset()
- func (m *InterfaceNotification) String() string
- func (m *InterfaceNotification) XXX_DiscardUnknown()
- func (m *InterfaceNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InterfaceNotification) XXX_Merge(src proto.Message)
- func (m *InterfaceNotification) XXX_Size() int
- func (m *InterfaceNotification) XXX_Unmarshal(b []byte) error
- type InterfaceNotification_NotifType
- type InterfaceState
- func (*InterfaceState) Descriptor() ([]byte, []int)
- func (m *InterfaceState) GetAdminStatus() InterfaceState_Status
- func (m *InterfaceState) GetDuplex() InterfaceState_Duplex
- func (m *InterfaceState) GetIfIndex() uint32
- func (m *InterfaceState) GetInternalName() string
- func (m *InterfaceState) GetLastChange() int64
- func (m *InterfaceState) GetMtu() uint32
- func (m *InterfaceState) GetName() string
- func (m *InterfaceState) GetOperStatus() InterfaceState_Status
- func (m *InterfaceState) GetPhysAddress() string
- func (m *InterfaceState) GetSpeed() uint64
- func (m *InterfaceState) GetStatistics() *InterfaceState_Statistics
- func (m *InterfaceState) GetType() Interface_Type
- func (*InterfaceState) ProtoMessage()
- func (m *InterfaceState) Reset()
- func (m *InterfaceState) String() string
- func (m *InterfaceState) XXX_DiscardUnknown()
- func (m *InterfaceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InterfaceState) XXX_Merge(src proto.Message)
- func (m *InterfaceState) XXX_Size() int
- func (m *InterfaceState) XXX_Unmarshal(b []byte) error
- type InterfaceState_Duplex
- type InterfaceState_Statistics
- func (*InterfaceState_Statistics) Descriptor() ([]byte, []int)
- func (m *InterfaceState_Statistics) GetDropPackets() uint64
- func (m *InterfaceState_Statistics) GetInBytes() uint64
- func (m *InterfaceState_Statistics) GetInErrorPackets() uint64
- func (m *InterfaceState_Statistics) GetInMissPackets() uint64
- func (m *InterfaceState_Statistics) GetInNobufPackets() uint64
- func (m *InterfaceState_Statistics) GetInPackets() uint64
- func (m *InterfaceState_Statistics) GetIpv4Packets() uint64
- func (m *InterfaceState_Statistics) GetIpv6Packets() uint64
- func (m *InterfaceState_Statistics) GetOutBytes() uint64
- func (m *InterfaceState_Statistics) GetOutErrorPackets() uint64
- func (m *InterfaceState_Statistics) GetOutPackets() uint64
- func (m *InterfaceState_Statistics) GetPuntPackets() uint64
- func (*InterfaceState_Statistics) ProtoMessage()
- func (m *InterfaceState_Statistics) Reset()
- func (m *InterfaceState_Statistics) String() string
- func (m *InterfaceState_Statistics) XXX_DiscardUnknown()
- func (m *InterfaceState_Statistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InterfaceState_Statistics) XXX_Merge(src proto.Message)
- func (m *InterfaceState_Statistics) XXX_Size() int
- func (m *InterfaceState_Statistics) XXX_Unmarshal(b []byte) error
- type InterfaceState_Status
- type Interface_Afpacket
- type Interface_AfpacketLink
- func (*Interface_AfpacketLink) Descriptor() ([]byte, []int)
- func (m *Interface_AfpacketLink) GetHostIfName() string
- func (*Interface_AfpacketLink) ProtoMessage()
- func (m *Interface_AfpacketLink) Reset()
- func (m *Interface_AfpacketLink) String() string
- func (m *Interface_AfpacketLink) XXX_DiscardUnknown()
- func (m *Interface_AfpacketLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Interface_AfpacketLink) XXX_Merge(src proto.Message)
- func (m *Interface_AfpacketLink) XXX_Size() int
- func (m *Interface_AfpacketLink) XXX_Unmarshal(b []byte) error
- type Interface_Memif
- type Interface_MemifLink
- func (*Interface_MemifLink) Descriptor() ([]byte, []int)
- func (m *Interface_MemifLink) GetBufferSize() uint32
- func (m *Interface_MemifLink) GetId() uint32
- func (m *Interface_MemifLink) GetMaster() bool
- func (m *Interface_MemifLink) GetMode() Interface_MemifLink_MemifMode
- func (m *Interface_MemifLink) GetRingSize() uint32
- func (m *Interface_MemifLink) GetRxQueues() uint32
- func (m *Interface_MemifLink) GetSecret() string
- func (m *Interface_MemifLink) GetSocketFilename() string
- func (m *Interface_MemifLink) GetTxQueues() uint32
- func (*Interface_MemifLink) ProtoMessage()
- func (m *Interface_MemifLink) Reset()
- func (m *Interface_MemifLink) String() string
- func (m *Interface_MemifLink) XXX_DiscardUnknown()
- func (m *Interface_MemifLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Interface_MemifLink) XXX_Merge(src proto.Message)
- func (m *Interface_MemifLink) XXX_Size() int
- func (m *Interface_MemifLink) XXX_Unmarshal(b []byte) error
- type Interface_MemifLink_MemifMode
- type Interface_RxModeSettings
- func (*Interface_RxModeSettings) Descriptor() ([]byte, []int)
- func (m *Interface_RxModeSettings) GetQueueId() uint32
- func (m *Interface_RxModeSettings) GetQueueIdValid() uint32
- func (m *Interface_RxModeSettings) GetRxMode() Interface_RxModeSettings_RxModeType
- func (*Interface_RxModeSettings) ProtoMessage()
- func (m *Interface_RxModeSettings) Reset()
- func (m *Interface_RxModeSettings) String() string
- func (m *Interface_RxModeSettings) XXX_DiscardUnknown()
- func (m *Interface_RxModeSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Interface_RxModeSettings) XXX_Merge(src proto.Message)
- func (m *Interface_RxModeSettings) XXX_Size() int
- func (m *Interface_RxModeSettings) XXX_Unmarshal(b []byte) error
- type Interface_RxModeSettings_RxModeType
- type Interface_RxPlacementSettings
- func (*Interface_RxPlacementSettings) Descriptor() ([]byte, []int)
- func (m *Interface_RxPlacementSettings) GetIsMain() bool
- func (m *Interface_RxPlacementSettings) GetQueue() uint32
- func (m *Interface_RxPlacementSettings) GetWorker() uint32
- func (*Interface_RxPlacementSettings) ProtoMessage()
- func (m *Interface_RxPlacementSettings) Reset()
- func (m *Interface_RxPlacementSettings) String() string
- func (m *Interface_RxPlacementSettings) XXX_DiscardUnknown()
- func (m *Interface_RxPlacementSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Interface_RxPlacementSettings) XXX_Merge(src proto.Message)
- func (m *Interface_RxPlacementSettings) XXX_Size() int
- func (m *Interface_RxPlacementSettings) XXX_Unmarshal(b []byte) error
- type Interface_Tap
- type Interface_TapLink
- func (*Interface_TapLink) Descriptor() ([]byte, []int)
- func (m *Interface_TapLink) GetHostIfName() string
- func (m *Interface_TapLink) GetRxRingSize() uint32
- func (m *Interface_TapLink) GetToMicroservice() string
- func (m *Interface_TapLink) GetTxRingSize() uint32
- func (m *Interface_TapLink) GetVersion() uint32
- func (*Interface_TapLink) ProtoMessage()
- func (m *Interface_TapLink) Reset()
- func (m *Interface_TapLink) String() string
- func (m *Interface_TapLink) XXX_DiscardUnknown()
- func (m *Interface_TapLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Interface_TapLink) XXX_Merge(src proto.Message)
- func (m *Interface_TapLink) XXX_Size() int
- func (m *Interface_TapLink) XXX_Unmarshal(b []byte) error
- type Interface_Type
- type Interface_Unnumbered
- func (*Interface_Unnumbered) Descriptor() ([]byte, []int)
- func (m *Interface_Unnumbered) GetInterfaceWithIp() string
- func (m *Interface_Unnumbered) GetIsUnnumbered() bool
- func (*Interface_Unnumbered) ProtoMessage()
- func (m *Interface_Unnumbered) Reset()
- func (m *Interface_Unnumbered) String() string
- func (m *Interface_Unnumbered) XXX_DiscardUnknown()
- func (m *Interface_Unnumbered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Interface_Unnumbered) XXX_Merge(src proto.Message)
- func (m *Interface_Unnumbered) XXX_Size() int
- func (m *Interface_Unnumbered) XXX_Unmarshal(b []byte) error
- type Interface_Vxlan
- type Interface_VxlanLink
- func (*Interface_VxlanLink) Descriptor() ([]byte, []int)
- func (m *Interface_VxlanLink) GetDstAddress() string
- func (m *Interface_VxlanLink) GetMulticast() string
- func (m *Interface_VxlanLink) GetSrcAddress() string
- func (m *Interface_VxlanLink) GetVni() uint32
- func (*Interface_VxlanLink) ProtoMessage()
- func (m *Interface_VxlanLink) Reset()
- func (m *Interface_VxlanLink) String() string
- func (m *Interface_VxlanLink) XXX_DiscardUnknown()
- func (m *Interface_VxlanLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Interface_VxlanLink) XXX_Merge(src proto.Message)
- func (m *Interface_VxlanLink) XXX_Size() int
- func (m *Interface_VxlanLink) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // Prefix is a key prefix used in ETCD to store configuration for VPP interfaces. Prefix = "vpp/config/v2/interface/" // StatePrefix is a key prefix used in ETCD to store interface states. StatePrefix = "vpp/status/v2/interface/" // ErrorPrefix is a key prefix used in ETCD to store interface errors. ErrorPrefix = "vpp/status/v2/interface/error/" // AddressKeyPrefix is used as a common prefix for keys derived from // interfaces to represent assigned IP addresses. AddressKeyPrefix = "vpp/interface/address/" // UnnumberedKeyPrefix is used as a common prefix for keys derived from // interfaces to represent unnumbered interfaces. UnnumberedKeyPrefix = "vpp/interface/unnumbered/" // DHCPClientKeyPrefix is used as a common prefix for keys derived from // interfaces to represent enabled DHCP clients. DHCPClientKeyPrefix = "vpp/interface/dhcp-client/" // DHCPLeaseKeyPrefix is used as a common prefix for keys representing // notifications with DHCP leases. DHCPLeaseKeyPrefix = "vpp/interface/dhcp-lease/" )
Variables ¶
var InterfaceNotification_NotifType_name = map[int32]string{
0: "UNKNOWN",
1: "UPDOWN",
2: "COUNTERS",
}
var InterfaceNotification_NotifType_value = map[string]int32{
"UNKNOWN": 0,
"UPDOWN": 1,
"COUNTERS": 2,
}
var InterfaceState_Duplex_name = map[int32]string{
0: "UNKNOWN_DUPLEX",
1: "HALF",
2: "FULL",
}
var InterfaceState_Duplex_value = map[string]int32{
"UNKNOWN_DUPLEX": 0,
"HALF": 1,
"FULL": 2,
}
var InterfaceState_Status_name = map[int32]string{
0: "UNKNOWN_STATUS",
1: "UP",
2: "DOWN",
3: "DELETED",
}
var InterfaceState_Status_value = map[string]int32{
"UNKNOWN_STATUS": 0,
"UP": 1,
"DOWN": 2,
"DELETED": 3,
}
var Interface_MemifLink_MemifMode_name = map[int32]string{
0: "ETHERNET",
1: "IP",
2: "PUNT_INJECT",
}
var Interface_MemifLink_MemifMode_value = map[string]int32{
"ETHERNET": 0,
"IP": 1,
"PUNT_INJECT": 2,
}
var Interface_RxModeSettings_RxModeType_name = map[int32]string{
0: "UNKNOWN",
1: "POLLING",
2: "INTERRUPT",
3: "ADAPTIVE",
4: "DEFAULT",
}
var Interface_RxModeSettings_RxModeType_value = map[string]int32{
"UNKNOWN": 0,
"POLLING": 1,
"INTERRUPT": 2,
"ADAPTIVE": 3,
"DEFAULT": 4,
}
var Interface_Type_name = map[int32]string{
0: "UNDEFINED",
1: "SOFTWARE_LOOPBACK",
2: "ETHERNET_CSMACD",
3: "MEMORY_INTERFACE",
4: "TAP_INTERFACE",
5: "AF_PACKET_INTERFACE",
6: "VXLAN_TUNNEL",
}
var Interface_Type_value = map[string]int32{
"UNDEFINED": 0,
"SOFTWARE_LOOPBACK": 1,
"ETHERNET_CSMACD": 2,
"MEMORY_INTERFACE": 3,
"TAP_INTERFACE": 4,
"AF_PACKET_INTERFACE": 5,
"VXLAN_TUNNEL": 6,
}
Functions ¶
func DHCPClientKey ¶
DHCPClientKey returns a (derived) key used to represent enabled DHCP lease.
func DHCPLeaseKey ¶
DHCPLeaseKey returns a key used to represent DHCP lease for the given interface.
func InterfaceAddressKey ¶
InterfaceAddressKey returns key representing IP address assigned to VPP interface.
func InterfaceErrorKey ¶
InterfaceErrorKey returns the key used in ETCD to store the interface errors.
func InterfaceKey ¶
InterfaceKey returns the key used in ETCD to store the configuration of the given vpp interface.
func InterfaceStateKey ¶
InterfaceStateKey returns the key used in ETCD to store the state data of the given vpp interface.
func ParseInterfaceAddressKey ¶
ParseInterfaceAddressKey parses interface address from key derived from interface by InterfaceAddressKey().
func ParseNameFromDHCPClientKey ¶
ParseNameFromDHCPClientKey returns suffix of the key.
func ParseNameFromKey ¶
ParseNameFromKey returns suffix of the key.
func UnnumberedKey ¶
UnnumberedKey returns key representing unnumbered interface.
Types ¶
type DHCPLease ¶
type DHCPLease struct { InterfaceName string `protobuf:"bytes,1,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"` HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` IsIpv6 bool `protobuf:"varint,3,opt,name=is_ipv6,json=isIpv6,proto3" json:"is_ipv6,omitempty"` HostPhysAddress string `protobuf:"bytes,4,opt,name=host_phys_address,json=hostPhysAddress,proto3" json:"host_phys_address,omitempty"` HostIpAddress string `protobuf:"bytes,5,opt,name=host_ip_address,json=hostIpAddress,proto3" json:"host_ip_address,omitempty"` RouterIpAddress string `protobuf:"bytes,6,opt,name=router_ip_address,json=routerIpAddress,proto3" json:"router_ip_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DHCPLease is a notification, i.e. flows from SB upwards
func (*DHCPLease) Descriptor ¶
func (*DHCPLease) GetHostIpAddress ¶
func (*DHCPLease) GetHostName ¶
func (*DHCPLease) GetHostPhysAddress ¶
func (*DHCPLease) GetInterfaceName ¶
func (*DHCPLease) GetRouterIpAddress ¶
func (*DHCPLease) ProtoMessage ¶
func (*DHCPLease) ProtoMessage()
func (*DHCPLease) XXX_DiscardUnknown ¶
func (m *DHCPLease) XXX_DiscardUnknown()
func (*DHCPLease) XXX_Marshal ¶
func (*DHCPLease) XXX_Unmarshal ¶
type Interface ¶
type Interface struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Vrf uint32 `protobuf:"varint,2,opt,name=vrf,proto3" json:"vrf,omitempty"` Type Interface_Type `protobuf:"varint,3,opt,name=type,proto3,enum=interfaces.Interface_Type" json:"type,omitempty"` Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` PhysAddress string `protobuf:"bytes,5,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"` IpAddresses []string `protobuf:"bytes,6,rep,name=ip_addresses,json=ipAddresses" json:"ip_addresses,omitempty"` SetDhcpClient bool `protobuf:"varint,7,opt,name=set_dhcp_client,json=setDhcpClient,proto3" json:"set_dhcp_client,omitempty"` Mtu uint32 `protobuf:"varint,8,opt,name=mtu,proto3" json:"mtu,omitempty"` Unnumbered *Interface_Unnumbered `protobuf:"bytes,9,opt,name=unnumbered" json:"unnumbered,omitempty"` RxModeSettings *Interface_RxModeSettings `protobuf:"bytes,10,opt,name=rx_mode_settings,json=rxModeSettings" json:"rx_mode_settings,omitempty"` RxPlacementSettings *Interface_RxPlacementSettings `protobuf:"bytes,11,opt,name=rx_placement_settings,json=rxPlacementSettings" json:"rx_placement_settings,omitempty"` // Types that are valid to be assigned to Link: // *Interface_Memif // *Interface_Vxlan // *Interface_Afpacket // *Interface_Tap Link isInterface_Link `protobuf_oneof:"link"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interface) Descriptor ¶
func (*Interface) GetAfpacket ¶
func (m *Interface) GetAfpacket() *Interface_AfpacketLink
func (*Interface) GetEnabled ¶
func (*Interface) GetIpAddresses ¶
func (*Interface) GetMemif ¶
func (m *Interface) GetMemif() *Interface_MemifLink
func (*Interface) GetPhysAddress ¶
func (*Interface) GetRxModeSettings ¶
func (m *Interface) GetRxModeSettings() *Interface_RxModeSettings
func (*Interface) GetRxPlacementSettings ¶
func (m *Interface) GetRxPlacementSettings() *Interface_RxPlacementSettings
func (*Interface) GetSetDhcpClient ¶
func (*Interface) GetTap ¶
func (m *Interface) GetTap() *Interface_TapLink
func (*Interface) GetType ¶
func (m *Interface) GetType() Interface_Type
func (*Interface) GetUnnumbered ¶
func (m *Interface) GetUnnumbered() *Interface_Unnumbered
func (*Interface) GetVxlan ¶
func (m *Interface) GetVxlan() *Interface_VxlanLink
func (*Interface) ProtoMessage ¶
func (*Interface) ProtoMessage()
func (*Interface) XXX_DiscardUnknown ¶
func (m *Interface) XXX_DiscardUnknown()
func (*Interface) XXX_Marshal ¶
func (*Interface) XXX_OneofFuncs ¶
func (*Interface) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Interface) XXX_Unmarshal ¶
type InterfaceNotification ¶
type InterfaceNotification struct { Type InterfaceNotification_NotifType `protobuf:"varint,1,opt,name=Type,proto3,enum=interfaces.InterfaceNotification_NotifType" json:"Type,omitempty"` State *InterfaceState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InterfaceNotification) Descriptor ¶
func (*InterfaceNotification) Descriptor() ([]byte, []int)
func (*InterfaceNotification) GetState ¶
func (m *InterfaceNotification) GetState() *InterfaceState
func (*InterfaceNotification) GetType ¶
func (m *InterfaceNotification) GetType() InterfaceNotification_NotifType
func (*InterfaceNotification) ProtoMessage ¶
func (*InterfaceNotification) ProtoMessage()
func (*InterfaceNotification) Reset ¶
func (m *InterfaceNotification) Reset()
func (*InterfaceNotification) String ¶
func (m *InterfaceNotification) String() string
func (*InterfaceNotification) XXX_DiscardUnknown ¶
func (m *InterfaceNotification) XXX_DiscardUnknown()
func (*InterfaceNotification) XXX_Marshal ¶
func (m *InterfaceNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterfaceNotification) XXX_Merge ¶
func (dst *InterfaceNotification) XXX_Merge(src proto.Message)
func (*InterfaceNotification) XXX_Size ¶
func (m *InterfaceNotification) XXX_Size() int
func (*InterfaceNotification) XXX_Unmarshal ¶
func (m *InterfaceNotification) XXX_Unmarshal(b []byte) error
type InterfaceNotification_NotifType ¶
type InterfaceNotification_NotifType int32
const ( InterfaceNotification_UNKNOWN InterfaceNotification_NotifType = 0 InterfaceNotification_UPDOWN InterfaceNotification_NotifType = 1 InterfaceNotification_COUNTERS InterfaceNotification_NotifType = 2 )
func (InterfaceNotification_NotifType) EnumDescriptor ¶
func (InterfaceNotification_NotifType) EnumDescriptor() ([]byte, []int)
func (InterfaceNotification_NotifType) String ¶
func (x InterfaceNotification_NotifType) String() string
type InterfaceState ¶
type InterfaceState struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` InternalName string `protobuf:"bytes,2,opt,name=internal_name,json=internalName,proto3" json:"internal_name,omitempty"` Type Interface_Type `protobuf:"varint,3,opt,name=type,proto3,enum=interfaces.Interface_Type" json:"type,omitempty"` IfIndex uint32 `protobuf:"varint,4,opt,name=if_index,json=ifIndex,proto3" json:"if_index,omitempty"` AdminStatus InterfaceState_Status `` /* 133-byte string literal not displayed */ OperStatus InterfaceState_Status `` /* 130-byte string literal not displayed */ LastChange int64 `protobuf:"varint,7,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"` PhysAddress string `protobuf:"bytes,8,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"` Speed uint64 `protobuf:"varint,9,opt,name=speed,proto3" json:"speed,omitempty"` Mtu uint32 `protobuf:"varint,10,opt,name=mtu,proto3" json:"mtu,omitempty"` Duplex InterfaceState_Duplex `protobuf:"varint,11,opt,name=duplex,proto3,enum=interfaces.InterfaceState_Duplex" json:"duplex,omitempty"` Statistics *InterfaceState_Statistics `protobuf:"bytes,100,opt,name=statistics" json:"statistics,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InterfaceState) Descriptor ¶
func (*InterfaceState) Descriptor() ([]byte, []int)
func (*InterfaceState) GetAdminStatus ¶
func (m *InterfaceState) GetAdminStatus() InterfaceState_Status
func (*InterfaceState) GetDuplex ¶
func (m *InterfaceState) GetDuplex() InterfaceState_Duplex
func (*InterfaceState) GetIfIndex ¶
func (m *InterfaceState) GetIfIndex() uint32
func (*InterfaceState) GetInternalName ¶
func (m *InterfaceState) GetInternalName() string
func (*InterfaceState) GetLastChange ¶
func (m *InterfaceState) GetLastChange() int64
func (*InterfaceState) GetMtu ¶
func (m *InterfaceState) GetMtu() uint32
func (*InterfaceState) GetName ¶
func (m *InterfaceState) GetName() string
func (*InterfaceState) GetOperStatus ¶
func (m *InterfaceState) GetOperStatus() InterfaceState_Status
func (*InterfaceState) GetPhysAddress ¶
func (m *InterfaceState) GetPhysAddress() string
func (*InterfaceState) GetSpeed ¶
func (m *InterfaceState) GetSpeed() uint64
func (*InterfaceState) GetStatistics ¶
func (m *InterfaceState) GetStatistics() *InterfaceState_Statistics
func (*InterfaceState) GetType ¶
func (m *InterfaceState) GetType() Interface_Type
func (*InterfaceState) ProtoMessage ¶
func (*InterfaceState) ProtoMessage()
func (*InterfaceState) Reset ¶
func (m *InterfaceState) Reset()
func (*InterfaceState) String ¶
func (m *InterfaceState) String() string
func (*InterfaceState) XXX_DiscardUnknown ¶
func (m *InterfaceState) XXX_DiscardUnknown()
func (*InterfaceState) XXX_Marshal ¶
func (m *InterfaceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterfaceState) XXX_Merge ¶
func (dst *InterfaceState) XXX_Merge(src proto.Message)
func (*InterfaceState) XXX_Size ¶
func (m *InterfaceState) XXX_Size() int
func (*InterfaceState) XXX_Unmarshal ¶
func (m *InterfaceState) XXX_Unmarshal(b []byte) error
type InterfaceState_Duplex ¶
type InterfaceState_Duplex int32
const ( InterfaceState_UNKNOWN_DUPLEX InterfaceState_Duplex = 0 InterfaceState_HALF InterfaceState_Duplex = 1 InterfaceState_FULL InterfaceState_Duplex = 2 )
func (InterfaceState_Duplex) EnumDescriptor ¶
func (InterfaceState_Duplex) EnumDescriptor() ([]byte, []int)
func (InterfaceState_Duplex) String ¶
func (x InterfaceState_Duplex) String() string
type InterfaceState_Statistics ¶
type InterfaceState_Statistics struct { InPackets uint64 `protobuf:"varint,1,opt,name=in_packets,json=inPackets,proto3" json:"in_packets,omitempty"` InBytes uint64 `protobuf:"varint,2,opt,name=in_bytes,json=inBytes,proto3" json:"in_bytes,omitempty"` OutPackets uint64 `protobuf:"varint,3,opt,name=out_packets,json=outPackets,proto3" json:"out_packets,omitempty"` OutBytes uint64 `protobuf:"varint,4,opt,name=out_bytes,json=outBytes,proto3" json:"out_bytes,omitempty"` DropPackets uint64 `protobuf:"varint,5,opt,name=drop_packets,json=dropPackets,proto3" json:"drop_packets,omitempty"` PuntPackets uint64 `protobuf:"varint,6,opt,name=punt_packets,json=puntPackets,proto3" json:"punt_packets,omitempty"` Ipv4Packets uint64 `protobuf:"varint,7,opt,name=ipv4_packets,json=ipv4Packets,proto3" json:"ipv4_packets,omitempty"` Ipv6Packets uint64 `protobuf:"varint,8,opt,name=ipv6_packets,json=ipv6Packets,proto3" json:"ipv6_packets,omitempty"` InNobufPackets uint64 `protobuf:"varint,9,opt,name=in_nobuf_packets,json=inNobufPackets,proto3" json:"in_nobuf_packets,omitempty"` InMissPackets uint64 `protobuf:"varint,10,opt,name=in_miss_packets,json=inMissPackets,proto3" json:"in_miss_packets,omitempty"` InErrorPackets uint64 `protobuf:"varint,11,opt,name=in_error_packets,json=inErrorPackets,proto3" json:"in_error_packets,omitempty"` OutErrorPackets uint64 `protobuf:"varint,12,opt,name=out_error_packets,json=outErrorPackets,proto3" json:"out_error_packets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InterfaceState_Statistics) Descriptor ¶
func (*InterfaceState_Statistics) Descriptor() ([]byte, []int)
func (*InterfaceState_Statistics) GetDropPackets ¶
func (m *InterfaceState_Statistics) GetDropPackets() uint64
func (*InterfaceState_Statistics) GetInBytes ¶
func (m *InterfaceState_Statistics) GetInBytes() uint64
func (*InterfaceState_Statistics) GetInErrorPackets ¶
func (m *InterfaceState_Statistics) GetInErrorPackets() uint64
func (*InterfaceState_Statistics) GetInMissPackets ¶
func (m *InterfaceState_Statistics) GetInMissPackets() uint64
func (*InterfaceState_Statistics) GetInNobufPackets ¶
func (m *InterfaceState_Statistics) GetInNobufPackets() uint64
func (*InterfaceState_Statistics) GetInPackets ¶
func (m *InterfaceState_Statistics) GetInPackets() uint64
func (*InterfaceState_Statistics) GetIpv4Packets ¶
func (m *InterfaceState_Statistics) GetIpv4Packets() uint64
func (*InterfaceState_Statistics) GetIpv6Packets ¶
func (m *InterfaceState_Statistics) GetIpv6Packets() uint64
func (*InterfaceState_Statistics) GetOutBytes ¶
func (m *InterfaceState_Statistics) GetOutBytes() uint64
func (*InterfaceState_Statistics) GetOutErrorPackets ¶
func (m *InterfaceState_Statistics) GetOutErrorPackets() uint64
func (*InterfaceState_Statistics) GetOutPackets ¶
func (m *InterfaceState_Statistics) GetOutPackets() uint64
func (*InterfaceState_Statistics) GetPuntPackets ¶
func (m *InterfaceState_Statistics) GetPuntPackets() uint64
func (*InterfaceState_Statistics) ProtoMessage ¶
func (*InterfaceState_Statistics) ProtoMessage()
func (*InterfaceState_Statistics) Reset ¶
func (m *InterfaceState_Statistics) Reset()
func (*InterfaceState_Statistics) String ¶
func (m *InterfaceState_Statistics) String() string
func (*InterfaceState_Statistics) XXX_DiscardUnknown ¶
func (m *InterfaceState_Statistics) XXX_DiscardUnknown()
func (*InterfaceState_Statistics) XXX_Marshal ¶
func (m *InterfaceState_Statistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterfaceState_Statistics) XXX_Merge ¶
func (dst *InterfaceState_Statistics) XXX_Merge(src proto.Message)
func (*InterfaceState_Statistics) XXX_Size ¶
func (m *InterfaceState_Statistics) XXX_Size() int
func (*InterfaceState_Statistics) XXX_Unmarshal ¶
func (m *InterfaceState_Statistics) XXX_Unmarshal(b []byte) error
type InterfaceState_Status ¶
type InterfaceState_Status int32
const ( InterfaceState_UNKNOWN_STATUS InterfaceState_Status = 0 InterfaceState_UP InterfaceState_Status = 1 InterfaceState_DOWN InterfaceState_Status = 2 InterfaceState_DELETED InterfaceState_Status = 3 )
func (InterfaceState_Status) EnumDescriptor ¶
func (InterfaceState_Status) EnumDescriptor() ([]byte, []int)
func (InterfaceState_Status) String ¶
func (x InterfaceState_Status) String() string
type Interface_Afpacket ¶
type Interface_Afpacket struct {
Afpacket *Interface_AfpacketLink `protobuf:"bytes,103,opt,name=afpacket,oneof"`
}
type Interface_AfpacketLink ¶
type Interface_AfpacketLink struct { HostIfName string `protobuf:"bytes,1,opt,name=host_if_name,json=hostIfName,proto3" json:"host_if_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interface_AfpacketLink) Descriptor ¶
func (*Interface_AfpacketLink) Descriptor() ([]byte, []int)
func (*Interface_AfpacketLink) GetHostIfName ¶
func (m *Interface_AfpacketLink) GetHostIfName() string
func (*Interface_AfpacketLink) ProtoMessage ¶
func (*Interface_AfpacketLink) ProtoMessage()
func (*Interface_AfpacketLink) Reset ¶
func (m *Interface_AfpacketLink) Reset()
func (*Interface_AfpacketLink) String ¶
func (m *Interface_AfpacketLink) String() string
func (*Interface_AfpacketLink) XXX_DiscardUnknown ¶
func (m *Interface_AfpacketLink) XXX_DiscardUnknown()
func (*Interface_AfpacketLink) XXX_Marshal ¶
func (m *Interface_AfpacketLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Interface_AfpacketLink) XXX_Merge ¶
func (dst *Interface_AfpacketLink) XXX_Merge(src proto.Message)
func (*Interface_AfpacketLink) XXX_Size ¶
func (m *Interface_AfpacketLink) XXX_Size() int
func (*Interface_AfpacketLink) XXX_Unmarshal ¶
func (m *Interface_AfpacketLink) XXX_Unmarshal(b []byte) error
type Interface_Memif ¶
type Interface_Memif struct {
Memif *Interface_MemifLink `protobuf:"bytes,101,opt,name=memif,oneof"`
}
type Interface_MemifLink ¶
type Interface_MemifLink struct { Master bool `protobuf:"varint,1,opt,name=master,proto3" json:"master,omitempty"` Mode Interface_MemifLink_MemifMode `protobuf:"varint,2,opt,name=mode,proto3,enum=interfaces.Interface_MemifLink_MemifMode" json:"mode,omitempty"` Id uint32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` SocketFilename string `protobuf:"bytes,4,opt,name=socket_filename,json=socketFilename,proto3" json:"socket_filename,omitempty"` Secret string `protobuf:"bytes,5,opt,name=secret,proto3" json:"secret,omitempty"` RingSize uint32 `protobuf:"varint,6,opt,name=ring_size,json=ringSize,proto3" json:"ring_size,omitempty"` BufferSize uint32 `protobuf:"varint,7,opt,name=buffer_size,json=bufferSize,proto3" json:"buffer_size,omitempty"` RxQueues uint32 `protobuf:"varint,8,opt,name=rx_queues,json=rxQueues,proto3" json:"rx_queues,omitempty"` TxQueues uint32 `protobuf:"varint,9,opt,name=tx_queues,json=txQueues,proto3" json:"tx_queues,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interface_MemifLink) Descriptor ¶
func (*Interface_MemifLink) Descriptor() ([]byte, []int)
func (*Interface_MemifLink) GetBufferSize ¶
func (m *Interface_MemifLink) GetBufferSize() uint32
func (*Interface_MemifLink) GetId ¶
func (m *Interface_MemifLink) GetId() uint32
func (*Interface_MemifLink) GetMaster ¶
func (m *Interface_MemifLink) GetMaster() bool
func (*Interface_MemifLink) GetMode ¶
func (m *Interface_MemifLink) GetMode() Interface_MemifLink_MemifMode
func (*Interface_MemifLink) GetRingSize ¶
func (m *Interface_MemifLink) GetRingSize() uint32
func (*Interface_MemifLink) GetRxQueues ¶
func (m *Interface_MemifLink) GetRxQueues() uint32
func (*Interface_MemifLink) GetSecret ¶
func (m *Interface_MemifLink) GetSecret() string
func (*Interface_MemifLink) GetSocketFilename ¶
func (m *Interface_MemifLink) GetSocketFilename() string
func (*Interface_MemifLink) GetTxQueues ¶
func (m *Interface_MemifLink) GetTxQueues() uint32
func (*Interface_MemifLink) ProtoMessage ¶
func (*Interface_MemifLink) ProtoMessage()
func (*Interface_MemifLink) Reset ¶
func (m *Interface_MemifLink) Reset()
func (*Interface_MemifLink) String ¶
func (m *Interface_MemifLink) String() string
func (*Interface_MemifLink) XXX_DiscardUnknown ¶
func (m *Interface_MemifLink) XXX_DiscardUnknown()
func (*Interface_MemifLink) XXX_Marshal ¶
func (m *Interface_MemifLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Interface_MemifLink) XXX_Merge ¶
func (dst *Interface_MemifLink) XXX_Merge(src proto.Message)
func (*Interface_MemifLink) XXX_Size ¶
func (m *Interface_MemifLink) XXX_Size() int
func (*Interface_MemifLink) XXX_Unmarshal ¶
func (m *Interface_MemifLink) XXX_Unmarshal(b []byte) error
type Interface_MemifLink_MemifMode ¶
type Interface_MemifLink_MemifMode int32
const ( Interface_MemifLink_ETHERNET Interface_MemifLink_MemifMode = 0 Interface_MemifLink_IP Interface_MemifLink_MemifMode = 1 Interface_MemifLink_PUNT_INJECT Interface_MemifLink_MemifMode = 2 )
func (Interface_MemifLink_MemifMode) EnumDescriptor ¶
func (Interface_MemifLink_MemifMode) EnumDescriptor() ([]byte, []int)
func (Interface_MemifLink_MemifMode) String ¶
func (x Interface_MemifLink_MemifMode) String() string
type Interface_RxModeSettings ¶
type Interface_RxModeSettings struct { RxMode Interface_RxModeSettings_RxModeType `` /* 132-byte string literal not displayed */ QueueId uint32 `protobuf:"varint,2,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"` QueueIdValid uint32 `protobuf:"varint,3,opt,name=queue_id_valid,json=queueIdValid,proto3" json:"queue_id_valid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interface_RxModeSettings) Descriptor ¶
func (*Interface_RxModeSettings) Descriptor() ([]byte, []int)
func (*Interface_RxModeSettings) GetQueueId ¶
func (m *Interface_RxModeSettings) GetQueueId() uint32
func (*Interface_RxModeSettings) GetQueueIdValid ¶
func (m *Interface_RxModeSettings) GetQueueIdValid() uint32
func (*Interface_RxModeSettings) GetRxMode ¶
func (m *Interface_RxModeSettings) GetRxMode() Interface_RxModeSettings_RxModeType
func (*Interface_RxModeSettings) ProtoMessage ¶
func (*Interface_RxModeSettings) ProtoMessage()
func (*Interface_RxModeSettings) Reset ¶
func (m *Interface_RxModeSettings) Reset()
func (*Interface_RxModeSettings) String ¶
func (m *Interface_RxModeSettings) String() string
func (*Interface_RxModeSettings) XXX_DiscardUnknown ¶
func (m *Interface_RxModeSettings) XXX_DiscardUnknown()
func (*Interface_RxModeSettings) XXX_Marshal ¶
func (m *Interface_RxModeSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Interface_RxModeSettings) XXX_Merge ¶
func (dst *Interface_RxModeSettings) XXX_Merge(src proto.Message)
func (*Interface_RxModeSettings) XXX_Size ¶
func (m *Interface_RxModeSettings) XXX_Size() int
func (*Interface_RxModeSettings) XXX_Unmarshal ¶
func (m *Interface_RxModeSettings) XXX_Unmarshal(b []byte) error
type Interface_RxModeSettings_RxModeType ¶
type Interface_RxModeSettings_RxModeType int32
from vpp/build-root/install-vpp-native/vpp/include/vnet/interface.h
const ( Interface_RxModeSettings_UNKNOWN Interface_RxModeSettings_RxModeType = 0 Interface_RxModeSettings_POLLING Interface_RxModeSettings_RxModeType = 1 Interface_RxModeSettings_INTERRUPT Interface_RxModeSettings_RxModeType = 2 Interface_RxModeSettings_ADAPTIVE Interface_RxModeSettings_RxModeType = 3 Interface_RxModeSettings_DEFAULT Interface_RxModeSettings_RxModeType = 4 )
func (Interface_RxModeSettings_RxModeType) EnumDescriptor ¶
func (Interface_RxModeSettings_RxModeType) EnumDescriptor() ([]byte, []int)
func (Interface_RxModeSettings_RxModeType) String ¶
func (x Interface_RxModeSettings_RxModeType) String() string
type Interface_RxPlacementSettings ¶
type Interface_RxPlacementSettings struct { Queue uint32 `protobuf:"varint,1,opt,name=queue,proto3" json:"queue,omitempty"` Worker uint32 `protobuf:"varint,2,opt,name=worker,proto3" json:"worker,omitempty"` IsMain bool `protobuf:"varint,3,opt,name=is_main,json=isMain,proto3" json:"is_main,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interface_RxPlacementSettings) Descriptor ¶
func (*Interface_RxPlacementSettings) Descriptor() ([]byte, []int)
func (*Interface_RxPlacementSettings) GetIsMain ¶
func (m *Interface_RxPlacementSettings) GetIsMain() bool
func (*Interface_RxPlacementSettings) GetQueue ¶
func (m *Interface_RxPlacementSettings) GetQueue() uint32
func (*Interface_RxPlacementSettings) GetWorker ¶
func (m *Interface_RxPlacementSettings) GetWorker() uint32
func (*Interface_RxPlacementSettings) ProtoMessage ¶
func (*Interface_RxPlacementSettings) ProtoMessage()
func (*Interface_RxPlacementSettings) Reset ¶
func (m *Interface_RxPlacementSettings) Reset()
func (*Interface_RxPlacementSettings) String ¶
func (m *Interface_RxPlacementSettings) String() string
func (*Interface_RxPlacementSettings) XXX_DiscardUnknown ¶
func (m *Interface_RxPlacementSettings) XXX_DiscardUnknown()
func (*Interface_RxPlacementSettings) XXX_Marshal ¶
func (m *Interface_RxPlacementSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Interface_RxPlacementSettings) XXX_Merge ¶
func (dst *Interface_RxPlacementSettings) XXX_Merge(src proto.Message)
func (*Interface_RxPlacementSettings) XXX_Size ¶
func (m *Interface_RxPlacementSettings) XXX_Size() int
func (*Interface_RxPlacementSettings) XXX_Unmarshal ¶
func (m *Interface_RxPlacementSettings) XXX_Unmarshal(b []byte) error
type Interface_Tap ¶
type Interface_Tap struct {
Tap *Interface_TapLink `protobuf:"bytes,104,opt,name=tap,oneof"`
}
type Interface_TapLink ¶
type Interface_TapLink struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` HostIfName string `protobuf:"bytes,2,opt,name=host_if_name,json=hostIfName,proto3" json:"host_if_name,omitempty"` ToMicroservice string `protobuf:"bytes,3,opt,name=to_microservice,json=toMicroservice,proto3" json:"to_microservice,omitempty"` RxRingSize uint32 `protobuf:"varint,4,opt,name=rx_ring_size,json=rxRingSize,proto3" json:"rx_ring_size,omitempty"` TxRingSize uint32 `protobuf:"varint,5,opt,name=tx_ring_size,json=txRingSize,proto3" json:"tx_ring_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interface_TapLink) Descriptor ¶
func (*Interface_TapLink) Descriptor() ([]byte, []int)
func (*Interface_TapLink) GetHostIfName ¶
func (m *Interface_TapLink) GetHostIfName() string
func (*Interface_TapLink) GetRxRingSize ¶
func (m *Interface_TapLink) GetRxRingSize() uint32
func (*Interface_TapLink) GetToMicroservice ¶
func (m *Interface_TapLink) GetToMicroservice() string
func (*Interface_TapLink) GetTxRingSize ¶
func (m *Interface_TapLink) GetTxRingSize() uint32
func (*Interface_TapLink) GetVersion ¶
func (m *Interface_TapLink) GetVersion() uint32
func (*Interface_TapLink) ProtoMessage ¶
func (*Interface_TapLink) ProtoMessage()
func (*Interface_TapLink) Reset ¶
func (m *Interface_TapLink) Reset()
func (*Interface_TapLink) String ¶
func (m *Interface_TapLink) String() string
func (*Interface_TapLink) XXX_DiscardUnknown ¶
func (m *Interface_TapLink) XXX_DiscardUnknown()
func (*Interface_TapLink) XXX_Marshal ¶
func (m *Interface_TapLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Interface_TapLink) XXX_Merge ¶
func (dst *Interface_TapLink) XXX_Merge(src proto.Message)
func (*Interface_TapLink) XXX_Size ¶
func (m *Interface_TapLink) XXX_Size() int
func (*Interface_TapLink) XXX_Unmarshal ¶
func (m *Interface_TapLink) XXX_Unmarshal(b []byte) error
type Interface_Type ¶
type Interface_Type int32
const ( Interface_UNDEFINED Interface_Type = 0 Interface_SOFTWARE_LOOPBACK Interface_Type = 1 Interface_ETHERNET_CSMACD Interface_Type = 2 Interface_MEMORY_INTERFACE Interface_Type = 3 Interface_TAP_INTERFACE Interface_Type = 4 Interface_AF_PACKET_INTERFACE Interface_Type = 5 Interface_VXLAN_TUNNEL Interface_Type = 6 )
func (Interface_Type) EnumDescriptor ¶
func (Interface_Type) EnumDescriptor() ([]byte, []int)
func (Interface_Type) String ¶
func (x Interface_Type) String() string
type Interface_Unnumbered ¶
type Interface_Unnumbered struct { IsUnnumbered bool `protobuf:"varint,1,opt,name=is_unnumbered,json=isUnnumbered,proto3" json:"is_unnumbered,omitempty"` InterfaceWithIp string `protobuf:"bytes,2,opt,name=interface_with_ip,json=interfaceWithIp,proto3" json:"interface_with_ip,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interface_Unnumbered) Descriptor ¶
func (*Interface_Unnumbered) Descriptor() ([]byte, []int)
func (*Interface_Unnumbered) GetInterfaceWithIp ¶
func (m *Interface_Unnumbered) GetInterfaceWithIp() string
func (*Interface_Unnumbered) GetIsUnnumbered ¶
func (m *Interface_Unnumbered) GetIsUnnumbered() bool
func (*Interface_Unnumbered) ProtoMessage ¶
func (*Interface_Unnumbered) ProtoMessage()
func (*Interface_Unnumbered) Reset ¶
func (m *Interface_Unnumbered) Reset()
func (*Interface_Unnumbered) String ¶
func (m *Interface_Unnumbered) String() string
func (*Interface_Unnumbered) XXX_DiscardUnknown ¶
func (m *Interface_Unnumbered) XXX_DiscardUnknown()
func (*Interface_Unnumbered) XXX_Marshal ¶
func (m *Interface_Unnumbered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Interface_Unnumbered) XXX_Merge ¶
func (dst *Interface_Unnumbered) XXX_Merge(src proto.Message)
func (*Interface_Unnumbered) XXX_Size ¶
func (m *Interface_Unnumbered) XXX_Size() int
func (*Interface_Unnumbered) XXX_Unmarshal ¶
func (m *Interface_Unnumbered) XXX_Unmarshal(b []byte) error
type Interface_Vxlan ¶
type Interface_Vxlan struct {
Vxlan *Interface_VxlanLink `protobuf:"bytes,102,opt,name=vxlan,oneof"`
}
type Interface_VxlanLink ¶
type Interface_VxlanLink struct { SrcAddress string `protobuf:"bytes,1,opt,name=src_address,json=srcAddress,proto3" json:"src_address,omitempty"` DstAddress string `protobuf:"bytes,2,opt,name=dst_address,json=dstAddress,proto3" json:"dst_address,omitempty"` Vni uint32 `protobuf:"varint,3,opt,name=vni,proto3" json:"vni,omitempty"` Multicast string `protobuf:"bytes,4,opt,name=multicast,proto3" json:"multicast,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Interface_VxlanLink) Descriptor ¶
func (*Interface_VxlanLink) Descriptor() ([]byte, []int)
func (*Interface_VxlanLink) GetDstAddress ¶
func (m *Interface_VxlanLink) GetDstAddress() string
func (*Interface_VxlanLink) GetMulticast ¶
func (m *Interface_VxlanLink) GetMulticast() string
func (*Interface_VxlanLink) GetSrcAddress ¶
func (m *Interface_VxlanLink) GetSrcAddress() string
func (*Interface_VxlanLink) GetVni ¶
func (m *Interface_VxlanLink) GetVni() uint32
func (*Interface_VxlanLink) ProtoMessage ¶
func (*Interface_VxlanLink) ProtoMessage()
func (*Interface_VxlanLink) Reset ¶
func (m *Interface_VxlanLink) Reset()
func (*Interface_VxlanLink) String ¶
func (m *Interface_VxlanLink) String() string
func (*Interface_VxlanLink) XXX_DiscardUnknown ¶
func (m *Interface_VxlanLink) XXX_DiscardUnknown()
func (*Interface_VxlanLink) XXX_Marshal ¶
func (m *Interface_VxlanLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Interface_VxlanLink) XXX_Merge ¶
func (dst *Interface_VxlanLink) XXX_Merge(src proto.Message)
func (*Interface_VxlanLink) XXX_Size ¶
func (m *Interface_VxlanLink) XXX_Size() int
func (*Interface_VxlanLink) XXX_Unmarshal ¶
func (m *Interface_VxlanLink) XXX_Unmarshal(b []byte) error