_go

package
v0.0.0-...-46989ae Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 17 Imported by: 17

Documentation

Overview

Package _go is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_networkethernet_proto protoreflect.FileDescriptor
View Source
var File_networkinterfaces_proto protoreflect.FileDescriptor
View Source
var File_networktypes_proto protoreflect.FileDescriptor
View Source
var File_networkvlan_proto protoreflect.FileDescriptor
View Source
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

type Config

type Config struct {

	// Name of the interface.  This is the opaque object
	// used for designating the created interface.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Type of interface - Ethernet and others
	Type InterfaceType `protobuf:"varint,2,opt,name=type,proto3,enum=opi_api.network.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 (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetDescription

func (x *Config) GetDescription() string

func (*Config) GetEnabled

func (x *Config) GetEnabled() bool

func (*Config) GetLoopbackMode

func (x *Config) GetLoopbackMode() bool

func (*Config) GetMtu

func (x *Config) GetMtu() uint32

func (*Config) GetName

func (x *Config) GetName() string

func (*Config) GetTpid

func (x *Config) GetTpid() TpidTypes

func (*Config) GetType

func (x *Config) GetType() InterfaceType

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type Counters

type Counters struct {

	// Received Octet counter
	RxOctets uint64 `protobuf:"varint,1,opt,name=rx_octets,json=rxOctets,proto3" json:"rx_octets,omitempty"`
	// Received Packet counter
	RxPackets uint64 `protobuf:"varint,2,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"`
	// Unicast packets received counter
	RxUnicastPkts uint64 `protobuf:"varint,3,opt,name=rx_unicast_pkts,json=rxUnicastPkts,proto3" json:"rx_unicast_pkts,omitempty"`
	// Broadcast packets received counter
	RxBroadcastPkts uint64 `protobuf:"varint,4,opt,name=rx_broadcast_pkts,json=rxBroadcastPkts,proto3" json:"rx_broadcast_pkts,omitempty"`
	// multicast packets received counter
	RxMulticastPkts uint64 `protobuf:"varint,5,opt,name=rx_multicast_pkts,json=rxMulticastPkts,proto3" json:"rx_multicast_pkts,omitempty"`
	// discarded received packets counter
	RxDiscards uint64 `protobuf:"varint,6,opt,name=rx_discards,json=rxDiscards,proto3" json:"rx_discards,omitempty"`
	// Receive error counter
	RxErrors uint64 `protobuf:"varint,7,opt,name=rx_errors,json=rxErrors,proto3" json:"rx_errors,omitempty"`
	// Unknown received protocol counter
	RxUnknownProtos uint64 `protobuf:"varint,8,opt,name=rx_unknown_protos,json=rxUnknownProtos,proto3" json:"rx_unknown_protos,omitempty"`
	// Received FCS error counter
	RxFcsErrors uint64 `protobuf:"varint,9,opt,name=rx_fcs_errors,json=rxFcsErrors,proto3" json:"rx_fcs_errors,omitempty"`
	// Transmit octet counter
	OutOctets uint64 `protobuf:"varint,10,opt,name=out_octets,json=outOctets,proto3" json:"out_octets,omitempty"`
	// Transmit packet counter
	OutPackets uint64 `protobuf:"varint,11,opt,name=out_packets,json=outPackets,proto3" json:"out_packets,omitempty"`
	// Unicast packet transmit counter
	OutUnicastPkts uint64 `protobuf:"varint,12,opt,name=out_unicast_pkts,json=outUnicastPkts,proto3" json:"out_unicast_pkts,omitempty"`
	// Broadcast packet transmit counter
	OutBroadcastPkts uint64 `protobuf:"varint,13,opt,name=out_broadcast_pkts,json=outBroadcastPkts,proto3" json:"out_broadcast_pkts,omitempty"`
	// Multicast packet transmit counter
	OutMulticastPkts uint64 `protobuf:"varint,14,opt,name=out_multicast_pkts,json=outMulticastPkts,proto3" json:"out_multicast_pkts,omitempty"`
	// Discarded transmit packet counter
	OutDiscards uint64 `protobuf:"varint,15,opt,name=out_discards,json=outDiscards,proto3" json:"out_discards,omitempty"`
	// Transmit error counter
	OutErrors uint64 `protobuf:"varint,16,opt,name=out_errors,json=outErrors,proto3" json:"out_errors,omitempty"`
	// Carrier transition count
	CarrierTransitions uint64 `protobuf:"varint,17,opt,name=carrier_transitions,json=carrierTransitions,proto3" json:"carrier_transitions,omitempty"`
	// 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 (*Counters) Descriptor deprecated

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

Deprecated: Use Counters.ProtoReflect.Descriptor instead.

func (*Counters) GetCarrierTransitions

func (x *Counters) GetCarrierTransitions() uint64

func (*Counters) GetLastClear

func (x *Counters) GetLastClear() uint64

func (*Counters) GetOutBroadcastPkts

func (x *Counters) GetOutBroadcastPkts() uint64

func (*Counters) GetOutDiscards

func (x *Counters) GetOutDiscards() uint64

func (*Counters) GetOutErrors

func (x *Counters) GetOutErrors() uint64

func (*Counters) GetOutMulticastPkts

func (x *Counters) GetOutMulticastPkts() uint64

func (*Counters) GetOutOctets

func (x *Counters) GetOutOctets() uint64

func (*Counters) GetOutPackets

func (x *Counters) GetOutPackets() uint64

func (*Counters) GetOutUnicastPkts

func (x *Counters) GetOutUnicastPkts() uint64

func (*Counters) GetRxBroadcastPkts

func (x *Counters) GetRxBroadcastPkts() uint64

func (*Counters) GetRxDiscards

func (x *Counters) GetRxDiscards() uint64

func (*Counters) GetRxErrors

func (x *Counters) GetRxErrors() uint64

func (*Counters) GetRxFcsErrors

func (x *Counters) GetRxFcsErrors() uint64

func (*Counters) GetRxMulticastPkts

func (x *Counters) GetRxMulticastPkts() uint64

func (*Counters) GetRxOctets

func (x *Counters) GetRxOctets() uint64

func (*Counters) GetRxPackets

func (x *Counters) GetRxPackets() uint64

func (*Counters) GetRxUnicastPkts

func (x *Counters) GetRxUnicastPkts() uint64

func (*Counters) GetRxUnknownProtos

func (x *Counters) GetRxUnknownProtos() uint64

func (*Counters) ProtoMessage

func (*Counters) ProtoMessage()

func (*Counters) ProtoReflect

func (x *Counters) ProtoReflect() protoreflect.Message

func (*Counters) Reset

func (x *Counters) Reset()

func (*Counters) String

func (x *Counters) String() string

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

Deprecated: Use Encap.ProtoReflect.Descriptor instead.

func (*Encap) GetType

func (x *Encap) GetType() EncapType

func (*Encap) GetValue

func (x *Encap) GetValue() *EncapVal

func (*Encap) ProtoMessage

func (*Encap) ProtoMessage()

func (*Encap) ProtoReflect

func (x *Encap) ProtoReflect() protoreflect.Message

func (*Encap) Reset

func (x *Encap) Reset()

func (*Encap) String

func (x *Encap) String() string

type EncapType

type EncapType int32

encap types in the network

const (
	// no encap
	EncapType_ENCAP_TYPE_UNSPECIFIED EncapType = 0
	// 802.1q
	EncapType_ENCAP_TYPE_DOT1Q EncapType = 1
	// MPLS over UDP
	EncapType_ENCAP_TYPE_MPLS_OVER_UDP EncapType = 2
	// VXLAN
	EncapType_ENCAP_TYPE_VXLAN EncapType = 3
	// NVGRE
	EncapType_ENCAP_TYPE_NVGRE EncapType = 4
)

func (EncapType) Descriptor

func (EncapType) Descriptor() protoreflect.EnumDescriptor

func (EncapType) Enum

func (x EncapType) Enum() *EncapType

func (EncapType) EnumDescriptor deprecated

func (EncapType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EncapType.Descriptor instead.

func (EncapType) Number

func (x EncapType) Number() protoreflect.EnumNumber

func (EncapType) String

func (x EncapType) String() string

func (EncapType) Type

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

Deprecated: Use EncapVal.ProtoReflect.Descriptor instead.

func (*EncapVal) GetMplsTag

func (x *EncapVal) GetMplsTag() int32

func (*EncapVal) GetVal

func (m *EncapVal) GetVal() isEncapVal_Val

func (*EncapVal) GetVlanId

func (x *EncapVal) GetVlanId() int32

func (*EncapVal) GetVnid

func (x *EncapVal) GetVnid() int32

func (*EncapVal) GetVsid

func (x *EncapVal) GetVsid() int32

func (*EncapVal) ProtoMessage

func (*EncapVal) ProtoMessage()

func (*EncapVal) ProtoReflect

func (x *EncapVal) ProtoReflect() protoreflect.Message

func (*EncapVal) Reset

func (x *EncapVal) Reset()

func (*EncapVal) String

func (x *EncapVal) String() string

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) Enum

func (x EthDuplexMode) Enum() *EthDuplexMode

func (EthDuplexMode) EnumDescriptor deprecated

func (EthDuplexMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use EthDuplexMode.Descriptor instead.

func (EthDuplexMode) Number

func (EthDuplexMode) String

func (x EthDuplexMode) String() string

func (EthDuplexMode) Type

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

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) Enum

func (x EthPortSpeed) Enum() *EthPortSpeed

func (EthPortSpeed) EnumDescriptor deprecated

func (EthPortSpeed) EnumDescriptor() ([]byte, []int)

Deprecated: Use EthPortSpeed.Descriptor instead.

func (EthPortSpeed) Number

func (EthPortSpeed) String

func (x EthPortSpeed) String() string

func (EthPortSpeed) Type

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 EthernetIf

type EthernetIf 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 (*EthernetIf) Descriptor deprecated

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

Deprecated: Use EthernetIf.ProtoReflect.Descriptor instead.

func (*EthernetIf) GetConfig

func (x *EthernetIf) GetConfig() *EthernetConfig

func (*EthernetIf) GetState

func (x *EthernetIf) GetState() *EthernetState

func (*EthernetIf) GetSwitchedVlan

func (x *EthernetIf) GetSwitchedVlan() *VlanSwitchedIf

func (*EthernetIf) ProtoMessage

func (*EthernetIf) ProtoMessage()

func (*EthernetIf) ProtoReflect

func (x *EthernetIf) ProtoReflect() protoreflect.Message

func (*EthernetIf) Reset

func (x *EthernetIf) Reset()

func (*EthernetIf) String

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

Deprecated: Use HwHandle.ProtoReflect.Descriptor instead.

func (*HwHandle) GetIdx

func (x *HwHandle) GetIdx() uint64

func (*HwHandle) ProtoMessage

func (*HwHandle) ProtoMessage()

func (*HwHandle) ProtoReflect

func (x *HwHandle) ProtoReflect() protoreflect.Message

func (*HwHandle) Reset

func (x *HwHandle) Reset()

func (*HwHandle) String

func (x *HwHandle) String() string

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

Deprecated: Use ICMPMatch.ProtoReflect.Descriptor instead.

func (*ICMPMatch) GetCode

func (x *ICMPMatch) GetCode() int32

func (*ICMPMatch) GetCodeWildcard

func (x *ICMPMatch) GetCodeWildcard() WildcardMatch

func (*ICMPMatch) GetCodematch

func (m *ICMPMatch) GetCodematch() isICMPMatch_Codematch

func (*ICMPMatch) GetType

func (x *ICMPMatch) GetType() int32

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

func (*ICMPMatch) Reset

func (x *ICMPMatch) Reset()

func (*ICMPMatch) String

func (x *ICMPMatch) String() string

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

Deprecated: Use IPAddress.ProtoReflect.Descriptor instead.

func (*IPAddress) GetAf

func (x *IPAddress) GetAf() IpAf

func (*IPAddress) GetV4Addr

func (x *IPAddress) GetV4Addr() uint32

func (*IPAddress) GetV4OrV6

func (m *IPAddress) GetV4OrV6() isIPAddress_V4OrV6

func (*IPAddress) GetV6Addr

func (x *IPAddress) GetV6Addr() []byte

func (*IPAddress) ProtoMessage

func (*IPAddress) ProtoMessage()

func (*IPAddress) ProtoReflect

func (x *IPAddress) ProtoReflect() protoreflect.Message

func (*IPAddress) Reset

func (x *IPAddress) Reset()

func (*IPAddress) String

func (x *IPAddress) String() string

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

Deprecated: Use IPEntry.ProtoReflect.Descriptor instead.

func (*IPEntry) GetIpEntry

func (m *IPEntry) GetIpEntry() isIPEntry_IpEntry

func (*IPEntry) GetPrefix

func (x *IPEntry) GetPrefix() *IPPrefix

func (*IPEntry) GetRange

func (x *IPEntry) GetRange() *AddressRange

func (*IPEntry) GetTag

func (x *IPEntry) GetTag() int32

func (*IPEntry) ProtoMessage

func (*IPEntry) ProtoMessage()

func (*IPEntry) ProtoReflect

func (x *IPEntry) ProtoReflect() protoreflect.Message

func (*IPEntry) Reset

func (x *IPEntry) Reset()

func (*IPEntry) String

func (x *IPEntry) String() string

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

Deprecated: Use IPList.ProtoReflect.Descriptor instead.

func (*IPList) GetIpEntries

func (x *IPList) GetIpEntries() []*IPEntry

func (*IPList) ProtoMessage

func (*IPList) ProtoMessage()

func (*IPList) ProtoReflect

func (x *IPList) ProtoReflect() protoreflect.Message

func (*IPList) Reset

func (x *IPList) Reset()

func (*IPList) String

func (x *IPList) String() string

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

Deprecated: Use IPPrefix.ProtoReflect.Descriptor instead.

func (*IPPrefix) GetAddr

func (x *IPPrefix) GetAddr() *IPAddress

func (*IPPrefix) GetLen

func (x *IPPrefix) GetLen() int32

func (*IPPrefix) ProtoMessage

func (*IPPrefix) ProtoMessage()

func (*IPPrefix) ProtoReflect

func (x *IPPrefix) ProtoReflect() protoreflect.Message

func (*IPPrefix) Reset

func (x *IPPrefix) Reset()

func (*IPPrefix) String

func (x *IPPrefix) String() string

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

Deprecated: Use IPRange.ProtoReflect.Descriptor instead.

func (*IPRange) GetHigh

func (x *IPRange) GetHigh() *IPAddress

func (*IPRange) GetLow

func (x *IPRange) GetLow() *IPAddress

func (*IPRange) ProtoMessage

func (*IPRange) ProtoMessage()

func (*IPRange) ProtoReflect

func (x *IPRange) ProtoReflect() protoreflect.Message

func (*IPRange) Reset

func (x *IPRange) Reset()

func (*IPRange) String

func (x *IPRange) String() string

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) Enum

func (x InterfaceType) Enum() *InterfaceType

func (InterfaceType) EnumDescriptor deprecated

func (InterfaceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use InterfaceType.Descriptor instead.

func (InterfaceType) Number

func (InterfaceType) String

func (x InterfaceType) String() string

func (InterfaceType) Type

type IpAf

type IpAf int32

IP address families

const (
	// unspecified
	IpAf_IP_AF_UNSPECIFIED IpAf = 0
	// ipv4
	IpAf_IP_AF_INET IpAf = 1
	// ipv6
	IpAf_IP_AF_INET6 IpAf = 2
)

func (IpAf) Descriptor

func (IpAf) Descriptor() protoreflect.EnumDescriptor

func (IpAf) Enum

func (x IpAf) Enum() *IpAf

func (IpAf) EnumDescriptor deprecated

func (IpAf) EnumDescriptor() ([]byte, []int)

Deprecated: Use IpAf.Descriptor instead.

func (IpAf) Number

func (x IpAf) Number() protoreflect.EnumNumber

func (IpAf) String

func (x IpAf) String() string

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 (*ListNetInterfacesResponse) Reset

func (x *ListNetInterfacesResponse) Reset()

func (*ListNetInterfacesResponse) String

func (x *ListNetInterfacesResponse) String() string

type NetInterface

type NetInterface struct {

	// Name of the interface.  This is an opaque object that is not
	// user settable.  It is returned by the created object
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Configuration settings - rw
	Config *Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// Interface State and Statistics - ro
	State *State `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// Hold Time Settings
	Holdtime *NetInterface_HoldTime `protobuf:"bytes,4,opt,name=holdtime,proto3" json:"holdtime,omitempty"`
	// Subinterfaces assigned to the interface
	Subinterfaces *NetInterface_Subinterfaces `protobuf:"bytes,5,opt,name=subinterfaces,proto3" json:"subinterfaces,omitempty"`
	// Ethernet interface
	Ethernet *EthernetIf `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() *Config

func (*NetInterface) GetEthernet

func (x *NetInterface) GetEthernet() *EthernetIf

func (*NetInterface) GetHoldtime

func (x *NetInterface) GetHoldtime() *NetInterface_HoldTime

func (*NetInterface) GetName

func (x *NetInterface) GetName() string

func (*NetInterface) GetState

func (x *NetInterface) GetState() *State

func (*NetInterface) GetSubinterfaces

func (x *NetInterface) GetSubinterfaces() *NetInterface_Subinterfaces

func (*NetInterface) ProtoMessage

func (*NetInterface) ProtoMessage()

func (*NetInterface) ProtoReflect

func (x *NetInterface) ProtoReflect() protoreflect.Message

func (*NetInterface) Reset

func (x *NetInterface) Reset()

func (*NetInterface) String

func (x *NetInterface) String() string

type NetInterfaceServiceClient

type NetInterfaceServiceClient interface {
	// Retrieves the interface information for a given interface
	GetNetInterface(ctx context.Context, in *GetNetInterfaceRequest, opts ...grpc.CallOption) (*NetInterface, error)
	// Retrieves the set of interfaces on the device
	ListNetInterfaces(ctx context.Context, in *ListNetInterfacesRequest, opts ...grpc.CallOption) (*ListNetInterfacesResponse, error)
	// A method for setting or changing configuration of an interface
	UpdateNetInterface(ctx context.Context, in *UpdateNetInterfaceRequest, opts ...grpc.CallOption) (*NetInterface, error)
}

NetInterfaceServiceClient is the client API for NetInterfaceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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 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 (*NetInterface_HoldTime) GetHoldState

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 (*NetInterface_HoldTime_HoldConfig) GetUp

func (*NetInterface_HoldTime_HoldConfig) ProtoMessage

func (*NetInterface_HoldTime_HoldConfig) ProtoMessage()

func (*NetInterface_HoldTime_HoldConfig) ProtoReflect

func (*NetInterface_HoldTime_HoldConfig) Reset

func (*NetInterface_HoldTime_HoldConfig) 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 (*NetInterface_HoldTime_HoldState) GetUp

func (*NetInterface_HoldTime_HoldState) ProtoMessage

func (*NetInterface_HoldTime_HoldState) ProtoMessage()

func (*NetInterface_HoldTime_HoldState) ProtoReflect

func (*NetInterface_HoldTime_HoldState) Reset

func (*NetInterface_HoldTime_HoldState) 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 (*NetInterface_Subinterfaces) ProtoMessage

func (*NetInterface_Subinterfaces) ProtoMessage()

func (*NetInterface_Subinterfaces) ProtoReflect

func (*NetInterface_Subinterfaces) Reset

func (x *NetInterface_Subinterfaces) Reset()

func (*NetInterface_Subinterfaces) String

func (x *NetInterface_Subinterfaces) String() string

type NetInterface_Subinterfaces_Subinterface

type NetInterface_Subinterfaces_Subinterface struct {

	// Subinterface index
	Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// Subinterface Configuration
	SubifConfig *NetInterface_Subinterfaces_Subinterface_SubifConfig `protobuf:"bytes,2,opt,name=subif_config,json=subifConfig,proto3" json:"subif_config,omitempty"`
	// Subinterface State and Statistics
	State *State `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// 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 (*NetInterface_Subinterfaces_Subinterface) GetState

func (*NetInterface_Subinterfaces_Subinterface) GetSubifConfig

func (*NetInterface_Subinterfaces_Subinterface) GetVlan

func (*NetInterface_Subinterfaces_Subinterface) ProtoMessage

func (*NetInterface_Subinterfaces_Subinterface) ProtoReflect

func (*NetInterface_Subinterfaces_Subinterface) Reset

func (*NetInterface_Subinterfaces_Subinterface) 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

Deprecated: Use NetInterface_Subinterfaces_Subinterface_SubifConfig.ProtoReflect.Descriptor instead.

func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) GetDescription

