gosnappi

package module
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 21 Imported by: 14

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.

Start testing

  1. Deploy one-arm ixia-c topology

  2. Install Go

  3. Setup go module for tests

    mkdir tests && cd tests
    go mod init tests
    go get github.com/open-traffic-generator/snappi/gosnappi
    
  4. Add a new file hello.go with following snippet.

    package main
    
    import (
    	"log"
    
    	"github.com/open-traffic-generator/snappi/gosnappi"
    )
    
    func main() {
    	// Create a new API handle to make API calls against a traffic generator
    	api := gosnappi.NewApi()
    
    	// Set the transport protocol to either HTTP or GRPC
    	api.NewHttpTransport().SetLocation("https://localhost")
    
    	// Create a new traffic configuration that will be set on traffic generator
    	config := api.NewConfig()
    
    	// Add port locations to the configuration
    	p1 := config.Ports().Add().SetName("p1").SetLocation("localhost:5555")
    
    	// Configure the flow and set the endpoints
    	flow := config.Flows().Add().SetName("f1")
    	flow.TxRx().Port().SetTxName(p1.Name())
    
    	// Configure the size of a packet and the number of packets to transmit
    	flow.Size().SetFixed(128)
    	flow.Duration().FixedPackets().SetPackets(1000)
    
    	// Configure the header stack
    	pkt = flow.Packet()
    	eth := pkt.Add().Ethernet()
    	ipv4 := pkt.Add().Ipv4()
    	tcp := pkt.Add().Tcp()
    
    	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")
    
    	tcp.SrcPort().SetValue(5000)
    	tcp.DstPort().SetValue(6000)
    
    	// Push traffic configuration constructed so far to traffic generator
    	log.Println(config.ToYaml())
    	if err := api.SetConfig(config); err != nil {
    		log.Fatal(err)
    	}
    
    	// Start transmitting the configured flows
    	ts := api.NewTransmitState()
    	ts.SetState(gosnappi.TransmitStateState.START)
    	if err := api.SetTransmitState(ts); err != nil {
    		log.Fatal(err)
    	}
    
    	// Fetch and the port metrics
    	req := api.NewMetricsRequest()
    	req.Port().SetPortNames([]string{p1.Name()})
    	metrics, err := api.GetMetrics(req)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	log.Println(metrics.ToYaml())
    }
    
  5. Run test: go run hello.go

Documentation

Index

Constants

This section is empty.

Variables

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
}{
	IGP: BgpRouteAdvancedOriginEnum("igp"),
	EGP: BgpRouteAdvancedOriginEnum("egp"),
}

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 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
}{
	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"),
}

Enum of ColumnNames on Bgpv4MetricsRequest

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
}{
	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"),
}

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

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 LacpLagMemberMetricActivity = struct {
	ACTIVE  LacpLagMemberMetricActivityEnum
	PASSIVE LacpLagMemberMetricActivityEnum
}{
	ACTIVE:  LacpLagMemberMetricActivityEnum("active"),
	PASSIVE: LacpLagMemberMetricActivityEnum("passive"),
}

Enum of Activity on LacpLagMemberMetric

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

Enum of Synchronization on LacpLagMemberMetric

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

Enum of Timeout on LacpLagMemberMetric

View Source
var LacpLagMemberMetricsRequestColumnNames = struct {
	LACP_IN_PKTS     LacpLagMemberMetricsRequestColumnNamesEnum
	LACP_OUT_PKTS    LacpLagMemberMetricsRequestColumnNamesEnum
	LACP_RX_ERRORS   LacpLagMemberMetricsRequestColumnNamesEnum
	ACTIVITY         LacpLagMemberMetricsRequestColumnNamesEnum
	TIMEOUT          LacpLagMemberMetricsRequestColumnNamesEnum
	SYNCHRONIZATION  LacpLagMemberMetricsRequestColumnNamesEnum
	AGGREGATABLE     LacpLagMemberMetricsRequestColumnNamesEnum
	COLLECTING       LacpLagMemberMetricsRequestColumnNamesEnum
	DISTRIBUTING     LacpLagMemberMetricsRequestColumnNamesEnum
	SYSTEM_ID        LacpLagMemberMetricsRequestColumnNamesEnum
	OPER_KEY         LacpLagMemberMetricsRequestColumnNamesEnum
	PARTNER_ID       LacpLagMemberMetricsRequestColumnNamesEnum
	PARTNER_KEY      LacpLagMemberMetricsRequestColumnNamesEnum
	PORT_NUM         LacpLagMemberMetricsRequestColumnNamesEnum
	PARTNER_PORT_NUM LacpLagMemberMetricsRequestColumnNamesEnum
}{
	LACP_IN_PKTS:     LacpLagMemberMetricsRequestColumnNamesEnum("lacp_in_pkts"),
	LACP_OUT_PKTS:    LacpLagMemberMetricsRequestColumnNamesEnum("lacp_out_pkts"),
	LACP_RX_ERRORS:   LacpLagMemberMetricsRequestColumnNamesEnum("lacp_rx_errors"),
	ACTIVITY:         LacpLagMemberMetricsRequestColumnNamesEnum("activity"),
	TIMEOUT:          LacpLagMemberMetricsRequestColumnNamesEnum("timeout"),
	SYNCHRONIZATION:  LacpLagMemberMetricsRequestColumnNamesEnum("synchronization"),
	AGGREGATABLE:     LacpLagMemberMetricsRequestColumnNamesEnum("aggregatable"),
	COLLECTING:       LacpLagMemberMetricsRequestColumnNamesEnum("collecting"),
	DISTRIBUTING:     LacpLagMemberMetricsRequestColumnNamesEnum("distributing"),
	SYSTEM_ID:        LacpLagMemberMetricsRequestColumnNamesEnum("system_id"),
	OPER_KEY:         LacpLagMemberMetricsRequestColumnNamesEnum("oper_key"),
	PARTNER_ID:       LacpLagMemberMetricsRequestColumnNamesEnum("partner_id"),
	PARTNER_KEY:      LacpLagMemberMetricsRequestColumnNamesEnum("partner_key"),
	PORT_NUM:         LacpLagMemberMetricsRequestColumnNamesEnum("port_num"),
	PARTNER_PORT_NUM: LacpLagMemberMetricsRequestColumnNamesEnum("partner_port_num"),
}

