gosnappi

package module
Version: v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: MIT Imports: 24 Imported by: 9

README

snappi

license Build Total alerts

Test scripts written in gosnappi, an auto-generated Go SDK, can be executed against any traffic generator conforming to Open Traffic Generator API.

Ixia-c is one such reference implementation of Open Traffic Generator API.

The repository is under active development and is subject to updates. All efforts will be made to keep the updates backwards compatible.

Setup Client

go get github.com/open-traffic-generator/snappi/gosnappi

Start testing

package examples

import (
	"encoding/hex"
	"testing"
	"time"

	"github.com/open-traffic-generator/snappi/gosnappi"
)

func TestQuickstart(t *testing.T) {
	// Create a new API handle to make API calls against OTG
	api := gosnappi.NewApi()

	// Set the transport protocol to HTTP
	api.NewHttpTransport().SetLocation("https://localhost:8443")

	// Create a new traffic configuration that will be set on OTG
	config := api.NewConfig()

	// Add a test port to the configuration
	ptx := config.Ports().Add().SetName("ptx").SetLocation("veth-a")

	// Configure a flow and set previously created test port as one of endpoints
	flow := config.Flows().Add().SetName("f1")
	flow.TxRx().Port().SetTxName(ptx.Name())
	// and enable tracking flow metrics
	flow.Metrics().SetEnable(true)

	// Configure number of packets to transmit for previously configured flow
	flow.Duration().FixedPackets().SetPackets(100)
	// and fixed byte size of all packets in the flow
	flow.Size().SetFixed(128)

	// Configure protocol headers for all packets in the flow
	pkt := flow.Packet()
	eth := pkt.Add().Ethernet()
	ipv4 := pkt.Add().Ipv4()
	udp := pkt.Add().Udp()
	cus := pkt.Add().Custom()

	eth.Dst().SetValue("00:11:22:33:44:55")
	eth.Src().SetValue("00:11:22:33:44:66")

	ipv4.Src().SetValue("10.1.1.1")
	ipv4.Dst().SetValue("20.1.1.1")

	// Configure repeating patterns for source and destination UDP ports
	udp.SrcPort().SetValues([]int32{5010, 5015, 5020, 5025, 5030})
	udp.DstPort().Increment().SetStart(6010).SetStep(5).SetCount(5)

	// Configure custom bytes (hex string) in payload
	cus.SetBytes(hex.EncodeToString([]byte("..QUICKSTART SNAPPI..")))

	// Optionally, print JSON representation of config
	if j, err := config.ToJson(); err != nil {
		t.Fatal(err)
	} else {
		t.Log("Configuration: ", j)
	}

	// Push traffic configuration constructed so far to OTG
	if _, err := api.SetConfig(config); err != nil {
		t.Fatal(err)
	}

	// Start transmitting the packets from configured flow
	ts := api.NewTransmitState()
	ts.SetState(gosnappi.TransmitStateState.START)
	if _, err := api.SetTransmitState(ts); err != nil {
		t.Fatal(err)
	}

	// Fetch metrics for configured flow
	req := api.NewMetricsRequest()
	req.Flow().SetFlowNames([]string{flow.Name()})
	// and keep polling until either expectation is met or deadline exceeds
	deadline := time.Now().Add(10 * time.Second)
	for {
		metrics, err := api.GetMetrics(req)
		if err != nil || time.Now().After(deadline) {
			t.Fatalf("err = %v || deadline exceeded", err)
		}
		// print YAML representation of flow metrics
		t.Log(metrics)
		if metrics.FlowMetrics().Items()[0].Transmit() == gosnappi.FlowMetricTransmit.STOPPED {
			break
		}
		time.Sleep(100 * time.Millisecond)
	}
}

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActionProtocolBgpChoice = struct {
	NOTIFICATION              ActionProtocolBgpChoiceEnum
	INITIATE_GRACEFUL_RESTART ActionProtocolBgpChoiceEnum
}{
	NOTIFICATION:              ActionProtocolBgpChoiceEnum("notification"),
	INITIATE_GRACEFUL_RESTART: ActionProtocolBgpChoiceEnum("initiate_graceful_restart"),
}

Enum of Choice on ActionProtocolBgp

View Source
var ActionProtocolBgpNotificationChoice = struct {
	CEASE                      ActionProtocolBgpNotificationChoiceEnum
	MESSAGE_HEADER_ERROR       ActionProtocolBgpNotificationChoiceEnum
	OPEN_MESSAGE_ERROR         ActionProtocolBgpNotificationChoiceEnum
	UPDATE_MESSAGE_ERROR       ActionProtocolBgpNotificationChoiceEnum
	HOLD_TIMER_EXPIRED         ActionProtocolBgpNotificationChoiceEnum
	FINITE_STATE_MACHINE_ERROR ActionProtocolBgpNotificationChoiceEnum
	CUSTOM                     ActionProtocolBgpNotificationChoiceEnum
}{
	CEASE:                      ActionProtocolBgpNotificationChoiceEnum("cease"),
	MESSAGE_HEADER_ERROR:       ActionProtocolBgpNotificationChoiceEnum("message_header_error"),
	OPEN_MESSAGE_ERROR:         ActionProtocolBgpNotificationChoiceEnum("open_message_error"),
	UPDATE_MESSAGE_ERROR:       ActionProtocolBgpNotificationChoiceEnum("update_message_error"),
	HOLD_TIMER_EXPIRED:         ActionProtocolBgpNotificationChoiceEnum("hold_timer_expired"),
	FINITE_STATE_MACHINE_ERROR: ActionProtocolBgpNotificationChoiceEnum("finite_state_machine_error"),
	CUSTOM:                     ActionProtocolBgpNotificationChoiceEnum("custom"),
}

Enum of Choice on ActionProtocolBgpNotification

View Source
var ActionProtocolChoice = struct {
	IPV4 ActionProtocolChoiceEnum
	IPV6 ActionProtocolChoiceEnum
	BGP  ActionProtocolChoiceEnum
}{
	IPV4: ActionProtocolChoiceEnum("ipv4"),
	IPV6: ActionProtocolChoiceEnum("ipv6"),
	BGP:  ActionProtocolChoiceEnum("bgp"),
}

Enum of Choice on ActionProtocol

View Source
var ActionProtocolIpv4Choice = struct {
	PING ActionProtocolIpv4ChoiceEnum
}{
	PING: ActionProtocolIpv4ChoiceEnum("ping"),
}

Enum of Choice on ActionProtocolIpv4

View Source
var ActionProtocolIpv6Choice = struct {
	PING ActionProtocolIpv6ChoiceEnum
}{
	PING: ActionProtocolIpv6ChoiceEnum("ping"),
}

Enum of Choice on ActionProtocolIpv6

View Source
var ActionResponseChoice = struct {
	PROTOCOL ActionResponseChoiceEnum
}{
	PROTOCOL: ActionResponseChoiceEnum("protocol"),
}

Enum of Choice on ActionResponse

View Source
var ActionResponseProtocolChoice = struct {
	IPV4 ActionResponseProtocolChoiceEnum
	IPV6 ActionResponseProtocolChoiceEnum
}{
	IPV4: ActionResponseProtocolChoiceEnum("ipv4"),
	IPV6: ActionResponseProtocolChoiceEnum("ipv6"),
}

Enum of Choice on ActionResponseProtocol

View Source
var ActionResponseProtocolIpv4Choice = struct {
	PING ActionResponseProtocolIpv4ChoiceEnum
}{
	PING: ActionResponseProtocolIpv4ChoiceEnum("ping"),
}

Enum of Choice on ActionResponseProtocolIpv4

Enum of Result on ActionResponseProtocolIpv4PingResponse

View Source
var ActionResponseProtocolIpv6Choice = struct {
	PING ActionResponseProtocolIpv6ChoiceEnum
}{
	PING: ActionResponseProtocolIpv6ChoiceEnum("ping"),
}

Enum of Choice on ActionResponseProtocolIpv6

Enum of Result on ActionResponseProtocolIpv6PingResponse

View Source
var BgpAsPathAsSetMode = struct {
	DO_NOT_INCLUDE_LOCAL_AS  BgpAsPathAsSetModeEnum
	INCLUDE_AS_SEQ           BgpAsPathAsSetModeEnum
	INCLUDE_AS_SET           BgpAsPathAsSetModeEnum
	INCLUDE_AS_CONFED_SEQ    BgpAsPathAsSetModeEnum
	INCLUDE_AS_CONFED_SET    BgpAsPathAsSetModeEnum
	PREPEND_TO_FIRST_SEGMENT BgpAsPathAsSetModeEnum
}{
	DO_NOT_INCLUDE_LOCAL_AS:  BgpAsPathAsSetModeEnum("do_not_include_local_as"),
	INCLUDE_AS_SEQ:           BgpAsPathAsSetModeEnum("include_as_seq"),
	INCLUDE_AS_SET:           BgpAsPathAsSetModeEnum("include_as_set"),
	INCLUDE_AS_CONFED_SEQ:    BgpAsPathAsSetModeEnum("include_as_confed_seq"),
	INCLUDE_AS_CONFED_SET:    BgpAsPathAsSetModeEnum("include_as_confed_set"),
	PREPEND_TO_FIRST_SEGMENT: BgpAsPathAsSetModeEnum("prepend_to_first_segment"),
}

Enum of AsSetMode on BgpAsPath

View Source
var BgpAsPathSegmentType = struct {
	AS_SEQ        BgpAsPathSegmentTypeEnum
	AS_SET        BgpAsPathSegmentTypeEnum
	AS_CONFED_SEQ BgpAsPathSegmentTypeEnum
	AS_CONFED_SET BgpAsPathSegmentTypeEnum
}{
	AS_SEQ:        BgpAsPathSegmentTypeEnum("as_seq"),
	AS_SET:        BgpAsPathSegmentTypeEnum("as_set"),
	AS_CONFED_SEQ: BgpAsPathSegmentTypeEnum("as_confed_seq"),
	AS_CONFED_SET: BgpAsPathSegmentTypeEnum("as_confed_set"),
}

Enum of Type on BgpAsPathSegment

View Source
var BgpCommunityType = struct {
	MANUAL_AS_NUMBER    BgpCommunityTypeEnum
	NO_EXPORT           BgpCommunityTypeEnum
	NO_ADVERTISED       BgpCommunityTypeEnum
	NO_EXPORT_SUBCONFED BgpCommunityTypeEnum
	LLGR_STALE          BgpCommunityTypeEnum
	NO_LLGR             BgpCommunityTypeEnum
}{
	MANUAL_AS_NUMBER:    BgpCommunityTypeEnum("manual_as_number"),
	NO_EXPORT:           BgpCommunityTypeEnum("no_export"),
	NO_ADVERTISED:       BgpCommunityTypeEnum("no_advertised"),
	NO_EXPORT_SUBCONFED: BgpCommunityTypeEnum("no_export_subconfed"),
	LLGR_STALE:          BgpCommunityTypeEnum("llgr_stale"),
	NO_LLGR:             BgpCommunityTypeEnum("no_llgr"),
}

Enum of Type on BgpCommunity

View Source
var BgpExtCommunitySubtype = struct {
	ROUTE_TARGET       BgpExtCommunitySubtypeEnum
	ORIGIN             BgpExtCommunitySubtypeEnum
	EXTENDED_BANDWIDTH BgpExtCommunitySubtypeEnum
	COLOR              BgpExtCommunitySubtypeEnum
	ENCAPSULATION      BgpExtCommunitySubtypeEnum
	MAC_ADDRESS        BgpExtCommunitySubtypeEnum
}{
	ROUTE_TARGET:       BgpExtCommunitySubtypeEnum("route_target"),
	ORIGIN:             BgpExtCommunitySubtypeEnum("origin"),
	EXTENDED_BANDWIDTH: BgpExtCommunitySubtypeEnum("extended_bandwidth"),
	COLOR:              BgpExtCommunitySubtypeEnum("color"),
	ENCAPSULATION:      BgpExtCommunitySubtypeEnum("encapsulation"),
	MAC_ADDRESS:        BgpExtCommunitySubtypeEnum("mac_address"),
}

Enum of Subtype on BgpExtCommunity

View Source
var BgpExtCommunityType = struct {
	ADMINISTRATOR_AS_2OCTET                BgpExtCommunityTypeEnum
	ADMINISTRATOR_IPV4_ADDRESS             BgpExtCommunityTypeEnum
	ADMINISTRATOR_AS_4OCTET                BgpExtCommunityTypeEnum
	OPAQUE                                 BgpExtCommunityTypeEnum
	EVPN                                   BgpExtCommunityTypeEnum
	ADMINISTRATOR_AS_2OCTET_LINK_BANDWIDTH BgpExtCommunityTypeEnum
}{
	ADMINISTRATOR_AS_2OCTET:                BgpExtCommunityTypeEnum("administrator_as_2octet"),
	ADMINISTRATOR_IPV4_ADDRESS:             BgpExtCommunityTypeEnum("administrator_ipv4_address"),
	ADMINISTRATOR_AS_4OCTET:                BgpExtCommunityTypeEnum("administrator_as_4octet"),
	OPAQUE:                                 BgpExtCommunityTypeEnum("opaque"),
	EVPN:                                   BgpExtCommunityTypeEnum("evpn"),
	ADMINISTRATOR_AS_2OCTET_LINK_BANDWIDTH: BgpExtCommunityTypeEnum("administrator_as_2octet_link_bandwidth"),
}