func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) GetEnabled

func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) GetIndex

func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) ProtoMessage

func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) ProtoReflect

func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) Reset

func (*NetInterface_Subinterfaces_Subinterface_SubifConfig) 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) Enum

func (x OperState) Enum() *OperState

func (OperState) EnumDescriptor deprecated

func (OperState) EnumDescriptor() ([]byte, []int)

Deprecated: Use OperState.Descriptor instead.

func (OperState) Number

func (x OperState) Number() protoreflect.EnumNumber

func (OperState) String

func (x OperState) String() string

func (OperState) Type

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

const (
	// unspecified
	PolicyDir_POLICY_DIR_UNSPECIFIED PolicyDir = 0
	// ingress (towards vnic from network)
	PolicyDir_POLICY_DIR_INGRESS PolicyDir = 1
	// egress (from vnic to network)
	PolicyDir_POLICY_DIR_EGRESS PolicyDir = 2
)

func (PolicyDir) Descriptor

func (PolicyDir) Descriptor() protoreflect.EnumDescriptor

func (PolicyDir) Enum

func (x PolicyDir) Enum() *PolicyDir

func (PolicyDir) EnumDescriptor deprecated

func (PolicyDir) EnumDescriptor() ([]byte, []int)

Deprecated: Use PolicyDir.Descriptor instead.