Enum of ColumnNames on LacpLagMemberMetricsRequest

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

Enum of State on LacpMemberState

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_STATES     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_STATES:     LagMetricsRequestColumnNamesEnum("oper_states"),
	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

View Source
var MetricsRequestChoice = struct {
	PORT            MetricsRequestChoiceEnum
	FLOW            MetricsRequestChoiceEnum
	BGPV4           MetricsRequestChoiceEnum
	BGPV6           MetricsRequestChoiceEnum
	ISIS            MetricsRequestChoiceEnum
	LAG             MetricsRequestChoiceEnum
	LACP_LAG_MEMBER MetricsRequestChoiceEnum
}{
	PORT:            MetricsRequestChoiceEnum("port"),
	FLOW:            MetricsRequestChoiceEnum("flow"),
	BGPV4:           MetricsRequestChoiceEnum("bgpv4"),
	BGPV6:           MetricsRequestChoiceEnum("bgpv6"),
	ISIS:            MetricsRequestChoiceEnum("isis"),
	LAG:             MetricsRequestChoiceEnum("lag"),
	LACP_LAG_MEMBER: MetricsRequestChoiceEnum("lacp_lag_member"),
}

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_LAG_MEMBER_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_LAG_MEMBER_METRICS: MetricsResponseChoiceEnum("lacp_lag_member_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

Enum of Choice on PatternFlowIpv6TrafficClass

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

Enum of Choice on PatternFlowIpv6Version

Enum of Choice on PatternFlowMplsBottomOfStack

Enum of Choice on PatternFlowMplsLabel

Enum of Choice on PatternFlowMplsTimeToLive

Enum of Choice on PatternFlowMplsTrafficClass

Enum of Choice on PatternFlowPfcPauseClassEnableVector

Enum of Choice on PatternFlowPfcPauseControlOpCode

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

Enum of Choice on PatternFlowPfcPauseDst

Enum of Choice on PatternFlowPfcPauseEtherType

Enum of Choice on PatternFlowPfcPausePauseClass0

Enum of Choice on PatternFlowPfcPausePauseClass1

Enum of Choice on PatternFlowPfcPausePauseClass2

Enum of Choice on PatternFlowPfcPausePauseClass3

Enum of Choice on PatternFlowPfcPausePauseClass4

Enum of Choice on PatternFlowPfcPausePauseClass5

Enum of Choice on PatternFlowPfcPausePauseClass6

Enum of Choice on PatternFlowPfcPausePauseClass7

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

Enum of Choice on PatternFlowPfcPauseSrc

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

Enum of Choice on PatternFlowPppAddress

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

Enum of Choice on PatternFlowPppControl

Enum of Choice on PatternFlowPppProtocolType

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

Enum of Choice on PatternFlowTcpAckNum

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

Enum of Choice on PatternFlowTcpCtlAck

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

Enum of Choice on PatternFlowTcpCtlFin

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

Enum of Choice on PatternFlowTcpCtlPsh

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

Enum of Choice on PatternFlowTcpCtlRst

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

Enum of Choice on PatternFlowTcpCtlSyn

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

Enum of Choice on PatternFlowTcpCtlUrg

Enum of Choice on PatternFlowTcpDataOffset

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

Enum of Choice on PatternFlowTcpDstPort

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

Enum of Choice on PatternFlowTcpEcnCwr

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

Enum of Choice on PatternFlowTcpEcnEcho

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

Enum of Choice on PatternFlowTcpEcnNs

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

Enum of Choice on PatternFlowTcpSeqNum

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

Enum of Choice on PatternFlowTcpSrcPort

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

Enum of Choice on PatternFlowTcpWindow

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

Enum of Choice on PatternFlowUdpChecksum

Enum of Generated on PatternFlowUdpChecksum

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

Enum of Choice on PatternFlowUdpDstPort

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

Enum of Choice on PatternFlowUdpLength

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

Enum of Choice on PatternFlowUdpSrcPort

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

Enum of Choice on PatternFlowVlanCfi

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

Enum of Choice on PatternFlowVlanId

Enum of Choice on PatternFlowVlanPriority

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

Enum of Choice on PatternFlowVlanTpid

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

Enum of Choice on PatternFlowVxlanFlags

Enum of Choice on PatternFlowVxlanReserved0

Enum of Choice on PatternFlowVxlanReserved1

Enum of Choice on PatternFlowVxlanVni

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

Enum of Choice on Ping

View Source
var PortMetricCapture = struct {
	STARTED PortMetricCaptureEnum
	STOPPED PortMetricCaptureEnum
}{
	STARTED: PortMetricCaptureEnum("started"),
	STOPPED: PortMetricCaptureEnum("stopped"),
}

Enum of Capture on PortMetric

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

Enum of Link on PortMetric

Enum of ColumnNames on PortMetricsRequest

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

Enum of State on ProtocolState

View Source
var ResponseResult = struct {
	SUCCESS ResponseResultEnum
	FAILURE ResponseResultEnum
}{
	SUCCESS: ResponseResultEnum("success"),
	FAILURE: ResponseResultEnum("failure"),
}

Enum of Result on Response

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

Enum of Type on ResultBgpAsPathSegment

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

Enum of Type on ResultBgpCommunity

View Source
var RouteStateState = struct {
	WITHDRAW  RouteStateStateEnum
	ADVERTISE RouteStateStateEnum
}{
	WITHDRAW:  RouteStateStateEnum("withdraw"),
	ADVERTISE: RouteStateStateEnum("advertise"),
}

Enum of State on RouteState

View Source
var StatesRequestChoice = struct {
	IPV4_NEIGHBORS StatesRequestChoiceEnum
	IPV6_NEIGHBORS StatesRequestChoiceEnum
	BGP_PREFIXES   StatesRequestChoiceEnum
}{
	IPV4_NEIGHBORS: StatesRequestChoiceEnum("ipv4_neighbors"),
	IPV6_NEIGHBORS: StatesRequestChoiceEnum("ipv6_neighbors"),
	BGP_PREFIXES:   StatesRequestChoiceEnum("bgp_prefixes"),
}

Enum of Choice on StatesRequest

View Source
var StatesResponseChoice = struct {
	IPV4_NEIGHBORS StatesResponseChoiceEnum
	IPV6_NEIGHBORS StatesResponseChoiceEnum
	BGP_PREFIXES   StatesResponseChoiceEnum
}{
	IPV4_NEIGHBORS: StatesResponseChoiceEnum("ipv4_neighbors"),
	IPV6_NEIGHBORS: StatesResponseChoiceEnum("ipv6_neighbors"),
	BGP_PREFIXES:   StatesResponseChoiceEnum("bgp_prefixes"),
}

Enum of Choice on StatesResponse

View Source
var TransmitStateState = struct {
	START  TransmitStateStateEnum
	STOP   TransmitStateStateEnum
	PAUSE  TransmitStateStateEnum
	RESUME TransmitStateStateEnum
}{
	START:  TransmitStateStateEnum("start"),
	STOP:   TransmitStateStateEnum("stop"),
	PAUSE:  TransmitStateStateEnum("pause"),
	RESUME: TransmitStateStateEnum("resume"),
}

Enum of State on TransmitState

View Source
var VxlanV4TunnelDestinationIPModeChoice = struct {
	UNICAST   VxlanV4TunnelDestinationIPModeChoiceEnum
	MULTICAST VxlanV4TunnelDestinationIPModeChoiceEnum
}{
	UNICAST:   VxlanV4TunnelDestinationIPModeChoiceEnum("unicast"),
	MULTICAST: VxlanV4TunnelDestinationIPModeChoiceEnum("multicast"),
}

Enum of Choice on VxlanV4TunnelDestinationIPMode

View Source
var VxlanV6TunnelDestinationIPModeChoice = struct {
	UNICAST   VxlanV6TunnelDestinationIPModeChoiceEnum
	MULTICAST VxlanV6TunnelDestinationIPModeChoiceEnum
}{
	UNICAST:   VxlanV6TunnelDestinationIPModeChoiceEnum("unicast"),
	MULTICAST: VxlanV6TunnelDestinationIPModeChoiceEnum("multicast"),
}

Enum of Choice on VxlanV6TunnelDestinationIPMode

Functions

func StartMockGrpcServer

func StartMockGrpcServer(location string) error

func StartMockHttpServer

func StartMockHttpServer(location string)

Types

type Api

type Api interface {
	NewGrpcTransport() GrpcTransport

	NewHttpTransport() HttpTransport

	Close() error
	// contains filtered or unexported methods
}

type BgpAddPath added in v0.6.1

type BgpAddPath interface {
	Msg() *otg.BgpAddPath
	SetMsg(*otg.BgpAddPath) BgpAddPath
	// ToPbText marshals BgpAddPath to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpAddPath to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpAddPath to JSON text
	ToJson() (string, error)
	// FromPbText unmarshals BgpAddPath from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpAddPath from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpAddPath from JSON text
	FromJson(value string) error
	// Validate validates BgpAddPath
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpAddPath, error)

	// PathId returns int32, set in BgpAddPath.
	PathId() int32
	// SetPathId assigns int32 provided by user to BgpAddPath
	SetPathId(value int32) BgpAddPath
	// HasPathId checks if PathId has been set in BgpAddPath
	HasPathId() bool
	// contains filtered or unexported methods
}