Enum of Type on BgpExtCommunity

Enum of Origin on BgpPrefixIpv4UnicastFilter

Enum of Origin on BgpPrefixIpv4UnicastState

Enum of Origin on BgpPrefixIpv6UnicastFilter

Enum of Origin on BgpPrefixIpv6UnicastState

View Source
var BgpPrefixStateRequestPrefixFilters = struct {
	IPV4_UNICAST BgpPrefixStateRequestPrefixFiltersEnum
	IPV6_UNICAST BgpPrefixStateRequestPrefixFiltersEnum
}{
	IPV4_UNICAST: BgpPrefixStateRequestPrefixFiltersEnum("ipv4_unicast"),
	IPV6_UNICAST: BgpPrefixStateRequestPrefixFiltersEnum("ipv6_unicast"),
}

Enum of PrefixFilters on BgpPrefixStateRequest

View Source
var BgpRouteAdvancedOrigin = struct {
	IGP        BgpRouteAdvancedOriginEnum
	EGP        BgpRouteAdvancedOriginEnum
	INCOMPLETE BgpRouteAdvancedOriginEnum
}{
	IGP:        BgpRouteAdvancedOriginEnum("igp"),
	EGP:        BgpRouteAdvancedOriginEnum("egp"),
	INCOMPLETE: BgpRouteAdvancedOriginEnum("incomplete"),
}

Enum of Origin on BgpRouteAdvanced

View Source
var BgpRouteDistinguisherRdType = struct {
	AS_2OCTET    BgpRouteDistinguisherRdTypeEnum
	IPV4_ADDRESS BgpRouteDistinguisherRdTypeEnum
	AS_4OCTET    BgpRouteDistinguisherRdTypeEnum
}{
	AS_2OCTET:    BgpRouteDistinguisherRdTypeEnum("as_2octet"),
	IPV4_ADDRESS: BgpRouteDistinguisherRdTypeEnum("ipv4_address"),
	AS_4OCTET:    BgpRouteDistinguisherRdTypeEnum("as_4octet"),
}

Enum of RdType on BgpRouteDistinguisher

View Source
var BgpRouteTargetRtType = struct {
	AS_2OCTET    BgpRouteTargetRtTypeEnum
	IPV4_ADDRESS BgpRouteTargetRtTypeEnum
	AS_4OCTET    BgpRouteTargetRtTypeEnum
}{
	AS_2OCTET:    BgpRouteTargetRtTypeEnum("as_2octet"),
	IPV4_ADDRESS: BgpRouteTargetRtTypeEnum("ipv4_address"),
	AS_4OCTET:    BgpRouteTargetRtTypeEnum("as_4octet"),
}

Enum of RtType on BgpRouteTarget

View Source
var BgpSrteBindingSubTlvBindingSidType = struct {
	NO_BINDING     BgpSrteBindingSubTlvBindingSidTypeEnum
	FOUR_OCTET_SID BgpSrteBindingSubTlvBindingSidTypeEnum
	IPV6_SID       BgpSrteBindingSubTlvBindingSidTypeEnum
}{
	NO_BINDING:     BgpSrteBindingSubTlvBindingSidTypeEnum("no_binding"),
	FOUR_OCTET_SID: BgpSrteBindingSubTlvBindingSidTypeEnum("four_octet_sid"),
	IPV6_SID:       BgpSrteBindingSubTlvBindingSidTypeEnum("ipv6_sid"),
}

Enum of BindingSidType on BgpSrteBindingSubTlv

Enum of ExplicitNullLabelPolicy on BgpSrteExplicitNullLabelPolicySubTlv

Enum of AddressFamily on BgpSrteRemoteEndpointSubTlv

Enum of SegmentType on BgpSrteSegment

Enum of NextHopAddressType on BgpSrteV4Policy

View Source
var BgpSrteV4PolicyNextHopMode = struct {
	LOCAL_IP BgpSrteV4PolicyNextHopModeEnum
	MANUAL   BgpSrteV4PolicyNextHopModeEnum
}{
	LOCAL_IP: BgpSrteV4PolicyNextHopModeEnum("local_ip"),
	MANUAL:   BgpSrteV4PolicyNextHopModeEnum("manual"),
}

Enum of NextHopMode on BgpSrteV4Policy

Enum of NextHopAddressType on BgpSrteV6Policy

View Source
var BgpSrteV6PolicyNextHopMode = struct {
	LOCAL_IP BgpSrteV6PolicyNextHopModeEnum
	MANUAL   BgpSrteV6PolicyNextHopModeEnum
}{
	LOCAL_IP: BgpSrteV6PolicyNextHopModeEnum("local_ip"),
	MANUAL:   BgpSrteV6PolicyNextHopModeEnum("manual"),
}

Enum of NextHopMode on BgpSrteV6Policy

View Source
var BgpV4EthernetSegmentActiveMode = struct {
	SINGLE_ACTIVE BgpV4EthernetSegmentActiveModeEnum
	ALL_ACTIVE    BgpV4EthernetSegmentActiveModeEnum
}{
	SINGLE_ACTIVE: BgpV4EthernetSegmentActiveModeEnum("single_active"),
	ALL_ACTIVE:    BgpV4EthernetSegmentActiveModeEnum("all_active"),
}

Enum of ActiveMode on BgpV4EthernetSegment

View Source
var BgpV4EviVxlanReplicationType = struct {
	INGRESS_REPLICATION BgpV4EviVxlanReplicationTypeEnum
}{
	INGRESS_REPLICATION: BgpV4EviVxlanReplicationTypeEnum("ingress_replication"),
}

Enum of ReplicationType on BgpV4EviVxlan

View Source
var BgpV4EvpnEvisChoice = struct {
	EVI_VXLAN BgpV4EvpnEvisChoiceEnum
}{
	EVI_VXLAN: BgpV4EvpnEvisChoiceEnum("evi_vxlan"),
}

Enum of Choice on BgpV4EvpnEvis

View Source
var BgpV4PeerAsNumberWidth = struct {
	TWO  BgpV4PeerAsNumberWidthEnum
	FOUR BgpV4PeerAsNumberWidthEnum
}{
	TWO:  BgpV4PeerAsNumberWidthEnum("two"),
	FOUR: BgpV4PeerAsNumberWidthEnum("four"),
}

Enum of AsNumberWidth on BgpV4Peer

View Source
var BgpV4PeerAsType = struct {
	IBGP BgpV4PeerAsTypeEnum
	EBGP BgpV4PeerAsTypeEnum
}{
	IBGP: BgpV4PeerAsTypeEnum("ibgp"),
	EBGP: BgpV4PeerAsTypeEnum("ebgp"),
}

Enum of AsType on BgpV4Peer

Enum of NextHopAddressType on BgpV4RouteRange

View Source
var BgpV4RouteRangeNextHopMode = struct {
	LOCAL_IP BgpV4RouteRangeNextHopModeEnum
	MANUAL   BgpV4RouteRangeNextHopModeEnum
}{
	LOCAL_IP: BgpV4RouteRangeNextHopModeEnum("local_ip"),
	MANUAL:   BgpV4RouteRangeNextHopModeEnum("manual"),
}

Enum of NextHopMode on BgpV4RouteRange

View Source
var BgpV6EthernetSegmentActiveMode = struct {
	SINGLE_ACTIVE BgpV6EthernetSegmentActiveModeEnum
	ALL_ACTIVE    BgpV6EthernetSegmentActiveModeEnum
}{
	SINGLE_ACTIVE: BgpV6EthernetSegmentActiveModeEnum("single_active"),
	ALL_ACTIVE:    BgpV6EthernetSegmentActiveModeEnum("all_active"),
}

Enum of ActiveMode on BgpV6EthernetSegment

View Source
var BgpV6EviVxlanReplicationType = struct {
	INGRESS_REPLICATION BgpV6EviVxlanReplicationTypeEnum
}{
	INGRESS_REPLICATION: BgpV6EviVxlanReplicationTypeEnum("ingress_replication"),
}

Enum of ReplicationType on BgpV6EviVxlan

View Source
var BgpV6EvpnEvisChoice = struct {
	EVI_VXLAN BgpV6EvpnEvisChoiceEnum
}{
	EVI_VXLAN: BgpV6EvpnEvisChoiceEnum("evi_vxlan"),
}

Enum of Choice on BgpV6EvpnEvis

View Source
var BgpV6PeerAsNumberWidth = struct {
	TWO  BgpV6PeerAsNumberWidthEnum
	FOUR BgpV6PeerAsNumberWidthEnum
}{
	TWO:  BgpV6PeerAsNumberWidthEnum("two"),
	FOUR: BgpV6PeerAsNumberWidthEnum("four"),
}

Enum of AsNumberWidth on BgpV6Peer

View Source
var BgpV6PeerAsType = struct {
	IBGP BgpV6PeerAsTypeEnum
	EBGP BgpV6PeerAsTypeEnum
}{
	IBGP: BgpV6PeerAsTypeEnum("ibgp"),
	EBGP: BgpV6PeerAsTypeEnum("ebgp"),
}

Enum of AsType on BgpV6Peer

Enum of NextHopAddressType on BgpV6RouteRange

View Source
var BgpV6RouteRangeNextHopMode = struct {
	LOCAL_IP BgpV6RouteRangeNextHopModeEnum
	MANUAL   BgpV6RouteRangeNextHopModeEnum
}{
	LOCAL_IP: BgpV6RouteRangeNextHopModeEnum("local_ip"),
	MANUAL:   BgpV6RouteRangeNextHopModeEnum("manual"),
}

Enum of NextHopMode on BgpV6RouteRange

View Source
var Bgpv4MetricFsmState = struct {
	IDLE        Bgpv4MetricFsmStateEnum
	CONNECT     Bgpv4MetricFsmStateEnum
	ACTIVE      Bgpv4MetricFsmStateEnum
	OPENSENT    Bgpv4MetricFsmStateEnum
	OPENCONFIRM Bgpv4MetricFsmStateEnum
	ESTABLISHED Bgpv4MetricFsmStateEnum
}{
	IDLE:        Bgpv4MetricFsmStateEnum("idle"),
	CONNECT:     Bgpv4MetricFsmStateEnum("connect"),
	ACTIVE:      Bgpv4MetricFsmStateEnum("active"),
	OPENSENT:    Bgpv4MetricFsmStateEnum("opensent"),
	OPENCONFIRM: Bgpv4MetricFsmStateEnum("openconfirm"),
	ESTABLISHED: Bgpv4MetricFsmStateEnum("established"),
}

Enum of FsmState on Bgpv4Metric

View Source
var Bgpv4MetricSessionState = struct {
	UP   Bgpv4MetricSessionStateEnum
	DOWN Bgpv4MetricSessionStateEnum
}{
	UP:   Bgpv4MetricSessionStateEnum("up"),
	DOWN: Bgpv4MetricSessionStateEnum("down"),
}

Enum of SessionState on Bgpv4Metric

View Source
var Bgpv4MetricsRequestColumnNames = struct {
	SESSION_STATE            Bgpv4MetricsRequestColumnNamesEnum
	SESSION_FLAP_COUNT       Bgpv4MetricsRequestColumnNamesEnum
	ROUTES_ADVERTISED        Bgpv4MetricsRequestColumnNamesEnum
	ROUTES_RECEIVED          Bgpv4MetricsRequestColumnNamesEnum
	ROUTE_WITHDRAWS_SENT     Bgpv4MetricsRequestColumnNamesEnum
	ROUTE_WITHDRAWS_RECEIVED Bgpv4MetricsRequestColumnNamesEnum
	UPDATES_SENT             Bgpv4MetricsRequestColumnNamesEnum
	UPDATES_RECEIVED         Bgpv4MetricsRequestColumnNamesEnum
	OPENS_SENT               Bgpv4MetricsRequestColumnNamesEnum
	OPENS_RECEIVED           Bgpv4MetricsRequestColumnNamesEnum
	KEEPALIVES_SENT          Bgpv4MetricsRequestColumnNamesEnum
	KEEPALIVES_RECEIVED      Bgpv4MetricsRequestColumnNamesEnum
	NOTIFICATIONS_SENT       Bgpv4MetricsRequestColumnNamesEnum
	NOTIFICATIONS_RECEIVED   Bgpv4MetricsRequestColumnNamesEnum
	FSM_STATE                Bgpv4MetricsRequestColumnNamesEnum
}{
	SESSION_STATE:            Bgpv4MetricsRequestColumnNamesEnum("session_state"),
	SESSION_FLAP_COUNT:       Bgpv4MetricsRequestColumnNamesEnum("session_flap_count"),
	ROUTES_ADVERTISED:        Bgpv4MetricsRequestColumnNamesEnum("routes_advertised"),
	ROUTES_RECEIVED:          Bgpv4MetricsRequestColumnNamesEnum("routes_received"),
	ROUTE_WITHDRAWS_SENT:     Bgpv4MetricsRequestColumnNamesEnum("route_withdraws_sent"),
	ROUTE_WITHDRAWS_RECEIVED: Bgpv4MetricsRequestColumnNamesEnum("route_withdraws_received"),
	UPDATES_SENT:             Bgpv4MetricsRequestColumnNamesEnum("updates_sent"),
	UPDATES_RECEIVED:         Bgpv4MetricsRequestColumnNamesEnum("updates_received"),
	OPENS_SENT:               Bgpv4MetricsRequestColumnNamesEnum("opens_sent"),
	OPENS_RECEIVED:           Bgpv4MetricsRequestColumnNamesEnum("opens_received"),
	KEEPALIVES_SENT:          Bgpv4MetricsRequestColumnNamesEnum("keepalives_sent"),
	KEEPALIVES_RECEIVED:      Bgpv4MetricsRequestColumnNamesEnum("keepalives_received"),
	NOTIFICATIONS_SENT:       Bgpv4MetricsRequestColumnNamesEnum("notifications_sent"),
	NOTIFICATIONS_RECEIVED:   Bgpv4MetricsRequestColumnNamesEnum("notifications_received"),
	FSM_STATE:                Bgpv4MetricsRequestColumnNamesEnum("fsm_state"),
}