func (PolicyDir) Number

func (x PolicyDir) Number() protoreflect.EnumNumber

func (PolicyDir) String

func (x PolicyDir) String() string

func (PolicyDir) Type

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

Deprecated: Use PortMatch.ProtoReflect.Descriptor instead.

func (*PortMatch) GetDstPortRange

func (x *PortMatch) GetDstPortRange() *PortRange

func (*PortMatch) GetSrcPortRange

func (x *PortMatch) GetSrcPortRange() *PortRange

func (*PortMatch) ProtoMessage

func (*PortMatch) ProtoMessage()

func (*PortMatch) ProtoReflect

func (x *PortMatch) ProtoReflect() protoreflect.Message

func (*PortMatch) Reset

func (x *PortMatch) Reset()

func (*PortMatch) String

func (x *PortMatch) String() string

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

Deprecated: Use PortRange.ProtoReflect.Descriptor instead.

func (*PortRange) GetPortHigh

func (x *PortRange) GetPortHigh() int32

func (*PortRange) GetPortLow

func (x *PortRange) GetPortLow() int32

func (*PortRange) ProtoMessage

func (*PortRange) ProtoMessage()

func (*PortRange) ProtoReflect

func (x *PortRange) ProtoReflect() protoreflect.Message

func (*PortRange) Reset