BgpAddPath is the BGP Additional Paths feature is a BGP extension that allows the advertisement of multiple paths for the same prefix without the new paths implicitly replacing any previous paths.

func NewBgpAddPath added in v0.6.5

func NewBgpAddPath() BgpAddPath

type BgpAdvanced added in v0.6.1

type BgpAdvanced interface {
	Msg() *otg.BgpAdvanced
	SetMsg(*otg.BgpAdvanced) BgpAdvanced
	// ToPbText marshals BgpAdvanced to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpAdvanced to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpAdvanced to JSON text
	ToJson() (string, error)
	// FromPbText unmarshals BgpAdvanced from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpAdvanced from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpAdvanced from JSON text
	FromJson(value string) error
	// Validate validates BgpAdvanced
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpAdvanced, error)

	// HoldTimeInterval returns int32, set in BgpAdvanced.
	HoldTimeInterval() int32
	// SetHoldTimeInterval assigns int32 provided by user to BgpAdvanced
	SetHoldTimeInterval(value int32) BgpAdvanced
	// HasHoldTimeInterval checks if HoldTimeInterval has been set in BgpAdvanced
	HasHoldTimeInterval() bool
	// KeepAliveInterval returns int32, set in BgpAdvanced.
	KeepAliveInterval() int32
	// SetKeepAliveInterval assigns int32 provided by user to BgpAdvanced
	SetKeepAliveInterval(value int32) BgpAdvanced
	// HasKeepAliveInterval checks if KeepAliveInterval has been set in BgpAdvanced
	HasKeepAliveInterval() bool
	// UpdateInterval returns int32, set in BgpAdvanced.
	UpdateInterval() int32
	// SetUpdateInterval assigns int32 provided by user to BgpAdvanced
	SetUpdateInterval(value int32) BgpAdvanced
	// HasUpdateInterval checks if UpdateInterval has been set in BgpAdvanced
	HasUpdateInterval() bool
	// TimeToLive returns int32, set in BgpAdvanced.
	TimeToLive() int32
	// SetTimeToLive assigns int32 provided by user to BgpAdvanced
	SetTimeToLive(value int32) BgpAdvanced
	// HasTimeToLive checks if TimeToLive has been set in BgpAdvanced
	HasTimeToLive() bool
	// Md5Key returns string, set in BgpAdvanced.
	Md5Key() string
	// SetMd5Key assigns string provided by user to BgpAdvanced
	SetMd5Key(value string) BgpAdvanced
	// HasMd5Key checks if Md5Key has been set in BgpAdvanced
	HasMd5Key() bool
	// contains filtered or unexported methods
}

