Documentation
¶
Index ¶
- Variables
- func RegisterNetInterfaceServer(s *grpc.Server, srv NetInterfaceServer)
- type AddressRange
- func (*AddressRange) Descriptor() ([]byte, []int)deprecated
- func (x *AddressRange) GetIpv4Range() *IPRange
- func (x *AddressRange) GetIpv6Range() *IPRange
- func (m *AddressRange) GetRange() isAddressRange_Range
- func (*AddressRange) ProtoMessage()
- func (x *AddressRange) ProtoReflect() protoreflect.Message
- func (x *AddressRange) Reset()
- func (x *AddressRange) String() string
- type AddressRange_Ipv4Range
- type AddressRange_Ipv6Range
- type AdminState
- type Encap
- type EncapType
- type EncapVal
- func (*EncapVal) Descriptor() ([]byte, []int)deprecated
- func (x *EncapVal) GetMplsTag() int32
- func (m *EncapVal) GetVal() isEncapVal_Val
- func (x *EncapVal) GetVlanId() int32
- func (x *EncapVal) GetVnid() int32
- func (x *EncapVal) GetVsid() int32
- func (*EncapVal) ProtoMessage()
- func (x *EncapVal) ProtoReflect() protoreflect.Message
- func (x *EncapVal) Reset()
- func (x *EncapVal) String() string
- type EncapVal_MplsTag
- type EncapVal_VlanId
- type EncapVal_Vnid
- type EncapVal_Vsid
- type HwHandle
- type ICMPMatch
- func (*ICMPMatch) Descriptor() ([]byte, []int)deprecated
- func (x *ICMPMatch) GetCode() int32
- func (x *ICMPMatch) GetCodeWildcard() WildcardMatch
- func (m *ICMPMatch) GetCodematch() isICMPMatch_Codematch
- func (x *ICMPMatch) GetType() int32
- func (x *ICMPMatch) GetTypeWildcard() WildcardMatch
- func (m *ICMPMatch) GetTypematch() isICMPMatch_Typematch
- func (*ICMPMatch) ProtoMessage()
- func (x *ICMPMatch) ProtoReflect() protoreflect.Message
- func (x *ICMPMatch) Reset()
- func (x *ICMPMatch) String() string
- type ICMPMatchList
- type ICMPMatch_Code
- type ICMPMatch_CodeWildcard
- type ICMPMatch_Type
- type ICMPMatch_TypeWildcard
- type IPAddress
- func (*IPAddress) Descriptor() ([]byte, []int)deprecated
- func (x *IPAddress) GetAf() IpAf
- func (x *IPAddress) GetV4Addr() uint32
- func (m *IPAddress) GetV4OrV6() isIPAddress_V4OrV6
- func (x *IPAddress) GetV6Addr() []byte
- func (*IPAddress) ProtoMessage()
- func (x *IPAddress) ProtoReflect() protoreflect.Message
- func (x *IPAddress) Reset()
- func (x *IPAddress) String() string
- type IPAddress_V4Addr
- type IPAddress_V6Addr
- type IPEntry
- func (*IPEntry) Descriptor() ([]byte, []int)deprecated
- func (m *IPEntry) GetIpEntry() isIPEntry_IpEntry
- func (x *IPEntry) GetPrefix() *IPPrefix
- func (x *IPEntry) GetRange() *AddressRange
- func (x *IPEntry) GetTag() int32
- func (*IPEntry) ProtoMessage()
- func (x *IPEntry) ProtoReflect() protoreflect.Message
- func (x *IPEntry) Reset()
- func (x *IPEntry) String() string
- type IPEntry_Prefix
- type IPEntry_Range
- type IPEntry_Tag
- type IPList
- type IPPrefix
- type IPRange
- type IPv4Prefix
- type IPv6Prefix
- type Interface
- func (*Interface) Descriptor() ([]byte, []int)deprecated
- func (x *Interface) GetConfig() *Interface_Config
- func (x *Interface) GetHoldtime() *Interface_HoldTime
- func (x *Interface) GetName() string
- func (x *Interface) GetState() *Interface_State
- func (x *Interface) GetSubinterfaces() *Interface_Subinterfaces
- func (*Interface) ProtoMessage()
- func (x *Interface) ProtoReflect() protoreflect.Message
- func (x *Interface) Reset()
- func (x *Interface) String() string
- type InterfaceState
- func (InterfaceState) Descriptor() protoreflect.EnumDescriptor
- func (x InterfaceState) Enum() *InterfaceState
- func (InterfaceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x InterfaceState) Number() protoreflect.EnumNumber
- func (x InterfaceState) String() string
- func (InterfaceState) Type() protoreflect.EnumType
- type InterfaceType
- func (InterfaceType) Descriptor() protoreflect.EnumDescriptor
- func (x InterfaceType) Enum() *InterfaceType
- func (InterfaceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x InterfaceType) Number() protoreflect.EnumNumber
- func (x InterfaceType) String() string
- func (InterfaceType) Type() protoreflect.EnumType
- type Interface_Config
- func (*Interface_Config) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_Config) GetDescription() string
- func (x *Interface_Config) GetEnabled() bool
- func (x *Interface_Config) GetLoopbackMode() bool
- func (x *Interface_Config) GetMtu() uint32
- func (x *Interface_Config) GetName() string
- func (x *Interface_Config) GetType() InterfaceType
- func (*Interface_Config) ProtoMessage()
- func (x *Interface_Config) ProtoReflect() protoreflect.Message
- func (x *Interface_Config) Reset()
- func (x *Interface_Config) String() string
- type Interface_HoldTime
- func (*Interface_HoldTime) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_HoldTime) GetConfig() *Interface_HoldTime_Config
- func (x *Interface_HoldTime) GetState() *Interface_HoldTime_State
- func (*Interface_HoldTime) ProtoMessage()
- func (x *Interface_HoldTime) ProtoReflect() protoreflect.Message
- func (x *Interface_HoldTime) Reset()
- func (x *Interface_HoldTime) String() string
- type Interface_HoldTime_Config
- func (*Interface_HoldTime_Config) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_HoldTime_Config) GetDown() uint32
- func (x *Interface_HoldTime_Config) GetUp() uint32
- func (*Interface_HoldTime_Config) ProtoMessage()
- func (x *Interface_HoldTime_Config) ProtoReflect() protoreflect.Message
- func (x *Interface_HoldTime_Config) Reset()
- func (x *Interface_HoldTime_Config) String() string
- type Interface_HoldTime_State
- func (*Interface_HoldTime_State) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_HoldTime_State) GetDown() uint32
- func (x *Interface_HoldTime_State) GetUp() uint32
- func (*Interface_HoldTime_State) ProtoMessage()
- func (x *Interface_HoldTime_State) ProtoReflect() protoreflect.Message
- func (x *Interface_HoldTime_State) Reset()
- func (x *Interface_HoldTime_State) String() string
- type Interface_State
- func (*Interface_State) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_State) GetAdminStatus() InterfaceState
- func (x *Interface_State) GetCounters() *Interface_State_Counters
- func (x *Interface_State) GetCpu() bool
- func (x *Interface_State) GetDescription() string
- func (x *Interface_State) GetEnabled() bool
- func (x *Interface_State) GetIfindex() uint32
- func (x *Interface_State) GetLastChange() uint64
- func (x *Interface_State) GetLogical() bool
- func (x *Interface_State) GetLoopbackMode() bool
- func (x *Interface_State) GetManagement() bool
- func (x *Interface_State) GetMtu() uint32
- func (x *Interface_State) GetName() string
- func (x *Interface_State) GetOperStatus() InterfaceState
- func (x *Interface_State) GetType() InterfaceType
- func (*Interface_State) ProtoMessage()
- func (x *Interface_State) ProtoReflect() protoreflect.Message
- func (x *Interface_State) Reset()
- func (x *Interface_State) String() string
- type Interface_State_Counters
- func (*Interface_State_Counters) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_State_Counters) GetCarrierTransitions() uint64
- func (x *Interface_State_Counters) GetInBroadcastPkts() uint64
- func (x *Interface_State_Counters) GetInDiscards() uint64
- func (x *Interface_State_Counters) GetInErrors() uint64
- func (x *Interface_State_Counters) GetInFcsErrors() uint64
- func (x *Interface_State_Counters) GetInMulticastPkts() uint64
- func (x *Interface_State_Counters) GetInOctets() uint64
- func (x *Interface_State_Counters) GetInPackets() uint64
- func (x *Interface_State_Counters) GetInUnicastPkts() uint64
- func (x *Interface_State_Counters) GetInUnknownProtos() uint64
- func (x *Interface_State_Counters) GetLastClear() uint64
- func (x *Interface_State_Counters) GetOutBroadcastPkts() uint64
- func (x *Interface_State_Counters) GetOutDiscards() uint64
- func (x *Interface_State_Counters) GetOutErrors() uint64
- func (x *Interface_State_Counters) GetOutMulticastPkts() uint64
- func (x *Interface_State_Counters) GetOutOctets() uint64
- func (x *Interface_State_Counters) GetOutPackets() uint64
- func (x *Interface_State_Counters) GetOutUnicastPkts() uint64
- func (*Interface_State_Counters) ProtoMessage()
- func (x *Interface_State_Counters) ProtoReflect() protoreflect.Message
- func (x *Interface_State_Counters) Reset()
- func (x *Interface_State_Counters) String() string
- type Interface_Subinterfaces
- func (*Interface_Subinterfaces) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_Subinterfaces) GetSubinterface() []*Interface_Subinterfaces_Subinterface
- func (*Interface_Subinterfaces) ProtoMessage()
- func (x *Interface_Subinterfaces) ProtoReflect() protoreflect.Message
- func (x *Interface_Subinterfaces) Reset()
- func (x *Interface_Subinterfaces) String() string
- type Interface_Subinterfaces_Subinterface
- func (*Interface_Subinterfaces_Subinterface) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_Subinterfaces_Subinterface) GetConfig() *Interface_Subinterfaces_Subinterface_Config
- func (x *Interface_Subinterfaces_Subinterface) GetIndex() uint64
- func (x *Interface_Subinterfaces_Subinterface) GetState() *Interface_Subinterfaces_Subinterface_State
- func (*Interface_Subinterfaces_Subinterface) ProtoMessage()
- func (x *Interface_Subinterfaces_Subinterface) ProtoReflect() protoreflect.Message
- func (x *Interface_Subinterfaces_Subinterface) Reset()
- func (x *Interface_Subinterfaces_Subinterface) String() string
- type Interface_Subinterfaces_Subinterface_Config
- func (*Interface_Subinterfaces_Subinterface_Config) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_Subinterfaces_Subinterface_Config) GetDescription() string
- func (x *Interface_Subinterfaces_Subinterface_Config) GetEnabled() bool
- func (x *Interface_Subinterfaces_Subinterface_Config) GetIndex() uint64
- func (*Interface_Subinterfaces_Subinterface_Config) ProtoMessage()
- func (x *Interface_Subinterfaces_Subinterface_Config) ProtoReflect() protoreflect.Message
- func (x *Interface_Subinterfaces_Subinterface_Config) Reset()
- func (x *Interface_Subinterfaces_Subinterface_Config) String() string
- type Interface_Subinterfaces_Subinterface_State
- func (*Interface_Subinterfaces_Subinterface_State) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_Subinterfaces_Subinterface_State) GetAdminStatus() InterfaceState
- func (x *Interface_Subinterfaces_Subinterface_State) GetCounters() *Interface_Subinterfaces_Subinterface_State_Counters
- func (x *Interface_Subinterfaces_Subinterface_State) GetCpu() bool
- func (x *Interface_Subinterfaces_Subinterface_State) GetDescription() string
- func (x *Interface_Subinterfaces_Subinterface_State) GetEnabled() bool
- func (x *Interface_Subinterfaces_Subinterface_State) GetIfindex() uint32
- func (x *Interface_Subinterfaces_Subinterface_State) GetIndex() uint32
- func (x *Interface_Subinterfaces_Subinterface_State) GetLastChange() uint64
- func (x *Interface_Subinterfaces_Subinterface_State) GetLogical() bool
- func (x *Interface_Subinterfaces_Subinterface_State) GetManagement() bool
- func (x *Interface_Subinterfaces_Subinterface_State) GetName() string
- func (x *Interface_Subinterfaces_Subinterface_State) GetOperStatus() InterfaceState
- func (*Interface_Subinterfaces_Subinterface_State) ProtoMessage()
- func (x *Interface_Subinterfaces_Subinterface_State) ProtoReflect() protoreflect.Message
- func (x *Interface_Subinterfaces_Subinterface_State) Reset()
- func (x *Interface_Subinterfaces_Subinterface_State) String() string
- type Interface_Subinterfaces_Subinterface_State_Counters
- func (*Interface_Subinterfaces_Subinterface_State_Counters) Descriptor() ([]byte, []int)deprecated
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetCarrierTransitions() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInBroadcastPkts() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInDiscards() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInErrors() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInFcsErrors() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInMulticastPkts() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInOctets() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInPackets() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInUnicastPkts() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInUnknownProtos() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetLastClear() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutBroadcastPkts() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutDiscards() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutErrors() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutMulticastPkts() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutOctets() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutPackets() uint64
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutUnicastPkts() uint64
- func (*Interface_Subinterfaces_Subinterface_State_Counters) ProtoMessage()
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) ProtoReflect() protoreflect.Message
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) Reset()
- func (x *Interface_Subinterfaces_Subinterface_State_Counters) String() string
- type Interfaces
- type IpAf
- type NetInterfaceClient
- type NetInterfaceGetRequest
- func (*NetInterfaceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterfaceGetRequest) GetName() string
- func (*NetInterfaceGetRequest) ProtoMessage()
- func (x *NetInterfaceGetRequest) ProtoReflect() protoreflect.Message
- func (x *NetInterfaceGetRequest) Reset()
- func (x *NetInterfaceGetRequest) String() string
- type NetInterfaceGetResponse
- func (*NetInterfaceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterfaceGetResponse) GetInterface() *Interface
- func (*NetInterfaceGetResponse) ProtoMessage()
- func (x *NetInterfaceGetResponse) ProtoReflect() protoreflect.Message
- func (x *NetInterfaceGetResponse) Reset()
- func (x *NetInterfaceGetResponse) String() string
- type NetInterfaceListRequest
- type NetInterfaceListResponse
- func (*NetInterfaceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterfaceListResponse) GetInterface() []*Interface
- func (*NetInterfaceListResponse) ProtoMessage()
- func (x *NetInterfaceListResponse) ProtoReflect() protoreflect.Message
- func (x *NetInterfaceListResponse) Reset()
- func (x *NetInterfaceListResponse) String() string
- type NetInterfaceServer
- type NetInterfaceUpdateRequest
- func (*NetInterfaceUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterfaceUpdateRequest) GetInterface() *Interface
- func (*NetInterfaceUpdateRequest) ProtoMessage()
- func (x *NetInterfaceUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *NetInterfaceUpdateRequest) Reset()
- func (x *NetInterfaceUpdateRequest) String() string
- type NetInterfaceUpdateResponse
- func (*NetInterfaceUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterfaceUpdateResponse) GetResult() uint32
- func (*NetInterfaceUpdateResponse) ProtoMessage()
- func (x *NetInterfaceUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *NetInterfaceUpdateResponse) Reset()
- func (x *NetInterfaceUpdateResponse) String() string
- type PolicyDir
- type PortListMatch
- func (*PortListMatch) Descriptor() ([]byte, []int)deprecated
- func (x *PortListMatch) GetDstPortRange() []*PortRange
- func (x *PortListMatch) GetSrcPortRange() []*PortRange
- func (*PortListMatch) ProtoMessage()
- func (x *PortListMatch) ProtoReflect() protoreflect.Message
- func (x *PortListMatch) Reset()
- func (x *PortListMatch) String() string
- type PortMatch
- func (*PortMatch) Descriptor() ([]byte, []int)deprecated
- func (x *PortMatch) GetDstPortRange() *PortRange
- func (x *PortMatch) GetSrcPortRange() *PortRange
- func (*PortMatch) ProtoMessage()
- func (x *PortMatch) ProtoReflect() protoreflect.Message
- func (x *PortMatch) Reset()
- func (x *PortMatch) String() string
- type PortRange
- type RouteProtocol
- func (RouteProtocol) Descriptor() protoreflect.EnumDescriptor
- func (x RouteProtocol) Enum() *RouteProtocol
- func (RouteProtocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x RouteProtocol) Number() protoreflect.EnumNumber
- func (x RouteProtocol) String() string
- func (RouteProtocol) Type() protoreflect.EnumType
- type RouteType
- type RuleL3Match
- func (*RuleL3Match) Descriptor() ([]byte, []int)deprecated
- func (x *RuleL3Match) GetDstIpList() *IPList
- func (x *RuleL3Match) GetDstPrefix() *IPPrefix
- func (x *RuleL3Match) GetDstRange() *AddressRange
- func (x *RuleL3Match) GetDstTag() int32
- func (m *RuleL3Match) GetDstmatch() isRuleL3Match_Dstmatch
- func (x *RuleL3Match) GetProtoNum() int32
- func (x *RuleL3Match) GetProtoWildCard() WildcardMatch
- func (m *RuleL3Match) GetProtomatch() isRuleL3Match_Protomatch
- func (x *RuleL3Match) GetSrcIpList() *IPList
- func (x *RuleL3Match) GetSrcPrefix() *IPPrefix
- func (x *RuleL3Match) GetSrcRange() *AddressRange
- func (x *RuleL3Match) GetSrcTag() int32
- func (m *RuleL3Match) GetSrcmatch() isRuleL3Match_Srcmatch
- func (*RuleL3Match) ProtoMessage()
- func (x *RuleL3Match) ProtoReflect() protoreflect.Message
- func (x *RuleL3Match) Reset()
- func (x *RuleL3Match) String() string
- type RuleL3Match_DstIpList
- type RuleL3Match_DstPrefix
- type RuleL3Match_DstRange
- type RuleL3Match_DstTag
- type RuleL3Match_ProtoNum
- type RuleL3Match_ProtoWildCard
- type RuleL3Match_SrcIpList
- type RuleL3Match_SrcPrefix
- type RuleL3Match_SrcRange
- type RuleL3Match_SrcTag
- type RuleL4Match
- func (*RuleL4Match) Descriptor() ([]byte, []int)deprecated
- func (x *RuleL4Match) GetIcmpMatchList() *ICMPMatchList
- func (m *RuleL4Match) GetL4Info() isRuleL4Match_L4Info
- func (x *RuleL4Match) GetPortList() *PortListMatch
- func (x *RuleL4Match) GetPorts() *PortMatch
- func (x *RuleL4Match) GetTypeCode() *ICMPMatch
- func (*RuleL4Match) ProtoMessage()
- func (x *RuleL4Match) ProtoReflect() protoreflect.Message
- func (x *RuleL4Match) Reset()
- func (x *RuleL4Match) String() string
- type RuleL4Match_IcmpMatchList
- type RuleL4Match_PortList
- type RuleL4Match_Ports
- type RuleL4Match_TypeCode
- type RuleMatch
- func (*RuleMatch) Descriptor() ([]byte, []int)deprecated
- func (x *RuleMatch) GetL3Match() *RuleL3Match
- func (x *RuleMatch) GetL4Match() *RuleL4Match
- func (*RuleMatch) ProtoMessage()
- func (x *RuleMatch) ProtoReflect() protoreflect.Message
- func (x *RuleMatch) Reset()
- func (x *RuleMatch) String() string
- type SecurityRuleAction
- func (SecurityRuleAction) Descriptor() protoreflect.EnumDescriptor
- func (x SecurityRuleAction) Enum() *SecurityRuleAction
- func (SecurityRuleAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecurityRuleAction) Number() protoreflect.EnumNumber
- func (x SecurityRuleAction) String() string
- func (SecurityRuleAction) Type() protoreflect.EnumType
- type UnimplementedNetInterfaceServer
- func (*UnimplementedNetInterfaceServer) NetInterfaceGet(context.Context, *NetInterfaceGetRequest) (*NetInterfaceGetResponse, error)
- func (*UnimplementedNetInterfaceServer) NetInterfaceList(context.Context, *NetInterfaceListRequest) (*NetInterfaceListResponse, error)
- func (*UnimplementedNetInterfaceServer) NetInterfaceUpdate(context.Context, *NetInterfaceUpdateRequest) (*NetInterfaceUpdateResponse, error)
- type WildcardMatch
- func (WildcardMatch) Descriptor() protoreflect.EnumDescriptor
- func (x WildcardMatch) Enum() *WildcardMatch
- func (WildcardMatch) EnumDescriptor() ([]byte, []int)deprecated
- func (x WildcardMatch) Number() protoreflect.EnumNumber
- func (x WildcardMatch) String() string
- func (WildcardMatch) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( SecurityRuleAction_name = map[int32]string{ 0: "SECURITY_RULE_ACTION_NONE", 1: "SECURITY_RULE_ACTION_ALLOW", 2: "SECURITY_RULE_ACTION_DENY", } SecurityRuleAction_value = map[string]int32{ "SECURITY_RULE_ACTION_NONE": 0, "SECURITY_RULE_ACTION_ALLOW": 1, "SECURITY_RULE_ACTION_DENY": 2, } )
Enum value maps for SecurityRuleAction.
var ( IpAf_name = map[int32]string{ 0: "IP_AF_UNSPECIFIED", 1: "IP_AF_INET", 2: "IP_AF_INET6", } IpAf_value = map[string]int32{ "IP_AF_UNSPECIFIED": 0, "IP_AF_INET": 1, "IP_AF_INET6": 2, } )
Enum value maps for IpAf.
var ( EncapType_name = map[int32]string{ 0: "ENCAP_TYPE_UNSPECIFIED", 1: "ENCAP_TYPE_DOT1Q", 2: "ENCAP_TYPE_MPLS_OVER_UDP", 3: "ENCAP_TYPE_VXLAN", 4: "ENCAP_TYPE_NVGRE", } EncapType_value = map[string]int32{ "ENCAP_TYPE_UNSPECIFIED": 0, "ENCAP_TYPE_DOT1Q": 1, "ENCAP_TYPE_MPLS_OVER_UDP": 2, "ENCAP_TYPE_VXLAN": 3, "ENCAP_TYPE_NVGRE": 4, } )
Enum value maps for EncapType.
var ( RouteType_name = map[int32]string{ 0: "ROUTE_TYPE_UNSPECIFIED", 1: "ROUTE_TYPE_OTHER", 2: "ROUTE_TYPE_REJECT", 3: "ROUTE_TYPE_LOCAL", 4: "ROUTE_TYPE_REMOTE", } RouteType_value = map[string]int32{ "ROUTE_TYPE_UNSPECIFIED": 0, "ROUTE_TYPE_OTHER": 1, "ROUTE_TYPE_REJECT": 2, "ROUTE_TYPE_LOCAL": 3, "ROUTE_TYPE_REMOTE": 4, } )
Enum value maps for RouteType.
var ( RouteProtocol_name = map[int32]string{ 0: "ROUTE_PROTOCOL_UNSPECIFIED", 1: "ROUTE_PROTOCOL_LOCAL", 2: "ROUTE_PROTOCOL_STATIC", 3: "ROUTE_PROTOCOL_BGP", } RouteProtocol_value = map[string]int32{ "ROUTE_PROTOCOL_UNSPECIFIED": 0, "ROUTE_PROTOCOL_LOCAL": 1, "ROUTE_PROTOCOL_STATIC": 2, "ROUTE_PROTOCOL_BGP": 3, } )
Enum value maps for RouteProtocol.
var ( AdminState_name = map[int32]string{ 0: "ADMIN_STATE_UNSPECIFIED", 1: "ADMIN_STATE_ENABLE", 2: "ADMIN_STATE_DISABLE", } AdminState_value = map[string]int32{ "ADMIN_STATE_UNSPECIFIED": 0, "ADMIN_STATE_ENABLE": 1, "ADMIN_STATE_DISABLE": 2, } )
Enum value maps for AdminState.
var ( PolicyDir_name = map[int32]string{ 0: "POLICY_DIR_UNSPECIFIED", 1: "POLICY_DIR_INGRESS", 2: "POLICY_DIR_EGRESS", } PolicyDir_value = map[string]int32{ "POLICY_DIR_UNSPECIFIED": 0, "POLICY_DIR_INGRESS": 1, "POLICY_DIR_EGRESS": 2, } )
Enum value maps for PolicyDir.
var ( WildcardMatch_name = map[int32]string{ 0: "MATCH_NONE", 256: "MATCH_ANY", } WildcardMatch_value = map[string]int32{ "MATCH_NONE": 0, "MATCH_ANY": 256, } )
Enum value maps for WildcardMatch.
var ( InterfaceType_name = map[int32]string{ 0: "ETHERNET", 1: "LOOPBACK", } InterfaceType_value = map[string]int32{ "ETHERNET": 0, "LOOPBACK": 1, } )
Enum value maps for InterfaceType.
var ( InterfaceState_name = map[int32]string{ 0: "DOWN", 1: "UP", } InterfaceState_value = map[string]int32{ "DOWN": 0, "UP": 1, } )
Enum value maps for InterfaceState.
var File_networktypes_proto protoreflect.FileDescriptor
var File_openconfig_interfaces_proto protoreflect.FileDescriptor
Functions ¶
func RegisterNetInterfaceServer ¶
func RegisterNetInterfaceServer(s *grpc.Server, srv NetInterfaceServer)
Types ¶
type AddressRange ¶
type AddressRange struct { // Types that are assignable to Range: // *AddressRange_Ipv4Range // *AddressRange_Ipv6Range Range isAddressRange_Range `protobuf_oneof:"range"` // contains filtered or unexported fields }
AddressRange represents an IPv4 or IPv6 address range
func (*AddressRange) Descriptor
deprecated
func (*AddressRange) Descriptor() ([]byte, []int)
Deprecated: Use AddressRange.ProtoReflect.Descriptor instead.
func (*AddressRange) GetIpv4Range ¶
func (x *AddressRange) GetIpv4Range() *IPRange
func (*AddressRange) GetIpv6Range ¶
func (x *AddressRange) GetIpv6Range() *IPRange
func (*AddressRange) GetRange ¶
func (m *AddressRange) GetRange() isAddressRange_Range
func (*AddressRange) ProtoMessage ¶
func (*AddressRange) ProtoMessage()
func (*AddressRange) ProtoReflect ¶
func (x *AddressRange) ProtoReflect() protoreflect.Message
func (*AddressRange) Reset ¶
func (x *AddressRange) Reset()
func (*AddressRange) String ¶
func (x *AddressRange) String() string
type AddressRange_Ipv4Range ¶
type AddressRange_Ipv4Range struct { // IPv4 address range Ipv4Range *IPRange `protobuf:"bytes,1,opt,name=ipv4_range,json=ipv4Range,proto3,oneof"` }
type AddressRange_Ipv6Range ¶
type AddressRange_Ipv6Range struct { // IPv6 address range Ipv6Range *IPRange `protobuf:"bytes,2,opt,name=ipv6_range,json=ipv6Range,proto3,oneof"` }
type AdminState ¶
type AdminState int32
admin state of control plane objects
const ( // unspecified AdminState_ADMIN_STATE_UNSPECIFIED AdminState = 0 // enable AdminState_ADMIN_STATE_ENABLE AdminState = 1 // disable AdminState_ADMIN_STATE_DISABLE AdminState = 2 )
func (AdminState) Descriptor ¶
func (AdminState) Descriptor() protoreflect.EnumDescriptor
func (AdminState) Enum ¶
func (x AdminState) Enum() *AdminState
func (AdminState) EnumDescriptor
deprecated
func (AdminState) EnumDescriptor() ([]byte, []int)
Deprecated: Use AdminState.Descriptor instead.
func (AdminState) Number ¶
func (x AdminState) Number() protoreflect.EnumNumber
func (AdminState) String ¶
func (x AdminState) String() string
func (AdminState) Type ¶
func (AdminState) Type() protoreflect.EnumType
type Encap ¶
type Encap struct { // encyp type Type EncapType `protobuf:"varint,1,opt,name=type,proto3,enum=opi_api.network.opinetcommon.v1alpha1.EncapType" json:"type,omitempty"` // encap value Value *EncapVal `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
fabric encap
func (*Encap) Descriptor
deprecated
func (*Encap) ProtoMessage ¶
func (*Encap) ProtoMessage()
func (*Encap) ProtoReflect ¶
func (x *Encap) ProtoReflect() protoreflect.Message
type EncapType ¶
type EncapType int32
encap types in the network
func (EncapType) Descriptor ¶
func (EncapType) Descriptor() protoreflect.EnumDescriptor
func (EncapType) EnumDescriptor
deprecated
func (EncapType) Number ¶
func (x EncapType) Number() protoreflect.EnumNumber
func (EncapType) Type ¶
func (EncapType) Type() protoreflect.EnumType
type EncapVal ¶
type EncapVal struct { // Types that are assignable to Val: // *EncapVal_VlanId // *EncapVal_MplsTag // *EncapVal_Vnid // *EncapVal_Vsid Val isEncapVal_Val `protobuf_oneof:"val"` // contains filtered or unexported fields }
tag values for various encap types
func (*EncapVal) Descriptor
deprecated
func (*EncapVal) GetMplsTag ¶
func (*EncapVal) ProtoMessage ¶
func (*EncapVal) ProtoMessage()
func (*EncapVal) ProtoReflect ¶
func (x *EncapVal) ProtoReflect() protoreflect.Message
type EncapVal_MplsTag ¶
type EncapVal_MplsTag struct { // MPLS tag/slot for MPLS over UDP MplsTag int32 `protobuf:"varint,2,opt,name=mpls_tag,json=mplsTag,proto3,oneof"` }
type EncapVal_VlanId ¶
type EncapVal_VlanId struct { // vlan id for DOT1Q VlanId int32 `protobuf:"varint,1,opt,name=vlan_id,json=vlanId,proto3,oneof"` }
type EncapVal_Vnid ¶
type EncapVal_Vnid struct { // VXLAN VNID (24bit value) Vnid int32 `protobuf:"varint,3,opt,name=vnid,proto3,oneof"` }
type EncapVal_Vsid ¶
type EncapVal_Vsid struct { // NVGRE VSID Vsid int32 `protobuf:"varint,5,opt,name=vsid,proto3,oneof"` }
type HwHandle ¶
type HwHandle struct { // hardware handle // (-- api-linter: core::0141::forbidden-types=disabled // aip.dev/not-precedent: hw handle must be uint64. --) Idx uint64 `protobuf:"varint,1,opt,name=idx,proto3" json:"idx,omitempty"` // contains filtered or unexported fields }
Opaque handle to identify the index in hardware
func (*HwHandle) Descriptor
deprecated
func (*HwHandle) ProtoMessage ¶
func (*HwHandle) ProtoMessage()
func (*HwHandle) ProtoReflect ¶
func (x *HwHandle) ProtoReflect() protoreflect.Message
type ICMPMatch ¶
type ICMPMatch struct { // ICMP type // // Types that are assignable to Typematch: // *ICMPMatch_Type // *ICMPMatch_TypeWildcard Typematch isICMPMatch_Typematch `protobuf_oneof:"typematch"` // ICMP code // // Types that are assignable to Codematch: // *ICMPMatch_Code // *ICMPMatch_CodeWildcard Codematch isICMPMatch_Codematch `protobuf_oneof:"codematch"` // contains filtered or unexported fields }
ICMPv4/ICMPv6 rule match criteria
func (*ICMPMatch) Descriptor
deprecated
func (*ICMPMatch) GetCodeWildcard ¶
func (x *ICMPMatch) GetCodeWildcard() WildcardMatch
func (*ICMPMatch) GetCodematch ¶
func (m *ICMPMatch) GetCodematch() isICMPMatch_Codematch
func (*ICMPMatch) GetTypeWildcard ¶
func (x *ICMPMatch) GetTypeWildcard() WildcardMatch
func (*ICMPMatch) GetTypematch ¶
func (m *ICMPMatch) GetTypematch() isICMPMatch_Typematch
func (*ICMPMatch) ProtoMessage ¶
func (*ICMPMatch) ProtoMessage()
func (*ICMPMatch) ProtoReflect ¶
func (x *ICMPMatch) ProtoReflect() protoreflect.Message
type ICMPMatchList ¶
type ICMPMatchList struct { // ICMP type/code list IcmpMatchList []*ICMPMatch `protobuf:"bytes,1,rep,name=icmp_match_list,json=icmpMatchList,proto3" json:"icmp_match_list,omitempty"` // contains filtered or unexported fields }
ICMP type/code match condition list
func (*ICMPMatchList) Descriptor
deprecated
func (*ICMPMatchList) Descriptor() ([]byte, []int)
Deprecated: Use ICMPMatchList.ProtoReflect.Descriptor instead.
func (*ICMPMatchList) GetIcmpMatchList ¶
func (x *ICMPMatchList) GetIcmpMatchList() []*ICMPMatch
func (*ICMPMatchList) ProtoMessage ¶
func (*ICMPMatchList) ProtoMessage()
func (*ICMPMatchList) ProtoReflect ¶
func (x *ICMPMatchList) ProtoReflect() protoreflect.Message
func (*ICMPMatchList) Reset ¶
func (x *ICMPMatchList) Reset()
func (*ICMPMatchList) String ¶
func (x *ICMPMatchList) String() string
type ICMPMatch_Code ¶
type ICMPMatch_Code struct { // match any ICMP code Code int32 `protobuf:"varint,3,opt,name=code,proto3,oneof"` }
type ICMPMatch_CodeWildcard ¶
type ICMPMatch_CodeWildcard struct { // match any ICMP code CodeWildcard WildcardMatch `` /* 130-byte string literal not displayed */ }
type ICMPMatch_Type ¶
type ICMPMatch_Type struct { // match any ICMP type Type int32 `protobuf:"varint,1,opt,name=type,proto3,oneof"` }
type ICMPMatch_TypeWildcard ¶
type ICMPMatch_TypeWildcard struct { // match any ICMP type TypeWildcard WildcardMatch `` /* 130-byte string literal not displayed */ }
type IPAddress ¶
type IPAddress struct { // IP Address family Af IpAf `protobuf:"varint,1,opt,name=af,proto3,enum=opi_api.network.opinetcommon.v1alpha1.IpAf" json:"af,omitempty"` // IP address family // // Types that are assignable to V4OrV6: // *IPAddress_V4Addr // *IPAddress_V6Addr V4OrV6 isIPAddress_V4OrV6 `protobuf_oneof:"v4_or_v6"` // contains filtered or unexported fields }
IP Address object
func (*IPAddress) Descriptor
deprecated
func (*IPAddress) ProtoMessage ¶
func (*IPAddress) ProtoMessage()
func (*IPAddress) ProtoReflect ¶
func (x *IPAddress) ProtoReflect() protoreflect.Message
type IPAddress_V4Addr ¶
type IPAddress_V4Addr struct { // IPv4 address // (-- api-linter: core::0141::forbidden-types=disabled // aip.dev/not-precedent: must use fixed32 --) V4Addr uint32 `protobuf:"fixed32,2,opt,name=v4_addr,json=v4Addr,proto3,oneof"` }
type IPAddress_V6Addr ¶
type IPAddress_V6Addr struct { // IPv6 address V6Addr []byte `protobuf:"bytes,3,opt,name=v6_addr,json=v6Addr,proto3,oneof"` }
type IPEntry ¶
type IPEntry struct { // Types that are assignable to IpEntry: // *IPEntry_Prefix // *IPEntry_Range // *IPEntry_Tag IpEntry isIPEntry_IpEntry `protobuf_oneof:"ip_entry"` // contains filtered or unexported fields }
IPEntry represents any form of IP address/prefix/range/tag etc.
func (*IPEntry) Descriptor
deprecated
func (*IPEntry) GetIpEntry ¶
func (m *IPEntry) GetIpEntry() isIPEntry_IpEntry
func (*IPEntry) GetRange ¶
func (x *IPEntry) GetRange() *AddressRange
func (*IPEntry) ProtoMessage ¶
func (*IPEntry) ProtoMessage()
func (*IPEntry) ProtoReflect ¶
func (x *IPEntry) ProtoReflect() protoreflect.Message
type IPEntry_Prefix ¶
type IPEntry_Prefix struct { // IP prefix Prefix *IPPrefix `protobuf:"bytes,1,opt,name=prefix,proto3,oneof"` }
type IPEntry_Range ¶
type IPEntry_Range struct { // IP range Range *AddressRange `protobuf:"bytes,2,opt,name=range,proto3,oneof"` }
type IPEntry_Tag ¶
type IPEntry_Tag struct { // tag that represents IP addres/pfx/range, range:1-4294967294 Tag int32 `protobuf:"varint,3,opt,name=tag,proto3,oneof"` }
type IPList ¶
type IPList struct { // list of ip entries (prefix, range) IpEntries []*IPEntry `protobuf:"bytes,1,rep,name=ip_entries,json=ipEntries,proto3" json:"ip_entries,omitempty"` // contains filtered or unexported fields }
IPList is a list of IPEntry objects
func (*IPList) Descriptor
deprecated
func (*IPList) GetIpEntries ¶
func (*IPList) ProtoMessage ¶
func (*IPList) ProtoMessage()
func (*IPList) ProtoReflect ¶
func (x *IPList) ProtoReflect() protoreflect.Message
type IPPrefix ¶
type IPPrefix struct { // IP prefix address Addr *IPAddress `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // IP Prefix length (range:0-128) Len int32 `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"` // contains filtered or unexported fields }
IP Prefix object
func (*IPPrefix) Descriptor
deprecated
func (*IPPrefix) ProtoMessage ¶
func (*IPPrefix) ProtoMessage()
func (*IPPrefix) ProtoReflect ¶
func (x *IPPrefix) ProtoReflect() protoreflect.Message
type IPRange ¶
type IPRange struct { // starting IP address Low *IPAddress `protobuf:"bytes,1,opt,name=low,proto3" json:"low,omitempty"` // ending IP address High *IPAddress `protobuf:"bytes,2,opt,name=high,proto3" json:"high,omitempty"` // contains filtered or unexported fields }
IP Range
func (*IPRange) Descriptor
deprecated
func (*IPRange) ProtoMessage ¶
func (*IPRange) ProtoMessage()
func (*IPRange) ProtoReflect ¶
func (x *IPRange) ProtoReflect() protoreflect.Message
type IPv4Prefix ¶
type IPv4Prefix struct { // IPv4 address portion // (-- api-linter: core::0141::forbidden-types=disabled // aip.dev/not-precedent: must use fixed32 --) Addr uint32 `protobuf:"fixed32,1,opt,name=addr,proto3" json:"addr,omitempty"` // prefix length; range:0-32 Len int32 `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"` // contains filtered or unexported fields }
IPv4 Prefix
func (*IPv4Prefix) Descriptor
deprecated
func (*IPv4Prefix) Descriptor() ([]byte, []int)
Deprecated: Use IPv4Prefix.ProtoReflect.Descriptor instead.
func (*IPv4Prefix) GetAddr ¶
func (x *IPv4Prefix) GetAddr() uint32
func (*IPv4Prefix) GetLen ¶
func (x *IPv4Prefix) GetLen() int32
func (*IPv4Prefix) ProtoMessage ¶
func (*IPv4Prefix) ProtoMessage()
func (*IPv4Prefix) ProtoReflect ¶
func (x *IPv4Prefix) ProtoReflect() protoreflect.Message
func (*IPv4Prefix) Reset ¶
func (x *IPv4Prefix) Reset()
func (*IPv4Prefix) String ¶
func (x *IPv4Prefix) String() string
type IPv6Prefix ¶
type IPv6Prefix struct { // IPv6 address bytes Addr []byte `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // prefix length: range:0-128 Len int32 `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"` // contains filtered or unexported fields }
IPv6 Prefix
func (*IPv6Prefix) Descriptor
deprecated
func (*IPv6Prefix) Descriptor() ([]byte, []int)
Deprecated: Use IPv6Prefix.ProtoReflect.Descriptor instead.
func (*IPv6Prefix) GetAddr ¶
func (x *IPv6Prefix) GetAddr() []byte
func (*IPv6Prefix) GetLen ¶
func (x *IPv6Prefix) GetLen() int32
func (*IPv6Prefix) ProtoMessage ¶
func (*IPv6Prefix) ProtoMessage()
func (*IPv6Prefix) ProtoReflect ¶
func (x *IPv6Prefix) ProtoReflect() protoreflect.Message
func (*IPv6Prefix) Reset ¶
func (x *IPv6Prefix) Reset()
func (*IPv6Prefix) String ¶
func (x *IPv6Prefix) String() string
type Interface ¶
type Interface struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Config *Interface_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` State *Interface_State `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` Holdtime *Interface_HoldTime `protobuf:"bytes,4,opt,name=holdtime,proto3" json:"holdtime,omitempty"` Subinterfaces *Interface_Subinterfaces `protobuf:"bytes,5,opt,name=subinterfaces,proto3" json:"subinterfaces,omitempty"` // contains filtered or unexported fields }
Main Data Structure
func (*Interface) Descriptor
deprecated
func (*Interface) GetConfig ¶
func (x *Interface) GetConfig() *Interface_Config
func (*Interface) GetHoldtime ¶
func (x *Interface) GetHoldtime() *Interface_HoldTime
func (*Interface) GetState ¶
func (x *Interface) GetState() *Interface_State
func (*Interface) GetSubinterfaces ¶
func (x *Interface) GetSubinterfaces() *Interface_Subinterfaces
func (*Interface) ProtoMessage ¶
func (*Interface) ProtoMessage()
func (*Interface) ProtoReflect ¶
func (x *Interface) ProtoReflect() protoreflect.Message
type InterfaceState ¶
type InterfaceState int32
const ( InterfaceState_DOWN InterfaceState = 0 InterfaceState_UP InterfaceState = 1 )
func (InterfaceState) Descriptor ¶
func (InterfaceState) Descriptor() protoreflect.EnumDescriptor
func (InterfaceState) Enum ¶
func (x InterfaceState) Enum() *InterfaceState
func (InterfaceState) EnumDescriptor
deprecated
func (InterfaceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use InterfaceState.Descriptor instead.
func (InterfaceState) Number ¶
func (x InterfaceState) Number() protoreflect.EnumNumber
func (InterfaceState) String ¶
func (x InterfaceState) String() string
func (InterfaceState) Type ¶
func (InterfaceState) Type() protoreflect.EnumType
type InterfaceType ¶
type InterfaceType int32
Data Types
const ( InterfaceType_ETHERNET InterfaceType = 0 InterfaceType_LOOPBACK InterfaceType = 1 )
func (InterfaceType) Descriptor ¶
func (InterfaceType) Descriptor() protoreflect.EnumDescriptor
func (InterfaceType) Enum ¶
func (x InterfaceType) Enum() *InterfaceType
func (InterfaceType) EnumDescriptor
deprecated
func (InterfaceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use InterfaceType.Descriptor instead.
func (InterfaceType) Number ¶
func (x InterfaceType) Number() protoreflect.EnumNumber
func (InterfaceType) String ¶
func (x InterfaceType) String() string
func (InterfaceType) Type ¶
func (InterfaceType) Type() protoreflect.EnumType
type Interface_Config ¶
type Interface_Config struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type InterfaceType `protobuf:"varint,2,opt,name=type,proto3,enum=opi_api.network.v1.InterfaceType" json:"type,omitempty"` Mtu uint32 `protobuf:"varint,3,opt,name=mtu,proto3" json:"mtu,omitempty"` LoopbackMode bool `protobuf:"varint,4,opt,name=loopback_mode,json=loopbackMode,proto3" json:"loopback_mode,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*Interface_Config) Descriptor
deprecated
func (*Interface_Config) Descriptor() ([]byte, []int)
Deprecated: Use Interface_Config.ProtoReflect.Descriptor instead.
func (*Interface_Config) GetDescription ¶
func (x *Interface_Config) GetDescription() string
func (*Interface_Config) GetEnabled ¶
func (x *Interface_Config) GetEnabled() bool
func (*Interface_Config) GetLoopbackMode ¶
func (x *Interface_Config) GetLoopbackMode() bool
func (*Interface_Config) GetMtu ¶
func (x *Interface_Config) GetMtu() uint32
func (*Interface_Config) GetName ¶
func (x *Interface_Config) GetName() string
func (*Interface_Config) GetType ¶
func (x *Interface_Config) GetType() InterfaceType
func (*Interface_Config) ProtoMessage ¶
func (*Interface_Config) ProtoMessage()
func (*Interface_Config) ProtoReflect ¶
func (x *Interface_Config) ProtoReflect() protoreflect.Message
func (*Interface_Config) Reset ¶
func (x *Interface_Config) Reset()
func (*Interface_Config) String ¶
func (x *Interface_Config) String() string
type Interface_HoldTime ¶
type Interface_HoldTime struct { Config *Interface_HoldTime_Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` State *Interface_HoldTime_State `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*Interface_HoldTime) Descriptor
deprecated
func (*Interface_HoldTime) Descriptor() ([]byte, []int)
Deprecated: Use Interface_HoldTime.ProtoReflect.Descriptor instead.
func (*Interface_HoldTime) GetConfig ¶
func (x *Interface_HoldTime) GetConfig() *Interface_HoldTime_Config
func (*Interface_HoldTime) GetState ¶
func (x *Interface_HoldTime) GetState() *Interface_HoldTime_State
func (*Interface_HoldTime) ProtoMessage ¶
func (*Interface_HoldTime) ProtoMessage()
func (*Interface_HoldTime) ProtoReflect ¶
func (x *Interface_HoldTime) ProtoReflect() protoreflect.Message
func (*Interface_HoldTime) Reset ¶
func (x *Interface_HoldTime) Reset()
func (*Interface_HoldTime) String ¶
func (x *Interface_HoldTime) String() string
type Interface_HoldTime_Config ¶
type Interface_HoldTime_Config struct { Up uint32 `protobuf:"varint,1,opt,name=up,proto3" json:"up,omitempty"` Down uint32 `protobuf:"varint,2,opt,name=down,proto3" json:"down,omitempty"` // contains filtered or unexported fields }
func (*Interface_HoldTime_Config) Descriptor
deprecated
func (*Interface_HoldTime_Config) Descriptor() ([]byte, []int)
Deprecated: Use Interface_HoldTime_Config.ProtoReflect.Descriptor instead.
func (*Interface_HoldTime_Config) GetDown ¶
func (x *Interface_HoldTime_Config) GetDown() uint32
func (*Interface_HoldTime_Config) GetUp ¶
func (x *Interface_HoldTime_Config) GetUp() uint32
func (*Interface_HoldTime_Config) ProtoMessage ¶
func (*Interface_HoldTime_Config) ProtoMessage()
func (*Interface_HoldTime_Config) ProtoReflect ¶
func (x *Interface_HoldTime_Config) ProtoReflect() protoreflect.Message
func (*Interface_HoldTime_Config) Reset ¶
func (x *Interface_HoldTime_Config) Reset()
func (*Interface_HoldTime_Config) String ¶
func (x *Interface_HoldTime_Config) String() string
type Interface_HoldTime_State ¶
type Interface_HoldTime_State struct { Up uint32 `protobuf:"varint,1,opt,name=up,proto3" json:"up,omitempty"` Down uint32 `protobuf:"varint,2,opt,name=down,proto3" json:"down,omitempty"` // contains filtered or unexported fields }
func (*Interface_HoldTime_State) Descriptor
deprecated
func (*Interface_HoldTime_State) Descriptor() ([]byte, []int)
Deprecated: Use Interface_HoldTime_State.ProtoReflect.Descriptor instead.
func (*Interface_HoldTime_State) GetDown ¶
func (x *Interface_HoldTime_State) GetDown() uint32
func (*Interface_HoldTime_State) GetUp ¶
func (x *Interface_HoldTime_State) GetUp() uint32
func (*Interface_HoldTime_State) ProtoMessage ¶
func (*Interface_HoldTime_State) ProtoMessage()
func (*Interface_HoldTime_State) ProtoReflect ¶
func (x *Interface_HoldTime_State) ProtoReflect() protoreflect.Message
func (*Interface_HoldTime_State) Reset ¶
func (x *Interface_HoldTime_State) Reset()
func (*Interface_HoldTime_State) String ¶
func (x *Interface_HoldTime_State) String() string
type Interface_State ¶
type Interface_State struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type InterfaceType `protobuf:"varint,2,opt,name=type,proto3,enum=opi_api.network.v1.InterfaceType" json:"type,omitempty"` Mtu uint32 `protobuf:"varint,3,opt,name=mtu,proto3" json:"mtu,omitempty"` LoopbackMode bool `protobuf:"varint,4,opt,name=loopback_mode,json=loopbackMode,proto3" json:"loopback_mode,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"` Ifindex uint32 `protobuf:"varint,7,opt,name=ifindex,proto3" json:"ifindex,omitempty"` AdminStatus InterfaceState `` /* 134-byte string literal not displayed */ OperStatus InterfaceState `` /* 131-byte string literal not displayed */ LastChange uint64 `protobuf:"varint,10,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"` Logical bool `protobuf:"varint,11,opt,name=logical,proto3" json:"logical,omitempty"` Management bool `protobuf:"varint,12,opt,name=management,proto3" json:"management,omitempty"` Cpu bool `protobuf:"varint,13,opt,name=cpu,proto3" json:"cpu,omitempty"` Counters *Interface_State_Counters `protobuf:"bytes,14,opt,name=counters,proto3" json:"counters,omitempty"` // contains filtered or unexported fields }
func (*Interface_State) Descriptor
deprecated
func (*Interface_State) Descriptor() ([]byte, []int)
Deprecated: Use Interface_State.ProtoReflect.Descriptor instead.
func (*Interface_State) GetAdminStatus ¶
func (x *Interface_State) GetAdminStatus() InterfaceState
func (*Interface_State) GetCounters ¶
func (x *Interface_State) GetCounters() *Interface_State_Counters
func (*Interface_State) GetCpu ¶
func (x *Interface_State) GetCpu() bool
func (*Interface_State) GetDescription ¶
func (x *Interface_State) GetDescription() string
func (*Interface_State) GetEnabled ¶
func (x *Interface_State) GetEnabled() bool
func (*Interface_State) GetIfindex ¶
func (x *Interface_State) GetIfindex() uint32
func (*Interface_State) GetLastChange ¶
func (x *Interface_State) GetLastChange() uint64
func (*Interface_State) GetLogical ¶
func (x *Interface_State) GetLogical() bool
func (*Interface_State) GetLoopbackMode ¶
func (x *Interface_State) GetLoopbackMode() bool
func (*Interface_State) GetManagement ¶
func (x *Interface_State) GetManagement() bool
func (*Interface_State) GetMtu ¶
func (x *Interface_State) GetMtu() uint32
func (*Interface_State) GetName ¶
func (x *Interface_State) GetName() string
func (*Interface_State) GetOperStatus ¶
func (x *Interface_State) GetOperStatus() InterfaceState
func (*Interface_State) GetType ¶
func (x *Interface_State) GetType() InterfaceType
func (*Interface_State) ProtoMessage ¶
func (*Interface_State) ProtoMessage()
func (*Interface_State) ProtoReflect ¶
func (x *Interface_State) ProtoReflect() protoreflect.Message
func (*Interface_State) Reset ¶
func (x *Interface_State) Reset()
func (*Interface_State) String ¶
func (x *Interface_State) String() string
type Interface_State_Counters ¶
type Interface_State_Counters struct { InOctets uint64 `protobuf:"varint,1,opt,name=in_octets,json=inOctets,proto3" json:"in_octets,omitempty"` InPackets uint64 `protobuf:"varint,2,opt,name=in_packets,json=inPackets,proto3" json:"in_packets,omitempty"` InUnicastPkts uint64 `protobuf:"varint,3,opt,name=in_unicast_pkts,json=inUnicastPkts,proto3" json:"in_unicast_pkts,omitempty"` InBroadcastPkts uint64 `protobuf:"varint,4,opt,name=in_broadcast_pkts,json=inBroadcastPkts,proto3" json:"in_broadcast_pkts,omitempty"` InMulticastPkts uint64 `protobuf:"varint,5,opt,name=in_multicast_pkts,json=inMulticastPkts,proto3" json:"in_multicast_pkts,omitempty"` InDiscards uint64 `protobuf:"varint,6,opt,name=in_discards,json=inDiscards,proto3" json:"in_discards,omitempty"` InErrors uint64 `protobuf:"varint,7,opt,name=in_errors,json=inErrors,proto3" json:"in_errors,omitempty"` InUnknownProtos uint64 `protobuf:"varint,8,opt,name=in_unknown_protos,json=inUnknownProtos,proto3" json:"in_unknown_protos,omitempty"` InFcsErrors uint64 `protobuf:"varint,9,opt,name=in_fcs_errors,json=inFcsErrors,proto3" json:"in_fcs_errors,omitempty"` OutOctets uint64 `protobuf:"varint,10,opt,name=out_octets,json=outOctets,proto3" json:"out_octets,omitempty"` OutPackets uint64 `protobuf:"varint,11,opt,name=out_packets,json=outPackets,proto3" json:"out_packets,omitempty"` OutUnicastPkts uint64 `protobuf:"varint,12,opt,name=out_unicast_pkts,json=outUnicastPkts,proto3" json:"out_unicast_pkts,omitempty"` OutBroadcastPkts uint64 `protobuf:"varint,13,opt,name=out_broadcast_pkts,json=outBroadcastPkts,proto3" json:"out_broadcast_pkts,omitempty"` OutMulticastPkts uint64 `protobuf:"varint,14,opt,name=out_multicast_pkts,json=outMulticastPkts,proto3" json:"out_multicast_pkts,omitempty"` OutDiscards uint64 `protobuf:"varint,15,opt,name=out_discards,json=outDiscards,proto3" json:"out_discards,omitempty"` OutErrors uint64 `protobuf:"varint,16,opt,name=out_errors,json=outErrors,proto3" json:"out_errors,omitempty"` CarrierTransitions uint64 `protobuf:"varint,17,opt,name=carrier_transitions,json=carrierTransitions,proto3" json:"carrier_transitions,omitempty"` LastClear uint64 `protobuf:"varint,18,opt,name=last_clear,json=lastClear,proto3" json:"last_clear,omitempty"` // contains filtered or unexported fields }
func (*Interface_State_Counters) Descriptor
deprecated
func (*Interface_State_Counters) Descriptor() ([]byte, []int)
Deprecated: Use Interface_State_Counters.ProtoReflect.Descriptor instead.
func (*Interface_State_Counters) GetCarrierTransitions ¶
func (x *Interface_State_Counters) GetCarrierTransitions() uint64
func (*Interface_State_Counters) GetInBroadcastPkts ¶
func (x *Interface_State_Counters) GetInBroadcastPkts() uint64
func (*Interface_State_Counters) GetInDiscards ¶
func (x *Interface_State_Counters) GetInDiscards() uint64
func (*Interface_State_Counters) GetInErrors ¶
func (x *Interface_State_Counters) GetInErrors() uint64
func (*Interface_State_Counters) GetInFcsErrors ¶
func (x *Interface_State_Counters) GetInFcsErrors() uint64
func (*Interface_State_Counters) GetInMulticastPkts ¶
func (x *Interface_State_Counters) GetInMulticastPkts() uint64
func (*Interface_State_Counters) GetInOctets ¶
func (x *Interface_State_Counters) GetInOctets() uint64
func (*Interface_State_Counters) GetInPackets ¶
func (x *Interface_State_Counters) GetInPackets() uint64
func (*Interface_State_Counters) GetInUnicastPkts ¶
func (x *Interface_State_Counters) GetInUnicastPkts() uint64
func (*Interface_State_Counters) GetInUnknownProtos ¶
func (x *Interface_State_Counters) GetInUnknownProtos() uint64
func (*Interface_State_Counters) GetLastClear ¶
func (x *Interface_State_Counters) GetLastClear() uint64
func (*Interface_State_Counters) GetOutBroadcastPkts ¶
func (x *Interface_State_Counters) GetOutBroadcastPkts() uint64
func (*Interface_State_Counters) GetOutDiscards ¶
func (x *Interface_State_Counters) GetOutDiscards() uint64
func (*Interface_State_Counters) GetOutErrors ¶
func (x *Interface_State_Counters) GetOutErrors() uint64
func (*Interface_State_Counters) GetOutMulticastPkts ¶
func (x *Interface_State_Counters) GetOutMulticastPkts() uint64
func (*Interface_State_Counters) GetOutOctets ¶
func (x *Interface_State_Counters) GetOutOctets() uint64
func (*Interface_State_Counters) GetOutPackets ¶
func (x *Interface_State_Counters) GetOutPackets() uint64
func (*Interface_State_Counters) GetOutUnicastPkts ¶
func (x *Interface_State_Counters) GetOutUnicastPkts() uint64
func (*Interface_State_Counters) ProtoMessage ¶
func (*Interface_State_Counters) ProtoMessage()
func (*Interface_State_Counters) ProtoReflect ¶
func (x *Interface_State_Counters) ProtoReflect() protoreflect.Message
func (*Interface_State_Counters) Reset ¶
func (x *Interface_State_Counters) Reset()
func (*Interface_State_Counters) String ¶
func (x *Interface_State_Counters) String() string
type Interface_Subinterfaces ¶
type Interface_Subinterfaces struct { Subinterface []*Interface_Subinterfaces_Subinterface `protobuf:"bytes,2,rep,name=subinterface,proto3" json:"subinterface,omitempty"` // contains filtered or unexported fields }
func (*Interface_Subinterfaces) Descriptor
deprecated
func (*Interface_Subinterfaces) Descriptor() ([]byte, []int)
Deprecated: Use Interface_Subinterfaces.ProtoReflect.Descriptor instead.
func (*Interface_Subinterfaces) GetSubinterface ¶
func (x *Interface_Subinterfaces) GetSubinterface() []*Interface_Subinterfaces_Subinterface
func (*Interface_Subinterfaces) ProtoMessage ¶
func (*Interface_Subinterfaces) ProtoMessage()
func (*Interface_Subinterfaces) ProtoReflect ¶
func (x *Interface_Subinterfaces) ProtoReflect() protoreflect.Message
func (*Interface_Subinterfaces) Reset ¶
func (x *Interface_Subinterfaces) Reset()
func (*Interface_Subinterfaces) String ¶
func (x *Interface_Subinterfaces) String() string
type Interface_Subinterfaces_Subinterface ¶
type Interface_Subinterfaces_Subinterface struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Config *Interface_Subinterfaces_Subinterface_Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` State *Interface_Subinterfaces_Subinterface_State `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*Interface_Subinterfaces_Subinterface) Descriptor
deprecated
func (*Interface_Subinterfaces_Subinterface) Descriptor() ([]byte, []int)
Deprecated: Use Interface_Subinterfaces_Subinterface.ProtoReflect.Descriptor instead.
func (*Interface_Subinterfaces_Subinterface) GetConfig ¶
func (x *Interface_Subinterfaces_Subinterface) GetConfig() *Interface_Subinterfaces_Subinterface_Config
func (*Interface_Subinterfaces_Subinterface) GetIndex ¶
func (x *Interface_Subinterfaces_Subinterface) GetIndex() uint64
func (*Interface_Subinterfaces_Subinterface) GetState ¶
func (x *Interface_Subinterfaces_Subinterface) GetState() *Interface_Subinterfaces_Subinterface_State
func (*Interface_Subinterfaces_Subinterface) ProtoMessage ¶
func (*Interface_Subinterfaces_Subinterface) ProtoMessage()
func (*Interface_Subinterfaces_Subinterface) ProtoReflect ¶
func (x *Interface_Subinterfaces_Subinterface) ProtoReflect() protoreflect.Message
func (*Interface_Subinterfaces_Subinterface) Reset ¶
func (x *Interface_Subinterfaces_Subinterface) Reset()
func (*Interface_Subinterfaces_Subinterface) String ¶
func (x *Interface_Subinterfaces_Subinterface) String() string
type Interface_Subinterfaces_Subinterface_Config ¶
type Interface_Subinterfaces_Subinterface_Config struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*Interface_Subinterfaces_Subinterface_Config) Descriptor
deprecated
func (*Interface_Subinterfaces_Subinterface_Config) Descriptor() ([]byte, []int)
Deprecated: Use Interface_Subinterfaces_Subinterface_Config.ProtoReflect.Descriptor instead.
func (*Interface_Subinterfaces_Subinterface_Config) GetDescription ¶
func (x *Interface_Subinterfaces_Subinterface_Config) GetDescription() string
func (*Interface_Subinterfaces_Subinterface_Config) GetEnabled ¶
func (x *Interface_Subinterfaces_Subinterface_Config) GetEnabled() bool
func (*Interface_Subinterfaces_Subinterface_Config) GetIndex ¶
func (x *Interface_Subinterfaces_Subinterface_Config) GetIndex() uint64
func (*Interface_Subinterfaces_Subinterface_Config) ProtoMessage ¶
func (*Interface_Subinterfaces_Subinterface_Config) ProtoMessage()
func (*Interface_Subinterfaces_Subinterface_Config) ProtoReflect ¶
func (x *Interface_Subinterfaces_Subinterface_Config) ProtoReflect() protoreflect.Message
func (*Interface_Subinterfaces_Subinterface_Config) Reset ¶
func (x *Interface_Subinterfaces_Subinterface_Config) Reset()
func (*Interface_Subinterfaces_Subinterface_Config) String ¶
func (x *Interface_Subinterfaces_Subinterface_Config) String() string
type Interface_Subinterfaces_Subinterface_State ¶
type Interface_Subinterfaces_Subinterface_State struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Ifindex uint32 `protobuf:"varint,5,opt,name=ifindex,proto3" json:"ifindex,omitempty"` AdminStatus InterfaceState `` /* 134-byte string literal not displayed */ OperStatus InterfaceState `` /* 131-byte string literal not displayed */ LastChange uint64 `protobuf:"varint,10,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"` Logical bool `protobuf:"varint,11,opt,name=logical,proto3" json:"logical,omitempty"` Management bool `protobuf:"varint,12,opt,name=management,proto3" json:"management,omitempty"` Cpu bool `protobuf:"varint,13,opt,name=cpu,proto3" json:"cpu,omitempty"` Counters *Interface_Subinterfaces_Subinterface_State_Counters `protobuf:"bytes,14,opt,name=counters,proto3" json:"counters,omitempty"` // contains filtered or unexported fields }
func (*Interface_Subinterfaces_Subinterface_State) Descriptor
deprecated
func (*Interface_Subinterfaces_Subinterface_State) Descriptor() ([]byte, []int)
Deprecated: Use Interface_Subinterfaces_Subinterface_State.ProtoReflect.Descriptor instead.
func (*Interface_Subinterfaces_Subinterface_State) GetAdminStatus ¶
func (x *Interface_Subinterfaces_Subinterface_State) GetAdminStatus() InterfaceState
func (*Interface_Subinterfaces_Subinterface_State) GetCounters ¶
func (x *Interface_Subinterfaces_Subinterface_State) GetCounters() *Interface_Subinterfaces_Subinterface_State_Counters
func (*Interface_Subinterfaces_Subinterface_State) GetCpu ¶
func (x *Interface_Subinterfaces_Subinterface_State) GetCpu() bool
func (*Interface_Subinterfaces_Subinterface_State) GetDescription ¶
func (x *Interface_Subinterfaces_Subinterface_State) GetDescription() string
func (*Interface_Subinterfaces_Subinterface_State) GetEnabled ¶
func (x *Interface_Subinterfaces_Subinterface_State) GetEnabled() bool
func (*Interface_Subinterfaces_Subinterface_State) GetIfindex ¶
func (x *Interface_Subinterfaces_Subinterface_State) GetIfindex() uint32
func (*Interface_Subinterfaces_Subinterface_State) GetIndex ¶
func (x *Interface_Subinterfaces_Subinterface_State) GetIndex() uint32
func (*Interface_Subinterfaces_Subinterface_State) GetLastChange ¶
func (x *Interface_Subinterfaces_Subinterface_State) GetLastChange() uint64
func (*Interface_Subinterfaces_Subinterface_State) GetLogical ¶
func (x *Interface_Subinterfaces_Subinterface_State) GetLogical() bool
func (*Interface_Subinterfaces_Subinterface_State) GetManagement ¶
func (x *Interface_Subinterfaces_Subinterface_State) GetManagement() bool
func (*Interface_Subinterfaces_Subinterface_State) GetName ¶
func (x *Interface_Subinterfaces_Subinterface_State) GetName() string
func (*Interface_Subinterfaces_Subinterface_State) GetOperStatus ¶
func (x *Interface_Subinterfaces_Subinterface_State) GetOperStatus() InterfaceState
func (*Interface_Subinterfaces_Subinterface_State) ProtoMessage ¶
func (*Interface_Subinterfaces_Subinterface_State) ProtoMessage()
func (*Interface_Subinterfaces_Subinterface_State) ProtoReflect ¶
func (x *Interface_Subinterfaces_Subinterface_State) ProtoReflect() protoreflect.Message
func (*Interface_Subinterfaces_Subinterface_State) Reset ¶
func (x *Interface_Subinterfaces_Subinterface_State) Reset()
func (*Interface_Subinterfaces_Subinterface_State) String ¶
func (x *Interface_Subinterfaces_Subinterface_State) String() string
type Interface_Subinterfaces_Subinterface_State_Counters ¶
type Interface_Subinterfaces_Subinterface_State_Counters struct { InOctets uint64 `protobuf:"varint,1,opt,name=in_octets,json=inOctets,proto3" json:"in_octets,omitempty"` InPackets uint64 `protobuf:"varint,2,opt,name=in_packets,json=inPackets,proto3" json:"in_packets,omitempty"` InUnicastPkts uint64 `protobuf:"varint,3,opt,name=in_unicast_pkts,json=inUnicastPkts,proto3" json:"in_unicast_pkts,omitempty"` InBroadcastPkts uint64 `protobuf:"varint,4,opt,name=in_broadcast_pkts,json=inBroadcastPkts,proto3" json:"in_broadcast_pkts,omitempty"` InMulticastPkts uint64 `protobuf:"varint,5,opt,name=in_multicast_pkts,json=inMulticastPkts,proto3" json:"in_multicast_pkts,omitempty"` InDiscards uint64 `protobuf:"varint,6,opt,name=in_discards,json=inDiscards,proto3" json:"in_discards,omitempty"` InErrors uint64 `protobuf:"varint,7,opt,name=in_errors,json=inErrors,proto3" json:"in_errors,omitempty"` InUnknownProtos uint64 `protobuf:"varint,8,opt,name=in_unknown_protos,json=inUnknownProtos,proto3" json:"in_unknown_protos,omitempty"` InFcsErrors uint64 `protobuf:"varint,9,opt,name=in_fcs_errors,json=inFcsErrors,proto3" json:"in_fcs_errors,omitempty"` OutOctets uint64 `protobuf:"varint,10,opt,name=out_octets,json=outOctets,proto3" json:"out_octets,omitempty"` OutPackets uint64 `protobuf:"varint,11,opt,name=out_packets,json=outPackets,proto3" json:"out_packets,omitempty"` OutUnicastPkts uint64 `protobuf:"varint,12,opt,name=out_unicast_pkts,json=outUnicastPkts,proto3" json:"out_unicast_pkts,omitempty"` OutBroadcastPkts uint64 `protobuf:"varint,13,opt,name=out_broadcast_pkts,json=outBroadcastPkts,proto3" json:"out_broadcast_pkts,omitempty"` OutMulticastPkts uint64 `protobuf:"varint,14,opt,name=out_multicast_pkts,json=outMulticastPkts,proto3" json:"out_multicast_pkts,omitempty"` OutDiscards uint64 `protobuf:"varint,15,opt,name=out_discards,json=outDiscards,proto3" json:"out_discards,omitempty"` OutErrors uint64 `protobuf:"varint,16,opt,name=out_errors,json=outErrors,proto3" json:"out_errors,omitempty"` CarrierTransitions uint64 `protobuf:"varint,17,opt,name=carrier_transitions,json=carrierTransitions,proto3" json:"carrier_transitions,omitempty"` LastClear uint64 `protobuf:"varint,18,opt,name=last_clear,json=lastClear,proto3" json:"last_clear,omitempty"` // contains filtered or unexported fields }
func (*Interface_Subinterfaces_Subinterface_State_Counters) Descriptor
deprecated
func (*Interface_Subinterfaces_Subinterface_State_Counters) Descriptor() ([]byte, []int)
Deprecated: Use Interface_Subinterfaces_Subinterface_State_Counters.ProtoReflect.Descriptor instead.
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetCarrierTransitions ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetCarrierTransitions() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetInBroadcastPkts ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInBroadcastPkts() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetInDiscards ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInDiscards() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetInErrors ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInErrors() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetInFcsErrors ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInFcsErrors() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetInMulticastPkts ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInMulticastPkts() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetInOctets ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInOctets() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetInPackets ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInPackets() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetInUnicastPkts ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInUnicastPkts() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetInUnknownProtos ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetInUnknownProtos() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetLastClear ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetLastClear() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetOutBroadcastPkts ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutBroadcastPkts() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetOutDiscards ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutDiscards() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetOutErrors ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutErrors() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetOutMulticastPkts ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutMulticastPkts() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetOutOctets ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutOctets() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetOutPackets ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutPackets() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) GetOutUnicastPkts ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) GetOutUnicastPkts() uint64
func (*Interface_Subinterfaces_Subinterface_State_Counters) ProtoMessage ¶
func (*Interface_Subinterfaces_Subinterface_State_Counters) ProtoMessage()
func (*Interface_Subinterfaces_Subinterface_State_Counters) ProtoReflect ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) ProtoReflect() protoreflect.Message
func (*Interface_Subinterfaces_Subinterface_State_Counters) Reset ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) Reset()
func (*Interface_Subinterfaces_Subinterface_State_Counters) String ¶
func (x *Interface_Subinterfaces_Subinterface_State_Counters) String() string
type Interfaces ¶
type Interfaces struct { Interface []*Interface `protobuf:"bytes,1,rep,name=interface,proto3" json:"interface,omitempty"` // contains filtered or unexported fields }
func (*Interfaces) Descriptor
deprecated
func (*Interfaces) Descriptor() ([]byte, []int)
Deprecated: Use Interfaces.ProtoReflect.Descriptor instead.
func (*Interfaces) GetInterface ¶
func (x *Interfaces) GetInterface() []*Interface
func (*Interfaces) ProtoMessage ¶
func (*Interfaces) ProtoMessage()
func (*Interfaces) ProtoReflect ¶
func (x *Interfaces) ProtoReflect() protoreflect.Message
func (*Interfaces) Reset ¶
func (x *Interfaces) Reset()
func (*Interfaces) String ¶
func (x *Interfaces) String() string
type IpAf ¶
type IpAf int32
IP address families
func (IpAf) Descriptor ¶
func (IpAf) Descriptor() protoreflect.EnumDescriptor
func (IpAf) EnumDescriptor
deprecated
func (IpAf) Number ¶
func (x IpAf) Number() protoreflect.EnumNumber
func (IpAf) Type ¶
func (IpAf) Type() protoreflect.EnumType
type NetInterfaceClient ¶
type NetInterfaceClient interface { // Retrieves the interface information for a given interface NetInterfaceGet(ctx context.Context, in *NetInterfaceGetRequest, opts ...grpc.CallOption) (*NetInterfaceGetResponse, error) // Retrieves the set of interfaces on the device NetInterfaceList(ctx context.Context, in *NetInterfaceListRequest, opts ...grpc.CallOption) (*NetInterfaceListResponse, error) // A method for setting or changing configuration of an interface NetInterfaceUpdate(ctx context.Context, in *NetInterfaceUpdateRequest, opts ...grpc.CallOption) (*NetInterfaceUpdateResponse, error) }
NetInterfaceClient is the client API for NetInterface service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNetInterfaceClient ¶
func NewNetInterfaceClient(cc grpc.ClientConnInterface) NetInterfaceClient
type NetInterfaceGetRequest ¶
type NetInterfaceGetRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*NetInterfaceGetRequest) Descriptor
deprecated
func (*NetInterfaceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetInterfaceGetRequest.ProtoReflect.Descriptor instead.
func (*NetInterfaceGetRequest) GetName ¶
func (x *NetInterfaceGetRequest) GetName() string
func (*NetInterfaceGetRequest) ProtoMessage ¶
func (*NetInterfaceGetRequest) ProtoMessage()
func (*NetInterfaceGetRequest) ProtoReflect ¶
func (x *NetInterfaceGetRequest) ProtoReflect() protoreflect.Message
func (*NetInterfaceGetRequest) Reset ¶
func (x *NetInterfaceGetRequest) Reset()
func (*NetInterfaceGetRequest) String ¶
func (x *NetInterfaceGetRequest) String() string
type NetInterfaceGetResponse ¶
type NetInterfaceGetResponse struct { Interface *Interface `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"` // contains filtered or unexported fields }
func (*NetInterfaceGetResponse) Descriptor
deprecated
func (*NetInterfaceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use NetInterfaceGetResponse.ProtoReflect.Descriptor instead.
func (*NetInterfaceGetResponse) GetInterface ¶
func (x *NetInterfaceGetResponse) GetInterface() *Interface
func (*NetInterfaceGetResponse) ProtoMessage ¶
func (*NetInterfaceGetResponse) ProtoMessage()
func (*NetInterfaceGetResponse) ProtoReflect ¶
func (x *NetInterfaceGetResponse) ProtoReflect() protoreflect.Message
func (*NetInterfaceGetResponse) Reset ¶
func (x *NetInterfaceGetResponse) Reset()
func (*NetInterfaceGetResponse) String ¶
func (x *NetInterfaceGetResponse) String() string
type NetInterfaceListRequest ¶
type NetInterfaceListRequest struct {
// contains filtered or unexported fields
}
func (*NetInterfaceListRequest) Descriptor
deprecated
func (*NetInterfaceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetInterfaceListRequest.ProtoReflect.Descriptor instead.
func (*NetInterfaceListRequest) ProtoMessage ¶
func (*NetInterfaceListRequest) ProtoMessage()
func (*NetInterfaceListRequest) ProtoReflect ¶
func (x *NetInterfaceListRequest) ProtoReflect() protoreflect.Message
func (*NetInterfaceListRequest) Reset ¶
func (x *NetInterfaceListRequest) Reset()
func (*NetInterfaceListRequest) String ¶
func (x *NetInterfaceListRequest) String() string
type NetInterfaceListResponse ¶
type NetInterfaceListResponse struct { Interface []*Interface `protobuf:"bytes,1,rep,name=interface,proto3" json:"interface,omitempty"` // contains filtered or unexported fields }
func (*NetInterfaceListResponse) Descriptor
deprecated
func (*NetInterfaceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use NetInterfaceListResponse.ProtoReflect.Descriptor instead.
func (*NetInterfaceListResponse) GetInterface ¶
func (x *NetInterfaceListResponse) GetInterface() []*Interface
func (*NetInterfaceListResponse) ProtoMessage ¶
func (*NetInterfaceListResponse) ProtoMessage()
func (*NetInterfaceListResponse) ProtoReflect ¶
func (x *NetInterfaceListResponse) ProtoReflect() protoreflect.Message
func (*NetInterfaceListResponse) Reset ¶
func (x *NetInterfaceListResponse) Reset()
func (*NetInterfaceListResponse) String ¶
func (x *NetInterfaceListResponse) String() string
type NetInterfaceServer ¶
type NetInterfaceServer interface { // Retrieves the interface information for a given interface NetInterfaceGet(context.Context, *NetInterfaceGetRequest) (*NetInterfaceGetResponse, error) // Retrieves the set of interfaces on the device NetInterfaceList(context.Context, *NetInterfaceListRequest) (*NetInterfaceListResponse, error) // A method for setting or changing configuration of an interface NetInterfaceUpdate(context.Context, *NetInterfaceUpdateRequest) (*NetInterfaceUpdateResponse, error) }
NetInterfaceServer is the server API for NetInterface service.
type NetInterfaceUpdateRequest ¶
type NetInterfaceUpdateRequest struct { Interface *Interface `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"` // contains filtered or unexported fields }
func (*NetInterfaceUpdateRequest) Descriptor
deprecated
func (*NetInterfaceUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetInterfaceUpdateRequest.ProtoReflect.Descriptor instead.
func (*NetInterfaceUpdateRequest) GetInterface ¶
func (x *NetInterfaceUpdateRequest) GetInterface() *Interface
func (*NetInterfaceUpdateRequest) ProtoMessage ¶
func (*NetInterfaceUpdateRequest) ProtoMessage()
func (*NetInterfaceUpdateRequest) ProtoReflect ¶
func (x *NetInterfaceUpdateRequest) ProtoReflect() protoreflect.Message
func (*NetInterfaceUpdateRequest) Reset ¶
func (x *NetInterfaceUpdateRequest) Reset()
func (*NetInterfaceUpdateRequest) String ¶
func (x *NetInterfaceUpdateRequest) String() string
type NetInterfaceUpdateResponse ¶
type NetInterfaceUpdateResponse struct { Result uint32 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*NetInterfaceUpdateResponse) Descriptor
deprecated
func (*NetInterfaceUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use NetInterfaceUpdateResponse.ProtoReflect.Descriptor instead.
func (*NetInterfaceUpdateResponse) GetResult ¶
func (x *NetInterfaceUpdateResponse) GetResult() uint32
func (*NetInterfaceUpdateResponse) ProtoMessage ¶
func (*NetInterfaceUpdateResponse) ProtoMessage()
func (*NetInterfaceUpdateResponse) ProtoReflect ¶
func (x *NetInterfaceUpdateResponse) ProtoReflect() protoreflect.Message
func (*NetInterfaceUpdateResponse) Reset ¶
func (x *NetInterfaceUpdateResponse) Reset()
func (*NetInterfaceUpdateResponse) String ¶
func (x *NetInterfaceUpdateResponse) String() string
type PolicyDir ¶
type PolicyDir int32
direction in which policy is enforced INGRESS/EGRESS is w.r.t vnic (i.e., traffic leaving vnic is marked as EGRESS and traffic going to vnic is marked as INGRESS
func (PolicyDir) Descriptor ¶
func (PolicyDir) Descriptor() protoreflect.EnumDescriptor
func (PolicyDir) EnumDescriptor
deprecated
func (PolicyDir) Number ¶
func (x PolicyDir) Number() protoreflect.EnumNumber
func (PolicyDir) Type ¶
func (PolicyDir) Type() protoreflect.EnumType
type PortListMatch ¶
type PortListMatch struct { // list of source ports or port ranges SrcPortRange []*PortRange `protobuf:"bytes,1,rep,name=src_port_range,json=srcPortRange,proto3" json:"src_port_range,omitempty"` // list of destination ports or port ranges DstPortRange []*PortRange `protobuf:"bytes,2,rep,name=dst_port_range,json=dstPortRange,proto3" json:"dst_port_range,omitempty"` // contains filtered or unexported fields }
TCP/UDP source and destination port list
func (*PortListMatch) Descriptor
deprecated
func (*PortListMatch) Descriptor() ([]byte, []int)
Deprecated: Use PortListMatch.ProtoReflect.Descriptor instead.
func (*PortListMatch) GetDstPortRange ¶
func (x *PortListMatch) GetDstPortRange() []*PortRange
func (*PortListMatch) GetSrcPortRange ¶
func (x *PortListMatch) GetSrcPortRange() []*PortRange
func (*PortListMatch) ProtoMessage ¶
func (*PortListMatch) ProtoMessage()
func (*PortListMatch) ProtoReflect ¶
func (x *PortListMatch) ProtoReflect() protoreflect.Message
func (*PortListMatch) Reset ¶
func (x *PortListMatch) Reset()
func (*PortListMatch) String ¶
func (x *PortListMatch) String() string
type PortMatch ¶
type PortMatch struct { // source port range SrcPortRange *PortRange `protobuf:"bytes,1,opt,name=src_port_range,json=srcPortRange,proto3" json:"src_port_range,omitempty"` // destination port range DstPortRange *PortRange `protobuf:"bytes,2,opt,name=dst_port_range,json=dstPortRange,proto3" json:"dst_port_range,omitempty"` // contains filtered or unexported fields }
TCP/UDP rule match criteria
func (*PortMatch) Descriptor
deprecated
func (*PortMatch) GetDstPortRange ¶
func (*PortMatch) GetSrcPortRange ¶
func (*PortMatch) ProtoMessage ¶
func (*PortMatch) ProtoMessage()
func (*PortMatch) ProtoReflect ¶
func (x *PortMatch) ProtoReflect() protoreflect.Message
type PortRange ¶
type PortRange struct { // range:0-65535 PortLow int32 `protobuf:"varint,1,opt,name=port_low,json=portLow,proto3" json:"port_low,omitempty"` // range:0-65535 PortHigh int32 `protobuf:"varint,2,opt,name=port_high,json=portHigh,proto3" json:"port_high,omitempty"` // contains filtered or unexported fields }
PortRange object has low and high end of the port ranges
func (*PortRange) Descriptor
deprecated
func (*PortRange) GetPortHigh ¶
func (*PortRange) GetPortLow ¶
func (*PortRange) ProtoMessage ¶
func (*PortRange) ProtoMessage()
func (*PortRange) ProtoReflect ¶
func (x *PortRange) ProtoReflect() protoreflect.Message
type RouteProtocol ¶
type RouteProtocol int32
route protocols
const ( // unspecified RouteProtocol_ROUTE_PROTOCOL_UNSPECIFIED RouteProtocol = 0 // local RouteProtocol_ROUTE_PROTOCOL_LOCAL RouteProtocol = 1 // static RouteProtocol_ROUTE_PROTOCOL_STATIC RouteProtocol = 2 // bgp (dynamic) RouteProtocol_ROUTE_PROTOCOL_BGP RouteProtocol = 3 )
func (RouteProtocol) Descriptor ¶
func (RouteProtocol) Descriptor() protoreflect.EnumDescriptor
func (RouteProtocol) Enum ¶
func (x RouteProtocol) Enum() *RouteProtocol
func (RouteProtocol) EnumDescriptor
deprecated
func (RouteProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use RouteProtocol.Descriptor instead.
func (RouteProtocol) Number ¶
func (x RouteProtocol) Number() protoreflect.EnumNumber
func (RouteProtocol) String ¶
func (x RouteProtocol) String() string
func (RouteProtocol) Type ¶
func (RouteProtocol) Type() protoreflect.EnumType
type RouteType ¶
type RouteType int32
route type
func (RouteType) Descriptor ¶
func (RouteType) Descriptor() protoreflect.EnumDescriptor
func (RouteType) EnumDescriptor
deprecated
func (RouteType) Number ¶
func (x RouteType) Number() protoreflect.EnumNumber
func (RouteType) Type ¶
func (RouteType) Type() protoreflect.EnumType
type RuleL3Match ¶
type RuleL3Match struct { // IP protocol match MUST be specified even if it is wildcard // // Types that are assignable to Protomatch: // *RuleL3Match_ProtoNum // *RuleL3Match_ProtoWildCard Protomatch isRuleL3Match_Protomatch `protobuf_oneof:"protomatch"` // Types that are assignable to Srcmatch: // *RuleL3Match_SrcPrefix // *RuleL3Match_SrcRange // *RuleL3Match_SrcTag // *RuleL3Match_SrcIpList Srcmatch isRuleL3Match_Srcmatch `protobuf_oneof:"srcmatch"` // Types that are assignable to Dstmatch: // *RuleL3Match_DstPrefix // *RuleL3Match_DstRange // *RuleL3Match_DstTag // *RuleL3Match_DstIpList Dstmatch isRuleL3Match_Dstmatch `protobuf_oneof:"dstmatch"` // contains filtered or unexported fields }
L3 rule match criteria
func (*RuleL3Match) Descriptor
deprecated
func (*RuleL3Match) Descriptor() ([]byte, []int)
Deprecated: Use RuleL3Match.ProtoReflect.Descriptor instead.
func (*RuleL3Match) GetDstIpList ¶
func (x *RuleL3Match) GetDstIpList() *IPList
func (*RuleL3Match) GetDstPrefix ¶
func (x *RuleL3Match) GetDstPrefix() *IPPrefix
func (*RuleL3Match) GetDstRange ¶
func (x *RuleL3Match) GetDstRange() *AddressRange
func (*RuleL3Match) GetDstTag ¶
func (x *RuleL3Match) GetDstTag() int32
func (*RuleL3Match) GetDstmatch ¶
func (m *RuleL3Match) GetDstmatch() isRuleL3Match_Dstmatch
func (*RuleL3Match) GetProtoNum ¶
func (x *RuleL3Match) GetProtoNum() int32
func (*RuleL3Match) GetProtoWildCard ¶
func (x *RuleL3Match) GetProtoWildCard() WildcardMatch
func (*RuleL3Match) GetProtomatch ¶
func (m *RuleL3Match) GetProtomatch() isRuleL3Match_Protomatch
func (*RuleL3Match) GetSrcIpList ¶
func (x *RuleL3Match) GetSrcIpList() *IPList
func (*RuleL3Match) GetSrcPrefix ¶
func (x *RuleL3Match) GetSrcPrefix() *IPPrefix
func (*RuleL3Match) GetSrcRange ¶
func (x *RuleL3Match) GetSrcRange() *AddressRange
func (*RuleL3Match) GetSrcTag ¶
func (x *RuleL3Match) GetSrcTag() int32
func (*RuleL3Match) GetSrcmatch ¶
func (m *RuleL3Match) GetSrcmatch() isRuleL3Match_Srcmatch
func (*RuleL3Match) ProtoMessage ¶
func (*RuleL3Match) ProtoMessage()
func (*RuleL3Match) ProtoReflect ¶
func (x *RuleL3Match) ProtoReflect() protoreflect.Message
func (*RuleL3Match) Reset ¶
func (x *RuleL3Match) Reset()
func (*RuleL3Match) String ¶
func (x *RuleL3Match) String() string
type RuleL3Match_DstIpList ¶
type RuleL3Match_DstIpList struct { // ip list DstIpList *IPList `protobuf:"bytes,10,opt,name=dst_ip_list,json=dstIpList,proto3,oneof"` }
type RuleL3Match_DstPrefix ¶
type RuleL3Match_DstPrefix struct { // ip prefix DstPrefix *IPPrefix `protobuf:"bytes,7,opt,name=dst_prefix,json=dstPrefix,proto3,oneof"` }
type RuleL3Match_DstRange ¶
type RuleL3Match_DstRange struct { // destination ip range DstRange *AddressRange `protobuf:"bytes,8,opt,name=dst_range,json=dstRange,proto3,oneof"` }
type RuleL3Match_DstTag ¶
type RuleL3Match_DstTag struct { // destination tag (range:1-429496729) DstTag int32 `protobuf:"varint,9,opt,name=dst_tag,json=dstTag,proto3,oneof"` }
type RuleL3Match_ProtoNum ¶
type RuleL3Match_ProtoNum struct { // protocol number ProtoNum int32 `protobuf:"varint,1,opt,name=proto_num,json=protoNum,proto3,oneof"` }
type RuleL3Match_ProtoWildCard ¶
type RuleL3Match_ProtoWildCard struct { // match ANY protocol ProtoWildCard WildcardMatch `` /* 133-byte string literal not displayed */ }
type RuleL3Match_SrcIpList ¶
type RuleL3Match_SrcIpList struct { // ip list SrcIpList *IPList `protobuf:"bytes,6,opt,name=src_ip_list,json=srcIpList,proto3,oneof"` }
type RuleL3Match_SrcPrefix ¶
type RuleL3Match_SrcPrefix struct { // ip prefix SrcPrefix *IPPrefix `protobuf:"bytes,3,opt,name=src_prefix,json=srcPrefix,proto3,oneof"` }
type RuleL3Match_SrcRange ¶
type RuleL3Match_SrcRange struct { // source ip address range SrcRange *AddressRange `protobuf:"bytes,4,opt,name=src_range,json=srcRange,proto3,oneof"` }
type RuleL3Match_SrcTag ¶
type RuleL3Match_SrcTag struct { // source tag for the range (range:1-429496729) SrcTag int32 `protobuf:"varint,5,opt,name=src_tag,json=srcTag,proto3,oneof"` }
type RuleL4Match ¶
type RuleL4Match struct { // Types that are assignable to L4Info: // *RuleL4Match_Ports // *RuleL4Match_TypeCode // *RuleL4Match_PortList // *RuleL4Match_IcmpMatchList L4Info isRuleL4Match_L4Info `protobuf_oneof:"l4info"` // contains filtered or unexported fields }
L4 rule match criteria
func (*RuleL4Match) Descriptor
deprecated
func (*RuleL4Match) Descriptor() ([]byte, []int)
Deprecated: Use RuleL4Match.ProtoReflect.Descriptor instead.
func (*RuleL4Match) GetIcmpMatchList ¶
func (x *RuleL4Match) GetIcmpMatchList() *ICMPMatchList
func (*RuleL4Match) GetL4Info ¶
func (m *RuleL4Match) GetL4Info() isRuleL4Match_L4Info
func (*RuleL4Match) GetPortList ¶
func (x *RuleL4Match) GetPortList() *PortListMatch
func (*RuleL4Match) GetPorts ¶
func (x *RuleL4Match) GetPorts() *PortMatch
func (*RuleL4Match) GetTypeCode ¶
func (x *RuleL4Match) GetTypeCode() *ICMPMatch
func (*RuleL4Match) ProtoMessage ¶
func (*RuleL4Match) ProtoMessage()
func (*RuleL4Match) ProtoReflect ¶
func (x *RuleL4Match) ProtoReflect() protoreflect.Message
func (*RuleL4Match) Reset ¶
func (x *RuleL4Match) Reset()
func (*RuleL4Match) String ¶
func (x *RuleL4Match) String() string
type RuleL4Match_IcmpMatchList ¶
type RuleL4Match_IcmpMatchList struct { // list ICMP type/code match criteria IcmpMatchList *ICMPMatchList `protobuf:"bytes,4,opt,name=icmp_match_list,json=icmpMatchList,proto3,oneof"` }
type RuleL4Match_PortList ¶
type RuleL4Match_PortList struct { // list of source and/or destination ports/ranges PortList *PortListMatch `protobuf:"bytes,3,opt,name=port_list,json=portList,proto3,oneof"` }
type RuleL4Match_Ports ¶
type RuleL4Match_Ports struct { // source and/or destination ports/ranges Ports *PortMatch `protobuf:"bytes,1,opt,name=ports,proto3,oneof"` }
type RuleL4Match_TypeCode ¶
type RuleL4Match_TypeCode struct { // ICMP type/code match criteria TypeCode *ICMPMatch `protobuf:"bytes,2,opt,name=type_code,json=typeCode,proto3,oneof"` }
type RuleMatch ¶
type RuleMatch struct { // Layer 3 match criteria L3Match *RuleL3Match `protobuf:"bytes,1,opt,name=l3_match,json=l3Match,proto3" json:"l3_match,omitempty"` // Layer 4 match criteria L4Match *RuleL4Match `protobuf:"bytes,2,opt,name=l4_match,json=l4Match,proto3" json:"l4_match,omitempty"` // contains filtered or unexported fields }
rule match criteria
func (*RuleMatch) Descriptor
deprecated
func (*RuleMatch) GetL3Match ¶
func (x *RuleMatch) GetL3Match() *RuleL3Match
func (*RuleMatch) GetL4Match ¶
func (x *RuleMatch) GetL4Match() *RuleL4Match
func (*RuleMatch) ProtoMessage ¶
func (*RuleMatch) ProtoMessage()
func (*RuleMatch) ProtoReflect ¶
func (x *RuleMatch) ProtoReflect() protoreflect.Message
type SecurityRuleAction ¶
type SecurityRuleAction int32
security rule action is one of the below
const ( // no action // (-- api-linter: core::0126::unspecified=disabled // aip.dev/not-precedent: NONE means no action. --) SecurityRuleAction_SECURITY_RULE_ACTION_NONE SecurityRuleAction = 0 // allow SecurityRuleAction_SECURITY_RULE_ACTION_ALLOW SecurityRuleAction = 1 // deny SecurityRuleAction_SECURITY_RULE_ACTION_DENY SecurityRuleAction = 2 )
func (SecurityRuleAction) Descriptor ¶
func (SecurityRuleAction) Descriptor() protoreflect.EnumDescriptor
func (SecurityRuleAction) Enum ¶
func (x SecurityRuleAction) Enum() *SecurityRuleAction
func (SecurityRuleAction) EnumDescriptor
deprecated
func (SecurityRuleAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecurityRuleAction.Descriptor instead.
func (SecurityRuleAction) Number ¶
func (x SecurityRuleAction) Number() protoreflect.EnumNumber
func (SecurityRuleAction) String ¶
func (x SecurityRuleAction) String() string
func (SecurityRuleAction) Type ¶
func (SecurityRuleAction) Type() protoreflect.EnumType
type UnimplementedNetInterfaceServer ¶
type UnimplementedNetInterfaceServer struct { }
UnimplementedNetInterfaceServer can be embedded to have forward compatible implementations.
func (*UnimplementedNetInterfaceServer) NetInterfaceGet ¶
func (*UnimplementedNetInterfaceServer) NetInterfaceGet(context.Context, *NetInterfaceGetRequest) (*NetInterfaceGetResponse, error)
func (*UnimplementedNetInterfaceServer) NetInterfaceList ¶
func (*UnimplementedNetInterfaceServer) NetInterfaceList(context.Context, *NetInterfaceListRequest) (*NetInterfaceListResponse, error)
func (*UnimplementedNetInterfaceServer) NetInterfaceUpdate ¶
func (*UnimplementedNetInterfaceServer) NetInterfaceUpdate(context.Context, *NetInterfaceUpdateRequest) (*NetInterfaceUpdateResponse, error)
type WildcardMatch ¶
type WildcardMatch int32
WildcardMatch options
const ( // wouldn't match anything // (-- api-linter: core::0126::unspecified=disabled // aip.dev/not-precedent: NONE means don't match anything. --) WildcardMatch_MATCH_NONE WildcardMatch = 0 // match everything WildcardMatch_MATCH_ANY WildcardMatch = 256 )
func (WildcardMatch) Descriptor ¶
func (WildcardMatch) Descriptor() protoreflect.EnumDescriptor
func (WildcardMatch) Enum ¶
func (x WildcardMatch) Enum() *WildcardMatch
func (WildcardMatch) EnumDescriptor
deprecated
func (WildcardMatch) EnumDescriptor() ([]byte, []int)
Deprecated: Use WildcardMatch.Descriptor instead.
func (WildcardMatch) Number ¶
func (x WildcardMatch) Number() protoreflect.EnumNumber
func (WildcardMatch) String ¶
func (x WildcardMatch) String() string
func (WildcardMatch) Type ¶
func (WildcardMatch) Type() protoreflect.EnumType