func (x *PortRange) Reset()

func (*PortRange) String

func (x *PortRange) String() string

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) Enum

func (x RouteProtocol) Enum() *RouteProtocol

func (RouteProtocol) EnumDescriptor deprecated

func (RouteProtocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use RouteProtocol.Descriptor instead.

func (RouteProtocol) Number

func (RouteProtocol) String

func (x RouteProtocol) String() string

func (RouteProtocol) Type

type RouteType

type RouteType int32

route type

const (
	// unspecified
	RouteType_ROUTE_TYPE_UNSPECIFIED RouteType = 0
	// other
	RouteType_ROUTE_TYPE_OTHER RouteType = 1
	// reject
	RouteType_ROUTE_TYPE_REJECT RouteType = 2
	// local
	RouteType_ROUTE_TYPE_LOCAL RouteType = 3
	// remote
	RouteType_ROUTE_TYPE_REMOTE RouteType = 4
)

func (RouteType) Descriptor

func (RouteType) Descriptor() protoreflect.EnumDescriptor

func (RouteType) Enum

func (x RouteType) Enum() *RouteType

func (RouteType) EnumDescriptor deprecated

func (RouteType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RouteType.Descriptor instead.

func (RouteType) Number

func (x RouteType) Number() protoreflect.EnumNumber

func (RouteType) String

func (x RouteType) String() string

func (RouteType) Type

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

Deprecated: Use RuleMatch.ProtoReflect.Descriptor instead.

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

func (*RuleMatch) Reset

func (x *RuleMatch) Reset()

func (*RuleMatch) String

func (x *RuleMatch) String() string

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) Enum

func (SecurityRuleAction) EnumDescriptor deprecated

func (SecurityRuleAction) EnumDescriptor() ([]byte, []int)

Deprecated: Use SecurityRuleAction.Descriptor instead.

func (SecurityRuleAction) Number

func (SecurityRuleAction) String

func (x SecurityRuleAction) String() string

func (SecurityRuleAction) Type

type State

type State struct {

	// Name of the interface.  This is the opaque object
	// used for designating the created interface.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Interface type indicator
	Type InterfaceType `protobuf:"varint,2,opt,name=type,proto3,enum=opi_api.network.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 *Counters `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 (*State) Descriptor deprecated

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

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetAdminState

func (x *State) GetAdminState() AdminState

func (*State) GetCounters

func (x *State) GetCounters() *Counters

func (*State) GetCpu

func (x *State) GetCpu() bool

func (*State) GetDescription

func (x *State) GetDescription() string

func (*State) GetEnabled

func (x *State) GetEnabled() bool

func (*State) GetIfindex

func (x *State) GetIfindex() uint32

func (*State) GetLastChange

func (x *State) GetLastChange() uint64

func (*State) GetLogical

func (x *State) GetLogical() bool

func (*State) GetLoopbackMode

func (x *State) GetLoopbackMode() bool

func (*State) GetManagement

func (x *State) GetManagement() bool

func (*State) GetMtu

func (x *State) GetMtu() uint32

func (*State) GetName

func (x *State) GetName() string

func (*State) GetOperState

func (x *State) GetOperState() OperState

func (*State) GetTpid

func (x *State) GetTpid() TpidTypes

func (*State) GetType

func (x *State) GetType() InterfaceType

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) ProtoReflect

func (x *State) ProtoReflect() protoreflect.Message

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) String() string

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) Enum