BgpAdvanced is status: under-review Status: under-review Configuration for BGP advanced settings.

func NewBgpAdvanced added in v0.6.5

func NewBgpAdvanced() BgpAdvanced

type BgpAsPath added in v0.6.1

type BgpAsPath interface {
	Msg() *otg.BgpAsPath
	SetMsg(*otg.BgpAsPath) BgpAsPath
	// ToPbText marshals BgpAsPath to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpAsPath to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpAsPath to JSON text
	ToJson() (string, error)
	// FromPbText unmarshals BgpAsPath from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpAsPath from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpAsPath from JSON text
	FromJson(value string) error
	// Validate validates BgpAsPath
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpAsPath, error)

	// AsSetMode returns BgpAsPathAsSetModeEnum, set in BgpAsPath
	AsSetMode() BgpAsPathAsSetModeEnum
	// SetAsSetMode assigns BgpAsPathAsSetModeEnum provided by user to BgpAsPath
	SetAsSetMode(value BgpAsPathAsSetModeEnum) BgpAsPath
	// HasAsSetMode checks if AsSetMode has been set in BgpAsPath
	HasAsSetMode() bool
	// Segments returns BgpAsPathBgpAsPathSegmentIter, set in BgpAsPath
	Segments() BgpAsPathBgpAsPathSegmentIter
	// contains filtered or unexported methods
}

BgpAsPath is this attribute identifies the autonomous systems through which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers that a routing information passes through to reach the destination.

func NewBgpAsPath added in v0.6.5

func NewBgpAsPath() BgpAsPath

type BgpAsPathAsSetModeEnum added in v0.6.1

type BgpAsPathAsSetModeEnum string

type BgpAsPathBgpAsPathSegmentIter added in v0.6.1

type BgpAsPathBgpAsPathSegmentIter interface {
	Items() []BgpAsPathSegment
	Add() BgpAsPathSegment
	Append(items ...BgpAsPathSegment) BgpAsPathBgpAsPathSegmentIter
	Set(index int, newObj BgpAsPathSegment) BgpAsPathBgpAsPathSegmentIter
	Clear() BgpAsPathBgpAsPathSegmentIter
	// contains filtered or unexported methods
}

type BgpAsPathSegment added in v0.6.1

type BgpAsPathSegment interface {
	Msg() *otg.BgpAsPathSegment
	SetMsg(*otg.BgpAsPathSegment) BgpAsPathSegment
	// ToPbText marshals BgpAsPathSegment to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpAsPathSegment to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpAsPathSegment to JSON text
	ToJson() (string, error)
	// FromPbText unmarshals BgpAsPathSegment from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpAsPathSegment from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpAsPathSegment from JSON text
	FromJson(value string) error
	// Validate validates BgpAsPathSegment
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpAsPathSegment, error)

	// Type returns BgpAsPathSegmentTypeEnum, set in BgpAsPathSegment
	Type() BgpAsPathSegmentTypeEnum
	// SetType assigns BgpAsPathSegmentTypeEnum provided by user to BgpAsPathSegment
	SetType(value BgpAsPathSegmentTypeEnum) BgpAsPathSegment
	// HasType checks if Type has been set in BgpAsPathSegment
	HasType() bool
	// AsNumbers returns []int64, set in BgpAsPathSegment.
	AsNumbers() []int64
	// SetAsNumbers assigns []int64 provided by user to BgpAsPathSegment
	SetAsNumbers(value []int64) BgpAsPathSegment
	// contains filtered or unexported methods
}

BgpAsPathSegment is configuration for a single BGP AS path segment

func NewBgpAsPathSegment added in v0.6.5

func NewBgpAsPathSegment() BgpAsPathSegment

type BgpAsPathSegmentTypeEnum added in v0.6.1

type BgpAsPathSegmentTypeEnum string

type BgpCMacIpRange added in v0.7.34