Enum of ColumnNames on Bgpv4MetricsRequest

View Source
var Bgpv6MetricFsmState = struct {
	IDLE        Bgpv6MetricFsmStateEnum
	CONNECT     Bgpv6MetricFsmStateEnum
	ACTIVE      Bgpv6MetricFsmStateEnum
	OPENSENT    Bgpv6MetricFsmStateEnum
	OPENCONFIRM Bgpv6MetricFsmStateEnum
	ESTABLISHED Bgpv6MetricFsmStateEnum
}{
	IDLE:        Bgpv6MetricFsmStateEnum("idle"),
	CONNECT:     Bgpv6MetricFsmStateEnum("connect"),
	ACTIVE:      Bgpv6MetricFsmStateEnum("active"),
	OPENSENT:    Bgpv6MetricFsmStateEnum("opensent"),
	OPENCONFIRM: Bgpv6MetricFsmStateEnum("openconfirm"),
	ESTABLISHED: Bgpv6MetricFsmStateEnum("established"),
}

Enum of FsmState on Bgpv6Metric

View Source
var Bgpv6MetricSessionState = struct {
	UP   Bgpv6MetricSessionStateEnum
	DOWN Bgpv6MetricSessionStateEnum
}{
	UP:   Bgpv6MetricSessionStateEnum("up"),
	DOWN: Bgpv6MetricSessionStateEnum("down"),
}

Enum of SessionState on Bgpv6Metric

View Source
var Bgpv6MetricsRequestColumnNames = struct {
	SESSION_STATE            Bgpv6MetricsRequestColumnNamesEnum
	SESSION_FLAP_COUNT       Bgpv6MetricsRequestColumnNamesEnum
	ROUTES_ADVERTISED        Bgpv6MetricsRequestColumnNamesEnum
	ROUTES_RECEIVED          Bgpv6MetricsRequestColumnNamesEnum
	ROUTE_WITHDRAWS_SENT     Bgpv6MetricsRequestColumnNamesEnum
	ROUTE_WITHDRAWS_RECEIVED Bgpv6MetricsRequestColumnNamesEnum
	UPDATES_SENT             Bgpv6MetricsRequestColumnNamesEnum
	UPDATES_RECEIVED         Bgpv6MetricsRequestColumnNamesEnum
	OPENS_SENT               Bgpv6MetricsRequestColumnNamesEnum
	OPENS_RECEIVED           Bgpv6MetricsRequestColumnNamesEnum
	KEEPALIVES_SENT          Bgpv6MetricsRequestColumnNamesEnum
	KEEPALIVES_RECEIVED      Bgpv6MetricsRequestColumnNamesEnum
	NOTIFICATIONS_SENT       Bgpv6MetricsRequestColumnNamesEnum
	NOTIFICATIONS_RECEIVED   Bgpv6MetricsRequestColumnNamesEnum
	FSM_STATE                Bgpv6MetricsRequestColumnNamesEnum
}{
	SESSION_STATE:            Bgpv6MetricsRequestColumnNamesEnum("session_state"),
	SESSION_FLAP_COUNT:       Bgpv6MetricsRequestColumnNamesEnum("session_flap_count"),
	ROUTES_ADVERTISED:        Bgpv6MetricsRequestColumnNamesEnum("routes_advertised"),
	ROUTES_RECEIVED:          Bgpv6MetricsRequestColumnNamesEnum("routes_received"),
	ROUTE_WITHDRAWS_SENT:     Bgpv6MetricsRequestColumnNamesEnum("route_withdraws_sent"),
	ROUTE_WITHDRAWS_RECEIVED: Bgpv6MetricsRequestColumnNamesEnum("route_withdraws_received"),
	UPDATES_SENT:             Bgpv6MetricsRequestColumnNamesEnum("updates_sent"),
	UPDATES_RECEIVED:         Bgpv6MetricsRequestColumnNamesEnum("updates_received"),
	OPENS_SENT:               Bgpv6MetricsRequestColumnNamesEnum("opens_sent"),
	OPENS_RECEIVED:           Bgpv6MetricsRequestColumnNamesEnum("opens_received"),
	KEEPALIVES_SENT:          Bgpv6MetricsRequestColumnNamesEnum("keepalives_sent"),
	KEEPALIVES_RECEIVED:      Bgpv6MetricsRequestColumnNamesEnum("keepalives_received"),
	NOTIFICATIONS_SENT:       Bgpv6MetricsRequestColumnNamesEnum("notifications_sent"),
	NOTIFICATIONS_RECEIVED:   Bgpv6MetricsRequestColumnNamesEnum("notifications_received"),
	FSM_STATE:                Bgpv6MetricsRequestColumnNamesEnum("fsm_state"),
}

Enum of ColumnNames on Bgpv6MetricsRequest

View Source
var CaptureFilterChoice = struct {
	CUSTOM   CaptureFilterChoiceEnum
	ETHERNET CaptureFilterChoiceEnum
	VLAN     CaptureFilterChoiceEnum
	IPV4     CaptureFilterChoiceEnum
	IPV6     CaptureFilterChoiceEnum
}{
	CUSTOM:   CaptureFilterChoiceEnum("custom"),
	ETHERNET: CaptureFilterChoiceEnum("ethernet"),
	VLAN:     CaptureFilterChoiceEnum("vlan"),
	IPV4:     CaptureFilterChoiceEnum("ipv4"),
	IPV6:     CaptureFilterChoiceEnum("ipv6"),
}

Enum of Choice on CaptureFilter

View Source
var CaptureFormat = struct {
	PCAP   CaptureFormatEnum
	PCAPNG CaptureFormatEnum
}{
	PCAP:   CaptureFormatEnum("pcap"),
	PCAPNG: CaptureFormatEnum("pcapng"),
}

Enum of Format on Capture

View Source
var CaptureStateState = struct {
	START CaptureStateStateEnum
	STOP  CaptureStateStateEnum
}{
	START: CaptureStateStateEnum("start"),
	STOP:  CaptureStateStateEnum("stop"),
}

Enum of State on CaptureState

View Source
var ConfigUpdateChoice = struct {
	FLOWS ConfigUpdateChoiceEnum
}{
	FLOWS: ConfigUpdateChoiceEnum("flows"),
}

Enum of Choice on ConfigUpdate

View Source
var ControlActionChoice = struct {
	PROTOCOL ControlActionChoiceEnum
}{
	PROTOCOL: ControlActionChoiceEnum("protocol"),
}

Enum of Choice on ControlAction

View Source
var ControlStateChoice = struct {
	PORT     ControlStateChoiceEnum
	PROTOCOL ControlStateChoiceEnum
	TRAFFIC  ControlStateChoiceEnum
}{
	PORT:     ControlStateChoiceEnum("port"),
	PROTOCOL: ControlStateChoiceEnum("protocol"),
	TRAFFIC:  ControlStateChoiceEnum("traffic"),
}

Enum of Choice on ControlState

View Source
var DeviceBgpCeaseErrorSubcode = struct {
	MAX_NUMBER_PREFIX_REACHED_CODE6_SUBCODE1       DeviceBgpCeaseErrorSubcodeEnum
	ADMIN_SHUTDOWN_CODE6_SUBCODE2                  DeviceBgpCeaseErrorSubcodeEnum
	PEER_DELETED_CODE6_SUBCODE3                    DeviceBgpCeaseErrorSubcodeEnum
	ADMIN_RESET_CODE6_SUBCODE4                     DeviceBgpCeaseErrorSubcodeEnum
	CONNECTION_REJECT_CODE6_SUBCODE5               DeviceBgpCeaseErrorSubcodeEnum
	OTHER_CONFIG_CHANGES_CODE6_SUBCODE6            DeviceBgpCeaseErrorSubcodeEnum
	CONNECTION_COLLISION_RESOLUTION_CODE6_SUBCODE7 DeviceBgpCeaseErrorSubcodeEnum
	OUT_OF_RESOURCES_CODE6_SUBCODE8                DeviceBgpCeaseErrorSubcodeEnum
	BFD_SESSION_DOWN_CODE6_SUBCODE9                DeviceBgpCeaseErrorSubcodeEnum
}{
	MAX_NUMBER_PREFIX_REACHED_CODE6_SUBCODE1:       DeviceBgpCeaseErrorSubcodeEnum("max_number_prefix_reached_code6_subcode1"),
	ADMIN_SHUTDOWN_CODE6_SUBCODE2:                  DeviceBgpCeaseErrorSubcodeEnum("admin_shutdown_code6_subcode2"),
	PEER_DELETED_CODE6_SUBCODE3:                    DeviceBgpCeaseErrorSubcodeEnum("peer_deleted_code6_subcode3"),
	ADMIN_RESET_CODE6_SUBCODE4:                     DeviceBgpCeaseErrorSubcodeEnum("admin_reset_code6_subcode4"),
	CONNECTION_REJECT_CODE6_SUBCODE5:               DeviceBgpCeaseErrorSubcodeEnum("connection_reject_code6_subcode5"),
	OTHER_CONFIG_CHANGES_CODE6_SUBCODE6:            DeviceBgpCeaseErrorSubcodeEnum("other_config_changes_code6_subcode6"),
	CONNECTION_COLLISION_RESOLUTION_CODE6_SUBCODE7: DeviceBgpCeaseErrorSubcodeEnum("connection_collision_resolution_code6_subcode7"),
	OUT_OF_RESOURCES_CODE6_SUBCODE8:                DeviceBgpCeaseErrorSubcodeEnum("out_of_resources_code6_subcode8"),
	BFD_SESSION_DOWN_CODE6_SUBCODE9:                DeviceBgpCeaseErrorSubcodeEnum("bfd_session_down_code6_subcode9"),
}

Enum of Subcode on DeviceBgpCeaseError

View Source
var DeviceBgpMessageHeaderErrorSubcode = struct {
	CONNECTION_NOT_SYNCHRONIZED_CODE1_SUBCODE1 DeviceBgpMessageHeaderErrorSubcodeEnum
	BAD_MESSAGE_LENGTH_CODE1_SUBCODE2          DeviceBgpMessageHeaderErrorSubcodeEnum
	BAD_MESSAGE_TYPE_CODE1_SUBCODE3            DeviceBgpMessageHeaderErrorSubcodeEnum
}{
	CONNECTION_NOT_SYNCHRONIZED_CODE1_SUBCODE1: DeviceBgpMessageHeaderErrorSubcodeEnum("connection_not_synchronized_code1_subcode1"),
	BAD_MESSAGE_LENGTH_CODE1_SUBCODE2:          DeviceBgpMessageHeaderErrorSubcodeEnum("bad_message_length_code1_subcode2"),
	BAD_MESSAGE_TYPE_CODE1_SUBCODE3:            DeviceBgpMessageHeaderErrorSubcodeEnum("bad_message_type_code1_subcode3"),
}

Enum of Subcode on DeviceBgpMessageHeaderError