func (x TpidTypes) Enum() *TpidTypes

func (TpidTypes) EnumDescriptor deprecated

func (TpidTypes) EnumDescriptor() ([]byte, []int)

Deprecated: Use TpidTypes.Descriptor instead.

func (TpidTypes) Number

func (x TpidTypes) Number() protoreflect.EnumNumber

func (TpidTypes) String

func (x TpidTypes) String() string

func (TpidTypes) Type

type UnimplementedNetInterfaceServiceServer

type UnimplementedNetInterfaceServiceServer struct {
}

UnimplementedNetInterfaceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNetInterfaceServiceServer) GetNetInterface

func (UnimplementedNetInterfaceServiceServer) ListNetInterfaces

func (UnimplementedNetInterfaceServiceServer) UpdateNetInterface

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

Deprecated: Use VlanIf.ProtoReflect.Descriptor instead.

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

func (*VlanIf) Reset

func (x *VlanIf) Reset()

func (*VlanIf) String

func (x *VlanIf) String() string

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

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 (*VlanIf_VlanEgressMapping) GetState

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 (*VlanIf_VlanIngressMapping) GetState

func (*VlanIf_VlanIngressMapping) ProtoMessage

func (*VlanIf_VlanIngressMapping) ProtoMessage()

func (*VlanIf_VlanIngressMapping) ProtoReflect

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 (*VlanIf_VlanMatch_SingleTagged) GetState

