Documentation ¶
Index ¶
- Variables
- func RegisterNetInterfaceServiceServer(s *grpc.Server, srv NetInterfaceServiceServer)
- 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 Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetDescription() string
- func (x *Config) GetEnabled() bool
- func (x *Config) GetLoopbackMode() bool
- func (x *Config) GetMtu() uint32
- func (x *Config) GetName() string
- func (x *Config) GetType() InterfaceType
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Counters
- func (*Counters) Descriptor() ([]byte, []int)deprecated
- func (x *Counters) GetCarrierTransitions() uint64
- func (x *Counters) GetLastClear() uint64
- func (x *Counters) GetOutBroadcastPkts() uint64
- func (x *Counters) GetOutDiscards() uint64
- func (x *Counters) GetOutErrors() uint64
- func (x *Counters) GetOutMulticastPkts() uint64
- func (x *Counters) GetOutOctets() uint64
- func (x *Counters) GetOutPackets() uint64
- func (x *Counters) GetOutUnicastPkts() uint64
- func (x *Counters) GetRxBroadcastPkts() uint64
- func (x *Counters) GetRxDiscards() uint64
- func (x *Counters) GetRxErrors() uint64
- func (x *Counters) GetRxFcsErrors() uint64
- func (x *Counters) GetRxMulticastPkts() uint64
- func (x *Counters) GetRxOctets() uint64
- func (x *Counters) GetRxPackets() uint64
- func (x *Counters) GetRxUnicastPkts() uint64
- func (x *Counters) GetRxUnknownProtos() uint64
- func (*Counters) ProtoMessage()
- func (x *Counters) ProtoReflect() protoreflect.Message
- func (x *Counters) Reset()
- func (x *Counters) String() string
- 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 GetNetInterfaceRequest
- func (*GetNetInterfaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNetInterfaceRequest) GetName() string
- func (*GetNetInterfaceRequest) ProtoMessage()
- func (x *GetNetInterfaceRequest) ProtoReflect() protoreflect.Message
- func (x *GetNetInterfaceRequest) Reset()
- func (x *GetNetInterfaceRequest) String() string
- 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 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 IpAf
- type ListNetInterfacesRequest
- func (*ListNetInterfacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNetInterfacesRequest) GetPageSize() int32
- func (x *ListNetInterfacesRequest) GetPageToken() string
- func (x *ListNetInterfacesRequest) GetParent() string
- func (*ListNetInterfacesRequest) ProtoMessage()
- func (x *ListNetInterfacesRequest) ProtoReflect() protoreflect.Message
- func (x *ListNetInterfacesRequest) Reset()
- func (x *ListNetInterfacesRequest) String() string
- type ListNetInterfacesResponse
- func (*ListNetInterfacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNetInterfacesResponse) GetNetInterfaces() []*NetInterface
- func (x *ListNetInterfacesResponse) GetNextPageToken() string
- func (*ListNetInterfacesResponse) ProtoMessage()
- func (x *ListNetInterfacesResponse) ProtoReflect() protoreflect.Message
- func (x *ListNetInterfacesResponse) Reset()
- func (x *ListNetInterfacesResponse) String() string
- type NetInterface
- func (*NetInterface) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterface) GetConfig() *Config
- func (x *NetInterface) GetHoldtime() *NetInterface_HoldTime
- func (x *NetInterface) GetName() string
- func (x *NetInterface) GetState() *State
- func (x *NetInterface) GetSubinterfaces() *NetInterface_Subinterfaces
- func (*NetInterface) ProtoMessage()
- func (x *NetInterface) ProtoReflect() protoreflect.Message
- func (x *NetInterface) Reset()
- func (x *NetInterface) String() string
- type NetInterfaceServiceClient
- type NetInterfaceServiceServer
- type NetInterface_HoldTime
- func (*NetInterface_HoldTime) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterface_HoldTime) GetHoldConfig() *NetInterface_HoldTime_HoldConfig
- func (x *NetInterface_HoldTime) GetHoldState() *NetInterface_HoldTime_HoldState
- func (*NetInterface_HoldTime) ProtoMessage()
- func (x *NetInterface_HoldTime) ProtoReflect() protoreflect.Message
- func (x *NetInterface_HoldTime) Reset()
- func (x *NetInterface_HoldTime) String() string
- type NetInterface_HoldTime_HoldConfig
- func (*NetInterface_HoldTime_HoldConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterface_HoldTime_HoldConfig) GetDown() uint32
- func (x *NetInterface_HoldTime_HoldConfig) GetUp() uint32
- func (*NetInterface_HoldTime_HoldConfig) ProtoMessage()
- func (x *NetInterface_HoldTime_HoldConfig) ProtoReflect() protoreflect.Message
- func (x *NetInterface_HoldTime_HoldConfig) Reset()
- func (x *NetInterface_HoldTime_HoldConfig) String() string
- type NetInterface_HoldTime_HoldState
- func (*NetInterface_HoldTime_HoldState) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterface_HoldTime_HoldState) GetDown() uint32
- func (x *NetInterface_HoldTime_HoldState) GetUp() uint32
- func (*NetInterface_HoldTime_HoldState) ProtoMessage()
- func (x *NetInterface_HoldTime_HoldState) ProtoReflect() protoreflect.Message
- func (x *NetInterface_HoldTime_HoldState) Reset()
- func (x *NetInterface_HoldTime_HoldState) String() string
- type NetInterface_Subinterfaces
- func (*NetInterface_Subinterfaces) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterface_Subinterfaces) GetSubinterface() []*NetInterface_Subinterfaces_Subinterface
- func (*NetInterface_Subinterfaces) ProtoMessage()
- func (x *NetInterface_Subinterfaces) ProtoReflect() protoreflect.Message
- func (x *NetInterface_Subinterfaces) Reset()
- func (x *NetInterface_Subinterfaces) String() string
- type NetInterface_Subinterfaces_Subinterface
- func (*NetInterface_Subinterfaces_Subinterface) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterface_Subinterfaces_Subinterface) GetIndex() int64
- func (x *NetInterface_Subinterfaces_Subinterface) GetState() *State
- func (x *NetInterface_Subinterfaces_Subinterface) GetSubifConfig() *NetInterface_Subinterfaces_Subinterface_SubifConfig
- func (*NetInterface_Subinterfaces_Subinterface) ProtoMessage()
- func (x *NetInterface_Subinterfaces_Subinterface) ProtoReflect() protoreflect.Message
- func (x *NetInterface_Subinterfaces_Subinterface) Reset()
- func (x *NetInterface_Subinterfaces_Subinterface) String() string
- type NetInterface_Subinterfaces_Subinterface_SubifConfig
- func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterface_Subinterfaces_Subinterface_SubifConfig) GetDescription() string
- func (x *NetInterface_Subinterfaces_Subinterface_SubifConfig) GetEnabled() bool
- func (x *NetInterface_Subinterfaces_Subinterface_SubifConfig) GetIndex() uint64
- func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) ProtoMessage()
- func (x *NetInterface_Subinterfaces_Subinterface_SubifConfig) ProtoReflect() protoreflect.Message
- func (x *NetInterface_Subinterfaces_Subinterface_SubifConfig) Reset()
- func (x *NetInterface_Subinterfaces_Subinterface_SubifConfig) String() string
- type OperState
- 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 State
- func (*State) Descriptor() ([]byte, []int)deprecated
- func (x *State) GetAdminState() AdminState
- func (x *State) GetCounters() *Counters
- func (x *State) GetCpu() bool
- func (x *State) GetDescription() string
- func (x *State) GetEnabled() bool
- func (x *State) GetIfindex() uint32
- func (x *State) GetLastChange() uint64
- func (x *State) GetLogical() bool
- func (x *State) GetLoopbackMode() bool
- func (x *State) GetManagement() bool
- func (x *State) GetMtu() uint32
- func (x *State) GetName() string
- func (x *State) GetOperState() OperState
- func (x *State) GetType() InterfaceType
- func (*State) ProtoMessage()
- func (x *State) ProtoReflect() protoreflect.Message
- func (x *State) Reset()
- func (x *State) String() string
- type UnimplementedNetInterfaceServiceServer
- func (*UnimplementedNetInterfaceServiceServer) GetNetInterface(context.Context, *GetNetInterfaceRequest) (*NetInterface, error)
- func (*UnimplementedNetInterfaceServiceServer) ListNetInterfaces(context.Context, *ListNetInterfacesRequest) (*ListNetInterfacesResponse, error)
- func (*UnimplementedNetInterfaceServiceServer) UpdateNetInterface(context.Context, *UpdateNetInterfaceRequest) (*NetInterface, error)
- type UpdateNetInterfaceRequest
- func (*UpdateNetInterfaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNetInterfaceRequest) GetNetInterface() *NetInterface
- func (x *UpdateNetInterfaceRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateNetInterfaceRequest) ProtoMessage()
- func (x *UpdateNetInterfaceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNetInterfaceRequest) Reset()
- func (x *UpdateNetInterfaceRequest) String() string
- 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", 3: "ADMIN_STATE_TESTING", } AdminState_value = map[string]int32{ "ADMIN_STATE_UNSPECIFIED": 0, "ADMIN_STATE_ENABLE": 1, "ADMIN_STATE_DISABLE": 2, "ADMIN_STATE_TESTING": 3, } )
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: "INTERFACE_TYPE_UNSPECIFIED", 1: "ETHERNET", 2: "LOOPBACK", } InterfaceType_value = map[string]int32{ "INTERFACE_TYPE_UNSPECIFIED": 0, "ETHERNET": 1, "LOOPBACK": 2, } )
Enum value maps for InterfaceType.
var ( OperState_name = map[int32]string{ 0: "OPER_STATE_UNSPECIFIED", 2: "OPER_STATE_UP", 3: "OPER_STATE_DOWN", 4: "OPER_STATE_TESTING", 5: "OPER_STATE_UNKNOWN", 6: "OPER_STATE_DORMANT", 7: "OPER_STATE_NOT_PRESENT", 8: "OPER_STATE_LOWER_LAYER_DOWN", } OperState_value = map[string]int32{ "OPER_STATE_UNSPECIFIED": 0, "OPER_STATE_UP": 2, "OPER_STATE_DOWN": 3, "OPER_STATE_TESTING": 4, "OPER_STATE_UNKNOWN": 5, "OPER_STATE_DORMANT": 6, "OPER_STATE_NOT_PRESENT": 7, "OPER_STATE_LOWER_LAYER_DOWN": 8, } )
Enum value maps for OperState.
var File_networktypes_proto protoreflect.FileDescriptor
var File_openconfig_interfaces_proto protoreflect.FileDescriptor
Functions ¶
func RegisterNetInterfaceServiceServer ¶
func RegisterNetInterfaceServiceServer(s *grpc.Server, srv NetInterfaceServiceServer)
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 // testing AdminState_ADMIN_STATE_TESTING AdminState = 3 )
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 Config ¶
type Config struct { // Name of the interface. This is the opaque object // used for designating the created interface. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Type of interface - Ethernet and others Type InterfaceType `protobuf:"varint,2,opt,name=type,proto3,enum=opi_api.network.v1alpha1.InterfaceType" json:"type,omitempty"` // MTU for the interface that can be configured Mtu uint32 `protobuf:"varint,3,opt,name=mtu,proto3" json:"mtu,omitempty"` // Setting the loopback mode of the interface LoopbackMode bool `protobuf:"varint,4,opt,name=loopback_mode,json=loopbackMode,proto3" json:"loopback_mode,omitempty"` // Description of the interface and usage Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Setting for enabling/disabling the interface Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
Interface config (-- api-linter: core::0123::resource-annotation=disabled
aip.dev/not-precedent: the name field is an opaque object --)
func (*Config) Descriptor
deprecated
func (*Config) GetDescription ¶
func (*Config) GetEnabled ¶
func (*Config) GetLoopbackMode ¶
func (*Config) GetType ¶
func (x *Config) GetType() InterfaceType
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Counters ¶
type Counters struct { // Received Octet counter RxOctets uint64 `protobuf:"varint,1,opt,name=rx_octets,json=rxOctets,proto3" json:"rx_octets,omitempty"` // Received Packet counter RxPackets uint64 `protobuf:"varint,2,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"` // Unicast packets received counter RxUnicastPkts uint64 `protobuf:"varint,3,opt,name=rx_unicast_pkts,json=rxUnicastPkts,proto3" json:"rx_unicast_pkts,omitempty"` // Broadcast packets received counter RxBroadcastPkts uint64 `protobuf:"varint,4,opt,name=rx_broadcast_pkts,json=rxBroadcastPkts,proto3" json:"rx_broadcast_pkts,omitempty"` // multicast packets received counter RxMulticastPkts uint64 `protobuf:"varint,5,opt,name=rx_multicast_pkts,json=rxMulticastPkts,proto3" json:"rx_multicast_pkts,omitempty"` // discarded received packets counter RxDiscards uint64 `protobuf:"varint,6,opt,name=rx_discards,json=rxDiscards,proto3" json:"rx_discards,omitempty"` // Receive error counter RxErrors uint64 `protobuf:"varint,7,opt,name=rx_errors,json=rxErrors,proto3" json:"rx_errors,omitempty"` // Unknown received protocol counter RxUnknownProtos uint64 `protobuf:"varint,8,opt,name=rx_unknown_protos,json=rxUnknownProtos,proto3" json:"rx_unknown_protos,omitempty"` // Received FCS error counter RxFcsErrors uint64 `protobuf:"varint,9,opt,name=rx_fcs_errors,json=rxFcsErrors,proto3" json:"rx_fcs_errors,omitempty"` // Transmit octet counter OutOctets uint64 `protobuf:"varint,10,opt,name=out_octets,json=outOctets,proto3" json:"out_octets,omitempty"` // Transmit packet counter OutPackets uint64 `protobuf:"varint,11,opt,name=out_packets,json=outPackets,proto3" json:"out_packets,omitempty"` // Unicast packet transmit counter OutUnicastPkts uint64 `protobuf:"varint,12,opt,name=out_unicast_pkts,json=outUnicastPkts,proto3" json:"out_unicast_pkts,omitempty"` // Broadcast packet transmit counter OutBroadcastPkts uint64 `protobuf:"varint,13,opt,name=out_broadcast_pkts,json=outBroadcastPkts,proto3" json:"out_broadcast_pkts,omitempty"` // Multicast packet transmit counter OutMulticastPkts uint64 `protobuf:"varint,14,opt,name=out_multicast_pkts,json=outMulticastPkts,proto3" json:"out_multicast_pkts,omitempty"` // Discarded transmit packet counter OutDiscards uint64 `protobuf:"varint,15,opt,name=out_discards,json=outDiscards,proto3" json:"out_discards,omitempty"` // Transmit error counter OutErrors uint64 `protobuf:"varint,16,opt,name=out_errors,json=outErrors,proto3" json:"out_errors,omitempty"` // Carrier transition count CarrierTransitions uint64 `protobuf:"varint,17,opt,name=carrier_transitions,json=carrierTransitions,proto3" json:"carrier_transitions,omitempty"` // Last Clear LastClear uint64 `protobuf:"varint,18,opt,name=last_clear,json=lastClear,proto3" json:"last_clear,omitempty"` // contains filtered or unexported fields }
Statistics Counters for the interface - ro
func (*Counters) Descriptor
deprecated
func (*Counters) GetCarrierTransitions ¶
func (*Counters) GetLastClear ¶
func (*Counters) GetOutBroadcastPkts ¶
func (*Counters) GetOutDiscards ¶
func (*Counters) GetOutErrors ¶
func (*Counters) GetOutMulticastPkts ¶
func (*Counters) GetOutOctets ¶
func (*Counters) GetOutPackets ¶
func (*Counters) GetOutUnicastPkts ¶
func (*Counters) GetRxBroadcastPkts ¶
func (*Counters) GetRxDiscards ¶
func (*Counters) GetRxErrors ¶
func (*Counters) GetRxFcsErrors ¶
func (*Counters) GetRxMulticastPkts ¶
func (*Counters) GetRxOctets ¶
func (*Counters) GetRxPackets ¶
func (*Counters) GetRxUnicastPkts ¶
func (*Counters) GetRxUnknownProtos ¶
func (*Counters) ProtoMessage ¶
func (*Counters) ProtoMessage()
func (*Counters) ProtoReflect ¶
func (x *Counters) ProtoReflect() protoreflect.Message
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 GetNetInterfaceRequest ¶
type GetNetInterfaceRequest struct { // Name of interface requested Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Get Interface Request
func (*GetNetInterfaceRequest) Descriptor
deprecated
func (*GetNetInterfaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNetInterfaceRequest.ProtoReflect.Descriptor instead.
func (*GetNetInterfaceRequest) GetName ¶
func (x *GetNetInterfaceRequest) GetName() string
func (*GetNetInterfaceRequest) ProtoMessage ¶
func (*GetNetInterfaceRequest) ProtoMessage()
func (*GetNetInterfaceRequest) ProtoReflect ¶
func (x *GetNetInterfaceRequest) ProtoReflect() protoreflect.Message
func (*GetNetInterfaceRequest) Reset ¶
func (x *GetNetInterfaceRequest) Reset()
func (*GetNetInterfaceRequest) String ¶
func (x *GetNetInterfaceRequest) String() string
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 InterfaceType ¶
type InterfaceType int32
Interface Types Enumeration
const ( // Interface Unspecified InterfaceType_INTERFACE_TYPE_UNSPECIFIED InterfaceType = 0 // Ethernet Interface InterfaceType_ETHERNET InterfaceType = 1 // Loopback Interface InterfaceType_LOOPBACK InterfaceType = 2 )
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 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 ListNetInterfacesRequest ¶
type ListNetInterfacesRequest struct { // parent Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // page size PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // page token PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
List Interfaces Request
func (*ListNetInterfacesRequest) Descriptor
deprecated
func (*ListNetInterfacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNetInterfacesRequest.ProtoReflect.Descriptor instead.
func (*ListNetInterfacesRequest) GetPageSize ¶
func (x *ListNetInterfacesRequest) GetPageSize() int32
func (*ListNetInterfacesRequest) GetPageToken ¶
func (x *ListNetInterfacesRequest) GetPageToken() string
func (*ListNetInterfacesRequest) GetParent ¶
func (x *ListNetInterfacesRequest) GetParent() string
func (*ListNetInterfacesRequest) ProtoMessage ¶
func (*ListNetInterfacesRequest) ProtoMessage()
func (*ListNetInterfacesRequest) ProtoReflect ¶
func (x *ListNetInterfacesRequest) ProtoReflect() protoreflect.Message
func (*ListNetInterfacesRequest) Reset ¶
func (x *ListNetInterfacesRequest) Reset()
func (*ListNetInterfacesRequest) String ¶
func (x *ListNetInterfacesRequest) String() string
type ListNetInterfacesResponse ¶
type ListNetInterfacesResponse struct { // List of interfaces NetInterfaces []*NetInterface `protobuf:"bytes,1,rep,name=net_interfaces,json=netInterfaces,proto3" json:"net_interfaces,omitempty"` // next page token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
List of Interfaces Response
func (*ListNetInterfacesResponse) Descriptor
deprecated
func (*ListNetInterfacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNetInterfacesResponse.ProtoReflect.Descriptor instead.
func (*ListNetInterfacesResponse) GetNetInterfaces ¶
func (x *ListNetInterfacesResponse) GetNetInterfaces() []*NetInterface
func (*ListNetInterfacesResponse) GetNextPageToken ¶
func (x *ListNetInterfacesResponse) GetNextPageToken() string
func (*ListNetInterfacesResponse) ProtoMessage ¶
func (*ListNetInterfacesResponse) ProtoMessage()
func (*ListNetInterfacesResponse) ProtoReflect ¶
func (x *ListNetInterfacesResponse) ProtoReflect() protoreflect.Message
func (*ListNetInterfacesResponse) Reset ¶
func (x *ListNetInterfacesResponse) Reset()
func (*ListNetInterfacesResponse) String ¶
func (x *ListNetInterfacesResponse) String() string
type NetInterface ¶
type NetInterface struct { // Name of the interface. This is an opaque object that is not // user settable. It is returned by the created object Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Configuration settings - rw Config *Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // Interface State and Statistics - ro State *State `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // Hold Time Settings Holdtime *NetInterface_HoldTime `protobuf:"bytes,4,opt,name=holdtime,proto3" json:"holdtime,omitempty"` // Subinterfaces assigned to the interface Subinterfaces *NetInterface_Subinterfaces `protobuf:"bytes,5,opt,name=subinterfaces,proto3" json:"subinterfaces,omitempty"` // contains filtered or unexported fields }
Interface - physical or virtual interface reported (-- api-linter: core::0123::resource-annotation=disabled
aip.dev/not-precedent: the name field is an opaque object --)
func (*NetInterface) Descriptor
deprecated
func (*NetInterface) Descriptor() ([]byte, []int)
Deprecated: Use NetInterface.ProtoReflect.Descriptor instead.
func (*NetInterface) GetConfig ¶
func (x *NetInterface) GetConfig() *Config
func (*NetInterface) GetHoldtime ¶
func (x *NetInterface) GetHoldtime() *NetInterface_HoldTime
func (*NetInterface) GetName ¶
func (x *NetInterface) GetName() string
func (*NetInterface) GetState ¶
func (x *NetInterface) GetState() *State
func (*NetInterface) GetSubinterfaces ¶
func (x *NetInterface) GetSubinterfaces() *NetInterface_Subinterfaces
func (*NetInterface) ProtoMessage ¶
func (*NetInterface) ProtoMessage()
func (*NetInterface) ProtoReflect ¶
func (x *NetInterface) ProtoReflect() protoreflect.Message
func (*NetInterface) Reset ¶
func (x *NetInterface) Reset()
func (*NetInterface) String ¶
func (x *NetInterface) String() string
type NetInterfaceServiceClient ¶
type NetInterfaceServiceClient interface { // Retrieves the interface information for a given interface GetNetInterface(ctx context.Context, in *GetNetInterfaceRequest, opts ...grpc.CallOption) (*NetInterface, error) // Retrieves the set of interfaces on the device ListNetInterfaces(ctx context.Context, in *ListNetInterfacesRequest, opts ...grpc.CallOption) (*ListNetInterfacesResponse, error) // A method for setting or changing configuration of an interface UpdateNetInterface(ctx context.Context, in *UpdateNetInterfaceRequest, opts ...grpc.CallOption) (*NetInterface, error) }
NetInterfaceServiceClient is the client API for NetInterfaceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNetInterfaceServiceClient ¶
func NewNetInterfaceServiceClient(cc grpc.ClientConnInterface) NetInterfaceServiceClient
type NetInterfaceServiceServer ¶
type NetInterfaceServiceServer interface { // Retrieves the interface information for a given interface GetNetInterface(context.Context, *GetNetInterfaceRequest) (*NetInterface, error) // Retrieves the set of interfaces on the device ListNetInterfaces(context.Context, *ListNetInterfacesRequest) (*ListNetInterfacesResponse, error) // A method for setting or changing configuration of an interface UpdateNetInterface(context.Context, *UpdateNetInterfaceRequest) (*NetInterface, error) }
NetInterfaceServiceServer is the server API for NetInterfaceService service.
type NetInterface_HoldTime ¶
type NetInterface_HoldTime struct { // Hold Time Config HoldConfig *NetInterface_HoldTime_HoldConfig `protobuf:"bytes,1,opt,name=hold_config,json=holdConfig,proto3" json:"hold_config,omitempty"` // Hold State Settings HoldState *NetInterface_HoldTime_HoldState `protobuf:"bytes,2,opt,name=hold_state,json=holdState,proto3" json:"hold_state,omitempty"` // contains filtered or unexported fields }
Hold Time Settings
func (*NetInterface_HoldTime) Descriptor
deprecated
func (*NetInterface_HoldTime) Descriptor() ([]byte, []int)
Deprecated: Use NetInterface_HoldTime.ProtoReflect.Descriptor instead.
func (*NetInterface_HoldTime) GetHoldConfig ¶
func (x *NetInterface_HoldTime) GetHoldConfig() *NetInterface_HoldTime_HoldConfig
func (*NetInterface_HoldTime) GetHoldState ¶
func (x *NetInterface_HoldTime) GetHoldState() *NetInterface_HoldTime_HoldState
func (*NetInterface_HoldTime) ProtoMessage ¶
func (*NetInterface_HoldTime) ProtoMessage()
func (*NetInterface_HoldTime) ProtoReflect ¶
func (x *NetInterface_HoldTime) ProtoReflect() protoreflect.Message
func (*NetInterface_HoldTime) Reset ¶
func (x *NetInterface_HoldTime) Reset()
func (*NetInterface_HoldTime) String ¶
func (x *NetInterface_HoldTime) String() string
type NetInterface_HoldTime_HoldConfig ¶
type NetInterface_HoldTime_HoldConfig struct { // Hold time up Up uint32 `protobuf:"varint,1,opt,name=up,proto3" json:"up,omitempty"` // Hold time down Down uint32 `protobuf:"varint,2,opt,name=down,proto3" json:"down,omitempty"` // contains filtered or unexported fields }
Hold Time Config - rw
func (*NetInterface_HoldTime_HoldConfig) Descriptor
deprecated
func (*NetInterface_HoldTime_HoldConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetInterface_HoldTime_HoldConfig.ProtoReflect.Descriptor instead.
func (*NetInterface_HoldTime_HoldConfig) GetDown ¶
func (x *NetInterface_HoldTime_HoldConfig) GetDown() uint32
func (*NetInterface_HoldTime_HoldConfig) GetUp ¶
func (x *NetInterface_HoldTime_HoldConfig) GetUp() uint32
func (*NetInterface_HoldTime_HoldConfig) ProtoMessage ¶
func (*NetInterface_HoldTime_HoldConfig) ProtoMessage()
func (*NetInterface_HoldTime_HoldConfig) ProtoReflect ¶
func (x *NetInterface_HoldTime_HoldConfig) ProtoReflect() protoreflect.Message
func (*NetInterface_HoldTime_HoldConfig) Reset ¶
func (x *NetInterface_HoldTime_HoldConfig) Reset()
func (*NetInterface_HoldTime_HoldConfig) String ¶
func (x *NetInterface_HoldTime_HoldConfig) String() string
type NetInterface_HoldTime_HoldState ¶
type NetInterface_HoldTime_HoldState struct { // Hold state up Up uint32 `protobuf:"varint,1,opt,name=up,proto3" json:"up,omitempty"` // Hold state down Down uint32 `protobuf:"varint,2,opt,name=down,proto3" json:"down,omitempty"` // contains filtered or unexported fields }
Hold State Settings - ro
func (*NetInterface_HoldTime_HoldState) Descriptor
deprecated
func (*NetInterface_HoldTime_HoldState) Descriptor() ([]byte, []int)
Deprecated: Use NetInterface_HoldTime_HoldState.ProtoReflect.Descriptor instead.
func (*NetInterface_HoldTime_HoldState) GetDown ¶
func (x *NetInterface_HoldTime_HoldState) GetDown() uint32
func (*NetInterface_HoldTime_HoldState) GetUp ¶
func (x *NetInterface_HoldTime_HoldState) GetUp() uint32
func (*NetInterface_HoldTime_HoldState) ProtoMessage ¶
func (*NetInterface_HoldTime_HoldState) ProtoMessage()
func (*NetInterface_HoldTime_HoldState) ProtoReflect ¶
func (x *NetInterface_HoldTime_HoldState) ProtoReflect() protoreflect.Message
func (*NetInterface_HoldTime_HoldState) Reset ¶
func (x *NetInterface_HoldTime_HoldState) Reset()
func (*NetInterface_HoldTime_HoldState) String ¶
func (x *NetInterface_HoldTime_HoldState) String() string
type NetInterface_Subinterfaces ¶
type NetInterface_Subinterfaces struct { // Subinterface Settings Subinterface []*NetInterface_Subinterfaces_Subinterface `protobuf:"bytes,2,rep,name=subinterface,proto3" json:"subinterface,omitempty"` // contains filtered or unexported fields }
Subinterfaces settings - VLAN, etc.
func (*NetInterface_Subinterfaces) Descriptor
deprecated
func (*NetInterface_Subinterfaces) Descriptor() ([]byte, []int)
Deprecated: Use NetInterface_Subinterfaces.ProtoReflect.Descriptor instead.
func (*NetInterface_Subinterfaces) GetSubinterface ¶
func (x *NetInterface_Subinterfaces) GetSubinterface() []*NetInterface_Subinterfaces_Subinterface
func (*NetInterface_Subinterfaces) ProtoMessage ¶
func (*NetInterface_Subinterfaces) ProtoMessage()
func (*NetInterface_Subinterfaces) ProtoReflect ¶
func (x *NetInterface_Subinterfaces) ProtoReflect() protoreflect.Message
func (*NetInterface_Subinterfaces) Reset ¶
func (x *NetInterface_Subinterfaces) Reset()
func (*NetInterface_Subinterfaces) String ¶
func (x *NetInterface_Subinterfaces) String() string
type NetInterface_Subinterfaces_Subinterface ¶
type NetInterface_Subinterfaces_Subinterface struct { // Subinterface index Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // Subinterface Configuration SubifConfig *NetInterface_Subinterfaces_Subinterface_SubifConfig `protobuf:"bytes,2,opt,name=subif_config,json=subifConfig,proto3" json:"subif_config,omitempty"` // Subinterface State and Statistics State *State `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
Subinterface settings
func (*NetInterface_Subinterfaces_Subinterface) Descriptor
deprecated
func (*NetInterface_Subinterfaces_Subinterface) Descriptor() ([]byte, []int)
Deprecated: Use NetInterface_Subinterfaces_Subinterface.ProtoReflect.Descriptor instead.
func (*NetInterface_Subinterfaces_Subinterface) GetIndex ¶
func (x *NetInterface_Subinterfaces_Subinterface) GetIndex() int64
func (*NetInterface_Subinterfaces_Subinterface) GetState ¶
func (x *NetInterface_Subinterfaces_Subinterface) GetState() *State
func (*NetInterface_Subinterfaces_Subinterface) GetSubifConfig ¶
func (x *NetInterface_Subinterfaces_Subinterface) GetSubifConfig() *NetInterface_Subinterfaces_Subinterface_SubifConfig
func (*NetInterface_Subinterfaces_Subinterface) ProtoMessage ¶
func (*NetInterface_Subinterfaces_Subinterface) ProtoMessage()
func (*NetInterface_Subinterfaces_Subinterface) ProtoReflect ¶
func (x *NetInterface_Subinterfaces_Subinterface) ProtoReflect() protoreflect.Message
func (*NetInterface_Subinterfaces_Subinterface) Reset ¶
func (x *NetInterface_Subinterfaces_Subinterface) Reset()
func (*NetInterface_Subinterfaces_Subinterface) String ¶
func (x *NetInterface_Subinterfaces_Subinterface) String() string
type NetInterface_Subinterfaces_Subinterface_SubifConfig ¶
type NetInterface_Subinterfaces_Subinterface_SubifConfig struct { // Subinterface Index Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // Subinterface description Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Subinterface enabled Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
Subinterface configuration
func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) Descriptor
deprecated
func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetInterface_Subinterfaces_Subinterface_SubifConfig.ProtoReflect.Descriptor instead.
func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) GetDescription ¶
func (x *NetInterface_Subinterfaces_Subinterface_SubifConfig) GetDescription() string
func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) GetEnabled ¶
func (x *NetInterface_Subinterfaces_Subinterface_SubifConfig) GetEnabled() bool
func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) GetIndex ¶
func (x *NetInterface_Subinterfaces_Subinterface_SubifConfig) GetIndex() uint64
func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) ProtoMessage ¶
func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) ProtoMessage()
func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) ProtoReflect ¶
func (x *NetInterface_Subinterfaces_Subinterface_SubifConfig) ProtoReflect() protoreflect.Message
func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) Reset ¶
func (x *NetInterface_Subinterfaces_Subinterface_SubifConfig) Reset()
func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) String ¶
func (x *NetInterface_Subinterfaces_Subinterface_SubifConfig) String() string
type OperState ¶
type OperState int32
Operational State Enumeration
const ( // Unspecified OperState_OPER_STATE_UNSPECIFIED OperState = 0 // Operational Up OperState_OPER_STATE_UP OperState = 2 // Operational Down OperState_OPER_STATE_DOWN OperState = 3 // Operational Testing OperState_OPER_STATE_TESTING OperState = 4 // Unknown OperState_OPER_STATE_UNKNOWN OperState = 5 // Dormant OperState_OPER_STATE_DORMANT OperState = 6 // Not Present OperState_OPER_STATE_NOT_PRESENT OperState = 7 // Lower Layer Down OperState_OPER_STATE_LOWER_LAYER_DOWN OperState = 8 )
func (OperState) Descriptor ¶
func (OperState) Descriptor() protoreflect.EnumDescriptor
func (OperState) EnumDescriptor
deprecated
func (OperState) Number ¶
func (x OperState) Number() protoreflect.EnumNumber
func (OperState) Type ¶
func (OperState) Type() protoreflect.EnumType
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 State ¶
type State struct { // Name of the interface. This is the opaque object // used for designating the created interface. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Interface type indicator Type InterfaceType `protobuf:"varint,2,opt,name=type,proto3,enum=opi_api.network.v1alpha1.InterfaceType" json:"type,omitempty"` // Configured MTU size Mtu uint32 `protobuf:"varint,3,opt,name=mtu,proto3" json:"mtu,omitempty"` // Configured Loopback mode LoopbackMode bool `protobuf:"varint,4,opt,name=loopback_mode,json=loopbackMode,proto3" json:"loopback_mode,omitempty"` // Interface description Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Interface enabled indicator Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"` // Interface Index Ifindex uint32 `protobuf:"varint,7,opt,name=ifindex,proto3" json:"ifindex,omitempty"` // Admin State AdminState AdminState `` /* 146-byte string literal not displayed */ // Operational State OperState OperState `` /* 129-byte string literal not displayed */ // Last Change LastChange uint64 `protobuf:"varint,10,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"` // Logical interface Logical bool `protobuf:"varint,11,opt,name=logical,proto3" json:"logical,omitempty"` // Management interface indicator Management bool `protobuf:"varint,12,opt,name=management,proto3" json:"management,omitempty"` // CPU Cpu bool `protobuf:"varint,13,opt,name=cpu,proto3" json:"cpu,omitempty"` // Interface Statistics Counters Counters *Counters `protobuf:"bytes,14,opt,name=counters,proto3" json:"counters,omitempty"` // contains filtered or unexported fields }
Interface State information - ro (-- api-linter: core::0123::resource-annotation=disabled
aip.dev/not-precedent: the name field is an opaque object --)
func (*State) Descriptor
deprecated
func (*State) GetAdminState ¶
func (x *State) GetAdminState() AdminState
func (*State) GetCounters ¶
func (*State) GetDescription ¶
func (*State) GetEnabled ¶
func (*State) GetIfindex ¶
func (*State) GetLastChange ¶
func (*State) GetLogical ¶
func (*State) GetLoopbackMode ¶
func (*State) GetManagement ¶
func (*State) GetOperState ¶
func (*State) GetType ¶
func (x *State) GetType() InterfaceType
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) ProtoReflect ¶
func (x *State) ProtoReflect() protoreflect.Message
type UnimplementedNetInterfaceServiceServer ¶
type UnimplementedNetInterfaceServiceServer struct { }
UnimplementedNetInterfaceServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedNetInterfaceServiceServer) GetNetInterface ¶
func (*UnimplementedNetInterfaceServiceServer) GetNetInterface(context.Context, *GetNetInterfaceRequest) (*NetInterface, error)
func (*UnimplementedNetInterfaceServiceServer) ListNetInterfaces ¶
func (*UnimplementedNetInterfaceServiceServer) ListNetInterfaces(context.Context, *ListNetInterfacesRequest) (*ListNetInterfacesResponse, error)
func (*UnimplementedNetInterfaceServiceServer) UpdateNetInterface ¶
func (*UnimplementedNetInterfaceServiceServer) UpdateNetInterface(context.Context, *UpdateNetInterfaceRequest) (*NetInterface, error)
type UpdateNetInterfaceRequest ¶
type UpdateNetInterfaceRequest struct { // Interface update settings NetInterface *NetInterface `protobuf:"bytes,1,opt,name=net_interface,json=netInterface,proto3" json:"net_interface,omitempty"` // list of fields to update UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Update Interface Request
func (*UpdateNetInterfaceRequest) Descriptor
deprecated
func (*UpdateNetInterfaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNetInterfaceRequest.ProtoReflect.Descriptor instead.
func (*UpdateNetInterfaceRequest) GetNetInterface ¶
func (x *UpdateNetInterfaceRequest) GetNetInterface() *NetInterface
func (*UpdateNetInterfaceRequest) GetUpdateMask ¶
func (x *UpdateNetInterfaceRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateNetInterfaceRequest) ProtoMessage ¶
func (*UpdateNetInterfaceRequest) ProtoMessage()
func (*UpdateNetInterfaceRequest) ProtoReflect ¶
func (x *UpdateNetInterfaceRequest) ProtoReflect() protoreflect.Message
func (*UpdateNetInterfaceRequest) Reset ¶
func (x *UpdateNetInterfaceRequest) Reset()
func (*UpdateNetInterfaceRequest) String ¶
func (x *UpdateNetInterfaceRequest) String() string
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