View Source
var DeviceBgpOpenMessageErrorSubcode = struct {
	UNSUPPORTED_VERSION_NUMBER_CODE2_SUBCODE1     DeviceBgpOpenMessageErrorSubcodeEnum
	ERROR_PEER_AS_CODE2_SUBCODE2                  DeviceBgpOpenMessageErrorSubcodeEnum
	ERROR_BGP_ID_CODE2_SUBCODE3                   DeviceBgpOpenMessageErrorSubcodeEnum
	UNSUPPORTED_OPTIONAL_PARAMETER_CODE2_SUBCODE4 DeviceBgpOpenMessageErrorSubcodeEnum
	AUTH_FAILED_CODE2_SUBCODE5                    DeviceBgpOpenMessageErrorSubcodeEnum
	UNSUPPORTED_HOLD_TIME_CODE2_SUBCODE6          DeviceBgpOpenMessageErrorSubcodeEnum
	UNSUPPORTED_CAPABILITY_CODE2_SUBCODE7         DeviceBgpOpenMessageErrorSubcodeEnum
}{
	UNSUPPORTED_VERSION_NUMBER_CODE2_SUBCODE1:     DeviceBgpOpenMessageErrorSubcodeEnum("unsupported_version_number_code2_subcode1"),
	ERROR_PEER_AS_CODE2_SUBCODE2:                  DeviceBgpOpenMessageErrorSubcodeEnum("error_peer_as_code2_subcode2"),
	ERROR_BGP_ID_CODE2_SUBCODE3:                   DeviceBgpOpenMessageErrorSubcodeEnum("error_bgp_id_code2_subcode3"),
	UNSUPPORTED_OPTIONAL_PARAMETER_CODE2_SUBCODE4: DeviceBgpOpenMessageErrorSubcodeEnum("unsupported_optional_parameter_code2_subcode4"),
	AUTH_FAILED_CODE2_SUBCODE5:                    DeviceBgpOpenMessageErrorSubcodeEnum("auth_failed_code2_subcode5"),
	UNSUPPORTED_HOLD_TIME_CODE2_SUBCODE6:          DeviceBgpOpenMessageErrorSubcodeEnum("unsupported_hold_time_code2_subcode6"),
	UNSUPPORTED_CAPABILITY_CODE2_SUBCODE7:         DeviceBgpOpenMessageErrorSubcodeEnum("unsupported_capability_code2_subcode7"),
}

Enum of Subcode on DeviceBgpOpenMessageError

View Source
var DeviceBgpUpdateMessageErrorSubcode = struct {
	MALFORMED_ATTRIB_LIST_CODE3_SUBCODE1         DeviceBgpUpdateMessageErrorSubcodeEnum
	UNRECOGNIZED_WELLKNOWN_ATTRIB_CODE3_SUBCODE2 DeviceBgpUpdateMessageErrorSubcodeEnum
	WELLKNOWN_ATTRIB_MISSING_CODE3_SUBCODE3      DeviceBgpUpdateMessageErrorSubcodeEnum
	ATTRIB_FLAGS_ERROR_CODE3_SUBCODE4            DeviceBgpUpdateMessageErrorSubcodeEnum
	ATTRIB_LENGTH_ERROR_CODE3_SUBCODE5           DeviceBgpUpdateMessageErrorSubcodeEnum
	INVALID_ORIGIN_ATTRIB_CODE3_SUBCODE6         DeviceBgpUpdateMessageErrorSubcodeEnum
	AS_ROUTING_LOOP_CODE3_SUBCODE7               DeviceBgpUpdateMessageErrorSubcodeEnum
	INVALID_NHOP_ATTRIB_CODE3_SUBCODE8           DeviceBgpUpdateMessageErrorSubcodeEnum
	ERROR_OPTIONAL_ATTRIB_CODE3_SUBCODE9         DeviceBgpUpdateMessageErrorSubcodeEnum
	INVALID_NETWORK_FIELD_CODE3_SUBCODE10        DeviceBgpUpdateMessageErrorSubcodeEnum
	ABNORMAL_ASPATH_CODE3_SUBCODE11              DeviceBgpUpdateMessageErrorSubcodeEnum
}{
	MALFORMED_ATTRIB_LIST_CODE3_SUBCODE1:         DeviceBgpUpdateMessageErrorSubcodeEnum("malformed_attrib_list_code3_subcode1"),
	UNRECOGNIZED_WELLKNOWN_ATTRIB_CODE3_SUBCODE2: DeviceBgpUpdateMessageErrorSubcodeEnum("unrecognized_wellknown_attrib_code3_subcode2"),
	WELLKNOWN_ATTRIB_MISSING_CODE3_SUBCODE3:      DeviceBgpUpdateMessageErrorSubcodeEnum("wellknown_attrib_missing_code3_subcode3"),
	ATTRIB_FLAGS_ERROR_CODE3_SUBCODE4:            DeviceBgpUpdateMessageErrorSubcodeEnum("attrib_flags_error_code3_subcode4"),
	ATTRIB_LENGTH_ERROR_CODE3_SUBCODE5:           DeviceBgpUpdateMessageErrorSubcodeEnum("attrib_length_error_code3_subcode5"),
	INVALID_ORIGIN_ATTRIB_CODE3_SUBCODE6:         DeviceBgpUpdateMessageErrorSubcodeEnum("invalid_origin_attrib_code3_subcode6"),
	AS_ROUTING_LOOP_CODE3_SUBCODE7:               DeviceBgpUpdateMessageErrorSubcodeEnum("as_routing_loop_code3_subcode7"),
	INVALID_NHOP_ATTRIB_CODE3_SUBCODE8:           DeviceBgpUpdateMessageErrorSubcodeEnum("invalid_nhop_attrib_code3_subcode8"),
	ERROR_OPTIONAL_ATTRIB_CODE3_SUBCODE9:         DeviceBgpUpdateMessageErrorSubcodeEnum("error_optional_attrib_code3_subcode9"),
	INVALID_NETWORK_FIELD_CODE3_SUBCODE10:        DeviceBgpUpdateMessageErrorSubcodeEnum("invalid_network_field_code3_subcode10"),
	ABNORMAL_ASPATH_CODE3_SUBCODE11:              DeviceBgpUpdateMessageErrorSubcodeEnum("abnormal_aspath_code3_subcode11"),
}

Enum of Subcode on DeviceBgpUpdateMessageError

View Source
var DeviceIpv4GatewayMACChoice = struct {
	AUTO  DeviceIpv4GatewayMACChoiceEnum
	VALUE DeviceIpv4GatewayMACChoiceEnum
}{
	AUTO:  DeviceIpv4GatewayMACChoiceEnum("auto"),
	VALUE: DeviceIpv4GatewayMACChoiceEnum("value"),
}

Enum of Choice on DeviceIpv4GatewayMAC

View Source
var DeviceIpv6GatewayMACChoice = struct {
	AUTO  DeviceIpv6GatewayMACChoiceEnum
	VALUE DeviceIpv6GatewayMACChoiceEnum
}{
	AUTO:  DeviceIpv6GatewayMACChoiceEnum("auto"),
	VALUE: DeviceIpv6GatewayMACChoiceEnum("value"),
}

Enum of Choice on DeviceIpv6GatewayMAC

View Source
var DeviceStateChoice = struct {
	LACP_MEMBER_STATE DeviceStateChoiceEnum
}{
	LACP_MEMBER_STATE: DeviceStateChoiceEnum("lacp_member_state"),
}

Enum of Choice on DeviceState

View Source
var DeviceVlanTpid = struct {
	X8100 DeviceVlanTpidEnum
	X88A8 DeviceVlanTpidEnum
	X9100 DeviceVlanTpidEnum
	X9200 DeviceVlanTpidEnum
	X9300 DeviceVlanTpidEnum
}{
	X8100: DeviceVlanTpidEnum("x8100"),
	X88A8: DeviceVlanTpidEnum("x88A8"),
	X9100: DeviceVlanTpidEnum("x9100"),
	X9200: DeviceVlanTpidEnum("x9200"),
	X9300: DeviceVlanTpidEnum("x9300"),
}

Enum of Tpid on DeviceVlan

View Source
var ErrorKind = struct {
	VALIDATION ErrorKindEnum
	INTERNAL   ErrorKindEnum
}{
	VALIDATION: ErrorKindEnum("validation"),
	INTERNAL:   ErrorKindEnum("internal"),
}

Enum of Kind on Error

View Source
var EthernetConnectionChoice = struct {
	PORT_NAME  EthernetConnectionChoiceEnum
	LAG_NAME   EthernetConnectionChoiceEnum
	VXLAN_NAME EthernetConnectionChoiceEnum
}{
	PORT_NAME:  EthernetConnectionChoiceEnum("port_name"),
	LAG_NAME:   EthernetConnectionChoiceEnum("lag_name"),
	VXLAN_NAME: EthernetConnectionChoiceEnum("vxlan_name"),
}

Enum of Choice on EthernetConnection

View Source
var FlowDelayChoice = struct {
	BYTES        FlowDelayChoiceEnum
	NANOSECONDS  FlowDelayChoiceEnum
	MICROSECONDS FlowDelayChoiceEnum
}{
	BYTES:        FlowDelayChoiceEnum("bytes"),
	NANOSECONDS:  FlowDelayChoiceEnum("nanoseconds"),
	MICROSECONDS: FlowDelayChoiceEnum("microseconds"),
}

Enum of Choice on FlowDelay

View Source
var FlowDurationChoice = struct {
	FIXED_PACKETS FlowDurationChoiceEnum
	FIXED_SECONDS FlowDurationChoiceEnum
	BURST         FlowDurationChoiceEnum
	CONTINUOUS    FlowDurationChoiceEnum
}{
	FIXED_PACKETS: FlowDurationChoiceEnum("fixed_packets"),
	FIXED_SECONDS: FlowDurationChoiceEnum("fixed_seconds"),
	BURST:         FlowDurationChoiceEnum("burst"),
	CONTINUOUS:    FlowDurationChoiceEnum("continuous"),
}

Enum of Choice on FlowDuration

View Source
var FlowDurationInterBurstGapChoice = struct {
	BYTES        FlowDurationInterBurstGapChoiceEnum
	NANOSECONDS  FlowDurationInterBurstGapChoiceEnum
	MICROSECONDS FlowDurationInterBurstGapChoiceEnum
}{
	BYTES:        FlowDurationInterBurstGapChoiceEnum("bytes"),
	NANOSECONDS:  FlowDurationInterBurstGapChoiceEnum("nanoseconds"),
	MICROSECONDS: FlowDurationInterBurstGapChoiceEnum("microseconds"),
}

Enum of Choice on FlowDurationInterBurstGap

View Source
var FlowHeaderChoice = struct {
	CUSTOM        FlowHeaderChoiceEnum
	ETHERNET      FlowHeaderChoiceEnum
	VLAN          FlowHeaderChoiceEnum
	VXLAN         FlowHeaderChoiceEnum
	IPV4          FlowHeaderChoiceEnum
	IPV6          FlowHeaderChoiceEnum
	PFCPAUSE      FlowHeaderChoiceEnum
	ETHERNETPAUSE FlowHeaderChoiceEnum
	TCP           FlowHeaderChoiceEnum
	UDP           FlowHeaderChoiceEnum
	GRE           FlowHeaderChoiceEnum
	GTPV1         FlowHeaderChoiceEnum
	GTPV2         FlowHeaderChoiceEnum
	ARP           FlowHeaderChoiceEnum
	ICMP          FlowHeaderChoiceEnum
	ICMPV6        FlowHeaderChoiceEnum
	PPP           FlowHeaderChoiceEnum
	IGMPV1        FlowHeaderChoiceEnum
	MPLS          FlowHeaderChoiceEnum
}{
	CUSTOM:        FlowHeaderChoiceEnum("custom"),
	ETHERNET:      FlowHeaderChoiceEnum("ethernet"),
	VLAN:          FlowHeaderChoiceEnum("vlan"),
	VXLAN:         FlowHeaderChoiceEnum("vxlan"),
	IPV4:          FlowHeaderChoiceEnum("ipv4"),
	IPV6:          FlowHeaderChoiceEnum("ipv6"),
	PFCPAUSE:      FlowHeaderChoiceEnum("pfcpause"),
	ETHERNETPAUSE: FlowHeaderChoiceEnum("ethernetpause"),
	TCP:           FlowHeaderChoiceEnum("tcp"),
	UDP:           FlowHeaderChoiceEnum("udp"),
	GRE:           FlowHeaderChoiceEnum("gre"),
	GTPV1:         FlowHeaderChoiceEnum("gtpv1"),
	GTPV2:         FlowHeaderChoiceEnum("gtpv2"),
	ARP:           FlowHeaderChoiceEnum("arp"),
	ICMP:          FlowHeaderChoiceEnum("icmp"),
	ICMPV6:        FlowHeaderChoiceEnum("icmpv6"),
	PPP:           FlowHeaderChoiceEnum("ppp"),
	IGMPV1:        FlowHeaderChoiceEnum("igmpv1"),
	MPLS:          FlowHeaderChoiceEnum("mpls"),
}

Enum of Choice on FlowHeader

View Source
var FlowIcmpChoice = struct {
	ECHO FlowIcmpChoiceEnum
}{
	ECHO: FlowIcmpChoiceEnum("echo"),
}

Enum of Choice on FlowIcmp

View Source
var FlowIcmpv6Choice = struct {
	ECHO FlowIcmpv6ChoiceEnum
}{
	ECHO: FlowIcmpv6ChoiceEnum("echo"),
}

Enum of Choice on FlowIcmpv6

Enum of Choice on FlowIpv4Priority