type BgpCMacIpRange interface {
	Msg() *otg.BgpCMacIpRange
	SetMsg(*otg.BgpCMacIpRange) BgpCMacIpRange
	// ToPbText marshals BgpCMacIpRange to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpCMacIpRange to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpCMacIpRange to JSON text
	ToJson() (string, error)
	// FromPbText unmarshals BgpCMacIpRange from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpCMacIpRange from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpCMacIpRange from JSON text
	FromJson(value string) error
	// Validate validates BgpCMacIpRange
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpCMacIpRange, error)

	// MacAddresses returns MACRouteAddress, set in BgpCMacIpRange.
	// MACRouteAddress is a container for MAC route addresses.
	MacAddresses() MACRouteAddress
	// SetMacAddresses assigns MACRouteAddress provided by user to BgpCMacIpRange.
	// MACRouteAddress is a container for MAC route addresses.
	SetMacAddresses(value MACRouteAddress) BgpCMacIpRange
	// HasMacAddresses checks if MacAddresses has been set in BgpCMacIpRange
	HasMacAddresses() bool
	// L2Vni returns int32, set in BgpCMacIpRange.
	L2Vni() int32
	// SetL2Vni assigns int32 provided by user to BgpCMacIpRange
	SetL2Vni(value int32) BgpCMacIpRange
	// HasL2Vni checks if L2Vni has been set in BgpCMacIpRange
	HasL2Vni() bool
	// Ipv4Addresses returns V4RouteAddress, set in BgpCMacIpRange.
	// V4RouteAddress is a container for IPv4 route addresses.
	Ipv4Addresses() V4RouteAddress
	// SetIpv4Addresses assigns V4RouteAddress provided by user to BgpCMacIpRange.
	// V4RouteAddress is a container for IPv4 route addresses.
	SetIpv4Addresses(value V4RouteAddress) BgpCMacIpRange
	// HasIpv4Addresses checks if Ipv4Addresses has been set in BgpCMacIpRange
	HasIpv4Addresses() bool
	// Ipv6Addresses returns V6RouteAddress, set in BgpCMacIpRange.
	// V6RouteAddress is a container for IPv6 route addresses.
	Ipv6Addresses() V6RouteAddress
	// SetIpv6Addresses assigns V6RouteAddress provided by user to BgpCMacIpRange.
	// V6RouteAddress is a container for IPv6 route addresses.
	SetIpv6Addresses(value V6RouteAddress) BgpCMacIpRange
	// HasIpv6Addresses checks if Ipv6Addresses has been set in BgpCMacIpRange
	HasIpv6Addresses() bool
	// L3Vni returns int32, set in BgpCMacIpRange.
	L3Vni() int32
	// SetL3Vni assigns int32 provided by user to BgpCMacIpRange
	SetL3Vni(value int32) BgpCMacIpRange
	// HasL3Vni checks if L3Vni has been set in BgpCMacIpRange
	HasL3Vni() bool
	// IncludeDefaultGateway returns bool, set in BgpCMacIpRange.
	IncludeDefaultGateway() bool
	// SetIncludeDefaultGateway assigns bool provided by user to BgpCMacIpRange
	SetIncludeDefaultGateway(value bool) BgpCMacIpRange
	// HasIncludeDefaultGateway checks if IncludeDefaultGateway has been set in BgpCMacIpRange
	HasIncludeDefaultGateway() bool
	// Advanced returns BgpRouteAdvanced, set in BgpCMacIpRange.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	Advanced() BgpRouteAdvanced
	// SetAdvanced assigns BgpRouteAdvanced provided by user to BgpCMacIpRange.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	SetAdvanced(value BgpRouteAdvanced) BgpCMacIpRange
	// HasAdvanced checks if Advanced has been set in BgpCMacIpRange
	HasAdvanced() bool
	// Communities returns BgpCMacIpRangeBgpCommunityIter, set in BgpCMacIpRange
	Communities() BgpCMacIpRangeBgpCommunityIter
	// ExtCommunities returns BgpCMacIpRangeBgpExtCommunityIter, set in BgpCMacIpRange
	ExtCommunities() BgpCMacIpRangeBgpExtCommunityIter
	// AsPath returns BgpAsPath, set in BgpCMacIpRange.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	AsPath() BgpAsPath
	// SetAsPath assigns BgpAsPath provided by user to BgpCMacIpRange.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	SetAsPath(value BgpAsPath) BgpCMacIpRange
	// HasAsPath checks if AsPath has been set in BgpCMacIpRange
	HasAsPath() bool
	// Name returns string, set in BgpCMacIpRange.
	Name() string
	// SetName assigns string provided by user to BgpCMacIpRange
	SetName(value string) BgpCMacIpRange
	// contains filtered or unexported methods
}

BgpCMacIpRange is configuration for MAC/IP Ranges per Broadcast Domain.

Advertises following route -

Type 2 - MAC/IP Advertisement Route.

func NewBgpCMacIpRange added in v0.7.34

func NewBgpCMacIpRange() BgpCMacIpRange

type BgpCMacIpRangeBgpCommunityIter added in v0.7.34

type BgpCMacIpRangeBgpCommunityIter interface {
	Items() []BgpCommunity
	Add() BgpCommunity
	Append(items ...BgpCommunity) BgpCMacIpRangeBgpCommunityIter
	Set(index int, newObj BgpCommunity) BgpCMacIpRangeBgpCommunityIter
	Clear() BgpCMacIpRangeBgpCommunityIter
	// contains filtered or unexported methods
}

type BgpCMacIpRangeBgpExtCommunityIter added in v0.7.34

type BgpCMacIpRangeBgpExtCommunityIter interface {
	Items() []BgpExtCommunity
	Add() BgpExtCommunity
	Append(items ...BgpExtCommunity) BgpCMacIpRangeBgpExtCommunityIter
	Set(index int, newObj BgpExtCommunity) BgpCMacIpRangeBgpExtCommunityIter
	Clear() BgpCMacIpRangeBgpExtCommunityIter
	// contains filtered or unexported methods
}

