package
0.0.0-20241209203403-595a3a1a838b
Repository: https://github.com/keithwiles/opi-api.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
RegisterNetInterfaceServiceHandler registers the http handlers for service NetInterfaceService to "mux".
RegisterNetInterfaceServiceHandlerClient registers the http handlers for service NetInterfaceService to "mux".
RegisterNetInterfaceServiceHandlerFromEndpoint is same as RegisterNetInterfaceServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterNetInterfaceServiceHandlerServer registers the http handlers for service NetInterfaceService to "mux".
No description provided by the author
# Constants
disable.
enable.
testing.
unspecified.
802.1q.
MPLS over UDP.
NVGRE.
no encap.
VXLAN.
Specify Full Duplex mode in autonegotiation.
Specify Half Duplex mode in autonegotiation.
Unspecified - interface will negotiate duplex speed directly.
FEC is administratively disabled.
Firecode for NRZ channels with less then 100G.
RS528 is used for channels with NRZ modulation.
RS544 is used for channels with PAM4 modulation.
RS544-2x-interleave is used for channels with PAM4 modulation.
Unspecified.
100G port speed.
100M port speed.
10G port speed.
10M port speed.
1G port speed.
200G port speed.
2.5G port speed.
25G port speed.
400G port speed.
40G port speed.
50G port speed.
5G port speed.
600G port speed.
800G port speed.
Interface speed is unknown.
Unspecified - interface will negotiate port speed with the peer interface.
Ethernet Interface.
Loopback Interface.
Interface Unspecified.
ipv4.
ipv6.
unspecified.
No description provided by the author
No description provided by the author
No description provided by the author
Dormant.
Operational Down.
Lower Layer Down.
Not Present.
Operational Testing.
Unknown.
Unspecified.
Operational Up.
egress (from vnic to network).
ingress (towards vnic from network).
unspecified.
bgp (dynamic).
local.
static.
unspecified.
local.
other.
reject.
remote.
unspecified.
allow.
deny.
no action (-- api-linter: core::0126::unspecified=disabled
aip.dev/not-precedent: NONE means no action.
Default value for 802.1q single-tagged VLANs.
Value for 802.1ad provider bridging, QinQ, or stacked VLANs.
Alternate TPID value.
Alternate TPID value.
Any - Wildcard that matches any of the singly or multiply tagged VLANS.
Unspecified.
Interface mode ACCESS.
Interface mode TRUNK.
Interface Mode Unspecified.
POP a VLAN from the VLAN Stack.
PUSH a VLAN onto the VLAN Stack.
SWAP the VLAN at the top of the VLAN Stack.
No action to perform on the VLAN Stack.
match everything.
wouldn't match anything (-- api-linter: core::0126::unspecified=disabled
aip.dev/not-precedent: NONE means don't match anything.
# Variables
Enum value maps for AdminState.
Enum value maps for AdminState.
Enum value maps for EncapType.
Enum value maps for EncapType.
Enum value maps for EthDuplexMode.
Enum value maps for EthDuplexMode.
Enum value maps for EthFecMode.
Enum value maps for EthFecMode.
Enum value maps for EthPortSpeed.
Enum value maps for EthPortSpeed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Enum value maps for InterfaceType.
Enum value maps for InterfaceType.
Enum value maps for IpAf.
Enum value maps for IpAf.
NetInterfaceService_ServiceDesc is the grpc.ServiceDesc for NetInterfaceService service.
Enum value maps for OperState.
Enum value maps for OperState.
Enum value maps for PolicyDir.
Enum value maps for PolicyDir.
Enum value maps for RouteProtocol.
Enum value maps for RouteProtocol.
Enum value maps for RouteType.
Enum value maps for RouteType.
Enum value maps for SecurityRuleAction.
Enum value maps for SecurityRuleAction.
Enum value maps for TpidTypes.
Enum value maps for TpidTypes.
Enum value maps for VlanIfMode.
Enum value maps for VlanIfMode.
Enum value maps for VlanStackAction.
Enum value maps for VlanStackAction.
Enum value maps for WildcardMatch.
Enum value maps for WildcardMatch.
# Structs
AddressRange represents an IPv4 or IPv6 address range.
No description provided by the author
No description provided by the author
fabric encap.
tag values for various encap types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Ethernet Configuration.
Ethernet Interface Counters.
Ethernet receive frame distribution counters.
Ethernet Interface.
Ethernet interface state settings.
Get Interface Request.
Opaque handle to identify the index in hardware.
ICMPv4/ICMPv6 rule match criteria.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ICMP type/code match condition list.
IP Address object.
No description provided by the author
No description provided by the author
IPEntry represents any form of IP address/prefix/range/tag etc.
No description provided by the author
No description provided by the author
No description provided by the author
IPList is a list of IPEntry objects.
IP Prefix object.
IP Range.
IPv4 Prefix.
IPv6 Prefix.
List Interfaces Request.
List of Interfaces Response.
Interface - physical or virtual interface reported (-- api-linter: core::0123::resource-annotation=disabled
aip.dev/not-precedent: the name field is an opaque object --).
Hold Time Settings.
Hold Time Config - rw.
Hold State Settings - ro.
Subinterfaces settings - VLAN, etc.
Subinterface settings.
Subinterface configuration.
Interface config (-- api-linter: core::0123::resource-annotation=disabled
aip.dev/not-precedent: the name field is an opaque object --).
Statistics Counters for the interface - ro.
Interface State information - ro (-- api-linter: core::0123::resource-annotation=disabled
aip.dev/not-precedent: the name field is an opaque object --).
TCP/UDP source and destination port list.
TCP/UDP rule match criteria.
PortRange object has low and high end of the port ranges.
L3 rule match criteria.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
L4 rule match criteria.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
rule match criteria.
Switched VLAN Configuration Settings that are part of the Ethernet interface.
UnimplementedNetInterfaceServiceServer must be embedded to have forward compatible implementations.
Update Interface Request.
VLAN Interface Configuration.
Egress VLAN stack behaviors for packets that are destined for output via this subinterface.
Ingress VLAN stack behaviors for packets that arrive on this subinterface after their VLAN idenitifer(s) have been matched.
Configuration for VLAN tag matching schemes.
Single Tagged matching of exact VLAN identifier.
Configuration for matching single-tagged packets with an exact VLAN identifier.
State for matching single-tagged packets with an exact VLAN.
Single tagged list matching configuration.
Configuration for matching single-tagged packets with a list of VLAN identifiers.
State for matching single-tagged packets with a list of VLAN identifiers.
VLAN Ingress and Egress Settings.
VLAN settings associated with the Ethernet Interface.
# Interfaces
NetInterfaceServiceClient is the client API for NetInterfaceService service.
NetInterfaceServiceServer is the server API for NetInterfaceService service.
UnsafeNetInterfaceServiceServer may be embedded to opt out of forward compatibility for this service.
# Type aliases
admin state of control plane objects.
encap types in the network.
Ethernet Duplex Mode Definitions.
Ethernet Forward Error Correction Mode Definitions.
Ethernet Port Speed Definitions.
Interface Types Enumeration.
IP address families.
Operational State Enumeration.
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.
route protocols.
route type.
security rule action is one of the below.
Tag Protocol Identifier (TPID) Types Enumeration.
VLAN Interface Mode.
Vlan Stack Action to be performed on the VLAN stack.
WildcardMatch options.