View Source
var FlowLatencyMetricsMode = struct {
	STORE_FORWARD FlowLatencyMetricsModeEnum
	CUT_THROUGH   FlowLatencyMetricsModeEnum
}{
	STORE_FORWARD: FlowLatencyMetricsModeEnum("store_forward"),
	CUT_THROUGH:   FlowLatencyMetricsModeEnum("cut_through"),
}

Enum of Mode on FlowLatencyMetrics

View Source
var FlowMetricGroupRequestChoice = struct {
	INGRESS FlowMetricGroupRequestChoiceEnum
	EGRESS  FlowMetricGroupRequestChoiceEnum
}{
	INGRESS: FlowMetricGroupRequestChoiceEnum("ingress"),
	EGRESS:  FlowMetricGroupRequestChoiceEnum("egress"),
}

Enum of Choice on FlowMetricGroupRequest

View Source
var FlowMetricTransmit = struct {
	STARTED FlowMetricTransmitEnum
	STOPPED FlowMetricTransmitEnum
	PAUSED  FlowMetricTransmitEnum
}{
	STARTED: FlowMetricTransmitEnum("started"),
	STOPPED: FlowMetricTransmitEnum("stopped"),
	PAUSED:  FlowMetricTransmitEnum("paused"),
}

Enum of Transmit on FlowMetric

View Source
var FlowMetricsRequestMetricNames = struct {
	TRANSMIT       FlowMetricsRequestMetricNamesEnum
	FRAMES_TX      FlowMetricsRequestMetricNamesEnum
	FRAMES_RX      FlowMetricsRequestMetricNamesEnum
	BYTES_TX       FlowMetricsRequestMetricNamesEnum
	BYTES_RX       FlowMetricsRequestMetricNamesEnum
	FRAMES_TX_RATE FlowMetricsRequestMetricNamesEnum
	FRAMES_RX_RATE FlowMetricsRequestMetricNamesEnum
}{
	TRANSMIT:       FlowMetricsRequestMetricNamesEnum("transmit"),
	FRAMES_TX:      FlowMetricsRequestMetricNamesEnum("frames_tx"),
	FRAMES_RX:      FlowMetricsRequestMetricNamesEnum("frames_rx"),
	BYTES_TX:       FlowMetricsRequestMetricNamesEnum("bytes_tx"),
	BYTES_RX:       FlowMetricsRequestMetricNamesEnum("bytes_rx"),
	FRAMES_TX_RATE: FlowMetricsRequestMetricNamesEnum("frames_tx_rate"),
	FRAMES_RX_RATE: FlowMetricsRequestMetricNamesEnum("frames_rx_rate"),
}

Enum of MetricNames on FlowMetricsRequest

View Source
var FlowRateChoice = struct {
	PPS        FlowRateChoiceEnum
	BPS        FlowRateChoiceEnum
	KBPS       FlowRateChoiceEnum
	MBPS       FlowRateChoiceEnum
	GBPS       FlowRateChoiceEnum
	PERCENTAGE FlowRateChoiceEnum
}{
	PPS:        FlowRateChoiceEnum("pps"),
	BPS:        FlowRateChoiceEnum("bps"),
	KBPS:       FlowRateChoiceEnum("kbps"),
	MBPS:       FlowRateChoiceEnum("mbps"),
	GBPS:       FlowRateChoiceEnum("gbps"),
	PERCENTAGE: FlowRateChoiceEnum("percentage"),
}

Enum of Choice on FlowRate

View Source
var FlowRouterMode = struct {
	MESH       FlowRouterModeEnum
	ONE_TO_ONE FlowRouterModeEnum
}{
	MESH:       FlowRouterModeEnum("mesh"),
	ONE_TO_ONE: FlowRouterModeEnum("one_to_one"),
}

Enum of Mode on FlowRouter

View Source
var FlowSizeChoice = struct {
	FIXED     FlowSizeChoiceEnum
	INCREMENT FlowSizeChoiceEnum
	RANDOM    FlowSizeChoiceEnum
}{
	FIXED:     FlowSizeChoiceEnum("fixed"),
	INCREMENT: FlowSizeChoiceEnum("increment"),
	RANDOM:    FlowSizeChoiceEnum("random"),
}

Enum of Choice on FlowSize

View Source
var FlowTxRxChoice = struct {
	PORT   FlowTxRxChoiceEnum
	DEVICE FlowTxRxChoiceEnum
}{
	PORT:   FlowTxRxChoiceEnum("port"),
	DEVICE: FlowTxRxChoiceEnum("device"),
}

Enum of Choice on FlowTxRx

View Source
var FlowsUpdatePropertyNames = struct {
	RATE FlowsUpdatePropertyNamesEnum
	SIZE FlowsUpdatePropertyNamesEnum
}{
	RATE: FlowsUpdatePropertyNamesEnum("rate"),
	SIZE: FlowsUpdatePropertyNamesEnum("size"),
}

Enum of PropertyNames on FlowsUpdate

View Source
var IsisAuthenticationBaseAuthType = struct {
	MD5      IsisAuthenticationBaseAuthTypeEnum
	PASSWORD IsisAuthenticationBaseAuthTypeEnum
}{
	MD5:      IsisAuthenticationBaseAuthTypeEnum("md5"),
	PASSWORD: IsisAuthenticationBaseAuthTypeEnum("password"),
}

Enum of AuthType on IsisAuthenticationBase

Enum of AuthType on IsisInterfaceAuthentication

View Source
var IsisInterfaceLevelType = struct {
	LEVEL_1   IsisInterfaceLevelTypeEnum
	LEVEL_2   IsisInterfaceLevelTypeEnum
	LEVEL_1_2 IsisInterfaceLevelTypeEnum
}{
	LEVEL_1:   IsisInterfaceLevelTypeEnum("level_1"),
	LEVEL_2:   IsisInterfaceLevelTypeEnum("level_2"),
	LEVEL_1_2: IsisInterfaceLevelTypeEnum("level_1_2"),
}

Enum of LevelType on IsisInterface

View Source
var IsisInterfaceNetworkType = struct {
	BROADCAST      IsisInterfaceNetworkTypeEnum
	POINT_TO_POINT IsisInterfaceNetworkTypeEnum
}{
	BROADCAST:      IsisInterfaceNetworkTypeEnum("broadcast"),
	POINT_TO_POINT: IsisInterfaceNetworkTypeEnum("point_to_point"),
}

Enum of NetworkType on IsisInterface

Enum of RedistributionType on IsisLspExtendedV4Prefix

View Source
var IsisLspStatePduType = struct {
	LEVEL_1 IsisLspStatePduTypeEnum
	LEVEL_2 IsisLspStatePduTypeEnum
}{
	LEVEL_1: IsisLspStatePduTypeEnum("level_1"),
	LEVEL_2: IsisLspStatePduTypeEnum("level_2"),
}

Enum of PduType on IsisLspState

View Source
var IsisLspV4PrefixOriginType = struct {
	INTERNAL IsisLspV4PrefixOriginTypeEnum
	EXTERNAL IsisLspV4PrefixOriginTypeEnum
}{
	INTERNAL: IsisLspV4PrefixOriginTypeEnum("internal"),
	EXTERNAL: IsisLspV4PrefixOriginTypeEnum("external"),
}

Enum of OriginType on IsisLspV4Prefix

Enum of RedistributionType on IsisLspV4Prefix

View Source
var IsisLspV6PrefixOriginType = struct {
	INTERNAL IsisLspV6PrefixOriginTypeEnum
	EXTERNAL IsisLspV6PrefixOriginTypeEnum
}{
	INTERNAL: IsisLspV6PrefixOriginTypeEnum("internal"),
	EXTERNAL: IsisLspV6PrefixOriginTypeEnum("external"),
}

Enum of OriginType on IsisLspV6Prefix

Enum of RedistributionType on IsisLspV6Prefix

View Source
var IsisMetricsRequestColumnNames = struct {
	L1_SESSIONS_UP                    IsisMetricsRequestColumnNamesEnum
	L1_SESSION_FLAP                   IsisMetricsRequestColumnNamesEnum
	L1_DATABASE_SIZE                  IsisMetricsRequestColumnNamesEnum
	L1_BROADCAST_HELLOS_SENT          IsisMetricsRequestColumnNamesEnum
	L1_BROADCAST_HELLOS_RECEIVED      IsisMetricsRequestColumnNamesEnum
	L1_POINT_TO_POINT_HELLOS_SENT     IsisMetricsRequestColumnNamesEnum
	L1_POINT_TO_POINT_HELLOS_RECEIVED IsisMetricsRequestColumnNamesEnum
	L1_PSNP_SENT                      IsisMetricsRequestColumnNamesEnum
	L1_PSNP_RECEIVED                  IsisMetricsRequestColumnNamesEnum
	L1_CSNP_SENT                      IsisMetricsRequestColumnNamesEnum
	L1_CSNP_RECEIVED                  IsisMetricsRequestColumnNamesEnum
	L1_LSP_SENT                       IsisMetricsRequestColumnNamesEnum
	L1_LSP_RECEIVED                   IsisMetricsRequestColumnNamesEnum
	L2_SESSIONS_UP                    IsisMetricsRequestColumnNamesEnum
	L2_SESSION_FLAP                   IsisMetricsRequestColumnNamesEnum
	L2_DATABASE_SIZE                  IsisMetricsRequestColumnNamesEnum
	L2_BROADCAST_HELLOS_SENT          IsisMetricsRequestColumnNamesEnum
	L2_BROADCAST_HELLOS_RECEIVED      IsisMetricsRequestColumnNamesEnum
	L2_POINT_TO_POINT_HELLOS_SENT     IsisMetricsRequestColumnNamesEnum
	L2_POINT_TO_POINT_HELLOS_RECEIVED IsisMetricsRequestColumnNamesEnum
	L2_PSNP_SENT                      IsisMetricsRequestColumnNamesEnum
	L2_PSNP_RECEIVED                  IsisMetricsRequestColumnNamesEnum
	L2_CSNP_SENT                      IsisMetricsRequestColumnNamesEnum
	L2_CSNP_RECEIVED                  IsisMetricsRequestColumnNamesEnum
	L2_LSP_SENT                       IsisMetricsRequestColumnNamesEnum
	L2_LSP_RECEIVED                   IsisMetricsRequestColumnNamesEnum
}{
	L1_SESSIONS_UP:                    IsisMetricsRequestColumnNamesEnum("l1_sessions_up"),
	L1_SESSION_FLAP:                   IsisMetricsRequestColumnNamesEnum("l1_session_flap"),
	L1_DATABASE_SIZE:                  IsisMetricsRequestColumnNamesEnum("l1_database_size"),
	L1_BROADCAST_HELLOS_SENT:          IsisMetricsRequestColumnNamesEnum("l1_broadcast_hellos_sent"),
	L1_BROADCAST_HELLOS_RECEIVED:      IsisMetricsRequestColumnNamesEnum("l1_broadcast_hellos_received"),
	L1_POINT_TO_POINT_HELLOS_SENT:     IsisMetricsRequestColumnNamesEnum("l1_point_to_point_hellos_sent"),
	L1_POINT_TO_POINT_HELLOS_RECEIVED: IsisMetricsRequestColumnNamesEnum("l1_point_to_point_hellos_received"),
	L1_PSNP_SENT:                      IsisMetricsRequestColumnNamesEnum("l1_psnp_sent"),
	L1_PSNP_RECEIVED:                  IsisMetricsRequestColumnNamesEnum("l1_psnp_received"),
	L1_CSNP_SENT:                      IsisMetricsRequestColumnNamesEnum("l1_csnp_sent"),
	L1_CSNP_RECEIVED:                  IsisMetricsRequestColumnNamesEnum("l1_csnp_received"),
	L1_LSP_SENT:                       IsisMetricsRequestColumnNamesEnum("l1_lsp_sent"),
	L1_LSP_RECEIVED:                   IsisMetricsRequestColumnNamesEnum("l1_lsp_received"),
	L2_SESSIONS_UP:                    IsisMetricsRequestColumnNamesEnum("l2_sessions_up"),
	L2_SESSION_FLAP:                   IsisMetricsRequestColumnNamesEnum("l2_session_flap"),
	L2_DATABASE_SIZE:                  IsisMetricsRequestColumnNamesEnum("l2_database_size"),
	L2_BROADCAST_HELLOS_SENT:          IsisMetricsRequestColumnNamesEnum("l2_broadcast_hellos_sent"),
	L2_BROADCAST_HELLOS_RECEIVED:      IsisMetricsRequestColumnNamesEnum("l2_broadcast_hellos_received"),
	L2_POINT_TO_POINT_HELLOS_SENT:     IsisMetricsRequestColumnNamesEnum("l2_point_to_point_hellos_sent"),
	L2_POINT_TO_POINT_HELLOS_RECEIVED: IsisMetricsRequestColumnNamesEnum("l2_point_to_point_hellos_received"),
	L2_PSNP_SENT:                      IsisMetricsRequestColumnNamesEnum("l2_psnp_sent"),
	L2_PSNP_RECEIVED:                  IsisMetricsRequestColumnNamesEnum("l2_psnp_received"),
	L2_CSNP_SENT:                      IsisMetricsRequestColumnNamesEnum("l2_csnp_sent"),
	L2_CSNP_RECEIVED:                  IsisMetricsRequestColumnNamesEnum("l2_csnp_received"),
	L2_LSP_SENT:                       IsisMetricsRequestColumnNamesEnum("l2_lsp_sent"),
	L2_LSP_RECEIVED:                   IsisMetricsRequestColumnNamesEnum("l2_lsp_received"),
}