func (*VlanIf_VlanMatch_SingleTagged) ProtoMessage

func (*VlanIf_VlanMatch_SingleTagged) ProtoMessage()

func (*VlanIf_VlanMatch_SingleTagged) ProtoReflect

func (*VlanIf_VlanMatch_SingleTagged) Reset

func (x *VlanIf_VlanMatch_SingleTagged) Reset()

func (*VlanIf_VlanMatch_SingleTagged) 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 (*VlanIf_VlanMatch_SingleTaggedList) GetStatus

func (*VlanIf_VlanMatch_SingleTaggedList) ProtoMessage

func (*VlanIf_VlanMatch_SingleTaggedList) ProtoMessage()

func (*VlanIf_VlanMatch_SingleTaggedList) ProtoReflect

func (*VlanIf_VlanMatch_SingleTaggedList) Reset

func (*VlanIf_VlanMatch_SingleTaggedList) 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

Deprecated: Use VlanIf_VlanMatch_SingleTaggedList_TagListConfig.ProtoReflect.Descriptor instead.

func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) GetVlanId

func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) ProtoMessage

func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) ProtoReflect

func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) Reset

func (*VlanIf_VlanMatch_SingleTaggedList_TagListConfig) 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

Deprecated: Use VlanIf_VlanMatch_SingleTaggedList_TagListStatus.ProtoReflect.Descriptor instead.