type BgpCapability added in v0.6.1

type BgpCapability interface {
	Msg() *otg.BgpCapability
	SetMsg(*otg.BgpCapability) BgpCapability
	// ToPbText marshals BgpCapability to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpCapability to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpCapability to JSON text
	ToJson() (string, error)
	// FromPbText unmarshals BgpCapability from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpCapability from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpCapability from JSON text
	FromJson(value string) error
	// Validate validates BgpCapability
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpCapability, error)

	// Ipv4Unicast returns bool, set in BgpCapability.
	Ipv4Unicast() bool
	// SetIpv4Unicast assigns bool provided by user to BgpCapability
	SetIpv4Unicast(value bool) BgpCapability
	// HasIpv4Unicast checks if Ipv4Unicast has been set in BgpCapability
	HasIpv4Unicast() bool
	// Ipv4Multicast returns bool, set in BgpCapability.
	Ipv4Multicast() bool
	// SetIpv4Multicast assigns bool provided by user to BgpCapability
	SetIpv4Multicast(value bool) BgpCapability
	// HasIpv4Multicast checks if Ipv4Multicast has been set in BgpCapability
	HasIpv4Multicast() bool
	// Ipv6Unicast returns bool, set in BgpCapability.
	Ipv6Unicast() bool
	// SetIpv6Unicast assigns bool provided by user to BgpCapability
	SetIpv6Unicast(value bool) BgpCapability
	// HasIpv6Unicast checks if Ipv6Unicast has been set in BgpCapability
	HasIpv6Unicast() bool
	// Ipv6Multicast returns bool, set in BgpCapability.
	Ipv6Multicast() bool
	// SetIpv6Multicast assigns bool provided by user to BgpCapability
	SetIpv6Multicast(value bool) BgpCapability
	// HasIpv6Multicast checks if Ipv6Multicast has been set in BgpCapability
	HasIpv6Multicast() bool
	// Vpls returns bool, set in BgpCapability.
	Vpls() bool
	// SetVpls assigns bool provided by user to BgpCapability
	SetVpls(value bool) BgpCapability
	// HasVpls checks if Vpls has been set in BgpCapability
	HasVpls() bool
	// RouteRefresh returns bool, set in BgpCapability.
	RouteRefresh() bool
	// SetRouteRefresh assigns bool provided by user to BgpCapability
	SetRouteRefresh(value bool) BgpCapability
	// HasRouteRefresh checks if RouteRefresh has been set in BgpCapability
	HasRouteRefresh() bool
	// RouteConstraint returns bool, set in BgpCapability.
	RouteConstraint() bool
	// SetRouteConstraint assigns bool provided by user to BgpCapability
	SetRouteConstraint(value bool) BgpCapability
	// HasRouteConstraint checks if RouteConstraint has been set in BgpCapability
	HasRouteConstraint() bool
	// LinkStateNonVpn returns bool, set in BgpCapability.
	LinkStateNonVpn() bool
	// SetLinkStateNonVpn assigns bool provided by user to BgpCapability
	SetLinkStateNonVpn(value bool) BgpCapability
	// HasLinkStateNonVpn checks if LinkStateNonVpn has been set in BgpCapability
	HasLinkStateNonVpn() bool
	// LinkStateVpn returns bool, set in BgpCapability.
	LinkStateVpn() bool
	// SetLinkStateVpn assigns bool provided by user to BgpCapability
	SetLinkStateVpn(value bool) BgpCapability
	// HasLinkStateVpn checks if LinkStateVpn has been set in BgpCapability
	HasLinkStateVpn() bool
	// Evpn returns bool, set in BgpCapability.
	Evpn() bool
	// SetEvpn assigns bool provided by user to BgpCapability
	SetEvpn(value bool) BgpCapability
	// HasEvpn checks if Evpn has been set in BgpCapability
	HasEvpn() bool
	// ExtendedNextHopEncoding returns bool, set in BgpCapability.
	ExtendedNextHopEncoding() bool
	// SetExtendedNextHopEncoding assigns bool provided by user to BgpCapability
	SetExtendedNextHopEncoding(value bool) BgpCapability
	// HasExtendedNextHopEncoding checks if ExtendedNextHopEncoding has been set in BgpCapability
	HasExtendedNextHopEncoding() bool
	// Ipv4MulticastVpn returns bool, set in BgpCapability.
	Ipv4MulticastVpn() bool
	// SetIpv4MulticastVpn assigns bool provided by user to BgpCapability
	SetIpv4MulticastVpn(value bool) BgpCapability
	// HasIpv4MulticastVpn checks if Ipv4MulticastVpn has been set in BgpCapability
	HasIpv4MulticastVpn() bool
	// Ipv4MplsVpn returns bool, set in BgpCapability.
	Ipv4MplsVpn() bool
	// SetIpv4MplsVpn assigns bool provided by user to BgpCapability
	SetIpv4MplsVpn(value bool) BgpCapability
	// HasIpv4MplsVpn checks if Ipv4MplsVpn has been set in BgpCapability
	HasIpv4MplsVpn() bool
	// Ipv4Mdt returns bool, set in BgpCapability.
	Ipv4Mdt() bool
	// SetIpv4Mdt assigns bool provided by user to BgpCapability
	SetIpv4Mdt(value bool) BgpCapability
	// HasIpv4Mdt checks if Ipv4Mdt has been set in BgpCapability
	HasIpv4Mdt() bool
	// Ipv4MulticastMplsVpn returns bool, set in BgpCapability.
	Ipv4MulticastMplsVpn() bool
	// SetIpv4MulticastMplsVpn assigns bool provided by user to BgpCapability
	SetIpv4MulticastMplsVpn(value bool) BgpCapability
	// HasIpv4MulticastMplsVpn checks if Ipv4MulticastMplsVpn has been set in BgpCapability
	HasIpv4MulticastMplsVpn() bool
	// Ipv4UnicastFlowSpec returns bool, set in BgpCapability.
	Ipv4UnicastFlowSpec() bool
	// SetIpv4UnicastFlowSpec assigns bool provided by user to BgpCapability
	SetIpv4UnicastFlowSpec(value bool) BgpCapability
	// HasIpv4UnicastFlowSpec checks if Ipv4UnicastFlowSpec has been set in BgpCapability
	HasIpv4UnicastFlowSpec() bool
	// Ipv4SrTePolicy returns bool, set in BgpCapability.
	Ipv4SrTePolicy() bool
	// SetIpv4SrTePolicy assigns bool provided by user to BgpCapability
	SetIpv4SrTePolicy(value bool) BgpCapability
	// HasIpv4SrTePolicy checks if Ipv4SrTePolicy has been set in BgpCapability
	HasIpv4SrTePolicy() bool
	// Ipv4UnicastAddPath returns bool, set in BgpCapability.
	Ipv4UnicastAddPath() bool
	// SetIpv4UnicastAddPath assigns bool provided by user to BgpCapability
	SetIpv4UnicastAddPath(value bool) BgpCapability
	// HasIpv4UnicastAddPath checks if Ipv4UnicastAddPath has been set in BgpCapability
	HasIpv4UnicastAddPath() bool
	// Ipv6MulticastVpn returns bool, set in BgpCapability.
	Ipv6MulticastVpn() bool
	// SetIpv6MulticastVpn assigns bool provided by user to BgpCapability
	SetIpv6MulticastVpn(value bool) BgpCapability
	// HasIpv6MulticastVpn checks if Ipv6MulticastVpn has been set in BgpCapability
	HasIpv6MulticastVpn() bool
	// Ipv6MplsVpn returns bool, set in BgpCapability.
	Ipv6MplsVpn() bool
	// SetIpv6MplsVpn assigns bool provided by user to BgpCapability
	SetIpv6MplsVpn(value bool) BgpCapability
	// HasIpv6MplsVpn checks if Ipv6MplsVpn has been set in BgpCapability
	HasIpv6MplsVpn() bool
	// Ipv6Mdt returns bool, set in BgpCapability.
	Ipv6Mdt() bool
	// SetIpv6Mdt assigns bool provided by user to BgpCapability
	SetIpv6Mdt(value bool) BgpCapability
	// HasIpv6Mdt checks if Ipv6Mdt has been set in BgpCapability
	HasIpv6Mdt() bool
	// Ipv6MulticastMplsVpn returns bool, set in BgpCapability.
	Ipv6MulticastMplsVpn() bool
	// SetIpv6MulticastMplsVpn assigns bool provided by user to BgpCapability
	SetIpv6MulticastMplsVpn(value bool) BgpCapability
	// HasIpv6MulticastMplsVpn checks if Ipv6MulticastMplsVpn has been set in BgpCapability
	HasIpv6MulticastMplsVpn() bool
	// Ipv6UnicastFlowSpec returns bool, set in BgpCapability.
	Ipv6UnicastFlowSpec() bool
	// SetIpv6UnicastFlowSpec assigns bool provided by user to BgpCapability
	SetIpv6UnicastFlowSpec(value bool) BgpCapability
	// HasIpv6UnicastFlowSpec checks if Ipv6UnicastFlowSpec has been set in BgpCapability
	HasIpv6UnicastFlowSpec() bool
	// Ipv6SrTePolicy returns bool, set in BgpCapability.
	Ipv6SrTePolicy() bool
	// SetIpv6SrTePolicy assigns bool provided by user to BgpCapability
	SetIpv6SrTePolicy(value bool) BgpCapability
	// HasIpv6SrTePolicy checks if Ipv6SrTePolicy has been set in BgpCapability
	HasIpv6SrTePolicy() bool
	// Ipv6UnicastAddPath returns bool, set in BgpCapability.
	Ipv6UnicastAddPath() bool
	// SetIpv6UnicastAddPath assigns bool provided by user to BgpCapability
	SetIpv6UnicastAddPath(value bool) BgpCapability
	// HasIpv6UnicastAddPath checks if Ipv6UnicastAddPath has been set in BgpCapability
	HasIpv6UnicastAddPath() bool
	// contains filtered or unexported methods
}