Enum of ColumnNames on IsisMetricsRequest

View Source
var IsisV4RouteRangeOriginType = struct {
	INTERNAL IsisV4RouteRangeOriginTypeEnum
	EXTERNAL IsisV4RouteRangeOriginTypeEnum
}{
	INTERNAL: IsisV4RouteRangeOriginTypeEnum("internal"),
	EXTERNAL: IsisV4RouteRangeOriginTypeEnum("external"),
}

Enum of OriginType on IsisV4RouteRange

Enum of RedistributionType on IsisV4RouteRange

View Source
var IsisV6RouteRangeOriginType = struct {
	INTERNAL IsisV6RouteRangeOriginTypeEnum
	EXTERNAL IsisV6RouteRangeOriginTypeEnum
}{
	INTERNAL: IsisV6RouteRangeOriginTypeEnum("internal"),
	EXTERNAL: IsisV6RouteRangeOriginTypeEnum("external"),
}

Enum of OriginType on IsisV6RouteRange

Enum of RedistributionType on IsisV6RouteRange

View Source
var LacpMemberStateState = struct {
	UP   LacpMemberStateStateEnum
	DOWN LacpMemberStateStateEnum
}{
	UP:   LacpMemberStateStateEnum("up"),
	DOWN: LacpMemberStateStateEnum("down"),
}

Enum of State on LacpMemberState

View Source
var LacpMetricActivity = struct {
	ACTIVE  LacpMetricActivityEnum
	PASSIVE LacpMetricActivityEnum
}{
	ACTIVE:  LacpMetricActivityEnum("active"),
	PASSIVE: LacpMetricActivityEnum("passive"),
}

Enum of Activity on LacpMetric

View Source
var LacpMetricSynchronization = struct {
	IN_SYNC  LacpMetricSynchronizationEnum
	OUT_SYNC LacpMetricSynchronizationEnum
}{
	IN_SYNC:  LacpMetricSynchronizationEnum("in_sync"),
	OUT_SYNC: LacpMetricSynchronizationEnum("out_sync"),
}

Enum of Synchronization on LacpMetric

View Source
var LacpMetricTimeout = struct {
	SHORT LacpMetricTimeoutEnum
	LONG  LacpMetricTimeoutEnum
}{
	SHORT: LacpMetricTimeoutEnum("short"),
	LONG:  LacpMetricTimeoutEnum("long"),
}

Enum of Timeout on LacpMetric

View Source
var LacpMetricsRequestColumnNames = struct {
	LACP_PACKETS_RX  LacpMetricsRequestColumnNamesEnum
	LACP_PACKETS_TX  LacpMetricsRequestColumnNamesEnum
	LACP_RX_ERRORS   LacpMetricsRequestColumnNamesEnum
	ACTIVITY         LacpMetricsRequestColumnNamesEnum
	TIMEOUT          LacpMetricsRequestColumnNamesEnum
	SYNCHRONIZATION  LacpMetricsRequestColumnNamesEnum
	AGGREGATABLE     LacpMetricsRequestColumnNamesEnum
	COLLECTING       LacpMetricsRequestColumnNamesEnum
	DISTRIBUTING     LacpMetricsRequestColumnNamesEnum
	SYSTEM_ID        LacpMetricsRequestColumnNamesEnum
	OPER_KEY         LacpMetricsRequestColumnNamesEnum
	PARTNER_ID       LacpMetricsRequestColumnNamesEnum
	PARTNER_KEY      LacpMetricsRequestColumnNamesEnum
	PORT_NUM         LacpMetricsRequestColumnNamesEnum
	PARTNER_PORT_NUM LacpMetricsRequestColumnNamesEnum
}{
	LACP_PACKETS_RX:  LacpMetricsRequestColumnNamesEnum("lacp_packets_rx"),
	LACP_PACKETS_TX:  LacpMetricsRequestColumnNamesEnum("lacp_packets_tx"),
	LACP_RX_ERRORS:   LacpMetricsRequestColumnNamesEnum("lacp_rx_errors"),
	ACTIVITY:         LacpMetricsRequestColumnNamesEnum("activity"),
	TIMEOUT:          LacpMetricsRequestColumnNamesEnum("timeout"),
	SYNCHRONIZATION:  LacpMetricsRequestColumnNamesEnum("synchronization"),
	AGGREGATABLE:     LacpMetricsRequestColumnNamesEnum("aggregatable"),
	COLLECTING:       LacpMetricsRequestColumnNamesEnum("collecting"),
	DISTRIBUTING:     LacpMetricsRequestColumnNamesEnum("distributing"),
	SYSTEM_ID:        LacpMetricsRequestColumnNamesEnum("system_id"),
	OPER_KEY:         LacpMetricsRequestColumnNamesEnum("oper_key"),
	PARTNER_ID:       LacpMetricsRequestColumnNamesEnum("partner_id"),
	PARTNER_KEY:      LacpMetricsRequestColumnNamesEnum("partner_key"),
	PORT_NUM:         LacpMetricsRequestColumnNamesEnum("port_num"),
	PARTNER_PORT_NUM: LacpMetricsRequestColumnNamesEnum("partner_port_num"),
}

Enum of ColumnNames on LacpMetricsRequest

View Source
var LagMetricOperStatus = struct {
	UP   LagMetricOperStatusEnum
	DOWN LagMetricOperStatusEnum
}{
	UP:   LagMetricOperStatusEnum("up"),
	DOWN: LagMetricOperStatusEnum("down"),
}

Enum of OperStatus on LagMetric

View Source
var LagMetricsRequestColumnNames = struct {
	OPER_STATUS     LagMetricsRequestColumnNamesEnum
	MEMBER_PORTS_UP LagMetricsRequestColumnNamesEnum
	FRAMES_TX       LagMetricsRequestColumnNamesEnum
	FRAMES_RX       LagMetricsRequestColumnNamesEnum
	BYTES_TX        LagMetricsRequestColumnNamesEnum
	BYTES_RX        LagMetricsRequestColumnNamesEnum
	FRAMES_TX_RATE  LagMetricsRequestColumnNamesEnum
	FRAMES_RX_RATE  LagMetricsRequestColumnNamesEnum
	BYTES_TX_RATE   LagMetricsRequestColumnNamesEnum
	BYTES_RX_RATE   LagMetricsRequestColumnNamesEnum
}{
	OPER_STATUS:     LagMetricsRequestColumnNamesEnum("oper_status"),
	MEMBER_PORTS_UP: LagMetricsRequestColumnNamesEnum("member_ports_up"),
	FRAMES_TX:       LagMetricsRequestColumnNamesEnum("frames_tx"),
	FRAMES_RX:       LagMetricsRequestColumnNamesEnum("frames_rx"),
	BYTES_TX:        LagMetricsRequestColumnNamesEnum("bytes_tx"),
	BYTES_RX:        LagMetricsRequestColumnNamesEnum("bytes_rx"),
	FRAMES_TX_RATE:  LagMetricsRequestColumnNamesEnum("frames_tx_rate"),
	FRAMES_RX_RATE:  LagMetricsRequestColumnNamesEnum("frames_rx_rate"),
	BYTES_TX_RATE:   LagMetricsRequestColumnNamesEnum("bytes_tx_rate"),
	BYTES_RX_RATE:   LagMetricsRequestColumnNamesEnum("bytes_rx_rate"),
}

Enum of ColumnNames on LagMetricsRequest

View Source
var LagPortLacpActorActivity = struct {
	PASSIVE LagPortLacpActorActivityEnum
	ACTIVE  LagPortLacpActorActivityEnum
}{
	PASSIVE: LagPortLacpActorActivityEnum("passive"),
	ACTIVE:  LagPortLacpActorActivityEnum("active"),
}

Enum of ActorActivity on LagPortLacp

View Source
var LagProtocolChoice = struct {
	LACP   LagProtocolChoiceEnum
	STATIC LagProtocolChoiceEnum
}{
	LACP:   LagProtocolChoiceEnum("lacp"),
	STATIC: LagProtocolChoiceEnum("static"),
}

Enum of Choice on LagProtocol

View Source
var Layer1FlowControlChoice = struct {
	IEEE_802_1QBB Layer1FlowControlChoiceEnum
	IEEE_802_3X   Layer1FlowControlChoiceEnum
}{
	IEEE_802_1QBB: Layer1FlowControlChoiceEnum("ieee_802_1qbb"),
	IEEE_802_3X:   Layer1FlowControlChoiceEnum("ieee_802_3x"),
}

Enum of Choice on Layer1FlowControl

View Source
var Layer1Media = struct {
	COPPER Layer1MediaEnum
	FIBER  Layer1MediaEnum
	SGMII  Layer1MediaEnum
}{
	COPPER: Layer1MediaEnum("copper"),
	FIBER:  Layer1MediaEnum("fiber"),
	SGMII:  Layer1MediaEnum("sgmii"),
}

Enum of Media on Layer1

View Source
var Layer1Speed = struct {
	SPEED_10_FD_MBPS  Layer1SpeedEnum
	SPEED_10_HD_MBPS  Layer1SpeedEnum
	SPEED_100_FD_MBPS Layer1SpeedEnum
	SPEED_100_HD_MBPS Layer1SpeedEnum
	SPEED_1_GBPS      Layer1SpeedEnum
	SPEED_10_GBPS     Layer1SpeedEnum
	SPEED_25_GBPS     Layer1SpeedEnum
	SPEED_40_GBPS     Layer1SpeedEnum
	SPEED_50_GBPS     Layer1SpeedEnum
	SPEED_100_GBPS    Layer1SpeedEnum
	SPEED_200_GBPS    Layer1SpeedEnum
	SPEED_400_GBPS    Layer1SpeedEnum
}{
	SPEED_10_FD_MBPS:  Layer1SpeedEnum("speed_10_fd_mbps"),
	SPEED_10_HD_MBPS:  Layer1SpeedEnum("speed_10_hd_mbps"),
	SPEED_100_FD_MBPS: Layer1SpeedEnum("speed_100_fd_mbps"),
	SPEED_100_HD_MBPS: Layer1SpeedEnum("speed_100_hd_mbps"),
	SPEED_1_GBPS:      Layer1SpeedEnum("speed_1_gbps"),
	SPEED_10_GBPS:     Layer1SpeedEnum("speed_10_gbps"),
	SPEED_25_GBPS:     Layer1SpeedEnum("speed_25_gbps"),
	SPEED_40_GBPS:     Layer1SpeedEnum("speed_40_gbps"),
	SPEED_50_GBPS:     Layer1SpeedEnum("speed_50_gbps"),
	SPEED_100_GBPS:    Layer1SpeedEnum("speed_100_gbps"),
	SPEED_200_GBPS:    Layer1SpeedEnum("speed_200_gbps"),
	SPEED_400_GBPS:    Layer1SpeedEnum("speed_400_gbps"),
}

Enum of Speed on Layer1

View Source
var LinkStateState = struct {
	UP   LinkStateStateEnum
	DOWN LinkStateStateEnum
}{
	UP:   LinkStateStateEnum("up"),
	DOWN: LinkStateStateEnum("down"),
}

Enum of State on LinkState

Enum of CapabilityName on LldpCapabilityState

View Source
var LldpChassisIdChoice = struct {
	MAC_ADDRESS_SUBTYPE    LldpChassisIdChoiceEnum
	INTERFACE_NAME_SUBTYPE LldpChassisIdChoiceEnum
	LOCAL_SUBTYPE          LldpChassisIdChoiceEnum
}{
	MAC_ADDRESS_SUBTYPE:    LldpChassisIdChoiceEnum("mac_address_subtype"),
	INTERFACE_NAME_SUBTYPE: LldpChassisIdChoiceEnum("interface_name_subtype"),
	LOCAL_SUBTYPE:          LldpChassisIdChoiceEnum("local_subtype"),
}

Enum of Choice on LldpChassisId

View Source
var LldpChassisMacSubTypeChoice = struct {
	AUTO  LldpChassisMacSubTypeChoiceEnum
	VALUE LldpChassisMacSubTypeChoiceEnum
}{
	AUTO:  LldpChassisMacSubTypeChoiceEnum("auto"),
	VALUE: LldpChassisMacSubTypeChoiceEnum("value"),
}

Enum of Choice on LldpChassisMacSubType

View Source
var LldpConnectionChoice = struct {
	PORT_NAME LldpConnectionChoiceEnum
}{
	PORT_NAME: LldpConnectionChoiceEnum("port_name"),
}

Enum of Choice on LldpConnection

