Documentation ¶
Overview ¶
Package _go is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterNetInterfaceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterNetInterfaceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NetInterfaceServiceClient) error
- func RegisterNetInterfaceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterNetInterfaceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NetInterfaceServiceServer) error
- func RegisterNetInterfaceServiceServer(s grpc.ServiceRegistrar, 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 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 EthDuplexMode
- func (EthDuplexMode) Descriptor() protoreflect.EnumDescriptor
- func (x EthDuplexMode) Enum() *EthDuplexMode
- func (EthDuplexMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x EthDuplexMode) Number() protoreflect.EnumNumber
- func (x EthDuplexMode) String() string
- func (EthDuplexMode) Type() protoreflect.EnumType
- type EthFecMode
- type EthPortSpeed
- func (EthPortSpeed) Descriptor() protoreflect.EnumDescriptor
- func (x EthPortSpeed) Enum() *EthPortSpeed
- func (EthPortSpeed) EnumDescriptor() ([]byte, []int)deprecated
- func (x EthPortSpeed) Number() protoreflect.EnumNumber
- func (x EthPortSpeed) String() string
- func (EthPortSpeed) Type() protoreflect.EnumType
- type EthernetConfig
- func (*EthernetConfig) Descriptor() ([]byte, []int)deprecated
- func (x *EthernetConfig) GetAutoNegotiate() bool
- func (x *EthernetConfig) GetDuplexMode() EthDuplexMode
- func (x *EthernetConfig) GetEnableFlowControl() bool
- func (x *EthernetConfig) GetFecMode() EthFecMode
- func (x *EthernetConfig) GetMacAddress() string
- func (x *EthernetConfig) GetPortSpeed() EthPortSpeed
- func (x *EthernetConfig) GetStandaloneLinkTraining() bool
- func (*EthernetConfig) ProtoMessage()
- func (x *EthernetConfig) ProtoReflect() protoreflect.Message
- func (x *EthernetConfig) Reset()
- func (x *EthernetConfig) String() string
- type EthernetCounters
- func (*EthernetCounters) Descriptor() ([]byte, []int)deprecated
- func (x *EthernetCounters) GetEthRxDistribution() *EthernetInDistribution
- func (x *EthernetCounters) GetOutIeee8021QFrames() uint64
- func (x *EthernetCounters) GetOutMacControlFrames() uint64
- func (x *EthernetCounters) GetOutMacErrorsTx() uint64
- func (x *EthernetCounters) GetOutMacPauseFrames() uint64
- func (x *EthernetCounters) GetRxBlockErrors() uint64
- func (x *EthernetCounters) GetRxCarrierErrors() uint64
- func (x *EthernetCounters) GetRxCrcErrors() uint64
- func (x *EthernetCounters) GetRxFragmentFrames() uint64
- func (x *EthernetCounters) GetRxIeee8021QFrames() uint64
- func (x *EthernetCounters) GetRxInterruptedTx() uint64
- func (x *EthernetCounters) GetRxJabberFrames() uint64
- func (x *EthernetCounters) GetRxLateCollision() uint64
- func (x *EthernetCounters) GetRxMacControlFrames() uint64
- func (x *EthernetCounters) GetRxMacErrorsRx() uint64
- func (x *EthernetCounters) GetRxMacPauseFrames() uint64
- func (x *EthernetCounters) GetRxMaxsizeExceeded() uint64
- func (x *EthernetCounters) GetRxOversizeFrames() uint64
- func (x *EthernetCounters) GetRxSingleCollision() uint64
- func (x *EthernetCounters) GetRxSymbolError() uint64
- func (x *EthernetCounters) GetRxUndersizeFrames() uint64
- func (*EthernetCounters) ProtoMessage()
- func (x *EthernetCounters) ProtoReflect() protoreflect.Message
- func (x *EthernetCounters) Reset()
- func (x *EthernetCounters) String() string
- type EthernetInDistribution
- func (*EthernetInDistribution) Descriptor() ([]byte, []int)deprecated
- func (x *EthernetInDistribution) GetRxFramesOctets1024To1518() uint64
- func (x *EthernetInDistribution) GetRxFramesOctets128To255() uint64
- func (x *EthernetInDistribution) GetRxFramesOctets256To511() uint64
- func (x *EthernetInDistribution) GetRxFramesOctets512To1023() uint64
- func (x *EthernetInDistribution) GetRxFramesOctets64() uint64
- func (x *EthernetInDistribution) GetRxFramesOctets65To127() uint64
- func (*EthernetInDistribution) ProtoMessage()
- func (x *EthernetInDistribution) ProtoReflect() protoreflect.Message
- func (x *EthernetInDistribution) Reset()
- func (x *EthernetInDistribution) String() string
- type EthernetInterface
- func (*EthernetInterface) Descriptor() ([]byte, []int)deprecated
- func (x *EthernetInterface) GetConfig() *EthernetConfig
- func (x *EthernetInterface) GetState() *EthernetState
- func (x *EthernetInterface) GetSwitchedVlan() *VlanSwitchedIf
- func (*EthernetInterface) ProtoMessage()
- func (x *EthernetInterface) ProtoReflect() protoreflect.Message
- func (x *EthernetInterface) Reset()
- func (x *EthernetInterface) String() string
- type EthernetState
- func (*EthernetState) Descriptor() ([]byte, []int)deprecated
- func (x *EthernetState) GetAutoNegotiate() bool
- func (x *EthernetState) GetCounters() *EthernetCounters
- func (x *EthernetState) GetDuplexMode() EthDuplexMode
- func (x *EthernetState) GetEnableFlowControl() bool
- func (x *EthernetState) GetFecMode() EthFecMode
- func (x *EthernetState) GetHwMacAddress() string
- func (x *EthernetState) GetMacAddress() string
- func (x *EthernetState) GetNegotiatedDuplexMode() EthDuplexMode
- func (x *EthernetState) GetNegotiatedPortSpeed() EthPortSpeed
- func (x *EthernetState) GetPortSpeed() EthPortSpeed
- func (x *EthernetState) GetStandaloneLinkTraining() bool
- func (*EthernetState) ProtoMessage()
- func (x *EthernetState) ProtoReflect() protoreflect.Message
- func (x *EthernetState) Reset()
- func (x *EthernetState) String() string
- 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() *NetInterfaceConfig
- func (x *NetInterface) GetEthernet() *EthernetInterface
- func (x *NetInterface) GetHoldtime() *NetInterface_HoldTime
- func (x *NetInterface) GetName() string
- func (x *NetInterface) GetState() *NetInterfaceState
- 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 NetInterfaceConfig
- func (*NetInterfaceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterfaceConfig) GetDescription() string
- func (x *NetInterfaceConfig) GetEnabled() bool
- func (x *NetInterfaceConfig) GetLoopbackMode() bool
- func (x *NetInterfaceConfig) GetMtu() uint32
- func (x *NetInterfaceConfig) GetName() string
- func (x *NetInterfaceConfig) GetTpid() TpidTypes
- func (x *NetInterfaceConfig) GetType() InterfaceType
- func (*NetInterfaceConfig) ProtoMessage()
- func (x *NetInterfaceConfig) ProtoReflect() protoreflect.Message
- func (x *NetInterfaceConfig) Reset()
- func (x *NetInterfaceConfig) String() string
- type NetInterfaceCounters
- func (*NetInterfaceCounters) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterfaceCounters) GetCarrierTransitions() uint64
- func (x *NetInterfaceCounters) GetLastClear() uint64
- func (x *NetInterfaceCounters) GetOutBroadcastPkts() uint64
- func (x *NetInterfaceCounters) GetOutDiscards() uint64
- func (x *NetInterfaceCounters) GetOutErrors() uint64
- func (x *NetInterfaceCounters) GetOutMulticastPkts() uint64
- func (x *NetInterfaceCounters) GetOutOctets() uint64
- func (x *NetInterfaceCounters) GetOutPackets() uint64
- func (x *NetInterfaceCounters) GetOutUnicastPkts() uint64
- func (x *NetInterfaceCounters) GetRxBroadcastPkts() uint64
- func (x *NetInterfaceCounters) GetRxDiscards() uint64
- func (x *NetInterfaceCounters) GetRxErrors() uint64
- func (x *NetInterfaceCounters) GetRxFcsErrors() uint64
- func (x *NetInterfaceCounters) GetRxMulticastPkts() uint64
- func (x *NetInterfaceCounters) GetRxOctets() uint64
- func (x *NetInterfaceCounters) GetRxPackets() uint64
- func (x *NetInterfaceCounters) GetRxUnicastPkts() uint64
- func (x *NetInterfaceCounters) GetRxUnknownProtos() uint64
- func (*NetInterfaceCounters) ProtoMessage()
- func (x *NetInterfaceCounters) ProtoReflect() protoreflect.Message
- func (x *NetInterfaceCounters) Reset()
- func (x *NetInterfaceCounters) String() string
- type NetInterfaceServiceClient
- type NetInterfaceServiceServer
- type NetInterfaceState
- func (*NetInterfaceState) Descriptor() ([]byte, []int)deprecated
- func (x *NetInterfaceState) GetAdminState() AdminState
- func (x *NetInterfaceState) GetCounters() *NetInterfaceCounters
- func (x *NetInterfaceState) GetCpu() bool
- func (x *NetInterfaceState) GetDescription() string
- func (x *NetInterfaceState) GetEnabled() bool
- func (x *NetInterfaceState) GetIfindex() uint32
- func (x *NetInterfaceState) GetLastChange() uint64
- func (x *NetInterfaceState) GetLogical() bool
- func (x *NetInterfaceState) GetLoopbackMode() bool
- func (x *NetInterfaceState) GetManagement() bool
- func (x *NetInterfaceState) GetMtu() uint32
- func (x *NetInterfaceState) GetName() string
- func (x *NetInterfaceState) GetOperState() OperState
- func (x *NetInterfaceState) GetTpid() TpidTypes
- func (x *NetInterfaceState) GetType() InterfaceType
- func (*NetInterfaceState) ProtoMessage()
- func (x *NetInterfaceState) ProtoReflect() protoreflect.Message
- func (x *NetInterfaceState) Reset()
- func (x *NetInterfaceState) String() string
- 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() *NetInterfaceState
- func (x *NetInterface_Subinterfaces_Subinterface) GetSubifConfig() *NetInterface_Subinterfaces_Subinterface_SubifConfig
- func (x *NetInterface_Subinterfaces_Subinterface) GetVlan() *VlanIf
- 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 SwitchedVlanSetting
- func (*SwitchedVlanSetting) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchedVlanSetting) GetAccessVlan() uint32
- func (x *SwitchedVlanSetting) GetNativeVlan() uint32
- func (x *SwitchedVlanSetting) GetTrunkVlans() string
- func (x *SwitchedVlanSetting) GetVlanInterfaceMode() VlanIfMode
- func (*SwitchedVlanSetting) ProtoMessage()
- func (x *SwitchedVlanSetting) ProtoReflect() protoreflect.Message
- func (x *SwitchedVlanSetting) Reset()
- func (x *SwitchedVlanSetting) String() string
- type TpidTypes
- 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 UnsafeNetInterfaceServiceServer
- type UpdateNetInterfaceRequest
- func (*UpdateNetInterfaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNetInterfaceRequest) GetAllowMissing() bool
- 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 VlanIf
- func (*VlanIf) Descriptor() ([]byte, []int)deprecated
- func (x *VlanIf) GetEgressmapping() *VlanIf_VlanEgressMapping
- func (x *VlanIf) GetIngressmapping() *VlanIf_VlanIngressMapping
- func (x *VlanIf) GetMatch() *VlanIf_VlanMatch
- func (*VlanIf) ProtoMessage()
- func (x *VlanIf) ProtoReflect() protoreflect.Message
- func (x *VlanIf) Reset()
- func (x *VlanIf) String() string
- type VlanIfMode
- type VlanIf_VlanEgressMapping
- func (*VlanIf_VlanEgressMapping) Descriptor() ([]byte, []int)deprecated
- func (x *VlanIf_VlanEgressMapping) GetConfig() *VlanIngressEgressSetting
- func (x *VlanIf_VlanEgressMapping) GetState() *VlanIngressEgressSetting
- func (*VlanIf_VlanEgressMapping) ProtoMessage()
- func (x *VlanIf_VlanEgressMapping) ProtoReflect() protoreflect.Message
- func (x *VlanIf_VlanEgressMapping) Reset()
- func (x *VlanIf_VlanEgressMapping) String() string
- type VlanIf_VlanIngressMapping
- func (*VlanIf_VlanIngressMapping) Descriptor() ([]byte, []int)deprecated
- func (x *VlanIf_VlanIngressMapping) GetConfig() *VlanIngressEgressSetting
- func (x *VlanIf_VlanIngressMapping) GetState() *VlanIngressEgressSetting
- func (*VlanIf_VlanIngressMapping) ProtoMessage()
- func (x *VlanIf_VlanIngressMapping) ProtoReflect() protoreflect.Message
- func (x *VlanIf_VlanIngressMapping) Reset()
- func (x *VlanIf_VlanIngressMapping) String() string
- type VlanIf_VlanMatch
- func (*VlanIf_VlanMatch) Descriptor() ([]byte, []int)deprecated
- func (x *VlanIf_VlanMatch) GetSingletagged() *VlanIf_VlanMatch_SingleTagged
- func (x *VlanIf_VlanMatch) GetSingletaggedlist() *VlanIf_VlanMatch_SingleTaggedList
- func (*VlanIf_VlanMatch) ProtoMessage()
- func (x *VlanIf_VlanMatch) ProtoReflect() protoreflect.Message
- func (x *VlanIf_VlanMatch) Reset()
- func (x *VlanIf_VlanMatch) String() string
- type VlanIf_VlanMatch_SingleTagged
- func (*VlanIf_VlanMatch_SingleTagged) Descriptor() ([]byte, []int)deprecated
- func (x *VlanIf_VlanMatch_SingleTagged) GetConfig() *VlanIf_VlanMatch_SingleTagged_SingleTagConfig
- func (x *VlanIf_VlanMatch_SingleTagged) GetState() *VlanIf_VlanMatch_SingleTagged_SingleTagState
- func (*VlanIf_VlanMatch_SingleTagged) ProtoMessage()
- func (x *VlanIf_VlanMatch_SingleTagged) ProtoReflect() protoreflect.Message
- func (x *VlanIf_VlanMatch_SingleTagged) Reset()
- func (x *VlanIf_VlanMatch_SingleTagged) String() string
- type VlanIf_VlanMatch_SingleTaggedList
- func (*VlanIf_VlanMatch_SingleTaggedList) Descriptor() ([]byte, []int)deprecated
- func (x *VlanIf_VlanMatch_SingleTaggedList) GetConfig() *VlanIf_VlanMatch_SingleTaggedList_TagListConfig
- func (x *VlanIf_VlanMatch_SingleTaggedList) GetStatus() *VlanIf_VlanMatch_SingleTaggedList_TagListStatus
- func (*VlanIf_VlanMatch_SingleTaggedList) ProtoMessage()
- func (x *VlanIf_VlanMatch_SingleTaggedList) ProtoReflect() protoreflect.Message
- func (x *VlanIf_VlanMatch_SingleTaggedList) Reset()
- func (x *VlanIf_VlanMatch_SingleTaggedList) String() string
- type VlanIf_VlanMatch_SingleTaggedList_TagListConfig
- func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) Descriptor() ([]byte, []int)deprecated
- func (x *VlanIf_VlanMatch_SingleTaggedList_TagListConfig) GetVlanId() []uint32
- func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) ProtoMessage()
- func (x *VlanIf_VlanMatch_SingleTaggedList_TagListConfig) ProtoReflect() protoreflect.Message
- func (x *VlanIf_VlanMatch_SingleTaggedList_TagListConfig) Reset()
- func (x *VlanIf_VlanMatch_SingleTaggedList_TagListConfig) String() string
- type VlanIf_VlanMatch_SingleTaggedList_TagListStatus
- func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) Descriptor() ([]byte, []int)deprecated
- func (x *VlanIf_VlanMatch_SingleTaggedList_TagListStatus) GetVlanid() []uint32
- func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) ProtoMessage()
- func (x *VlanIf_VlanMatch_SingleTaggedList_TagListStatus) ProtoReflect() protoreflect.Message
- func (x *VlanIf_VlanMatch_SingleTaggedList_TagListStatus) Reset()
- func (x *VlanIf_VlanMatch_SingleTaggedList_TagListStatus) String() string
- type VlanIf_VlanMatch_SingleTagged_SingleTagConfig
- func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) Descriptor() ([]byte, []int)deprecated
- func (x *VlanIf_VlanMatch_SingleTagged_SingleTagConfig) GetVlanId() uint32
- func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) ProtoMessage()
- func (x *VlanIf_VlanMatch_SingleTagged_SingleTagConfig) ProtoReflect() protoreflect.Message
- func (x *VlanIf_VlanMatch_SingleTagged_SingleTagConfig) Reset()
- func (x *VlanIf_VlanMatch_SingleTagged_SingleTagConfig) String() string
- type VlanIf_VlanMatch_SingleTagged_SingleTagState
- func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) Descriptor() ([]byte, []int)deprecated
- func (x *VlanIf_VlanMatch_SingleTagged_SingleTagState) GetVlanId() uint32
- func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) ProtoMessage()
- func (x *VlanIf_VlanMatch_SingleTagged_SingleTagState) ProtoReflect() protoreflect.Message
- func (x *VlanIf_VlanMatch_SingleTagged_SingleTagState) Reset()
- func (x *VlanIf_VlanMatch_SingleTagged_SingleTagState) String() string
- type VlanIngressEgressSetting
- func (*VlanIngressEgressSetting) Descriptor() ([]byte, []int)deprecated
- func (x *VlanIngressEgressSetting) GetTpid() TpidTypes
- func (x *VlanIngressEgressSetting) GetVlanId() uint32
- func (x *VlanIngressEgressSetting) GetVlanstackaction() VlanStackAction
- func (*VlanIngressEgressSetting) ProtoMessage()
- func (x *VlanIngressEgressSetting) ProtoReflect() protoreflect.Message
- func (x *VlanIngressEgressSetting) Reset()
- func (x *VlanIngressEgressSetting) String() string
- type VlanStackAction
- func (VlanStackAction) Descriptor() protoreflect.EnumDescriptor
- func (x VlanStackAction) Enum() *VlanStackAction
- func (VlanStackAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x VlanStackAction) Number() protoreflect.EnumNumber
- func (x VlanStackAction) String() string
- func (VlanStackAction) Type() protoreflect.EnumType
- type VlanSwitchedIf
- func (*VlanSwitchedIf) Descriptor() ([]byte, []int)deprecated
- func (x *VlanSwitchedIf) GetConfig() *SwitchedVlanSetting
- func (x *VlanSwitchedIf) GetState() *SwitchedVlanSetting
- func (*VlanSwitchedIf) ProtoMessage()
- func (x *VlanSwitchedIf) ProtoReflect() protoreflect.Message
- func (x *VlanSwitchedIf) Reset()
- func (x *VlanSwitchedIf) 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 ¶
const ( NetInterfaceService_GetNetInterface_FullMethodName = "/opi_api.network.opinetcommon.v1alpha1.NetInterfaceService/GetNetInterface" NetInterfaceService_ListNetInterfaces_FullMethodName = "/opi_api.network.opinetcommon.v1alpha1.NetInterfaceService/ListNetInterfaces" NetInterfaceService_UpdateNetInterface_FullMethodName = "/opi_api.network.opinetcommon.v1alpha1.NetInterfaceService/UpdateNetInterface" )
Variables ¶
var ( EthDuplexMode_name = map[int32]string{ 0: "ETH_DUPLEX_MODE_UNSPECIFIED", 1: "ETH_DUPLEX_MODE_FULL", 2: "ETH_DUPLEX_MODE_HALF", } EthDuplexMode_value = map[string]int32{ "ETH_DUPLEX_MODE_UNSPECIFIED": 0, "ETH_DUPLEX_MODE_FULL": 1, "ETH_DUPLEX_MODE_HALF": 2, } )
Enum value maps for EthDuplexMode.
var ( EthPortSpeed_name = map[int32]string{ 0: "ETH_PORT_SPEED_UNSPECIFIED", 1: "ETH_PORT_SPEED_10M", 2: "ETH_PORT_SPEED_100M", 3: "ETH_PORT_SPEED_1G", 4: "ETH_PORT_SPEED_2500M", 5: "ETH_PORT_SPEED_5G", 6: "ETH_PORT_SPEED_10G", 7: "ETH_PORT_SPEED_25G", 8: "ETH_PORT_SPEED_40G", 9: "ETH_PORT_SPEED_50G", 10: "ETH_PORT_SPEED_100G", 11: "ETH_PORT_SPEED_200G", 12: "ETH_PORT_SPEED_400G", 13: "ETH_PORT_SPEED_600G", 14: "ETH_PORT_SPEED_800G", 15: "ETH_PORT_SPEED_UNKNOWN", } EthPortSpeed_value = map[string]int32{ "ETH_PORT_SPEED_UNSPECIFIED": 0, "ETH_PORT_SPEED_10M": 1, "ETH_PORT_SPEED_100M": 2, "ETH_PORT_SPEED_1G": 3, "ETH_PORT_SPEED_2500M": 4, "ETH_PORT_SPEED_5G": 5, "ETH_PORT_SPEED_10G": 6, "ETH_PORT_SPEED_25G": 7, "ETH_PORT_SPEED_40G": 8, "ETH_PORT_SPEED_50G": 9, "ETH_PORT_SPEED_100G": 10, "ETH_PORT_SPEED_200G": 11, "ETH_PORT_SPEED_400G": 12, "ETH_PORT_SPEED_600G": 13, "ETH_PORT_SPEED_800G": 14, "ETH_PORT_SPEED_UNKNOWN": 15, } )
Enum value maps for EthPortSpeed.
var ( EthFecMode_name = map[int32]string{ 0: "ETH_FEC_MODE_UNSPECIFIED", 1: "ETH_FEC_MODE_FC", 2: "ETH_FEC_MODE_RS528", 3: "ETH_FEC_MODE_RS544", 4: "ETH_FEC_MODE_RS544_2X_INTERLEAVE", 5: "ETH_FEC_MODE_DISABLED", } EthFecMode_value = map[string]int32{ "ETH_FEC_MODE_UNSPECIFIED": 0, "ETH_FEC_MODE_FC": 1, "ETH_FEC_MODE_RS528": 2, "ETH_FEC_MODE_RS544": 3, "ETH_FEC_MODE_RS544_2X_INTERLEAVE": 4, "ETH_FEC_MODE_DISABLED": 5, } )
Enum value maps for EthFecMode.
var ( InterfaceType_name = map[int32]string{ 0: "INTERFACE_TYPE_UNSPECIFIED", 1: "INTERFACE_TYPE_ETHERNET", 2: "INTERFACE_TYPE_LOOPBACK", } InterfaceType_value = map[string]int32{ "INTERFACE_TYPE_UNSPECIFIED": 0, "INTERFACE_TYPE_ETHERNET": 1, "INTERFACE_TYPE_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 ( 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: "WILDCARD_MATCH_NONE", 256: "WILDCARD_MATCH_ANY", } WildcardMatch_value = map[string]int32{ "WILDCARD_MATCH_NONE": 0, "WILDCARD_MATCH_ANY": 256, } )
Enum value maps for WildcardMatch.
var ( TpidTypes_name = map[int32]string{ 0: "TPID_TYPES_UNSPECIFIED", 1: "TPID_TYPES_0X8100", 2: "TPID_TYPES_0X88A8", 3: "TPID_TYPES_0X9100", 4: "TPID_TYPES_0X9200", 5: "TPID_TYPES_ANY", } TpidTypes_value = map[string]int32{ "TPID_TYPES_UNSPECIFIED": 0, "TPID_TYPES_0X8100": 1, "TPID_TYPES_0X88A8": 2, "TPID_TYPES_0X9100": 3, "TPID_TYPES_0X9200": 4, "TPID_TYPES_ANY": 5, } )
Enum value maps for TpidTypes.
var ( VlanStackAction_name = map[int32]string{ 0: "VLAN_STACK_ACTION_UNSPECIFIED", 1: "VLAN_STACK_ACTION_PUSH", 2: "VLAN_STACK_ACTION_POP", 3: "VLAN_STACK_ACTION_SWAP", } VlanStackAction_value = map[string]int32{ "VLAN_STACK_ACTION_UNSPECIFIED": 0, "VLAN_STACK_ACTION_PUSH": 1, "VLAN_STACK_ACTION_POP": 2, "VLAN_STACK_ACTION_SWAP": 3, } )
Enum value maps for VlanStackAction.
var ( VlanIfMode_name = map[int32]string{ 0: "VLAN_IF_MODE_UNSPECIFIED", 1: "VLAN_IF_MODE_ACCESS", 2: "VLAN_IF_MODE_TRUNK", } VlanIfMode_value = map[string]int32{ "VLAN_IF_MODE_UNSPECIFIED": 0, "VLAN_IF_MODE_ACCESS": 1, "VLAN_IF_MODE_TRUNK": 2, } )
Enum value maps for VlanIfMode.
var File_networkethernet_proto protoreflect.FileDescriptor
var File_networkinterfaces_proto protoreflect.FileDescriptor
var File_networktypes_proto protoreflect.FileDescriptor
var File_networkvlan_proto protoreflect.FileDescriptor
var NetInterfaceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "opi_api.network.opinetcommon.v1alpha1.NetInterfaceService", HandlerType: (*NetInterfaceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetNetInterface", Handler: _NetInterfaceService_GetNetInterface_Handler, }, { MethodName: "ListNetInterfaces", Handler: _NetInterfaceService_ListNetInterfaces_Handler, }, { MethodName: "UpdateNetInterface", Handler: _NetInterfaceService_UpdateNetInterface_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "networkinterfaces.proto", }
NetInterfaceService_ServiceDesc is the grpc.ServiceDesc for NetInterfaceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNetInterfaceServiceHandler ¶
func RegisterNetInterfaceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterNetInterfaceServiceHandler registers the http handlers for service NetInterfaceService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterNetInterfaceServiceHandlerClient ¶
func RegisterNetInterfaceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NetInterfaceServiceClient) error
RegisterNetInterfaceServiceHandlerClient registers the http handlers for service NetInterfaceService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NetInterfaceServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NetInterfaceServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NetInterfaceServiceClient" to call the correct interceptors.
func RegisterNetInterfaceServiceHandlerFromEndpoint ¶
func RegisterNetInterfaceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterNetInterfaceServiceHandlerFromEndpoint is same as RegisterNetInterfaceServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterNetInterfaceServiceHandlerServer ¶
func RegisterNetInterfaceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NetInterfaceServiceServer) error
RegisterNetInterfaceServiceHandlerServer registers the http handlers for service NetInterfaceService to "mux". UnaryRPC :call NetInterfaceServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterNetInterfaceServiceHandlerFromEndpoint instead.
func RegisterNetInterfaceServiceServer ¶
func RegisterNetInterfaceServiceServer(s grpc.ServiceRegistrar, 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 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 EthDuplexMode ¶
type EthDuplexMode int32
Ethernet Duplex Mode Definitions
const ( // Unspecified - interface will negotiate duplex speed directly EthDuplexMode_ETH_DUPLEX_MODE_UNSPECIFIED EthDuplexMode = 0 // Specify Full Duplex mode in autonegotiation EthDuplexMode_ETH_DUPLEX_MODE_FULL EthDuplexMode = 1 // Specify Half Duplex mode in autonegotiation EthDuplexMode_ETH_DUPLEX_MODE_HALF EthDuplexMode = 2 )
func (EthDuplexMode) Descriptor ¶
func (EthDuplexMode) Descriptor() protoreflect.EnumDescriptor
func (EthDuplexMode) Enum ¶
func (x EthDuplexMode) Enum() *EthDuplexMode
func (EthDuplexMode) EnumDescriptor
deprecated
func (EthDuplexMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use EthDuplexMode.Descriptor instead.
func (EthDuplexMode) Number ¶
func (x EthDuplexMode) Number() protoreflect.EnumNumber
func (EthDuplexMode) String ¶
func (x EthDuplexMode) String() string
func (EthDuplexMode) Type ¶
func (EthDuplexMode) Type() protoreflect.EnumType
type EthFecMode ¶
type EthFecMode int32
Ethernet Forward Error Correction Mode Definitions
const ( // Unspecified EthFecMode_ETH_FEC_MODE_UNSPECIFIED EthFecMode = 0 // Firecode for NRZ channels with less then 100G EthFecMode_ETH_FEC_MODE_FC EthFecMode = 1 // RS528 is used for channels with NRZ modulation. This FEC is designed to // comply with IEEE 802.3, Clause 91. EthFecMode_ETH_FEC_MODE_RS528 EthFecMode = 2 // RS544 is used for channels with PAM4 modulation EthFecMode_ETH_FEC_MODE_RS544 EthFecMode = 3 // RS544-2x-interleave is used for channels with PAM4 modulation EthFecMode_ETH_FEC_MODE_RS544_2X_INTERLEAVE EthFecMode = 4 // FEC is administratively disabled EthFecMode_ETH_FEC_MODE_DISABLED EthFecMode = 5 )
func (EthFecMode) Descriptor ¶
func (EthFecMode) Descriptor() protoreflect.EnumDescriptor
func (EthFecMode) Enum ¶
func (x EthFecMode) Enum() *EthFecMode
func (EthFecMode) EnumDescriptor
deprecated
func (EthFecMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use EthFecMode.Descriptor instead.
func (EthFecMode) Number ¶
func (x EthFecMode) Number() protoreflect.EnumNumber
func (EthFecMode) String ¶
func (x EthFecMode) String() string
func (EthFecMode) Type ¶
func (EthFecMode) Type() protoreflect.EnumType
type EthPortSpeed ¶
type EthPortSpeed int32
Ethernet Port Speed Definitions
const ( // Unspecified - interface will negotiate port speed with the peer interface EthPortSpeed_ETH_PORT_SPEED_UNSPECIFIED EthPortSpeed = 0 // 10M port speed EthPortSpeed_ETH_PORT_SPEED_10M EthPortSpeed = 1 // 100M port speed EthPortSpeed_ETH_PORT_SPEED_100M EthPortSpeed = 2 // 1G port speed EthPortSpeed_ETH_PORT_SPEED_1G EthPortSpeed = 3 // 2.5G port speed EthPortSpeed_ETH_PORT_SPEED_2500M EthPortSpeed = 4 // 5G port speed EthPortSpeed_ETH_PORT_SPEED_5G EthPortSpeed = 5 // 10G port speed EthPortSpeed_ETH_PORT_SPEED_10G EthPortSpeed = 6 // 25G port speed EthPortSpeed_ETH_PORT_SPEED_25G EthPortSpeed = 7 // 40G port speed EthPortSpeed_ETH_PORT_SPEED_40G EthPortSpeed = 8 // 50G port speed EthPortSpeed_ETH_PORT_SPEED_50G EthPortSpeed = 9 // 100G port speed EthPortSpeed_ETH_PORT_SPEED_100G EthPortSpeed = 10 // 200G port speed EthPortSpeed_ETH_PORT_SPEED_200G EthPortSpeed = 11 // 400G port speed EthPortSpeed_ETH_PORT_SPEED_400G EthPortSpeed = 12 // 600G port speed EthPortSpeed_ETH_PORT_SPEED_600G EthPortSpeed = 13 // 800G port speed EthPortSpeed_ETH_PORT_SPEED_800G EthPortSpeed = 14 // Interface speed is unknown. Systems may report // speed UNKNOWN when an interface is down or unpopuplated EthPortSpeed_ETH_PORT_SPEED_UNKNOWN EthPortSpeed = 15 )
func (EthPortSpeed) Descriptor ¶
func (EthPortSpeed) Descriptor() protoreflect.EnumDescriptor
func (EthPortSpeed) Enum ¶
func (x EthPortSpeed) Enum() *EthPortSpeed
func (EthPortSpeed) EnumDescriptor
deprecated
func (EthPortSpeed) EnumDescriptor() ([]byte, []int)
Deprecated: Use EthPortSpeed.Descriptor instead.
func (EthPortSpeed) Number ¶
func (x EthPortSpeed) Number() protoreflect.EnumNumber
func (EthPortSpeed) String ¶
func (x EthPortSpeed) String() string
func (EthPortSpeed) Type ¶
func (EthPortSpeed) Type() protoreflect.EnumType
type EthernetConfig ¶
type EthernetConfig struct { // MAC address to assign to the Ethernet Interface if not assigned MacAddress string `protobuf:"bytes,1,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // Set to TRUE to request autonegotiate the transmission parameters // with the peer interface AutoNegotiate bool `protobuf:"varint,2,opt,name=auto_negotiate,json=autoNegotiate,proto3" json:"auto_negotiate,omitempty"` // Used when full autonegotiation is not desired by setting to TRUE // and setting auto_negotiate to FALSE. It is ignored when auto-negotiate // is set to TRUE. StandaloneLinkTraining bool `` /* 130-byte string literal not displayed */ // Optionally sets the duplex mode that is advertised to the peer interface DuplexMode EthDuplexMode `` /* 149-byte string literal not displayed */ // Optionally sets the port speed that is advertised to the peer interface PortSpeed EthPortSpeed `` /* 145-byte string literal not displayed */ // Override for the negotiated flow control on the interface EnableFlowControl bool `protobuf:"varint,6,opt,name=enable_flow_control,json=enableFlowControl,proto3" json:"enable_flow_control,omitempty"` // FEC applied to the physical channel of the interface FecMode EthFecMode `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
Ethernet Configuration
func (*EthernetConfig) Descriptor
deprecated
func (*EthernetConfig) Descriptor() ([]byte, []int)
Deprecated: Use EthernetConfig.ProtoReflect.Descriptor instead.
func (*EthernetConfig) GetAutoNegotiate ¶
func (x *EthernetConfig) GetAutoNegotiate() bool
func (*EthernetConfig) GetDuplexMode ¶
func (x *EthernetConfig) GetDuplexMode() EthDuplexMode
func (*EthernetConfig) GetEnableFlowControl ¶
func (x *EthernetConfig) GetEnableFlowControl() bool
func (*EthernetConfig) GetFecMode ¶
func (x *EthernetConfig) GetFecMode() EthFecMode
func (*EthernetConfig) GetMacAddress ¶
func (x *EthernetConfig) GetMacAddress() string
func (*EthernetConfig) GetPortSpeed ¶
func (x *EthernetConfig) GetPortSpeed() EthPortSpeed
func (*EthernetConfig) GetStandaloneLinkTraining ¶
func (x *EthernetConfig) GetStandaloneLinkTraining() bool
func (*EthernetConfig) ProtoMessage ¶
func (*EthernetConfig) ProtoMessage()
func (*EthernetConfig) ProtoReflect ¶
func (x *EthernetConfig) ProtoReflect() protoreflect.Message
func (*EthernetConfig) Reset ¶
func (x *EthernetConfig) Reset()
func (*EthernetConfig) String ¶
func (x *EthernetConfig) String() string
type EthernetCounters ¶
type EthernetCounters struct { // received mac control frame counter RxMacControlFrames uint64 `protobuf:"varint,1,opt,name=rx_mac_control_frames,json=rxMacControlFrames,proto3" json:"rx_mac_control_frames,omitempty"` // received mac pause frame counter RxMacPauseFrames uint64 `protobuf:"varint,2,opt,name=rx_mac_pause_frames,json=rxMacPauseFrames,proto3" json:"rx_mac_pause_frames,omitempty"` // frames received that were oversized on the interface // (larger then 1518 octets) RxOversizeFrames uint64 `protobuf:"varint,3,opt,name=rx_oversize_frames,json=rxOversizeFrames,proto3" json:"rx_oversize_frames,omitempty"` // frames received that were undersized on the interface // (smaller then 64 octets) RxUndersizeFrames uint64 `protobuf:"varint,4,opt,name=rx_undersize_frames,json=rxUndersizeFrames,proto3" json:"rx_undersize_frames,omitempty"` // Number of jabber frames received on the interface. // Jabber frames are typically defined as oversize frames which also // have a bad CRC RxJabberFrames uint64 `protobuf:"varint,5,opt,name=rx_jabber_frames,json=rxJabberFrames,proto3" json:"rx_jabber_frames,omitempty"` // The total number of frames received that were less than 64 octets // in length (excluding framing bits but including FCS octets) // and had either a bad Frame Check Sequence (FCS) with an integral // number of octets (FCS Error) or a bad FCS with a non-integral number // of octets (Alignment Error) RxFragmentFrames uint64 `protobuf:"varint,6,opt,name=rx_fragment_frames,json=rxFragmentFrames,proto3" json:"rx_fragment_frames,omitempty"` // Number of 802.1q tagged frames received on the interface RxIeee8021QFrames uint64 `protobuf:"varint,7,opt,name=rx_ieee8021q_frames,json=rxIeee8021qFrames,proto3" json:"rx_ieee8021q_frames,omitempty"` // The total number of frames received that had FCS errors RxCrcErrors uint64 `protobuf:"varint,8,opt,name=rx_crc_errors,json=rxCrcErrors,proto3" json:"rx_crc_errors,omitempty"` // The number of received errored blocks RxBlockErrors uint64 `protobuf:"varint,9,opt,name=rx_block_errors,json=rxBlockErrors,proto3" json:"rx_block_errors,omitempty"` // The number of received errored frames due to a carrier issue RxCarrierErrors uint64 `protobuf:"varint,10,opt,name=rx_carrier_errors,json=rxCarrierErrors,proto3" json:"rx_carrier_errors,omitempty"` // The number of received errored frames due to interrupted transmission // issue RxInterruptedTx uint64 `protobuf:"varint,11,opt,name=rx_interrupted_tx,json=rxInterruptedTx,proto3" json:"rx_interrupted_tx,omitempty"` // The number of received errored frames due to late collision issue RxLateCollision uint64 `protobuf:"varint,12,opt,name=rx_late_collision,json=rxLateCollision,proto3" json:"rx_late_collision,omitempty"` // The number of received errored frames due to MAC errors received RxMacErrorsRx uint64 `protobuf:"varint,13,opt,name=rx_mac_errors_rx,json=rxMacErrorsRx,proto3" json:"rx_mac_errors_rx,omitempty"` // The number of received errored frames due to single collision issue RxSingleCollision uint64 `protobuf:"varint,14,opt,name=rx_single_collision,json=rxSingleCollision,proto3" json:"rx_single_collision,omitempty"` // The number of received errored frames due to symbol error RxSymbolError uint64 `protobuf:"varint,15,opt,name=rx_symbol_error,json=rxSymbolError,proto3" json:"rx_symbol_error,omitempty"` // The total number frames received that are well-formed but dropped due // to exceeding the maximum frame size on the interface RxMaxsizeExceeded uint64 `protobuf:"varint,16,opt,name=rx_maxsize_exceeded,json=rxMaxsizeExceeded,proto3" json:"rx_maxsize_exceeded,omitempty"` // MAC layer control frames sent on the interface OutMacControlFrames uint64 `protobuf:"varint,17,opt,name=out_mac_control_frames,json=outMacControlFrames,proto3" json:"out_mac_control_frames,omitempty"` // MAC layer PAUSE frames sent on the interface OutMacPauseFrames uint64 `protobuf:"varint,18,opt,name=out_mac_pause_frames,json=outMacPauseFrames,proto3" json:"out_mac_pause_frames,omitempty"` // Number of 802.1q tagged frames sent on the interface OutIeee8021QFrames uint64 `protobuf:"varint,19,opt,name=out_ieee8021q_frames,json=outIeee8021qFrames,proto3" json:"out_ieee8021q_frames,omitempty"` // The number of sent errored frames due to MAC errors transmitted OutMacErrorsTx uint64 `protobuf:"varint,20,opt,name=out_mac_errors_tx,json=outMacErrorsTx,proto3" json:"out_mac_errors_tx,omitempty"` // Receive Frame Distribution counters EthRxDistribution *EthernetInDistribution `protobuf:"bytes,21,opt,name=eth_rx_distribution,json=ethRxDistribution,proto3" json:"eth_rx_distribution,omitempty"` // contains filtered or unexported fields }
Ethernet Interface Counters
func (*EthernetCounters) Descriptor
deprecated
func (*EthernetCounters) Descriptor() ([]byte, []int)
Deprecated: Use EthernetCounters.ProtoReflect.Descriptor instead.
func (*EthernetCounters) GetEthRxDistribution ¶
func (x *EthernetCounters) GetEthRxDistribution() *EthernetInDistribution
func (*EthernetCounters) GetOutIeee8021QFrames ¶
func (x *EthernetCounters) GetOutIeee8021QFrames() uint64
func (*EthernetCounters) GetOutMacControlFrames ¶
func (x *EthernetCounters) GetOutMacControlFrames() uint64
func (*EthernetCounters) GetOutMacErrorsTx ¶
func (x *EthernetCounters) GetOutMacErrorsTx() uint64
func (*EthernetCounters) GetOutMacPauseFrames ¶
func (x *EthernetCounters) GetOutMacPauseFrames() uint64
func (*EthernetCounters) GetRxBlockErrors ¶
func (x *EthernetCounters) GetRxBlockErrors() uint64
func (*EthernetCounters) GetRxCarrierErrors ¶
func (x *EthernetCounters) GetRxCarrierErrors() uint64
func (*EthernetCounters) GetRxCrcErrors ¶
func (x *EthernetCounters) GetRxCrcErrors() uint64
func (*EthernetCounters) GetRxFragmentFrames ¶
func (x *EthernetCounters) GetRxFragmentFrames() uint64
func (*EthernetCounters) GetRxIeee8021QFrames ¶
func (x *EthernetCounters) GetRxIeee8021QFrames() uint64
func (*EthernetCounters) GetRxInterruptedTx ¶
func (x *EthernetCounters) GetRxInterruptedTx() uint64
func (*EthernetCounters) GetRxJabberFrames ¶
func (x *EthernetCounters) GetRxJabberFrames() uint64
func (*EthernetCounters) GetRxLateCollision ¶
func (x *EthernetCounters) GetRxLateCollision() uint64
func (*EthernetCounters) GetRxMacControlFrames ¶
func (x *EthernetCounters) GetRxMacControlFrames() uint64
func (*EthernetCounters) GetRxMacErrorsRx ¶
func (x *EthernetCounters) GetRxMacErrorsRx() uint64
func (*EthernetCounters) GetRxMacPauseFrames ¶
func (x *EthernetCounters) GetRxMacPauseFrames() uint64
func (*EthernetCounters) GetRxMaxsizeExceeded ¶
func (x *EthernetCounters) GetRxMaxsizeExceeded() uint64
func (*EthernetCounters) GetRxOversizeFrames ¶
func (x *EthernetCounters) GetRxOversizeFrames() uint64
func (*EthernetCounters) GetRxSingleCollision ¶
func (x *EthernetCounters) GetRxSingleCollision() uint64
func (*EthernetCounters) GetRxSymbolError ¶
func (x *EthernetCounters) GetRxSymbolError() uint64
func (*EthernetCounters) GetRxUndersizeFrames ¶
func (x *EthernetCounters) GetRxUndersizeFrames() uint64
func (*EthernetCounters) ProtoMessage ¶
func (*EthernetCounters) ProtoMessage()
func (*EthernetCounters) ProtoReflect ¶
func (x *EthernetCounters) ProtoReflect() protoreflect.Message
func (*EthernetCounters) Reset ¶
func (x *EthernetCounters) Reset()
func (*EthernetCounters) String ¶
func (x *EthernetCounters) String() string
type EthernetInDistribution ¶
type EthernetInDistribution struct { // Receive counter for 64 byte frames RxFramesOctets64 uint64 `protobuf:"varint,1,opt,name=rx_frames_octets64,json=rxFramesOctets64,proto3" json:"rx_frames_octets64,omitempty"` // Receive counter for 65 to 127 byte frames RxFramesOctets65To127 uint64 `` /* 129-byte string literal not displayed */ // Receive counter for 128 to 255 byte frames RxFramesOctets128To255 uint64 `` /* 132-byte string literal not displayed */ // receive counter for 256 to 511 byte frames RxFramesOctets256To511 uint64 `` /* 132-byte string literal not displayed */ // receive counter for 512 to 1023 byte frames RxFramesOctets512To1023 uint64 `` /* 135-byte string literal not displayed */ // receive counter for 1024 to 1518 byte frames RxFramesOctets1024To1518 uint64 `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
Ethernet receive frame distribution counters
func (*EthernetInDistribution) Descriptor
deprecated
func (*EthernetInDistribution) Descriptor() ([]byte, []int)
Deprecated: Use EthernetInDistribution.ProtoReflect.Descriptor instead.
func (*EthernetInDistribution) GetRxFramesOctets1024To1518 ¶
func (x *EthernetInDistribution) GetRxFramesOctets1024To1518() uint64
func (*EthernetInDistribution) GetRxFramesOctets128To255 ¶
func (x *EthernetInDistribution) GetRxFramesOctets128To255() uint64
func (*EthernetInDistribution) GetRxFramesOctets256To511 ¶
func (x *EthernetInDistribution) GetRxFramesOctets256To511() uint64
func (*EthernetInDistribution) GetRxFramesOctets512To1023 ¶
func (x *EthernetInDistribution) GetRxFramesOctets512To1023() uint64
func (*EthernetInDistribution) GetRxFramesOctets64 ¶
func (x *EthernetInDistribution) GetRxFramesOctets64() uint64
func (*EthernetInDistribution) GetRxFramesOctets65To127 ¶
func (x *EthernetInDistribution) GetRxFramesOctets65To127() uint64
func (*EthernetInDistribution) ProtoMessage ¶
func (*EthernetInDistribution) ProtoMessage()
func (*EthernetInDistribution) ProtoReflect ¶
func (x *EthernetInDistribution) ProtoReflect() protoreflect.Message
func (*EthernetInDistribution) Reset ¶
func (x *EthernetInDistribution) Reset()
func (*EthernetInDistribution) String ¶
func (x *EthernetInDistribution) String() string
type EthernetInterface ¶
type EthernetInterface struct { // Ethernet Interface Configuration settings Config *EthernetConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Ethernet Interface State information State *EthernetState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // Switched VLAN Interface configuration for interface SwitchedVlan *VlanSwitchedIf `protobuf:"bytes,3,opt,name=switched_vlan,json=switchedVlan,proto3" json:"switched_vlan,omitempty"` // contains filtered or unexported fields }
Ethernet Interface
func (*EthernetInterface) Descriptor
deprecated
func (*EthernetInterface) Descriptor() ([]byte, []int)
Deprecated: Use EthernetInterface.ProtoReflect.Descriptor instead.
func (*EthernetInterface) GetConfig ¶
func (x *EthernetInterface) GetConfig() *EthernetConfig
func (*EthernetInterface) GetState ¶
func (x *EthernetInterface) GetState() *EthernetState
func (*EthernetInterface) GetSwitchedVlan ¶
func (x *EthernetInterface) GetSwitchedVlan() *VlanSwitchedIf
func (*EthernetInterface) ProtoMessage ¶
func (*EthernetInterface) ProtoMessage()
func (*EthernetInterface) ProtoReflect ¶
func (x *EthernetInterface) ProtoReflect() protoreflect.Message
func (*EthernetInterface) Reset ¶
func (x *EthernetInterface) Reset()
func (*EthernetInterface) String ¶
func (x *EthernetInterface) String() string
type EthernetState ¶
type EthernetState struct { // MAC address to assign to the Ethernet Interface if not assigned or // being overridden. MacAddress string `protobuf:"bytes,1,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // Set to TRUE to request autonegotiate the transmission parameters // with the peer interface AutoNegotiate bool `protobuf:"varint,2,opt,name=auto_negotiate,json=autoNegotiate,proto3" json:"auto_negotiate,omitempty"` // Used when full autonegotiation is not desired by setting to TRUE // and setting auto_negotiate to FALSE. It is ignored when auto-negotiate // is set to TRUE. StandaloneLinkTraining bool `` /* 130-byte string literal not displayed */ // The duplex mode that is negotiated or set interface DuplexMode EthDuplexMode `` /* 149-byte string literal not displayed */ // The port speed that is negotiated or set for the interface PortSpeed EthPortSpeed `` /* 145-byte string literal not displayed */ // Override for the negotiated flow control on the interface EnableFlowControl bool `protobuf:"varint,6,opt,name=enable_flow_control,json=enableFlowControl,proto3" json:"enable_flow_control,omitempty"` // FEC applied to the physical channel of the interface FecMode EthFecMode `` /* 137-byte string literal not displayed */ // Hardware MAC address defined for the interface HwMacAddress string `protobuf:"bytes,8,opt,name=hw_mac_address,json=hwMacAddress,proto3" json:"hw_mac_address,omitempty"` // Negotiated Duplex mode for the interface NegotiatedDuplexMode EthDuplexMode `` /* 181-byte string literal not displayed */ // Negotiated Port Speed for the interface NegotiatedPortSpeed EthPortSpeed `` /* 178-byte string literal not displayed */ // Ethernet port counters Counters *EthernetCounters `protobuf:"bytes,11,opt,name=counters,proto3" json:"counters,omitempty"` // contains filtered or unexported fields }
Ethernet interface state settings
func (*EthernetState) Descriptor
deprecated
func (*EthernetState) Descriptor() ([]byte, []int)
Deprecated: Use EthernetState.ProtoReflect.Descriptor instead.
func (*EthernetState) GetAutoNegotiate ¶
func (x *EthernetState) GetAutoNegotiate() bool
func (*EthernetState) GetCounters ¶
func (x *EthernetState) GetCounters() *EthernetCounters
func (*EthernetState) GetDuplexMode ¶
func (x *EthernetState) GetDuplexMode() EthDuplexMode
func (*EthernetState) GetEnableFlowControl ¶
func (x *EthernetState) GetEnableFlowControl() bool
func (*EthernetState) GetFecMode ¶
func (x *EthernetState) GetFecMode() EthFecMode
func (*EthernetState) GetHwMacAddress ¶
func (x *EthernetState) GetHwMacAddress() string
func (*EthernetState) GetMacAddress ¶
func (x *EthernetState) GetMacAddress() string
func (*EthernetState) GetNegotiatedDuplexMode ¶
func (x *EthernetState) GetNegotiatedDuplexMode() EthDuplexMode
func (*EthernetState) GetNegotiatedPortSpeed ¶
func (x *EthernetState) GetNegotiatedPortSpeed() EthPortSpeed
func (*EthernetState) GetPortSpeed ¶
func (x *EthernetState) GetPortSpeed() EthPortSpeed
func (*EthernetState) GetStandaloneLinkTraining ¶
func (x *EthernetState) GetStandaloneLinkTraining() bool
func (*EthernetState) ProtoMessage ¶
func (*EthernetState) ProtoMessage()
func (*EthernetState) ProtoReflect ¶
func (x *EthernetState) ProtoReflect() protoreflect.Message
func (*EthernetState) Reset ¶
func (x *EthernetState) Reset()
func (*EthernetState) String ¶
func (x *EthernetState) String() string
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_INTERFACE_TYPE_ETHERNET InterfaceType = 1 // Loopback Interface InterfaceType_INTERFACE_TYPE_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 *NetInterfaceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // Interface State and Statistics - ro State *NetInterfaceState `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"` // Ethernet interface Ethernet *EthernetInterface `protobuf:"bytes,6,opt,name=ethernet,proto3" json:"ethernet,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() *NetInterfaceConfig
func (*NetInterface) GetEthernet ¶
func (x *NetInterface) GetEthernet() *EthernetInterface
func (*NetInterface) GetHoldtime ¶
func (x *NetInterface) GetHoldtime() *NetInterface_HoldTime
func (*NetInterface) GetName ¶
func (x *NetInterface) GetName() string
func (*NetInterface) GetState ¶
func (x *NetInterface) GetState() *NetInterfaceState
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 NetInterfaceConfig ¶
type NetInterfaceConfig 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.opinetcommon.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"` // VLAN Tag Protocol Identifier (TPID) Tpid TpidTypes `protobuf:"varint,7,opt,name=tpid,proto3,enum=opi_api.network.opinetcommon.v1alpha1.TpidTypes" json:"tpid,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 (*NetInterfaceConfig) Descriptor
deprecated
func (*NetInterfaceConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetInterfaceConfig.ProtoReflect.Descriptor instead.
func (*NetInterfaceConfig) GetDescription ¶
func (x *NetInterfaceConfig) GetDescription() string
func (*NetInterfaceConfig) GetEnabled ¶
func (x *NetInterfaceConfig) GetEnabled() bool
func (*NetInterfaceConfig) GetLoopbackMode ¶
func (x *NetInterfaceConfig) GetLoopbackMode() bool
func (*NetInterfaceConfig) GetMtu ¶
func (x *NetInterfaceConfig) GetMtu() uint32
func (*NetInterfaceConfig) GetName ¶
func (x *NetInterfaceConfig) GetName() string
func (*NetInterfaceConfig) GetTpid ¶
func (x *NetInterfaceConfig) GetTpid() TpidTypes
func (*NetInterfaceConfig) GetType ¶
func (x *NetInterfaceConfig) GetType() InterfaceType
func (*NetInterfaceConfig) ProtoMessage ¶
func (*NetInterfaceConfig) ProtoMessage()
func (*NetInterfaceConfig) ProtoReflect ¶
func (x *NetInterfaceConfig) ProtoReflect() protoreflect.Message
func (*NetInterfaceConfig) Reset ¶
func (x *NetInterfaceConfig) Reset()
func (*NetInterfaceConfig) String ¶
func (x *NetInterfaceConfig) String() string
type NetInterfaceCounters ¶
type NetInterfaceCounters 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"` // Timestamp of the last time the interface counters were cleared 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 (*NetInterfaceCounters) Descriptor
deprecated
func (*NetInterfaceCounters) Descriptor() ([]byte, []int)
Deprecated: Use NetInterfaceCounters.ProtoReflect.Descriptor instead.
func (*NetInterfaceCounters) GetCarrierTransitions ¶
func (x *NetInterfaceCounters) GetCarrierTransitions() uint64
func (*NetInterfaceCounters) GetLastClear ¶
func (x *NetInterfaceCounters) GetLastClear() uint64
func (*NetInterfaceCounters) GetOutBroadcastPkts ¶
func (x *NetInterfaceCounters) GetOutBroadcastPkts() uint64
func (*NetInterfaceCounters) GetOutDiscards ¶
func (x *NetInterfaceCounters) GetOutDiscards() uint64
func (*NetInterfaceCounters) GetOutErrors ¶
func (x *NetInterfaceCounters) GetOutErrors() uint64
func (*NetInterfaceCounters) GetOutMulticastPkts ¶
func (x *NetInterfaceCounters) GetOutMulticastPkts() uint64
func (*NetInterfaceCounters) GetOutOctets ¶
func (x *NetInterfaceCounters) GetOutOctets() uint64
func (*NetInterfaceCounters) GetOutPackets ¶
func (x *NetInterfaceCounters) GetOutPackets() uint64
func (*NetInterfaceCounters) GetOutUnicastPkts ¶
func (x *NetInterfaceCounters) GetOutUnicastPkts() uint64
func (*NetInterfaceCounters) GetRxBroadcastPkts ¶
func (x *NetInterfaceCounters) GetRxBroadcastPkts() uint64
func (*NetInterfaceCounters) GetRxDiscards ¶
func (x *NetInterfaceCounters) GetRxDiscards() uint64
func (*NetInterfaceCounters) GetRxErrors ¶
func (x *NetInterfaceCounters) GetRxErrors() uint64
func (*NetInterfaceCounters) GetRxFcsErrors ¶
func (x *NetInterfaceCounters) GetRxFcsErrors() uint64
func (*NetInterfaceCounters) GetRxMulticastPkts ¶
func (x *NetInterfaceCounters) GetRxMulticastPkts() uint64
func (*NetInterfaceCounters) GetRxOctets ¶
func (x *NetInterfaceCounters) GetRxOctets() uint64
func (*NetInterfaceCounters) GetRxPackets ¶
func (x *NetInterfaceCounters) GetRxPackets() uint64
func (*NetInterfaceCounters) GetRxUnicastPkts ¶
func (x *NetInterfaceCounters) GetRxUnicastPkts() uint64
func (*NetInterfaceCounters) GetRxUnknownProtos ¶
func (x *NetInterfaceCounters) GetRxUnknownProtos() uint64
func (*NetInterfaceCounters) ProtoMessage ¶
func (*NetInterfaceCounters) ProtoMessage()
func (*NetInterfaceCounters) ProtoReflect ¶
func (x *NetInterfaceCounters) ProtoReflect() protoreflect.Message
func (*NetInterfaceCounters) Reset ¶
func (x *NetInterfaceCounters) Reset()
func (*NetInterfaceCounters) String ¶
func (x *NetInterfaceCounters) 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#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) // contains filtered or unexported methods }
NetInterfaceServiceServer is the server API for NetInterfaceService service. All implementations must embed UnimplementedNetInterfaceServiceServer for forward compatibility
type NetInterfaceState ¶
type NetInterfaceState 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.opinetcommon.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 `` /* 142-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 - when set to true indicates a logical interface with // no associated physical port or channel Logical bool `protobuf:"varint,11,opt,name=logical,proto3" json:"logical,omitempty"` // Management interface - when set to true indicates a dedicated management // interface that is independent of the dataplane interfaces such as an out // of band management network Management bool `protobuf:"varint,12,opt,name=management,proto3" json:"management,omitempty"` // CPU interface - when set to true the interface is for traffic handled by // the system CPU or control plane Cpu bool `protobuf:"varint,13,opt,name=cpu,proto3" json:"cpu,omitempty"` // Interface Statistics Counters Counters *NetInterfaceCounters `protobuf:"bytes,14,opt,name=counters,proto3" json:"counters,omitempty"` // VLAN Tag Protocol Identifier Tpid TpidTypes `protobuf:"varint,15,opt,name=tpid,proto3,enum=opi_api.network.opinetcommon.v1alpha1.TpidTypes" json:"tpid,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 (*NetInterfaceState) Descriptor
deprecated
func (*NetInterfaceState) Descriptor() ([]byte, []int)
Deprecated: Use NetInterfaceState.ProtoReflect.Descriptor instead.
func (*NetInterfaceState) GetAdminState ¶
func (x *NetInterfaceState) GetAdminState() AdminState
func (*NetInterfaceState) GetCounters ¶
func (x *NetInterfaceState) GetCounters() *NetInterfaceCounters
func (*NetInterfaceState) GetCpu ¶
func (x *NetInterfaceState) GetCpu() bool
func (*NetInterfaceState) GetDescription ¶
func (x *NetInterfaceState) GetDescription() string
func (*NetInterfaceState) GetEnabled ¶
func (x *NetInterfaceState) GetEnabled() bool
func (*NetInterfaceState) GetIfindex ¶
func (x *NetInterfaceState) GetIfindex() uint32
func (*NetInterfaceState) GetLastChange ¶
func (x *NetInterfaceState) GetLastChange() uint64
func (*NetInterfaceState) GetLogical ¶
func (x *NetInterfaceState) GetLogical() bool
func (*NetInterfaceState) GetLoopbackMode ¶
func (x *NetInterfaceState) GetLoopbackMode() bool
func (*NetInterfaceState) GetManagement ¶
func (x *NetInterfaceState) GetManagement() bool
func (*NetInterfaceState) GetMtu ¶
func (x *NetInterfaceState) GetMtu() uint32
func (*NetInterfaceState) GetName ¶
func (x *NetInterfaceState) GetName() string
func (*NetInterfaceState) GetOperState ¶
func (x *NetInterfaceState) GetOperState() OperState
func (*NetInterfaceState) GetTpid ¶
func (x *NetInterfaceState) GetTpid() TpidTypes
func (*NetInterfaceState) GetType ¶
func (x *NetInterfaceState) GetType() InterfaceType
func (*NetInterfaceState) ProtoMessage ¶
func (*NetInterfaceState) ProtoMessage()
func (*NetInterfaceState) ProtoReflect ¶
func (x *NetInterfaceState) ProtoReflect() protoreflect.Message
func (*NetInterfaceState) Reset ¶
func (x *NetInterfaceState) Reset()
func (*NetInterfaceState) String ¶
func (x *NetInterfaceState) String() string
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 *NetInterfaceState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // Subinterface VLAN Vlan *VlanIf `protobuf:"bytes,4,opt,name=vlan,proto3" json:"vlan,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() *NetInterfaceState
func (*NetInterface_Subinterfaces_Subinterface) GetSubifConfig ¶
func (x *NetInterface_Subinterfaces_Subinterface) GetSubifConfig() *NetInterface_Subinterfaces_Subinterface_SubifConfig
func (*NetInterface_Subinterfaces_Subinterface) GetVlan ¶
func (x *NetInterface_Subinterfaces_Subinterface) GetVlan() *VlanIf
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 SwitchedVlanSetting ¶
type SwitchedVlanSetting struct { // Setting for the VLAN interface to access or trunk mode VlanInterfaceMode VlanIfMode `` /* 169-byte string literal not displayed */ // VLAN ID when the mode is set to trunk mode NativeVlan uint32 `protobuf:"varint,2,opt,name=native_vlan,json=nativeVlan,proto3" json:"native_vlan,omitempty"` // VLAN ID when the mode is set to access mode AccessVlan uint32 `protobuf:"varint,3,opt,name=access_vlan,json=accessVlan,proto3" json:"access_vlan,omitempty"` // Allowed VLANs may be specified for trunk mode interfaces TrunkVlans string `protobuf:"bytes,4,opt,name=trunk_vlans,json=trunkVlans,proto3" json:"trunk_vlans,omitempty"` // contains filtered or unexported fields }
Switched VLAN Configuration Settings that are part of the Ethernet interface
func (*SwitchedVlanSetting) Descriptor
deprecated
func (*SwitchedVlanSetting) Descriptor() ([]byte, []int)
Deprecated: Use SwitchedVlanSetting.ProtoReflect.Descriptor instead.
func (*SwitchedVlanSetting) GetAccessVlan ¶
func (x *SwitchedVlanSetting) GetAccessVlan() uint32
func (*SwitchedVlanSetting) GetNativeVlan ¶
func (x *SwitchedVlanSetting) GetNativeVlan() uint32
func (*SwitchedVlanSetting) GetTrunkVlans ¶
func (x *SwitchedVlanSetting) GetTrunkVlans() string
func (*SwitchedVlanSetting) GetVlanInterfaceMode ¶
func (x *SwitchedVlanSetting) GetVlanInterfaceMode() VlanIfMode
func (*SwitchedVlanSetting) ProtoMessage ¶
func (*SwitchedVlanSetting) ProtoMessage()
func (*SwitchedVlanSetting) ProtoReflect ¶
func (x *SwitchedVlanSetting) ProtoReflect() protoreflect.Message
func (*SwitchedVlanSetting) Reset ¶
func (x *SwitchedVlanSetting) Reset()
func (*SwitchedVlanSetting) String ¶
func (x *SwitchedVlanSetting) String() string
type TpidTypes ¶
type TpidTypes int32
Tag Protocol Identifier (TPID) Types Enumeration
const ( // Unspecified TpidTypes_TPID_TYPES_UNSPECIFIED TpidTypes = 0 // Default value for 802.1q single-tagged VLANs TpidTypes_TPID_TYPES_0X8100 TpidTypes = 1 // Value for 802.1ad provider bridging, QinQ, or stacked VLANs TpidTypes_TPID_TYPES_0X88A8 TpidTypes = 2 // Alternate TPID value TpidTypes_TPID_TYPES_0X9100 TpidTypes = 3 // Alternate TPID value TpidTypes_TPID_TYPES_0X9200 TpidTypes = 4 // Any - Wildcard that matches any of the singly or multiply tagged VLANS TpidTypes_TPID_TYPES_ANY TpidTypes = 5 )
func (TpidTypes) Descriptor ¶
func (TpidTypes) Descriptor() protoreflect.EnumDescriptor
func (TpidTypes) EnumDescriptor
deprecated
func (TpidTypes) Number ¶
func (x TpidTypes) Number() protoreflect.EnumNumber
func (TpidTypes) Type ¶
func (TpidTypes) Type() protoreflect.EnumType
type UnimplementedNetInterfaceServiceServer ¶
type UnimplementedNetInterfaceServiceServer struct { }
UnimplementedNetInterfaceServiceServer must 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 UnsafeNetInterfaceServiceServer ¶
type UnsafeNetInterfaceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNetInterfaceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetInterfaceServiceServer will result in compilation errors.
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"` // If set to true, and the object is not found, a new object will be created. // In this situation, 'update_mask' is ignored. AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,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) GetAllowMissing ¶
func (x *UpdateNetInterfaceRequest) GetAllowMissing() bool
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 VlanIf ¶
type VlanIf struct { // VLAN Tag matching schemes Match *VlanIf_VlanMatch `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"` // Ingress VLAN stack behaviors after received packets have matched Ingressmapping *VlanIf_VlanIngressMapping `protobuf:"bytes,2,opt,name=ingressmapping,proto3" json:"ingressmapping,omitempty"` // Egress VLAN stack behaviors for output packets Egressmapping *VlanIf_VlanEgressMapping `protobuf:"bytes,3,opt,name=egressmapping,proto3" json:"egressmapping,omitempty"` // contains filtered or unexported fields }
VLAN Interface Configuration
func (*VlanIf) Descriptor
deprecated
func (*VlanIf) GetEgressmapping ¶
func (x *VlanIf) GetEgressmapping() *VlanIf_VlanEgressMapping
func (*VlanIf) GetIngressmapping ¶
func (x *VlanIf) GetIngressmapping() *VlanIf_VlanIngressMapping
func (*VlanIf) GetMatch ¶
func (x *VlanIf) GetMatch() *VlanIf_VlanMatch
func (*VlanIf) ProtoMessage ¶
func (*VlanIf) ProtoMessage()
func (*VlanIf) ProtoReflect ¶
func (x *VlanIf) ProtoReflect() protoreflect.Message
type VlanIfMode ¶
type VlanIfMode int32
VLAN Interface Mode
const ( // Interface Mode Unspecified VlanIfMode_VLAN_IF_MODE_UNSPECIFIED VlanIfMode = 0 // Interface mode ACCESS VlanIfMode_VLAN_IF_MODE_ACCESS VlanIfMode = 1 // Interface mode TRUNK VlanIfMode_VLAN_IF_MODE_TRUNK VlanIfMode = 2 )
func (VlanIfMode) Descriptor ¶
func (VlanIfMode) Descriptor() protoreflect.EnumDescriptor
func (VlanIfMode) Enum ¶
func (x VlanIfMode) Enum() *VlanIfMode
func (VlanIfMode) EnumDescriptor
deprecated
func (VlanIfMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use VlanIfMode.Descriptor instead.
func (VlanIfMode) Number ¶
func (x VlanIfMode) Number() protoreflect.EnumNumber
func (VlanIfMode) String ¶
func (x VlanIfMode) String() string
func (VlanIfMode) Type ¶
func (VlanIfMode) Type() protoreflect.EnumType
type VlanIf_VlanEgressMapping ¶
type VlanIf_VlanEgressMapping struct { // Configuration for egress VLAN stack behaviors for packets that are // destined for output via this subinterface Config *VlanIngressEgressSetting `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // State for engress VLAN stack behaviors for packets that are destined // for output via this subinterface State *VlanIngressEgressSetting `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
Egress VLAN stack behaviors for packets that are destined for output via this subinterface
func (*VlanIf_VlanEgressMapping) Descriptor
deprecated
func (*VlanIf_VlanEgressMapping) Descriptor() ([]byte, []int)
Deprecated: Use VlanIf_VlanEgressMapping.ProtoReflect.Descriptor instead.
func (*VlanIf_VlanEgressMapping) GetConfig ¶
func (x *VlanIf_VlanEgressMapping) GetConfig() *VlanIngressEgressSetting
func (*VlanIf_VlanEgressMapping) GetState ¶
func (x *VlanIf_VlanEgressMapping) GetState() *VlanIngressEgressSetting
func (*VlanIf_VlanEgressMapping) ProtoMessage ¶
func (*VlanIf_VlanEgressMapping) ProtoMessage()
func (*VlanIf_VlanEgressMapping) ProtoReflect ¶
func (x *VlanIf_VlanEgressMapping) ProtoReflect() protoreflect.Message
func (*VlanIf_VlanEgressMapping) Reset ¶
func (x *VlanIf_VlanEgressMapping) Reset()
func (*VlanIf_VlanEgressMapping) String ¶
func (x *VlanIf_VlanEgressMapping) String() string
type VlanIf_VlanIngressMapping ¶
type VlanIf_VlanIngressMapping struct { // Configuration for ingress VLAN and label behaviors for packets that // arrive on this subinterface Config *VlanIngressEgressSetting `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // State for ingress VLAN and label behaviors for packets that arrive // on this subinterface State *VlanIngressEgressSetting `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
Ingress VLAN stack behaviors for packets that arrive on this subinterface after their VLAN idenitifer(s) have been matched
func (*VlanIf_VlanIngressMapping) Descriptor
deprecated
func (*VlanIf_VlanIngressMapping) Descriptor() ([]byte, []int)
Deprecated: Use VlanIf_VlanIngressMapping.ProtoReflect.Descriptor instead.
func (*VlanIf_VlanIngressMapping) GetConfig ¶
func (x *VlanIf_VlanIngressMapping) GetConfig() *VlanIngressEgressSetting
func (*VlanIf_VlanIngressMapping) GetState ¶
func (x *VlanIf_VlanIngressMapping) GetState() *VlanIngressEgressSetting
func (*VlanIf_VlanIngressMapping) ProtoMessage ¶
func (*VlanIf_VlanIngressMapping) ProtoMessage()
func (*VlanIf_VlanIngressMapping) ProtoReflect ¶
func (x *VlanIf_VlanIngressMapping) ProtoReflect() protoreflect.Message
func (*VlanIf_VlanIngressMapping) Reset ¶
func (x *VlanIf_VlanIngressMapping) Reset()
func (*VlanIf_VlanIngressMapping) String ¶
func (x *VlanIf_VlanIngressMapping) String() string
type VlanIf_VlanMatch ¶
type VlanIf_VlanMatch struct { // Single tagged VLAN exact matching Singletagged *VlanIf_VlanMatch_SingleTagged `protobuf:"bytes,1,opt,name=singletagged,proto3" json:"singletagged,omitempty"` // Single tag list VLAN matching Singletaggedlist *VlanIf_VlanMatch_SingleTaggedList `protobuf:"bytes,2,opt,name=singletaggedlist,proto3" json:"singletaggedlist,omitempty"` // contains filtered or unexported fields }
Configuration for VLAN tag matching schemes
func (*VlanIf_VlanMatch) Descriptor
deprecated
func (*VlanIf_VlanMatch) Descriptor() ([]byte, []int)
Deprecated: Use VlanIf_VlanMatch.ProtoReflect.Descriptor instead.
func (*VlanIf_VlanMatch) GetSingletagged ¶
func (x *VlanIf_VlanMatch) GetSingletagged() *VlanIf_VlanMatch_SingleTagged
func (*VlanIf_VlanMatch) GetSingletaggedlist ¶
func (x *VlanIf_VlanMatch) GetSingletaggedlist() *VlanIf_VlanMatch_SingleTaggedList
func (*VlanIf_VlanMatch) ProtoMessage ¶
func (*VlanIf_VlanMatch) ProtoMessage()
func (*VlanIf_VlanMatch) ProtoReflect ¶
func (x *VlanIf_VlanMatch) ProtoReflect() protoreflect.Message
func (*VlanIf_VlanMatch) Reset ¶
func (x *VlanIf_VlanMatch) Reset()
func (*VlanIf_VlanMatch) String ¶
func (x *VlanIf_VlanMatch) String() string
type VlanIf_VlanMatch_SingleTagged ¶
type VlanIf_VlanMatch_SingleTagged struct { // Configuration for exact matching of single tagged packets Config *VlanIf_VlanMatch_SingleTagged_SingleTagConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // State for exact matching of single tagged packets State *VlanIf_VlanMatch_SingleTagged_SingleTagState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
Single Tagged matching of exact VLAN identifier
func (*VlanIf_VlanMatch_SingleTagged) Descriptor
deprecated
func (*VlanIf_VlanMatch_SingleTagged) Descriptor() ([]byte, []int)
Deprecated: Use VlanIf_VlanMatch_SingleTagged.ProtoReflect.Descriptor instead.
func (*VlanIf_VlanMatch_SingleTagged) GetConfig ¶
func (x *VlanIf_VlanMatch_SingleTagged) GetConfig() *VlanIf_VlanMatch_SingleTagged_SingleTagConfig
func (*VlanIf_VlanMatch_SingleTagged) GetState ¶
func (x *VlanIf_VlanMatch_SingleTagged) GetState() *VlanIf_VlanMatch_SingleTagged_SingleTagState
func (*VlanIf_VlanMatch_SingleTagged) ProtoMessage ¶
func (*VlanIf_VlanMatch_SingleTagged) ProtoMessage()
func (*VlanIf_VlanMatch_SingleTagged) ProtoReflect ¶
func (x *VlanIf_VlanMatch_SingleTagged) ProtoReflect() protoreflect.Message
func (*VlanIf_VlanMatch_SingleTagged) Reset ¶
func (x *VlanIf_VlanMatch_SingleTagged) Reset()
func (*VlanIf_VlanMatch_SingleTagged) String ¶
func (x *VlanIf_VlanMatch_SingleTagged) String() string
type VlanIf_VlanMatch_SingleTaggedList ¶
type VlanIf_VlanMatch_SingleTaggedList struct { // Configuration for single tagged VLAN list Config *VlanIf_VlanMatch_SingleTaggedList_TagListConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // State for sintle tagged list Status *VlanIf_VlanMatch_SingleTaggedList_TagListStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
Single tagged list matching configuration
func (*VlanIf_VlanMatch_SingleTaggedList) Descriptor
deprecated
func (*VlanIf_VlanMatch_SingleTaggedList) Descriptor() ([]byte, []int)
Deprecated: Use VlanIf_VlanMatch_SingleTaggedList.ProtoReflect.Descriptor instead.
func (*VlanIf_VlanMatch_SingleTaggedList) GetConfig ¶
func (x *VlanIf_VlanMatch_SingleTaggedList) GetConfig() *VlanIf_VlanMatch_SingleTaggedList_TagListConfig
func (*VlanIf_VlanMatch_SingleTaggedList) GetStatus ¶
func (x *VlanIf_VlanMatch_SingleTaggedList) GetStatus() *VlanIf_VlanMatch_SingleTaggedList_TagListStatus
func (*VlanIf_VlanMatch_SingleTaggedList) ProtoMessage ¶
func (*VlanIf_VlanMatch_SingleTaggedList) ProtoMessage()
func (*VlanIf_VlanMatch_SingleTaggedList) ProtoReflect ¶
func (x *VlanIf_VlanMatch_SingleTaggedList) ProtoReflect() protoreflect.Message
func (*VlanIf_VlanMatch_SingleTaggedList) Reset ¶
func (x *VlanIf_VlanMatch_SingleTaggedList) Reset()
func (*VlanIf_VlanMatch_SingleTaggedList) String ¶
func (x *VlanIf_VlanMatch_SingleTaggedList) String() string
type VlanIf_VlanMatch_SingleTaggedList_TagListConfig ¶
type VlanIf_VlanMatch_SingleTaggedList_TagListConfig struct { // List of VLAN identifiers for single-tagged packets VlanId []uint32 `protobuf:"varint,1,rep,packed,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` // contains filtered or unexported fields }
Configuration for matching single-tagged packets with a list of VLAN identifiers
func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) Descriptor
deprecated
func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) Descriptor() ([]byte, []int)
Deprecated: Use VlanIf_VlanMatch_SingleTaggedList_TagListConfig.ProtoReflect.Descriptor instead.
func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) GetVlanId ¶
func (x *VlanIf_VlanMatch_SingleTaggedList_TagListConfig) GetVlanId() []uint32
func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) ProtoMessage ¶
func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) ProtoMessage()
func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) ProtoReflect ¶
func (x *VlanIf_VlanMatch_SingleTaggedList_TagListConfig) ProtoReflect() protoreflect.Message
func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) Reset ¶
func (x *VlanIf_VlanMatch_SingleTaggedList_TagListConfig) Reset()
func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) String ¶
func (x *VlanIf_VlanMatch_SingleTaggedList_TagListConfig) String() string
type VlanIf_VlanMatch_SingleTaggedList_TagListStatus ¶
type VlanIf_VlanMatch_SingleTaggedList_TagListStatus struct { // List of VLAN identifiers configured for single-tagged packets Vlanid []uint32 `protobuf:"varint,1,rep,packed,name=vlanid,proto3" json:"vlanid,omitempty"` // contains filtered or unexported fields }
State for matching single-tagged packets with a list of VLAN identifiers
func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) Descriptor
deprecated
func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) Descriptor() ([]byte, []int)
Deprecated: Use VlanIf_VlanMatch_SingleTaggedList_TagListStatus.ProtoReflect.Descriptor instead.
func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) GetVlanid ¶
func (x *VlanIf_VlanMatch_SingleTaggedList_TagListStatus) GetVlanid() []uint32
func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) ProtoMessage ¶
func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) ProtoMessage()
func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) ProtoReflect ¶
func (x *VlanIf_VlanMatch_SingleTaggedList_TagListStatus) ProtoReflect() protoreflect.Message
func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) Reset ¶
func (x *VlanIf_VlanMatch_SingleTaggedList_TagListStatus) Reset()
func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) String ¶
func (x *VlanIf_VlanMatch_SingleTaggedList_TagListStatus) String() string
type VlanIf_VlanMatch_SingleTagged_SingleTagConfig ¶
type VlanIf_VlanMatch_SingleTagged_SingleTagConfig struct { // Single tag VLAN Identifier (1-4094) VlanId uint32 `protobuf:"varint,1,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` // contains filtered or unexported fields }
Configuration for matching single-tagged packets with an exact VLAN identifier
func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) Descriptor
deprecated
func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) Descriptor() ([]byte, []int)
Deprecated: Use VlanIf_VlanMatch_SingleTagged_SingleTagConfig.ProtoReflect.Descriptor instead.
func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) GetVlanId ¶
func (x *VlanIf_VlanMatch_SingleTagged_SingleTagConfig) GetVlanId() uint32
func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) ProtoMessage ¶
func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) ProtoMessage()
func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) ProtoReflect ¶
func (x *VlanIf_VlanMatch_SingleTagged_SingleTagConfig) ProtoReflect() protoreflect.Message
func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) Reset ¶
func (x *VlanIf_VlanMatch_SingleTagged_SingleTagConfig) Reset()
func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) String ¶
func (x *VlanIf_VlanMatch_SingleTagged_SingleTagConfig) String() string
type VlanIf_VlanMatch_SingleTagged_SingleTagState ¶
type VlanIf_VlanMatch_SingleTagged_SingleTagState struct { // Single tag VLAN Identifier configured (1-4094) VlanId uint32 `protobuf:"varint,1,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` // contains filtered or unexported fields }
State for matching single-tagged packets with an exact VLAN
func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) Descriptor
deprecated
func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) Descriptor() ([]byte, []int)
Deprecated: Use VlanIf_VlanMatch_SingleTagged_SingleTagState.ProtoReflect.Descriptor instead.
func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) GetVlanId ¶
func (x *VlanIf_VlanMatch_SingleTagged_SingleTagState) GetVlanId() uint32
func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) ProtoMessage ¶
func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) ProtoMessage()
func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) ProtoReflect ¶
func (x *VlanIf_VlanMatch_SingleTagged_SingleTagState) ProtoReflect() protoreflect.Message
func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) Reset ¶
func (x *VlanIf_VlanMatch_SingleTagged_SingleTagState) Reset()
func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) String ¶
func (x *VlanIf_VlanMatch_SingleTagged_SingleTagState) String() string
type VlanIngressEgressSetting ¶
type VlanIngressEgressSetting struct { // VLAN stack behaviors for packets that arrive or are transmitted on // this subinterface after their VLAN idenitifer(s) have been matched Vlanstackaction VlanStackAction `` /* 143-byte string literal not displayed */ // VLAN identifier - (1-4094) and will utilize 16 bits max VlanId uint32 `protobuf:"varint,2,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` // The tag protocol identifier field (TPID) that is used by the action // configured by 'vlan-stack-action' when modifying the VLAN stack. Tpid TpidTypes `protobuf:"varint,3,opt,name=tpid,proto3,enum=opi_api.network.opinetcommon.v1alpha1.TpidTypes" json:"tpid,omitempty"` // contains filtered or unexported fields }
VLAN Ingress and Egress Settings
func (*VlanIngressEgressSetting) Descriptor
deprecated
func (*VlanIngressEgressSetting) Descriptor() ([]byte, []int)
Deprecated: Use VlanIngressEgressSetting.ProtoReflect.Descriptor instead.
func (*VlanIngressEgressSetting) GetTpid ¶
func (x *VlanIngressEgressSetting) GetTpid() TpidTypes
func (*VlanIngressEgressSetting) GetVlanId ¶
func (x *VlanIngressEgressSetting) GetVlanId() uint32
func (*VlanIngressEgressSetting) GetVlanstackaction ¶
func (x *VlanIngressEgressSetting) GetVlanstackaction() VlanStackAction
func (*VlanIngressEgressSetting) ProtoMessage ¶
func (*VlanIngressEgressSetting) ProtoMessage()
func (*VlanIngressEgressSetting) ProtoReflect ¶
func (x *VlanIngressEgressSetting) ProtoReflect() protoreflect.Message
func (*VlanIngressEgressSetting) Reset ¶
func (x *VlanIngressEgressSetting) Reset()
func (*VlanIngressEgressSetting) String ¶
func (x *VlanIngressEgressSetting) String() string
type VlanStackAction ¶
type VlanStackAction int32
Vlan Stack Action to be performed on the VLAN stack
const ( // No action to perform on the VLAN Stack VlanStackAction_VLAN_STACK_ACTION_UNSPECIFIED VlanStackAction = 0 // PUSH a VLAN onto the VLAN Stack VlanStackAction_VLAN_STACK_ACTION_PUSH VlanStackAction = 1 // POP a VLAN from the VLAN Stack VlanStackAction_VLAN_STACK_ACTION_POP VlanStackAction = 2 // SWAP the VLAN at the top of the VLAN Stack VlanStackAction_VLAN_STACK_ACTION_SWAP VlanStackAction = 3 )
func (VlanStackAction) Descriptor ¶
func (VlanStackAction) Descriptor() protoreflect.EnumDescriptor
func (VlanStackAction) Enum ¶
func (x VlanStackAction) Enum() *VlanStackAction
func (VlanStackAction) EnumDescriptor
deprecated
func (VlanStackAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use VlanStackAction.Descriptor instead.
func (VlanStackAction) Number ¶
func (x VlanStackAction) Number() protoreflect.EnumNumber
func (VlanStackAction) String ¶
func (x VlanStackAction) String() string
func (VlanStackAction) Type ¶
func (VlanStackAction) Type() protoreflect.EnumType
type VlanSwitchedIf ¶
type VlanSwitchedIf struct { // Configuration parameters for VLAN Config *SwitchedVlanSetting `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // State variables for VLAN State *SwitchedVlanSetting `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
VLAN settings associated with the Ethernet Interface
func (*VlanSwitchedIf) Descriptor
deprecated
func (*VlanSwitchedIf) Descriptor() ([]byte, []int)
Deprecated: Use VlanSwitchedIf.ProtoReflect.Descriptor instead.
func (*VlanSwitchedIf) GetConfig ¶
func (x *VlanSwitchedIf) GetConfig() *SwitchedVlanSetting
func (*VlanSwitchedIf) GetState ¶
func (x *VlanSwitchedIf) GetState() *SwitchedVlanSetting
func (*VlanSwitchedIf) ProtoMessage ¶
func (*VlanSwitchedIf) ProtoMessage()
func (*VlanSwitchedIf) ProtoReflect ¶
func (x *VlanSwitchedIf) ProtoReflect() protoreflect.Message
func (*VlanSwitchedIf) Reset ¶
func (x *VlanSwitchedIf) Reset()
func (*VlanSwitchedIf) String ¶
func (x *VlanSwitchedIf) 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_WILDCARD_MATCH_NONE WildcardMatch = 0 // match everything WildcardMatch_WILDCARD_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