BgpCapability is status: under-review Status: under-review Configuration for BGP capability settings.

func NewBgpCapability added in v0.6.5

func NewBgpCapability() BgpCapability

type BgpCommunity added in v0.6.1

type BgpCommunity interface {
	Msg() *otg.BgpCommunity
	SetMsg(*otg.BgpCommunity) BgpCommunity
	// ToPbText marshals BgpCommunity to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpCommunity to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpCommunity to JSON text
	ToJson() (string, error)
	// FromPbText unmarshals BgpCommunity from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpCommunity from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpCommunity from JSON text
	FromJson(value string) error
	// Validate validates BgpCommunity
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpCommunity, error)

	// Type returns BgpCommunityTypeEnum, set in BgpCommunity
	Type() BgpCommunityTypeEnum
	// SetType assigns BgpCommunityTypeEnum provided by user to BgpCommunity
	SetType(value BgpCommunityTypeEnum) BgpCommunity
	// HasType checks if Type has been set in BgpCommunity
	HasType() bool
	// AsNumber returns int32, set in BgpCommunity.
	AsNumber() int32
	// SetAsNumber assigns int32 provided by user to BgpCommunity
	SetAsNumber(value int32) BgpCommunity
	// HasAsNumber checks if AsNumber has been set in BgpCommunity
	HasAsNumber() bool
	// AsCustom returns int32, set in BgpCommunity.
	AsCustom() int32
	// SetAsCustom assigns int32 provided by user to BgpCommunity
	SetAsCustom(value int32) BgpCommunity
	// HasAsCustom checks if AsCustom has been set in BgpCommunity
	HasAsCustom() bool
	// contains filtered or unexported methods
}