View Source
var LldpMetricsRequestColumnNames = struct {
	FRAMES_RX       LldpMetricsRequestColumnNamesEnum
	FRAMES_TX       LldpMetricsRequestColumnNamesEnum
	FRAMES_ERROR_RX LldpMetricsRequestColumnNamesEnum
	FRAMES_DISCARD  LldpMetricsRequestColumnNamesEnum
	TLVS_DISCARD    LldpMetricsRequestColumnNamesEnum
	TLVS_UNKNOWN    LldpMetricsRequestColumnNamesEnum
}{
	FRAMES_RX:       LldpMetricsRequestColumnNamesEnum("frames_rx"),
	FRAMES_TX:       LldpMetricsRequestColumnNamesEnum("frames_tx"),
	FRAMES_ERROR_RX: LldpMetricsRequestColumnNamesEnum("frames_error_rx"),
	FRAMES_DISCARD:  LldpMetricsRequestColumnNamesEnum("frames_discard"),
	TLVS_DISCARD:    LldpMetricsRequestColumnNamesEnum("tlvs_discard"),
	TLVS_UNKNOWN:    LldpMetricsRequestColumnNamesEnum("tlvs_unknown"),
}

Enum of ColumnNames on LldpMetricsRequest

View Source
var LldpNeighborsStateChassisIdType = struct {
	PORT_COMPONENT    LldpNeighborsStateChassisIdTypeEnum
	NETWORK_ADDRESS   LldpNeighborsStateChassisIdTypeEnum
	CHASSIS_COMPONENT LldpNeighborsStateChassisIdTypeEnum
	MAC_ADDRESS       LldpNeighborsStateChassisIdTypeEnum
	INTERFACE_NAME    LldpNeighborsStateChassisIdTypeEnum
	LOCAL             LldpNeighborsStateChassisIdTypeEnum
	INTERFACE_ALIAS   LldpNeighborsStateChassisIdTypeEnum
}{
	PORT_COMPONENT:    LldpNeighborsStateChassisIdTypeEnum("port_component"),
	NETWORK_ADDRESS:   LldpNeighborsStateChassisIdTypeEnum("network_address"),
	CHASSIS_COMPONENT: LldpNeighborsStateChassisIdTypeEnum("chassis_component"),
	MAC_ADDRESS:       LldpNeighborsStateChassisIdTypeEnum("mac_address"),
	INTERFACE_NAME:    LldpNeighborsStateChassisIdTypeEnum("interface_name"),
	LOCAL:             LldpNeighborsStateChassisIdTypeEnum("local"),
	INTERFACE_ALIAS:   LldpNeighborsStateChassisIdTypeEnum("interface_alias"),
}

Enum of ChassisIdType on LldpNeighborsState

View Source
var LldpNeighborsStatePortIdType = struct {
	PORT_COMPONENT   LldpNeighborsStatePortIdTypeEnum
	NETWORK_ADDRESS  LldpNeighborsStatePortIdTypeEnum
	AGENT_CIRCUIT_ID LldpNeighborsStatePortIdTypeEnum
	MAC_ADDRESS      LldpNeighborsStatePortIdTypeEnum
	INTERFACE_NAME   LldpNeighborsStatePortIdTypeEnum
	LOCAL            LldpNeighborsStatePortIdTypeEnum
	INTERFACE_ALIAS  LldpNeighborsStatePortIdTypeEnum
}{
	PORT_COMPONENT:   LldpNeighborsStatePortIdTypeEnum("port_component"),
	NETWORK_ADDRESS:  LldpNeighborsStatePortIdTypeEnum("network_address"),
	AGENT_CIRCUIT_ID: LldpNeighborsStatePortIdTypeEnum("agent_circuit_id"),
	MAC_ADDRESS:      LldpNeighborsStatePortIdTypeEnum("mac_address"),
	INTERFACE_NAME:   LldpNeighborsStatePortIdTypeEnum("interface_name"),
	LOCAL:            LldpNeighborsStatePortIdTypeEnum("local"),
	INTERFACE_ALIAS:  LldpNeighborsStatePortIdTypeEnum("interface_alias"),
}

Enum of PortIdType on LldpNeighborsState

View Source
var LldpPortIdChoice = struct {
	MAC_ADDRESS_SUBTYPE    LldpPortIdChoiceEnum
	INTERFACE_NAME_SUBTYPE LldpPortIdChoiceEnum
	LOCAL_SUBTYPE          LldpPortIdChoiceEnum
}{
	MAC_ADDRESS_SUBTYPE:    LldpPortIdChoiceEnum("mac_address_subtype"),
	INTERFACE_NAME_SUBTYPE: LldpPortIdChoiceEnum("interface_name_subtype"),
	LOCAL_SUBTYPE:          LldpPortIdChoiceEnum("local_subtype"),
}

Enum of Choice on LldpPortId

Enum of Choice on LldpPortInterfaceNameSubType

View Source
var LldpSystemNameChoice = struct {
	AUTO  LldpSystemNameChoiceEnum
	VALUE LldpSystemNameChoiceEnum
}{
	AUTO:  LldpSystemNameChoiceEnum("auto"),
	VALUE: LldpSystemNameChoiceEnum("value"),
}

Enum of Choice on LldpSystemName

Enum of Choice on MetricsRequest

View Source
var MetricsResponseChoice = struct {
	FLOW_METRICS  MetricsResponseChoiceEnum
	PORT_METRICS  MetricsResponseChoiceEnum
	BGPV4_METRICS MetricsResponseChoiceEnum
	BGPV6_METRICS MetricsResponseChoiceEnum
	ISIS_METRICS  MetricsResponseChoiceEnum
	LAG_METRICS   MetricsResponseChoiceEnum
	LACP_METRICS  MetricsResponseChoiceEnum
	LLDP_METRICS  MetricsResponseChoiceEnum
	RSVP_METRICS  MetricsResponseChoiceEnum
}{
	FLOW_METRICS:  MetricsResponseChoiceEnum("flow_metrics"),
	PORT_METRICS:  MetricsResponseChoiceEnum("port_metrics"),
	BGPV4_METRICS: MetricsResponseChoiceEnum("bgpv4_metrics"),
	BGPV6_METRICS: MetricsResponseChoiceEnum("bgpv6_metrics"),
	ISIS_METRICS:  MetricsResponseChoiceEnum("isis_metrics"),
	LAG_METRICS:   MetricsResponseChoiceEnum("lag_metrics"),
	LACP_METRICS:  MetricsResponseChoiceEnum("lacp_metrics"),
	LLDP_METRICS:  MetricsResponseChoiceEnum("lldp_metrics"),
	RSVP_METRICS:  MetricsResponseChoiceEnum("rsvp_metrics"),
}

Enum of Choice on MetricsResponse

Enum of Choice on PatternFlowArpHardwareLength

Enum of Choice on PatternFlowArpHardwareType

Enum of Choice on PatternFlowArpOperation

Enum of Choice on PatternFlowArpProtocolLength

Enum of Choice on PatternFlowArpProtocolType

Enum of Choice on PatternFlowArpSenderHardwareAddr

Enum of Choice on PatternFlowArpSenderProtocolAddr

Enum of Choice on PatternFlowArpTargetHardwareAddr

Enum of Choice on PatternFlowArpTargetProtocolAddr

Enum of Choice on PatternFlowEthernetDst

Enum of Choice on PatternFlowEthernetEtherType

Enum of Choice on PatternFlowEthernetPauseControlOpCode

Enum of Choice on PatternFlowEthernetPauseDst

Enum of Choice on PatternFlowEthernetPauseEtherType

Enum of Choice on PatternFlowEthernetPauseSrc

Enum of Choice on PatternFlowEthernetPauseTime

Enum of Choice on PatternFlowEthernetPfcQueue