func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) GetVlanid

func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) ProtoMessage

func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) ProtoReflect

func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) Reset

func (*VlanIf_VlanMatch_SingleTaggedList_TagListStatus) 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

Deprecated: Use VlanIf_VlanMatch_SingleTagged_SingleTagConfig.ProtoReflect.Descriptor instead.

func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) GetVlanId

func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) ProtoMessage

func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) ProtoReflect

func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) Reset

func (*VlanIf_VlanMatch_SingleTagged_SingleTagConfig) 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

Deprecated: Use VlanIf_VlanMatch_SingleTagged_SingleTagState.ProtoReflect.Descriptor instead.

func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) GetVlanId

func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) ProtoMessage

func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) ProtoReflect

func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) Reset

func (*VlanIf_VlanMatch_SingleTagged_SingleTagState) 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) Enum

func (x VlanStackAction) Enum() *VlanStackAction

func (VlanStackAction) EnumDescriptor deprecated

func (VlanStackAction) EnumDescriptor() ([]byte, []int)

Deprecated: Use VlanStackAction.Descriptor instead.

func (VlanStackAction) Number

func (VlanStackAction) String

func (x VlanStackAction) String() string

func (VlanStackAction) Type

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) Enum

func (x WildcardMatch) Enum() *WildcardMatch

func (WildcardMatch) EnumDescriptor deprecated

func (WildcardMatch) EnumDescriptor() ([]byte, []int)

Deprecated: Use WildcardMatch.Descriptor instead.

func (WildcardMatch) Number

func (WildcardMatch) String

func (x WildcardMatch) String() string

func (WildcardMatch) Type

Jump to

Keyboard shortcuts

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