BgpCommunity is bGP communities provide additional capability for tagging routes and for modifying BGP routing policy on upstream and downstream routers. BGP community is a 32-bit number which is broken into 16-bit AS number and a 16-bit custom value.

func NewBgpCommunity added in v0.6.5

func NewBgpCommunity() BgpCommunity

type BgpCommunityTypeEnum added in v0.6.1

type BgpCommunityTypeEnum string

type BgpEthernetSegmentDfElection added in v0.7.34

type BgpEthernetSegmentDfElection interface {
	Msg() *otg.BgpEthernetSegmentDfElection
	SetMsg(*otg.BgpEthernetSegmentDfElection) BgpEthernetSegmentDfElection
	// ToPbText marshals BgpEthernetSegmentDfElection to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpEthernetSegmentDfElection to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpEthernetSegmentDfElection to JSON text
	ToJson() (string, error)
	// FromPbText unmarshals BgpEthernetSegmentDfElection from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpEthernetSegmentDfElection from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpEthernetSegmentDfElection from JSON text
	FromJson(value string) error
	// Validate validates BgpEthernetSegmentDfElection
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpEthernetSegmentDfElection, error)

	// ElectionTimer returns int32, set in BgpEthernetSegmentDfElection.
	ElectionTimer() int32
	// SetElectionTimer assigns int32 provided by user to BgpEthernetSegmentDfElection
	SetElectionTimer(value int32) BgpEthernetSegmentDfElection
	// HasElectionTimer checks if ElectionTimer has been set in BgpEthernetSegmentDfElection
	HasElectionTimer() bool
	// contains filtered or unexported methods
}

BgpEthernetSegmentDfElection is configuration for Designated Forwarder (DF) election among the Provider Edge (PE) routers on the same Ethernet Segment.

func NewBgpEthernetSegmentDfElection added in v0.7.34

func NewBgpEthernetSegmentDfElection() BgpEthernetSegmentDfElection

type BgpExtCommunity added in v0.6.4

type BgpExtCommunity interface {
	Msg() *otg.BgpExtCommunity
	SetMsg(*otg.BgpExtCommunity) BgpExtCommunity
	// ToPbText marshals BgpExtCommunity to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpExtCommunity to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpExtCommunity to JSON text
	ToJson() (string, error)
	// FromPbText unmarshals BgpExtCommunity from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpExtCommunity from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpExtCommunity from JSON text
	FromJson(value string) error
	// Validate validates BgpExtCommunity
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpExtCommunity, error)

	// Type returns BgpExtCommunityTypeEnum, set in BgpExtCommunity
	Type() BgpExtCommunityTypeEnum
	// SetType assigns BgpExtCommunityTypeEnum provided by user to BgpExtCommunity
	SetType(value BgpExtCommunityTypeEnum) BgpExtCommunity
	// HasType checks if Type has been set in BgpExtCommunity
	HasType() bool
	// Subtype returns BgpExtCommunitySubtypeEnum, set in BgpExtCommunity
	Subtype() BgpExtCommunitySubtypeEnum
	// SetSubtype assigns BgpExtCommunitySubtypeEnum provided by user to BgpExtCommunity
	SetSubtype(value BgpExtCommunitySubtypeEnum) BgpExtCommunity
	// HasSubtype checks if Subtype has been set in BgpExtCommunity
	HasSubtype() bool
	// Value returns string, set in BgpExtCommunity.
	Value() string
	// SetValue assigns string provided by user to BgpExtCommunity
	SetValue(value string) BgpExtCommunity
	// HasValue checks if Value has been set in BgpExtCommunity
	HasValue() bool
	// contains filtered or unexported methods
}

BgpExtCommunity is the Extended Communities Attribute is a transitive optional BGP attribute, with the Type Code 16. Community and Extended Communities attributes to trigger routing decisions, such as acceptance, rejection, preference, or redistribution. An extended community is an 8-Bytes value. It is also divided into two main parts. The first 2 Bytes of the community encode a type and sub-type fields and the last 6 Bytes carry a unique set of data in a format defined by the type and sub-type field. Extended communities provide a larger range for grouping or categorizing communities.

func NewBgpExtCommunity added in v0.6.5

func NewBgpExtCommunity() BgpExtCommunity

type BgpExtCommunitySubtypeEnum added in v0.6.4

type BgpExtCommunitySubtypeEnum string

type BgpExtCommunityTypeEnum added in v0.6.4

type BgpExtCommunityTypeEnum string

type BgpLearnedInformationFilter added in v0.8.1

type BgpLearnedInformationFilter interface {
	Msg() *otg.BgpLearnedInformationFilter
	SetMsg(*otg.BgpLearnedInformationFilter) BgpLearnedInformationFilter
	// ToPbText marshals BgpLearnedInformationFilter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpLearnedInformationFilter to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpLearnedInformationFilter to JSON text
	ToJson() (string, error)
	// FromPbText unmarshals BgpLearnedInformationFilter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpLearnedInformationFilter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpLearnedInformationFilter from JSON text
	FromJson(value string) error
	// Validate validates BgpLearnedInformationFilter
	Validate()