View Source
var PatternFlowEthernetSrcChoice = struct {
	VALUE     PatternFlowEthernetSrcChoiceEnum
	VALUES    PatternFlowEthernetSrcChoiceEnum
	INCREMENT PatternFlowEthernetSrcChoiceEnum
	DECREMENT PatternFlowEthernetSrcChoiceEnum
}{
	VALUE:     PatternFlowEthernetSrcChoiceEnum("value"),
	VALUES:    PatternFlowEthernetSrcChoiceEnum("values"),
	INCREMENT: PatternFlowEthernetSrcChoiceEnum("increment"),
	DECREMENT: PatternFlowEthernetSrcChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowEthernetSrc

View Source
var PatternFlowGreChecksumChoice = struct {
	GENERATED PatternFlowGreChecksumChoiceEnum
	CUSTOM    PatternFlowGreChecksumChoiceEnum
}{
	GENERATED: PatternFlowGreChecksumChoiceEnum("generated"),
	CUSTOM:    PatternFlowGreChecksumChoiceEnum("custom"),
}

Enum of Choice on PatternFlowGreChecksum

Enum of Generated on PatternFlowGreChecksum

Enum of Choice on PatternFlowGreChecksumPresent

View Source
var PatternFlowGreProtocolChoice = struct {
	VALUE     PatternFlowGreProtocolChoiceEnum
	VALUES    PatternFlowGreProtocolChoiceEnum
	INCREMENT PatternFlowGreProtocolChoiceEnum
	DECREMENT PatternFlowGreProtocolChoiceEnum
}{
	VALUE:     PatternFlowGreProtocolChoiceEnum("value"),
	VALUES:    PatternFlowGreProtocolChoiceEnum("values"),
	INCREMENT: PatternFlowGreProtocolChoiceEnum("increment"),
	DECREMENT: PatternFlowGreProtocolChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowGreProtocol

Enum of Choice on PatternFlowGreReserved0

Enum of Choice on PatternFlowGreReserved1

View Source
var PatternFlowGreVersionChoice = struct {
	VALUE     PatternFlowGreVersionChoiceEnum
	VALUES    PatternFlowGreVersionChoiceEnum
	INCREMENT PatternFlowGreVersionChoiceEnum
	DECREMENT PatternFlowGreVersionChoiceEnum
}{
	VALUE:     PatternFlowGreVersionChoiceEnum("value"),
	VALUES:    PatternFlowGreVersionChoiceEnum("values"),
	INCREMENT: PatternFlowGreVersionChoiceEnum("increment"),
	DECREMENT: PatternFlowGreVersionChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowGreVersion

Enum of Choice on PatternFlowGtpExtensionContents

Enum of Choice on PatternFlowGtpExtensionExtensionLength

Enum of Choice on PatternFlowGtpExtensionNextExtensionHeader

View Source
var PatternFlowGtpv1EFlagChoice = struct {
	VALUE     PatternFlowGtpv1EFlagChoiceEnum
	VALUES    PatternFlowGtpv1EFlagChoiceEnum
	INCREMENT PatternFlowGtpv1EFlagChoiceEnum
	DECREMENT PatternFlowGtpv1EFlagChoiceEnum
}{
	VALUE:     PatternFlowGtpv1EFlagChoiceEnum("value"),
	VALUES:    PatternFlowGtpv1EFlagChoiceEnum("values"),
	INCREMENT: PatternFlowGtpv1EFlagChoiceEnum("increment"),
	DECREMENT: PatternFlowGtpv1EFlagChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowGtpv1EFlag

Enum of Choice on PatternFlowGtpv1MessageLength

Enum of Choice on PatternFlowGtpv1MessageType

Enum of Choice on PatternFlowGtpv1NPduNumber

Enum of Choice on PatternFlowGtpv1NextExtensionHeaderType

View Source
var PatternFlowGtpv1PnFlagChoice = struct {
	VALUE     PatternFlowGtpv1PnFlagChoiceEnum
	VALUES    PatternFlowGtpv1PnFlagChoiceEnum
	INCREMENT PatternFlowGtpv1PnFlagChoiceEnum
	DECREMENT PatternFlowGtpv1PnFlagChoiceEnum
}{
	VALUE:     PatternFlowGtpv1PnFlagChoiceEnum("value"),
	VALUES:    PatternFlowGtpv1PnFlagChoiceEnum("values"),
	INCREMENT: PatternFlowGtpv1PnFlagChoiceEnum("increment"),
	DECREMENT: PatternFlowGtpv1PnFlagChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowGtpv1PnFlag

Enum of Choice on PatternFlowGtpv1ProtocolType

Enum of Choice on PatternFlowGtpv1Reserved

View Source
var PatternFlowGtpv1SFlagChoice = struct {
	VALUE     PatternFlowGtpv1SFlagChoiceEnum
	VALUES    PatternFlowGtpv1SFlagChoiceEnum
	INCREMENT PatternFlowGtpv1SFlagChoiceEnum
	DECREMENT PatternFlowGtpv1SFlagChoiceEnum
}{
	VALUE:     PatternFlowGtpv1SFlagChoiceEnum("value"),
	VALUES:    PatternFlowGtpv1SFlagChoiceEnum("values"),
	INCREMENT: PatternFlowGtpv1SFlagChoiceEnum("increment"),
	DECREMENT: PatternFlowGtpv1SFlagChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowGtpv1SFlag

Enum of Choice on PatternFlowGtpv1SquenceNumber

View Source
var PatternFlowGtpv1TeidChoice = struct {
	VALUE     PatternFlowGtpv1TeidChoiceEnum
	VALUES    PatternFlowGtpv1TeidChoiceEnum
	INCREMENT PatternFlowGtpv1TeidChoiceEnum
	DECREMENT PatternFlowGtpv1TeidChoiceEnum
}{
	VALUE:     PatternFlowGtpv1TeidChoiceEnum("value"),
	VALUES:    PatternFlowGtpv1TeidChoiceEnum("values"),
	INCREMENT: PatternFlowGtpv1TeidChoiceEnum("increment"),
	DECREMENT: PatternFlowGtpv1TeidChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowGtpv1Teid

Enum of Choice on PatternFlowGtpv1Version

Enum of Choice on PatternFlowGtpv2MessageLength

Enum of Choice on PatternFlowGtpv2MessageType

Enum of Choice on PatternFlowGtpv2PiggybackingFlag

Enum of Choice on PatternFlowGtpv2SequenceNumber

View Source
var PatternFlowGtpv2Spare1Choice = struct {
	VALUE     PatternFlowGtpv2Spare1ChoiceEnum
	VALUES    PatternFlowGtpv2Spare1ChoiceEnum
	INCREMENT PatternFlowGtpv2Spare1ChoiceEnum
	DECREMENT PatternFlowGtpv2Spare1ChoiceEnum
}{
	VALUE:     PatternFlowGtpv2Spare1ChoiceEnum("value"),
	VALUES:    PatternFlowGtpv2Spare1ChoiceEnum("values"),
	INCREMENT: PatternFlowGtpv2Spare1ChoiceEnum("increment"),
	DECREMENT: PatternFlowGtpv2Spare1ChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowGtpv2Spare1

View Source
var PatternFlowGtpv2Spare2Choice = struct {
	VALUE     PatternFlowGtpv2Spare2ChoiceEnum
	VALUES    PatternFlowGtpv2Spare2ChoiceEnum
	INCREMENT PatternFlowGtpv2Spare2ChoiceEnum
	DECREMENT PatternFlowGtpv2Spare2ChoiceEnum
}{
	VALUE:     PatternFlowGtpv2Spare2ChoiceEnum("value"),
	VALUES:    PatternFlowGtpv2Spare2ChoiceEnum("values"),
	INCREMENT: PatternFlowGtpv2Spare2ChoiceEnum("increment"),
	DECREMENT: PatternFlowGtpv2Spare2ChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowGtpv2Spare2

View Source
var PatternFlowGtpv2TeidChoice = struct {
	VALUE     PatternFlowGtpv2TeidChoiceEnum
	VALUES    PatternFlowGtpv2TeidChoiceEnum
	INCREMENT PatternFlowGtpv2TeidChoiceEnum
	DECREMENT PatternFlowGtpv2TeidChoiceEnum
}{
	VALUE:     PatternFlowGtpv2TeidChoiceEnum("value"),
	VALUES:    PatternFlowGtpv2TeidChoiceEnum("values"),
	INCREMENT: PatternFlowGtpv2TeidChoiceEnum("increment"),
	DECREMENT: PatternFlowGtpv2TeidChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowGtpv2Teid

Enum of Choice on PatternFlowGtpv2TeidFlag

Enum of Choice on PatternFlowGtpv2Version

View Source
var PatternFlowIcmpEchoChecksumChoice = struct {
	GENERATED PatternFlowIcmpEchoChecksumChoiceEnum
	CUSTOM    PatternFlowIcmpEchoChecksumChoiceEnum
}{
	GENERATED: PatternFlowIcmpEchoChecksumChoiceEnum("generated"),
	CUSTOM:    PatternFlowIcmpEchoChecksumChoiceEnum("custom"),
}

Enum of Choice on PatternFlowIcmpEchoChecksum

Enum of Generated on PatternFlowIcmpEchoChecksum

Enum of Choice on PatternFlowIcmpEchoCode

Enum of Choice on PatternFlowIcmpEchoIdentifier

Enum of Choice on PatternFlowIcmpEchoSequenceNumber

Enum of Choice on PatternFlowIcmpEchoType

View Source
var PatternFlowIcmpv6EchoChecksumChoice = struct {
	GENERATED PatternFlowIcmpv6EchoChecksumChoiceEnum
	CUSTOM    PatternFlowIcmpv6EchoChecksumChoiceEnum
}{
	GENERATED: PatternFlowIcmpv6EchoChecksumChoiceEnum("generated"),
	CUSTOM:    PatternFlowIcmpv6EchoChecksumChoiceEnum("custom"),
}

Enum of Choice on PatternFlowIcmpv6EchoChecksum

Enum of Generated on PatternFlowIcmpv6EchoChecksum

Enum of Choice on PatternFlowIcmpv6EchoCode

Enum of Choice on PatternFlowIcmpv6EchoIdentifier

Enum of Choice on PatternFlowIcmpv6EchoSequenceNumber

Enum of Choice on PatternFlowIcmpv6EchoType

View Source
var PatternFlowIgmpv1ChecksumChoice = struct {
	GENERATED PatternFlowIgmpv1ChecksumChoiceEnum
	CUSTOM    PatternFlowIgmpv1ChecksumChoiceEnum
}{
	GENERATED: PatternFlowIgmpv1ChecksumChoiceEnum("generated"),
	CUSTOM:    PatternFlowIgmpv1ChecksumChoiceEnum("custom"),
}

Enum of Choice on PatternFlowIgmpv1Checksum

Enum of Generated on PatternFlowIgmpv1Checksum

Enum of Choice on PatternFlowIgmpv1GroupAddress

View Source
var PatternFlowIgmpv1TypeChoice = struct {
	VALUE     PatternFlowIgmpv1TypeChoiceEnum
	VALUES    PatternFlowIgmpv1TypeChoiceEnum
	INCREMENT PatternFlowIgmpv1TypeChoiceEnum
	DECREMENT PatternFlowIgmpv1TypeChoiceEnum
}{
	VALUE:     PatternFlowIgmpv1TypeChoiceEnum("value"),
	VALUES:    PatternFlowIgmpv1TypeChoiceEnum("values"),
	INCREMENT: PatternFlowIgmpv1TypeChoiceEnum("increment"),
	DECREMENT: PatternFlowIgmpv1TypeChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowIgmpv1Type

Enum of Choice on PatternFlowIgmpv1Unused

Enum of Choice on PatternFlowIgmpv1Version

Enum of Choice on PatternFlowIpv4DontFragment

View Source
var PatternFlowIpv4DscpEcnChoice = struct {
	VALUE     PatternFlowIpv4DscpEcnChoiceEnum
	VALUES    PatternFlowIpv4DscpEcnChoiceEnum
	INCREMENT PatternFlowIpv4DscpEcnChoiceEnum
	DECREMENT PatternFlowIpv4DscpEcnChoiceEnum
}{
	VALUE:     PatternFlowIpv4DscpEcnChoiceEnum("value"),
	VALUES:    PatternFlowIpv4DscpEcnChoiceEnum("values"),
	INCREMENT: PatternFlowIpv4DscpEcnChoiceEnum("increment"),
	DECREMENT: PatternFlowIpv4DscpEcnChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowIpv4DscpEcn

View Source
var PatternFlowIpv4DscpPhbChoice = struct {
	VALUE     PatternFlowIpv4DscpPhbChoiceEnum
	VALUES    PatternFlowIpv4DscpPhbChoiceEnum
	INCREMENT PatternFlowIpv4DscpPhbChoiceEnum
	DECREMENT PatternFlowIpv4DscpPhbChoiceEnum
}{
	VALUE:     PatternFlowIpv4DscpPhbChoiceEnum("value"),
	VALUES:    PatternFlowIpv4DscpPhbChoiceEnum("values"),
	INCREMENT: PatternFlowIpv4DscpPhbChoiceEnum("increment"),
	DECREMENT: PatternFlowIpv4DscpPhbChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowIpv4DscpPhb

View Source
var PatternFlowIpv4DstChoice = struct {
	VALUE     PatternFlowIpv4DstChoiceEnum
	VALUES    PatternFlowIpv4DstChoiceEnum
	INCREMENT PatternFlowIpv4DstChoiceEnum
	DECREMENT PatternFlowIpv4DstChoiceEnum
}{
	VALUE:     PatternFlowIpv4DstChoiceEnum("value"),
	VALUES:    PatternFlowIpv4DstChoiceEnum("values"),
	INCREMENT: PatternFlowIpv4DstChoiceEnum("increment"),
	DECREMENT: PatternFlowIpv4DstChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowIpv4Dst

Enum of Choice on PatternFlowIpv4FragmentOffset

View Source
var PatternFlowIpv4HeaderChecksumChoice = struct {
	GENERATED PatternFlowIpv4HeaderChecksumChoiceEnum
	CUSTOM    PatternFlowIpv4HeaderChecksumChoiceEnum
}{
	GENERATED: PatternFlowIpv4HeaderChecksumChoiceEnum("generated"),
	CUSTOM:    PatternFlowIpv4HeaderChecksumChoiceEnum("custom"),
}

Enum of Choice on PatternFlowIpv4HeaderChecksum

Enum of Generated on PatternFlowIpv4HeaderChecksum

Enum of Choice on PatternFlowIpv4HeaderLength

Enum of Choice on PatternFlowIpv4Identification

Enum of Choice on PatternFlowIpv4MoreFragments

Enum of Choice on PatternFlowIpv4PriorityRaw

Enum of Choice on PatternFlowIpv4Protocol

Enum of Choice on PatternFlowIpv4Reserved

View Source
var PatternFlowIpv4SrcChoice = struct {
	VALUE     PatternFlowIpv4SrcChoiceEnum
	VALUES    PatternFlowIpv4SrcChoiceEnum
	INCREMENT PatternFlowIpv4SrcChoiceEnum
	DECREMENT PatternFlowIpv4SrcChoiceEnum
}{
	VALUE:     PatternFlowIpv4SrcChoiceEnum("value"),
	VALUES:    PatternFlowIpv4SrcChoiceEnum("values"),
	INCREMENT: PatternFlowIpv4SrcChoiceEnum("increment"),
	DECREMENT: PatternFlowIpv4SrcChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowIpv4Src

Enum of Choice on PatternFlowIpv4TimeToLive

Enum of Choice on PatternFlowIpv4TosDelay

Enum of Choice on PatternFlowIpv4TosMonetary

Enum of Choice on PatternFlowIpv4TosPrecedence

Enum of Choice on PatternFlowIpv4TosReliability

Enum of Choice on PatternFlowIpv4TosThroughput

Enum of Choice on PatternFlowIpv4TosUnused

Enum of Choice on PatternFlowIpv4TotalLength

View Source
var PatternFlowIpv4VersionChoice = struct {
	VALUE     PatternFlowIpv4VersionChoiceEnum
	VALUES    PatternFlowIpv4VersionChoiceEnum
	INCREMENT PatternFlowIpv4VersionChoiceEnum
	DECREMENT PatternFlowIpv4VersionChoiceEnum
}{
	VALUE:     PatternFlowIpv4VersionChoiceEnum("value"),
	VALUES:    PatternFlowIpv4VersionChoiceEnum("values"),
	INCREMENT: PatternFlowIpv4VersionChoiceEnum("increment"),
	DECREMENT: PatternFlowIpv4VersionChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowIpv4Version

View Source
var PatternFlowIpv6DstChoice = struct {
	VALUE     PatternFlowIpv6DstChoiceEnum
	VALUES    PatternFlowIpv6DstChoiceEnum
	INCREMENT PatternFlowIpv6DstChoiceEnum
	DECREMENT PatternFlowIpv6DstChoiceEnum
}{
	VALUE:     PatternFlowIpv6DstChoiceEnum("value"),
	VALUES:    PatternFlowIpv6DstChoiceEnum("values"),
	INCREMENT: PatternFlowIpv6DstChoiceEnum("increment"),
	DECREMENT: PatternFlowIpv6DstChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowIpv6Dst

Enum of Choice on PatternFlowIpv6FlowLabel

Enum of Choice on PatternFlowIpv6HopLimit

Enum of Choice on PatternFlowIpv6NextHeader

Enum of Choice on PatternFlowIpv6PayloadLength

View Source
var PatternFlowIpv6SrcChoice = struct {
	VALUE     PatternFlowIpv6SrcChoiceEnum
	VALUES    PatternFlowIpv6SrcChoiceEnum
	INCREMENT PatternFlowIpv6SrcChoiceEnum
	DECREMENT PatternFlowIpv6SrcChoiceEnum
}{
	VALUE:     PatternFlowIpv6SrcChoiceEnum("value"),
	VALUES:    PatternFlowIpv6SrcChoiceEnum("values"),
	INCREMENT: PatternFlowIpv6SrcChoiceEnum("increment"),
	DECREMENT: PatternFlowIpv6SrcChoiceEnum("decrement"),
}

Enum of Choice on PatternFlowIpv6Src