gosnappi

package module
v0.6.16 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 20 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

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

Enum of Origin on BgpRouteAdvanced

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

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

Enum of ActorActivity on LagLacp

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_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_100_GBPS:    Layer1SpeedEnum("speed_100_gbps"),
	SPEED_200_GBPS:    Layer1SpeedEnum("speed_200_gbps"),
	SPEED_400_GBPS:    Layer1SpeedEnum("speed_400_gbps"),
}

Enum of Speed on Layer1

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

Enum of State on LinkState

Enum of Choice on MetricsRequest

View Source
var MetricsResponseChoice = struct {
	FLOW_METRICS  MetricsResponseChoiceEnum
	PORT_METRICS  MetricsResponseChoiceEnum
	BGPV4_METRICS MetricsResponseChoiceEnum
	BGPV6_METRICS MetricsResponseChoiceEnum
	ISIS_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"),
}

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

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

Enum of Choice on PatternFlowEthernetDst

View Source
var PatternFlowEthernetEtherTypeAuto = struct {
	AUTO PatternFlowEthernetEtherTypeAutoEnum
}{
	AUTO: PatternFlowEthernetEtherTypeAutoEnum("auto"),
}

Enum of Auto on PatternFlowEthernetEtherType

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

View Source
var PatternFlowIpv4HeaderLengthAuto = struct {
	AUTO PatternFlowIpv4HeaderLengthAutoEnum
}{
	AUTO: PatternFlowIpv4HeaderLengthAutoEnum("auto"),
}

Enum of Auto on PatternFlowIpv4HeaderLength

Enum of Choice on PatternFlowIpv4HeaderLength

Enum of Choice on PatternFlowIpv4Identification

Enum of Choice on PatternFlowIpv4MoreFragments

Enum of Choice on PatternFlowIpv4PriorityRaw

View Source
var PatternFlowIpv4ProtocolAuto = struct {
	AUTO PatternFlowIpv4ProtocolAutoEnum
}{
	AUTO: PatternFlowIpv4ProtocolAutoEnum("auto"),
}

Enum of Auto on PatternFlowIpv4Protocol

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

View Source
var PatternFlowIpv4TotalLengthAuto = struct {
	AUTO PatternFlowIpv4TotalLengthAutoEnum
}{
	AUTO: PatternFlowIpv4TotalLengthAutoEnum("auto"),
}

Enum of Auto on PatternFlowIpv4TotalLength

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

View Source
var PatternFlowIpv6PayloadLengthAuto = struct {
	AUTO PatternFlowIpv6PayloadLengthAutoEnum
}{
	AUTO: PatternFlowIpv6PayloadLengthAutoEnum("auto"),
}

Enum of Auto on PatternFlowIpv6PayloadLength

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

View Source
var PatternFlowPppProtocolTypeAuto = struct {
	AUTO PatternFlowPppProtocolTypeAutoEnum
}{
	AUTO: PatternFlowPppProtocolTypeAutoEnum("auto"),
}

Enum of Auto on PatternFlowPppProtocolType

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

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

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 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
}{
	IPV4_NEIGHBORS: StatesRequestChoiceEnum("ipv4_neighbors"),
	IPV6_NEIGHBORS: StatesRequestChoiceEnum("ipv6_neighbors"),
}

Enum of Choice on StatesRequest

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

Enum of Choice on StatesResponse

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

Enum of State on TransmitState

Functions

func StartMockGrpcServer

func StartMockGrpcServer(location string) error

func StartMockHttpServer

func StartMockHttpServer(location string)

Types

type Api

type Api interface {
	NewGrpcTransport() GrpcTransport

	NewHttpTransport() HttpTransport
	// 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
	// ToYaml marshals BgpAddPath to YAML text
	ToYaml() string
	// ToJson marshals BgpAddPath to JSON text
	ToJson() string
	// 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(defaults ...bool) 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
	// ToYaml marshals BgpAdvanced to YAML text
	ToYaml() string
	// ToJson marshals BgpAdvanced to JSON text
	ToJson() string
	// 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(defaults ...bool) 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
	// ToYaml marshals BgpAsPath to YAML text
	ToYaml() string
	// ToJson marshals BgpAsPath to JSON text
	ToJson() string
	// 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(defaults ...bool) 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(newObj BgpAsPathSegment) BgpAsPathBgpAsPathSegmentIter
	Set(index int, newObj BgpAsPathSegment) BgpAsPathBgpAsPathSegmentIter
}

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
	// ToYaml marshals BgpAsPathSegment to YAML text
	ToYaml() string
	// ToJson marshals BgpAsPathSegment to JSON text
	ToJson() string
	// 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(defaults ...bool) 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 BgpCapability added in v0.6.1

type BgpCapability interface {
	Msg() *otg.BgpCapability
	SetMsg(*otg.BgpCapability) BgpCapability
	// ToPbText marshals BgpCapability to protobuf text
	ToPbText() string
	// ToYaml marshals BgpCapability to YAML text
	ToYaml() string
	// ToJson marshals BgpCapability to JSON text
	ToJson() string
	// 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(defaults ...bool) 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
	// ToYaml marshals BgpCommunity to YAML text
	ToYaml() string
	// ToJson marshals BgpCommunity to JSON text
	ToJson() string
	// 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(defaults ...bool) 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 BgpExtCommunity added in v0.6.4

type BgpExtCommunity interface {
	Msg() *otg.BgpExtCommunity
	SetMsg(*otg.BgpExtCommunity) BgpExtCommunity
	// ToPbText marshals BgpExtCommunity to protobuf text
	ToPbText() string
	// ToYaml marshals BgpExtCommunity to YAML text
	ToYaml() string
	// ToJson marshals BgpExtCommunity to JSON text
	ToJson() string
	// 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(defaults ...bool) 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 BgpRouteAdvanced added in v0.6.1

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

	// MultiExitDiscriminator returns int32, set in BgpRouteAdvanced.
	MultiExitDiscriminator() int32
	// SetMultiExitDiscriminator assigns int32 provided by user to BgpRouteAdvanced
	SetMultiExitDiscriminator(value int32) BgpRouteAdvanced
	// HasMultiExitDiscriminator checks if MultiExitDiscriminator has been set in BgpRouteAdvanced
	HasMultiExitDiscriminator() bool
	// Origin returns BgpRouteAdvancedOriginEnum, set in BgpRouteAdvanced
	Origin() BgpRouteAdvancedOriginEnum
	// SetOrigin assigns BgpRouteAdvancedOriginEnum provided by user to BgpRouteAdvanced
	SetOrigin(value BgpRouteAdvancedOriginEnum) BgpRouteAdvanced
	// HasOrigin checks if Origin has been set in BgpRouteAdvanced
	HasOrigin() bool
	// contains filtered or unexported methods
}

BgpRouteAdvanced is configuration for advanced BGP route range settings.

func NewBgpRouteAdvanced added in v0.6.5

func NewBgpRouteAdvanced() BgpRouteAdvanced

type BgpRouteAdvancedOriginEnum added in v0.6.1

type BgpRouteAdvancedOriginEnum string

type BgpSrteBindingSubTlv added in v0.6.4

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

	// BindingSidType returns BgpSrteBindingSubTlvBindingSidTypeEnum, set in BgpSrteBindingSubTlv
	BindingSidType() BgpSrteBindingSubTlvBindingSidTypeEnum
	// SetBindingSidType assigns BgpSrteBindingSubTlvBindingSidTypeEnum provided by user to BgpSrteBindingSubTlv
	SetBindingSidType(value BgpSrteBindingSubTlvBindingSidTypeEnum) BgpSrteBindingSubTlv
	// HasBindingSidType checks if BindingSidType has been set in BgpSrteBindingSubTlv
	HasBindingSidType() bool
	// FourOctetSid returns int32, set in BgpSrteBindingSubTlv.
	FourOctetSid() int32
	// SetFourOctetSid assigns int32 provided by user to BgpSrteBindingSubTlv
	SetFourOctetSid(value int32) BgpSrteBindingSubTlv
	// HasFourOctetSid checks if FourOctetSid has been set in BgpSrteBindingSubTlv
	HasFourOctetSid() bool
	// Ipv6Sid returns string, set in BgpSrteBindingSubTlv.
	Ipv6Sid() string
	// SetIpv6Sid assigns string provided by user to BgpSrteBindingSubTlv
	SetIpv6Sid(value string) BgpSrteBindingSubTlv
	// HasIpv6Sid checks if Ipv6Sid has been set in BgpSrteBindingSubTlv
	HasIpv6Sid() bool
	// SFlag returns bool, set in BgpSrteBindingSubTlv.
	SFlag() bool
	// SetSFlag assigns bool provided by user to BgpSrteBindingSubTlv
	SetSFlag(value bool) BgpSrteBindingSubTlv
	// HasSFlag checks if SFlag has been set in BgpSrteBindingSubTlv
	HasSFlag() bool
	// IFlag returns bool, set in BgpSrteBindingSubTlv.
	IFlag() bool
	// SetIFlag assigns bool provided by user to BgpSrteBindingSubTlv
	SetIFlag(value bool) BgpSrteBindingSubTlv
	// HasIFlag checks if IFlag has been set in BgpSrteBindingSubTlv
	HasIFlag() bool
	// contains filtered or unexported methods
}

BgpSrteBindingSubTlv is configuration for the binding SID sub-TLV. This is used to signal the binding SID related information of the SR Policy candidate path.

func NewBgpSrteBindingSubTlv added in v0.6.5

func NewBgpSrteBindingSubTlv() BgpSrteBindingSubTlv

type BgpSrteBindingSubTlvBindingSidTypeEnum added in v0.6.4

type BgpSrteBindingSubTlvBindingSidTypeEnum string

type BgpSrteColorSubTlv added in v0.6.4

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

	// Color returns string, set in BgpSrteColorSubTlv.
	Color() string
	// SetColor assigns string provided by user to BgpSrteColorSubTlv
	SetColor(value string) BgpSrteColorSubTlv
	// HasColor checks if Color has been set in BgpSrteColorSubTlv
	HasColor() bool
	// contains filtered or unexported methods
}

BgpSrteColorSubTlv is configuration for the Policy Color attribute sub-TLV. The Color sub-TLV MAY be used as a way to "color" the corresponding Tunnel TLV. The Value field of the sub-TLV is eight octets long and consists of a Color Extended Community. First two octets of its Value field are 0x030b as type and subtype of extended community. Remaining six octets are are exposed to configure.

func NewBgpSrteColorSubTlv added in v0.6.5

func NewBgpSrteColorSubTlv() BgpSrteColorSubTlv

type BgpSrteExplicitNullLabelPolicySubTlv added in v0.6.4

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

	// ExplicitNullLabelPolicy returns BgpSrteExplicitNullLabelPolicySubTlvExplicitNullLabelPolicyEnum, set in BgpSrteExplicitNullLabelPolicySubTlv
	ExplicitNullLabelPolicy() BgpSrteExplicitNullLabelPolicySubTlvExplicitNullLabelPolicyEnum
	// SetExplicitNullLabelPolicy assigns BgpSrteExplicitNullLabelPolicySubTlvExplicitNullLabelPolicyEnum provided by user to BgpSrteExplicitNullLabelPolicySubTlv
	SetExplicitNullLabelPolicy(value BgpSrteExplicitNullLabelPolicySubTlvExplicitNullLabelPolicyEnum) BgpSrteExplicitNullLabelPolicySubTlv
	// HasExplicitNullLabelPolicy checks if ExplicitNullLabelPolicy has been set in BgpSrteExplicitNullLabelPolicySubTlv
	HasExplicitNullLabelPolicy() bool
	// contains filtered or unexported methods
}

BgpSrteExplicitNullLabelPolicySubTlv is configuration for BGP explicit null label policy sub TLV settings.

func NewBgpSrteExplicitNullLabelPolicySubTlv added in v0.6.5

func NewBgpSrteExplicitNullLabelPolicySubTlv() BgpSrteExplicitNullLabelPolicySubTlv

type BgpSrteExplicitNullLabelPolicySubTlvExplicitNullLabelPolicyEnum added in v0.6.4

type BgpSrteExplicitNullLabelPolicySubTlvExplicitNullLabelPolicyEnum string

type BgpSrtePolicyNameSubTlv added in v0.6.4

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

	// PolicyName returns string, set in BgpSrtePolicyNameSubTlv.
	PolicyName() string
	// SetPolicyName assigns string provided by user to BgpSrtePolicyNameSubTlv
	SetPolicyName(value string) BgpSrtePolicyNameSubTlv
	// HasPolicyName checks if PolicyName has been set in BgpSrtePolicyNameSubTlv
	HasPolicyName() bool
	// contains filtered or unexported methods
}

BgpSrtePolicyNameSubTlv is configuration for the Policy Name sub-TLV. The Policy Name sub-TLV is used to attach a symbolic name to the SR Policy candidate path.

func NewBgpSrtePolicyNameSubTlv added in v0.6.5

func NewBgpSrtePolicyNameSubTlv() BgpSrtePolicyNameSubTlv

type BgpSrtePolicyPrioritySubTlv added in v0.6.4

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

	// PolicyPriority returns int32, set in BgpSrtePolicyPrioritySubTlv.
	PolicyPriority() int32
	// SetPolicyPriority assigns int32 provided by user to BgpSrtePolicyPrioritySubTlv
	SetPolicyPriority(value int32) BgpSrtePolicyPrioritySubTlv
	// HasPolicyPriority checks if PolicyPriority has been set in BgpSrtePolicyPrioritySubTlv
	HasPolicyPriority() bool
	// contains filtered or unexported methods
}

BgpSrtePolicyPrioritySubTlv is configuration for the Policy Priority sub-TLV. The Policy Priority to indicate the order in which the SR policies are re-computed upon topological change.

func NewBgpSrtePolicyPrioritySubTlv added in v0.6.5

func NewBgpSrtePolicyPrioritySubTlv() BgpSrtePolicyPrioritySubTlv

type BgpSrtePreferenceSubTlv added in v0.6.4

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

	// Preference returns int64, set in BgpSrtePreferenceSubTlv.
	Preference() int64
	// SetPreference assigns int64 provided by user to BgpSrtePreferenceSubTlv
	SetPreference(value int64) BgpSrtePreferenceSubTlv
	// HasPreference checks if Preference has been set in BgpSrtePreferenceSubTlv
	HasPreference() bool
	// contains filtered or unexported methods
}

BgpSrtePreferenceSubTlv is configuration for BGP preference sub TLV of the SR Policy candidate path.

func NewBgpSrtePreferenceSubTlv added in v0.6.5

func NewBgpSrtePreferenceSubTlv() BgpSrtePreferenceSubTlv

type BgpSrteRemoteEndpointSubTlv added in v0.6.4

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

	// AsNumber returns int64, set in BgpSrteRemoteEndpointSubTlv.
	AsNumber() int64
	// SetAsNumber assigns int64 provided by user to BgpSrteRemoteEndpointSubTlv
	SetAsNumber(value int64) BgpSrteRemoteEndpointSubTlv
	// HasAsNumber checks if AsNumber has been set in BgpSrteRemoteEndpointSubTlv
	HasAsNumber() bool
	// AddressFamily returns BgpSrteRemoteEndpointSubTlvAddressFamilyEnum, set in BgpSrteRemoteEndpointSubTlv
	AddressFamily() BgpSrteRemoteEndpointSubTlvAddressFamilyEnum
	// SetAddressFamily assigns BgpSrteRemoteEndpointSubTlvAddressFamilyEnum provided by user to BgpSrteRemoteEndpointSubTlv
	SetAddressFamily(value BgpSrteRemoteEndpointSubTlvAddressFamilyEnum) BgpSrteRemoteEndpointSubTlv
	// HasAddressFamily checks if AddressFamily has been set in BgpSrteRemoteEndpointSubTlv
	HasAddressFamily() bool
	// Ipv4Address returns string, set in BgpSrteRemoteEndpointSubTlv.
	Ipv4Address() string
	// SetIpv4Address assigns string provided by user to BgpSrteRemoteEndpointSubTlv
	SetIpv4Address(value string) BgpSrteRemoteEndpointSubTlv
	// HasIpv4Address checks if Ipv4Address has been set in BgpSrteRemoteEndpointSubTlv
	HasIpv4Address() bool
	// Ipv6Address returns string, set in BgpSrteRemoteEndpointSubTlv.
	Ipv6Address() string
	// SetIpv6Address assigns string provided by user to BgpSrteRemoteEndpointSubTlv
	SetIpv6Address(value string) BgpSrteRemoteEndpointSubTlv
	// HasIpv6Address checks if Ipv6Address has been set in BgpSrteRemoteEndpointSubTlv
	HasIpv6Address() bool
	// contains filtered or unexported methods
}

BgpSrteRemoteEndpointSubTlv is configuration for the BGP remote endpoint sub TLV.

func NewBgpSrteRemoteEndpointSubTlv added in v0.6.5

func NewBgpSrteRemoteEndpointSubTlv() BgpSrteRemoteEndpointSubTlv

type BgpSrteRemoteEndpointSubTlvAddressFamilyEnum added in v0.6.4

type BgpSrteRemoteEndpointSubTlvAddressFamilyEnum string

type BgpSrteSRv6SIDEndpointBehaviorAndStructure added in v0.6.4

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

	// LbLength returns int32, set in BgpSrteSRv6SIDEndpointBehaviorAndStructure.
	LbLength() int32
	// SetLbLength assigns int32 provided by user to BgpSrteSRv6SIDEndpointBehaviorAndStructure
	SetLbLength(value int32) BgpSrteSRv6SIDEndpointBehaviorAndStructure
	// HasLbLength checks if LbLength has been set in BgpSrteSRv6SIDEndpointBehaviorAndStructure
	HasLbLength() bool
	// LnLength returns int32, set in BgpSrteSRv6SIDEndpointBehaviorAndStructure.
	LnLength() int32
	// SetLnLength assigns int32 provided by user to BgpSrteSRv6SIDEndpointBehaviorAndStructure
	SetLnLength(value int32) BgpSrteSRv6SIDEndpointBehaviorAndStructure
	// HasLnLength checks if LnLength has been set in BgpSrteSRv6SIDEndpointBehaviorAndStructure
	HasLnLength() bool
	// FuncLength returns int32, set in BgpSrteSRv6SIDEndpointBehaviorAndStructure.
	FuncLength() int32
	// SetFuncLength assigns int32 provided by user to BgpSrteSRv6SIDEndpointBehaviorAndStructure
	SetFuncLength(value int32) BgpSrteSRv6SIDEndpointBehaviorAndStructure
	// HasFuncLength checks if FuncLength has been set in BgpSrteSRv6SIDEndpointBehaviorAndStructure
	HasFuncLength() bool
	// ArgLength returns int32, set in BgpSrteSRv6SIDEndpointBehaviorAndStructure.
	ArgLength() int32
	// SetArgLength assigns int32 provided by user to BgpSrteSRv6SIDEndpointBehaviorAndStructure
	SetArgLength(value int32) BgpSrteSRv6SIDEndpointBehaviorAndStructure
	// HasArgLength checks if ArgLength has been set in BgpSrteSRv6SIDEndpointBehaviorAndStructure
	HasArgLength() bool
	// contains filtered or unexported methods
}

BgpSrteSRv6SIDEndpointBehaviorAndStructure is configuration for SRv6 Endpoint Behavior and SID Structure. Its optional. Summation of lengths for Locator Block, Locator Node, Function, and Argument MUST be less than or equal to 128.

func NewBgpSrteSRv6SIDEndpointBehaviorAndStructure added in v0.6.5

func NewBgpSrteSRv6SIDEndpointBehaviorAndStructure() BgpSrteSRv6SIDEndpointBehaviorAndStructure

type BgpSrteSegment added in v0.6.4

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

	// SegmentType returns BgpSrteSegmentSegmentTypeEnum, set in BgpSrteSegment
	SegmentType() BgpSrteSegmentSegmentTypeEnum
	// SetSegmentType assigns BgpSrteSegmentSegmentTypeEnum provided by user to BgpSrteSegment
	SetSegmentType(value BgpSrteSegmentSegmentTypeEnum) BgpSrteSegment
	// TypeA returns BgpSrteSegmentATypeSubTlv, set in BgpSrteSegment.
	// BgpSrteSegmentATypeSubTlv is type  A: SID only, in the form of MPLS Label.
	// Configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	TypeA() BgpSrteSegmentATypeSubTlv
	// SetTypeA assigns BgpSrteSegmentATypeSubTlv provided by user to BgpSrteSegment.
	// BgpSrteSegmentATypeSubTlv is type  A: SID only, in the form of MPLS Label.
	// Configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	SetTypeA(value BgpSrteSegmentATypeSubTlv) BgpSrteSegment
	// HasTypeA checks if TypeA has been set in BgpSrteSegment
	HasTypeA() bool
	// TypeB returns BgpSrteSegmentBTypeSubTlv, set in BgpSrteSegment.
	// BgpSrteSegmentBTypeSubTlv is type  B: SID only, in the form of IPv6 address.
	TypeB() BgpSrteSegmentBTypeSubTlv
	// SetTypeB assigns BgpSrteSegmentBTypeSubTlv provided by user to BgpSrteSegment.
	// BgpSrteSegmentBTypeSubTlv is type  B: SID only, in the form of IPv6 address.
	SetTypeB(value BgpSrteSegmentBTypeSubTlv) BgpSrteSegment
	// HasTypeB checks if TypeB has been set in BgpSrteSegment
	HasTypeB() bool
	// TypeC returns BgpSrteSegmentCTypeSubTlv, set in BgpSrteSegment.
	// BgpSrteSegmentCTypeSubTlv is status: under-review
	// Status: under-review
	// Type C: IPv4 Node Address with optional SID.
	TypeC() BgpSrteSegmentCTypeSubTlv
	// SetTypeC assigns BgpSrteSegmentCTypeSubTlv provided by user to BgpSrteSegment.
	// BgpSrteSegmentCTypeSubTlv is status: under-review
	// Status: under-review
	// Type C: IPv4 Node Address with optional SID.
	SetTypeC(value BgpSrteSegmentCTypeSubTlv) BgpSrteSegment
	// HasTypeC checks if TypeC has been set in BgpSrteSegment
	HasTypeC() bool
	// TypeD returns BgpSrteSegmentDTypeSubTlv, set in BgpSrteSegment.
	// BgpSrteSegmentDTypeSubTlv is type D: IPv6 Node Address with optional SID for SR MPLS.
	TypeD() BgpSrteSegmentDTypeSubTlv
	// SetTypeD assigns BgpSrteSegmentDTypeSubTlv provided by user to BgpSrteSegment.
	// BgpSrteSegmentDTypeSubTlv is type D: IPv6 Node Address with optional SID for SR MPLS.
	SetTypeD(value BgpSrteSegmentDTypeSubTlv) BgpSrteSegment
	// HasTypeD checks if TypeD has been set in BgpSrteSegment
	HasTypeD() bool
	// TypeE returns BgpSrteSegmentETypeSubTlv, set in BgpSrteSegment.
	// BgpSrteSegmentETypeSubTlv is type E: IPv4 Address and Local Interface ID with optional SID
	TypeE() BgpSrteSegmentETypeSubTlv
	// SetTypeE assigns BgpSrteSegmentETypeSubTlv provided by user to BgpSrteSegment.
	// BgpSrteSegmentETypeSubTlv is type E: IPv4 Address and Local Interface ID with optional SID
	SetTypeE(value BgpSrteSegmentETypeSubTlv) BgpSrteSegment
	// HasTypeE checks if TypeE has been set in BgpSrteSegment
	HasTypeE() bool
	// TypeF returns BgpSrteSegmentFTypeSubTlv, set in BgpSrteSegment.
	// BgpSrteSegmentFTypeSubTlv is type F: IPv4 Local and Remote addresses with optional SID.
	TypeF() BgpSrteSegmentFTypeSubTlv
	// SetTypeF assigns BgpSrteSegmentFTypeSubTlv provided by user to BgpSrteSegment.
	// BgpSrteSegmentFTypeSubTlv is type F: IPv4 Local and Remote addresses with optional SID.
	SetTypeF(value BgpSrteSegmentFTypeSubTlv) BgpSrteSegment
	// HasTypeF checks if TypeF has been set in BgpSrteSegment
	HasTypeF() bool
	// TypeG returns BgpSrteSegmentGTypeSubTlv, set in BgpSrteSegment.
	// BgpSrteSegmentGTypeSubTlv is type G: IPv6 Address, Interface ID for local and remote pair with optional SID for SR MPLS.
	TypeG() BgpSrteSegmentGTypeSubTlv
	// SetTypeG assigns BgpSrteSegmentGTypeSubTlv provided by user to BgpSrteSegment.
	// BgpSrteSegmentGTypeSubTlv is type G: IPv6 Address, Interface ID for local and remote pair with optional SID for SR MPLS.
	SetTypeG(value BgpSrteSegmentGTypeSubTlv) BgpSrteSegment
	// HasTypeG checks if TypeG has been set in BgpSrteSegment
	HasTypeG() bool
	// TypeH returns BgpSrteSegmentHTypeSubTlv, set in BgpSrteSegment.
	// BgpSrteSegmentHTypeSubTlv is type H: IPv6 Local and Remote addresses with optional SID for SR MPLS.
	TypeH() BgpSrteSegmentHTypeSubTlv
	// SetTypeH assigns BgpSrteSegmentHTypeSubTlv provided by user to BgpSrteSegment.
	// BgpSrteSegmentHTypeSubTlv is type H: IPv6 Local and Remote addresses with optional SID for SR MPLS.
	SetTypeH(value BgpSrteSegmentHTypeSubTlv) BgpSrteSegment
	// HasTypeH checks if TypeH has been set in BgpSrteSegment
	HasTypeH() bool
	// TypeI returns BgpSrteSegmentITypeSubTlv, set in BgpSrteSegment.
	// BgpSrteSegmentITypeSubTlv is type I: IPv6 Node Address with optional SRv6 SID.
	TypeI() BgpSrteSegmentITypeSubTlv
	// SetTypeI assigns BgpSrteSegmentITypeSubTlv provided by user to BgpSrteSegment.
	// BgpSrteSegmentITypeSubTlv is type I: IPv6 Node Address with optional SRv6 SID.
	SetTypeI(value BgpSrteSegmentITypeSubTlv) BgpSrteSegment
	// HasTypeI checks if TypeI has been set in BgpSrteSegment
	HasTypeI() bool
	// TypeJ returns BgpSrteSegmentJTypeSubTlv, set in BgpSrteSegment.
	// BgpSrteSegmentJTypeSubTlv is type J: IPv6 Address, Interface ID for local and remote pair for SRv6 with optional SID.
	TypeJ() BgpSrteSegmentJTypeSubTlv
	// SetTypeJ assigns BgpSrteSegmentJTypeSubTlv provided by user to BgpSrteSegment.
	// BgpSrteSegmentJTypeSubTlv is type J: IPv6 Address, Interface ID for local and remote pair for SRv6 with optional SID.
	SetTypeJ(value BgpSrteSegmentJTypeSubTlv) BgpSrteSegment
	// HasTypeJ checks if TypeJ has been set in BgpSrteSegment
	HasTypeJ() bool
	// TypeK returns BgpSrteSegmentKTypeSubTlv, set in BgpSrteSegment.
	// BgpSrteSegmentKTypeSubTlv is type K: IPv6 Local and Remote addresses for SRv6 with optional SID.
	TypeK() BgpSrteSegmentKTypeSubTlv
	// SetTypeK assigns BgpSrteSegmentKTypeSubTlv provided by user to BgpSrteSegment.
	// BgpSrteSegmentKTypeSubTlv is type K: IPv6 Local and Remote addresses for SRv6 with optional SID.
	SetTypeK(value BgpSrteSegmentKTypeSubTlv) BgpSrteSegment
	// HasTypeK checks if TypeK has been set in BgpSrteSegment
	HasTypeK() bool
	// Name returns string, set in BgpSrteSegment.
	Name() string
	// SetName assigns string provided by user to BgpSrteSegment
	SetName(value string) BgpSrteSegment
	// Active returns bool, set in BgpSrteSegment.
	Active() bool
	// SetActive assigns bool provided by user to BgpSrteSegment
	SetActive(value bool) BgpSrteSegment
	// HasActive checks if Active has been set in BgpSrteSegment
	HasActive() bool
	// contains filtered or unexported methods
}

BgpSrteSegment is status: under-review Status: under-review A Segment sub-TLV describes a single segment in a segment list i.e., a single element of the explicit path. The Segment sub-TLVs are optional.

func NewBgpSrteSegment added in v0.6.5

func NewBgpSrteSegment() BgpSrteSegment

type BgpSrteSegmentATypeSubTlv added in v0.6.4

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

	// Flags returns string, set in BgpSrteSegmentATypeSubTlv.
	Flags() string
	// SetFlags assigns string provided by user to BgpSrteSegmentATypeSubTlv
	SetFlags(value string) BgpSrteSegmentATypeSubTlv
	// HasFlags checks if Flags has been set in BgpSrteSegmentATypeSubTlv
	HasFlags() bool
	// Label returns int32, set in BgpSrteSegmentATypeSubTlv.
	Label() int32
	// SetLabel assigns int32 provided by user to BgpSrteSegmentATypeSubTlv
	SetLabel(value int32) BgpSrteSegmentATypeSubTlv
	// HasLabel checks if Label has been set in BgpSrteSegmentATypeSubTlv
	HasLabel() bool
	// Tc returns int32, set in BgpSrteSegmentATypeSubTlv.
	Tc() int32
	// SetTc assigns int32 provided by user to BgpSrteSegmentATypeSubTlv
	SetTc(value int32) BgpSrteSegmentATypeSubTlv
	// HasTc checks if Tc has been set in BgpSrteSegmentATypeSubTlv
	HasTc() bool
	// SBit returns bool, set in BgpSrteSegmentATypeSubTlv.
	SBit() bool
	// SetSBit assigns bool provided by user to BgpSrteSegmentATypeSubTlv
	SetSBit(value bool) BgpSrteSegmentATypeSubTlv
	// HasSBit checks if SBit has been set in BgpSrteSegmentATypeSubTlv
	HasSBit() bool
	// Ttl returns int32, set in BgpSrteSegmentATypeSubTlv.
	Ttl() int32
	// SetTtl assigns int32 provided by user to BgpSrteSegmentATypeSubTlv
	SetTtl(value int32) BgpSrteSegmentATypeSubTlv
	// HasTtl checks if Ttl has been set in BgpSrteSegmentATypeSubTlv
	HasTtl() bool
	// contains filtered or unexported methods
}

BgpSrteSegmentATypeSubTlv is type A: SID only, in the form of MPLS Label. Configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.

func NewBgpSrteSegmentATypeSubTlv added in v0.6.5

func NewBgpSrteSegmentATypeSubTlv() BgpSrteSegmentATypeSubTlv

type BgpSrteSegmentBTypeSubTlv added in v0.6.4

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

	// Flags returns string, set in BgpSrteSegmentBTypeSubTlv.
	Flags() string
	// SetFlags assigns string provided by user to BgpSrteSegmentBTypeSubTlv
	SetFlags(value string) BgpSrteSegmentBTypeSubTlv
	// HasFlags checks if Flags has been set in BgpSrteSegmentBTypeSubTlv
	HasFlags() bool
	// Srv6Sid returns string, set in BgpSrteSegmentBTypeSubTlv.
	Srv6Sid() string
	// SetSrv6Sid assigns string provided by user to BgpSrteSegmentBTypeSubTlv
	SetSrv6Sid(value string) BgpSrteSegmentBTypeSubTlv
	// Srv6SidEndpointBehavior returns BgpSrteSRv6SIDEndpointBehaviorAndStructure, set in BgpSrteSegmentBTypeSubTlv.
	// BgpSrteSRv6SIDEndpointBehaviorAndStructure is configuration for SRv6 Endpoint Behavior and SID Structure.  Its optional. Summation of lengths for Locator Block, Locator Node,  Function, and Argument MUST be less than or equal to 128.
	Srv6SidEndpointBehavior() BgpSrteSRv6SIDEndpointBehaviorAndStructure
	// SetSrv6SidEndpointBehavior assigns BgpSrteSRv6SIDEndpointBehaviorAndStructure provided by user to BgpSrteSegmentBTypeSubTlv.
	// BgpSrteSRv6SIDEndpointBehaviorAndStructure is configuration for SRv6 Endpoint Behavior and SID Structure.  Its optional. Summation of lengths for Locator Block, Locator Node,  Function, and Argument MUST be less than or equal to 128.
	SetSrv6SidEndpointBehavior(value BgpSrteSRv6SIDEndpointBehaviorAndStructure) BgpSrteSegmentBTypeSubTlv
	// HasSrv6SidEndpointBehavior checks if Srv6SidEndpointBehavior has been set in BgpSrteSegmentBTypeSubTlv
	HasSrv6SidEndpointBehavior() bool
	// contains filtered or unexported methods
}

BgpSrteSegmentBTypeSubTlv is type B: SID only, in the form of IPv6 address.

func NewBgpSrteSegmentBTypeSubTlv added in v0.6.5

func NewBgpSrteSegmentBTypeSubTlv() BgpSrteSegmentBTypeSubTlv

type BgpSrteSegmentCTypeSubTlv added in v0.6.4

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

	// Flags returns string, set in BgpSrteSegmentCTypeSubTlv.
	Flags() string
	// SetFlags assigns string provided by user to BgpSrteSegmentCTypeSubTlv
	SetFlags(value string) BgpSrteSegmentCTypeSubTlv
	// HasFlags checks if Flags has been set in BgpSrteSegmentCTypeSubTlv
	HasFlags() bool
	// SrAlgorithm returns int32, set in BgpSrteSegmentCTypeSubTlv.
	SrAlgorithm() int32
	// SetSrAlgorithm assigns int32 provided by user to BgpSrteSegmentCTypeSubTlv
	SetSrAlgorithm(value int32) BgpSrteSegmentCTypeSubTlv
	// HasSrAlgorithm checks if SrAlgorithm has been set in BgpSrteSegmentCTypeSubTlv
	HasSrAlgorithm() bool
	// Ipv4NodeAddress returns string, set in BgpSrteSegmentCTypeSubTlv.
	Ipv4NodeAddress() string
	// SetIpv4NodeAddress assigns string provided by user to BgpSrteSegmentCTypeSubTlv
	SetIpv4NodeAddress(value string) BgpSrteSegmentCTypeSubTlv
	// SrMplsSid returns BgpSrteSrMplsSid, set in BgpSrteSegmentCTypeSubTlv.
	// BgpSrteSrMplsSid is configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	SrMplsSid() BgpSrteSrMplsSid
	// SetSrMplsSid assigns BgpSrteSrMplsSid provided by user to BgpSrteSegmentCTypeSubTlv.
	// BgpSrteSrMplsSid is configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	SetSrMplsSid(value BgpSrteSrMplsSid) BgpSrteSegmentCTypeSubTlv
	// HasSrMplsSid checks if SrMplsSid has been set in BgpSrteSegmentCTypeSubTlv
	HasSrMplsSid() bool
	// contains filtered or unexported methods
}

BgpSrteSegmentCTypeSubTlv is status: under-review Status: under-review Type C: IPv4 Node Address with optional SID.

func NewBgpSrteSegmentCTypeSubTlv added in v0.6.5

func NewBgpSrteSegmentCTypeSubTlv() BgpSrteSegmentCTypeSubTlv

type BgpSrteSegmentDTypeSubTlv added in v0.6.4

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

	// Flags returns string, set in BgpSrteSegmentDTypeSubTlv.
	Flags() string
	// SetFlags assigns string provided by user to BgpSrteSegmentDTypeSubTlv
	SetFlags(value string) BgpSrteSegmentDTypeSubTlv
	// HasFlags checks if Flags has been set in BgpSrteSegmentDTypeSubTlv
	HasFlags() bool
	// SrAlgorithm returns int32, set in BgpSrteSegmentDTypeSubTlv.
	SrAlgorithm() int32
	// SetSrAlgorithm assigns int32 provided by user to BgpSrteSegmentDTypeSubTlv
	SetSrAlgorithm(value int32) BgpSrteSegmentDTypeSubTlv
	// HasSrAlgorithm checks if SrAlgorithm has been set in BgpSrteSegmentDTypeSubTlv
	HasSrAlgorithm() bool
	// Ipv6NodeAddress returns string, set in BgpSrteSegmentDTypeSubTlv.
	Ipv6NodeAddress() string
	// SetIpv6NodeAddress assigns string provided by user to BgpSrteSegmentDTypeSubTlv
	SetIpv6NodeAddress(value string) BgpSrteSegmentDTypeSubTlv
	// SrMplsSid returns BgpSrteSrMplsSid, set in BgpSrteSegmentDTypeSubTlv.
	// BgpSrteSrMplsSid is configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	SrMplsSid() BgpSrteSrMplsSid
	// SetSrMplsSid assigns BgpSrteSrMplsSid provided by user to BgpSrteSegmentDTypeSubTlv.
	// BgpSrteSrMplsSid is configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	SetSrMplsSid(value BgpSrteSrMplsSid) BgpSrteSegmentDTypeSubTlv
	// HasSrMplsSid checks if SrMplsSid has been set in BgpSrteSegmentDTypeSubTlv
	HasSrMplsSid() bool
	// contains filtered or unexported methods
}

BgpSrteSegmentDTypeSubTlv is type D: IPv6 Node Address with optional SID for SR MPLS.

func NewBgpSrteSegmentDTypeSubTlv added in v0.6.5

func NewBgpSrteSegmentDTypeSubTlv() BgpSrteSegmentDTypeSubTlv

type BgpSrteSegmentETypeSubTlv added in v0.6.4

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

	// Flags returns string, set in BgpSrteSegmentETypeSubTlv.
	Flags() string
	// SetFlags assigns string provided by user to BgpSrteSegmentETypeSubTlv
	SetFlags(value string) BgpSrteSegmentETypeSubTlv
	// HasFlags checks if Flags has been set in BgpSrteSegmentETypeSubTlv
	HasFlags() bool
	// LocalInterfaceId returns int32, set in BgpSrteSegmentETypeSubTlv.
	LocalInterfaceId() int32
	// SetLocalInterfaceId assigns int32 provided by user to BgpSrteSegmentETypeSubTlv
	SetLocalInterfaceId(value int32) BgpSrteSegmentETypeSubTlv
	// HasLocalInterfaceId checks if LocalInterfaceId has been set in BgpSrteSegmentETypeSubTlv
	HasLocalInterfaceId() bool
	// Ipv4NodeAddress returns string, set in BgpSrteSegmentETypeSubTlv.
	Ipv4NodeAddress() string
	// SetIpv4NodeAddress assigns string provided by user to BgpSrteSegmentETypeSubTlv
	SetIpv4NodeAddress(value string) BgpSrteSegmentETypeSubTlv
	// SrMplsSid returns BgpSrteSrMplsSid, set in BgpSrteSegmentETypeSubTlv.
	// BgpSrteSrMplsSid is configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	SrMplsSid() BgpSrteSrMplsSid
	// SetSrMplsSid assigns BgpSrteSrMplsSid provided by user to BgpSrteSegmentETypeSubTlv.
	// BgpSrteSrMplsSid is configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	SetSrMplsSid(value BgpSrteSrMplsSid) BgpSrteSegmentETypeSubTlv
	// HasSrMplsSid checks if SrMplsSid has been set in BgpSrteSegmentETypeSubTlv
	HasSrMplsSid() bool
	// contains filtered or unexported methods
}

BgpSrteSegmentETypeSubTlv is type E: IPv4 Address and Local Interface ID with optional SID

func NewBgpSrteSegmentETypeSubTlv added in v0.6.5

func NewBgpSrteSegmentETypeSubTlv() BgpSrteSegmentETypeSubTlv

type BgpSrteSegmentFTypeSubTlv added in v0.6.4

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

	// Flags returns string, set in BgpSrteSegmentFTypeSubTlv.
	Flags() string
	// SetFlags assigns string provided by user to BgpSrteSegmentFTypeSubTlv
	SetFlags(value string) BgpSrteSegmentFTypeSubTlv
	// HasFlags checks if Flags has been set in BgpSrteSegmentFTypeSubTlv
	HasFlags() bool
	// LocalIpv4Address returns string, set in BgpSrteSegmentFTypeSubTlv.
	LocalIpv4Address() string
	// SetLocalIpv4Address assigns string provided by user to BgpSrteSegmentFTypeSubTlv
	SetLocalIpv4Address(value string) BgpSrteSegmentFTypeSubTlv
	// RemoteIpv4Address returns string, set in BgpSrteSegmentFTypeSubTlv.
	RemoteIpv4Address() string
	// SetRemoteIpv4Address assigns string provided by user to BgpSrteSegmentFTypeSubTlv
	SetRemoteIpv4Address(value string) BgpSrteSegmentFTypeSubTlv
	// SrMplsSid returns BgpSrteSrMplsSid, set in BgpSrteSegmentFTypeSubTlv.
	// BgpSrteSrMplsSid is configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	SrMplsSid() BgpSrteSrMplsSid
	// SetSrMplsSid assigns BgpSrteSrMplsSid provided by user to BgpSrteSegmentFTypeSubTlv.
	// BgpSrteSrMplsSid is configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	SetSrMplsSid(value BgpSrteSrMplsSid) BgpSrteSegmentFTypeSubTlv
	// HasSrMplsSid checks if SrMplsSid has been set in BgpSrteSegmentFTypeSubTlv
	HasSrMplsSid() bool
	// contains filtered or unexported methods
}

BgpSrteSegmentFTypeSubTlv is type F: IPv4 Local and Remote addresses with optional SID.

func NewBgpSrteSegmentFTypeSubTlv added in v0.6.5

func NewBgpSrteSegmentFTypeSubTlv() BgpSrteSegmentFTypeSubTlv

type BgpSrteSegmentGTypeSubTlv added in v0.6.4

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

	// Flags returns string, set in BgpSrteSegmentGTypeSubTlv.
	Flags() string
	// SetFlags assigns string provided by user to BgpSrteSegmentGTypeSubTlv
	SetFlags(value string) BgpSrteSegmentGTypeSubTlv
	// HasFlags checks if Flags has been set in BgpSrteSegmentGTypeSubTlv
	HasFlags() bool
	// LocalInterfaceId returns int32, set in BgpSrteSegmentGTypeSubTlv.
	LocalInterfaceId() int32
	// SetLocalInterfaceId assigns int32 provided by user to BgpSrteSegmentGTypeSubTlv
	SetLocalInterfaceId(value int32) BgpSrteSegmentGTypeSubTlv
	// HasLocalInterfaceId checks if LocalInterfaceId has been set in BgpSrteSegmentGTypeSubTlv
	HasLocalInterfaceId() bool
	// LocalIpv6NodeAddress returns string, set in BgpSrteSegmentGTypeSubTlv.
	LocalIpv6NodeAddress() string
	// SetLocalIpv6NodeAddress assigns string provided by user to BgpSrteSegmentGTypeSubTlv
	SetLocalIpv6NodeAddress(value string) BgpSrteSegmentGTypeSubTlv
	// RemoteInterfaceId returns int32, set in BgpSrteSegmentGTypeSubTlv.
	RemoteInterfaceId() int32
	// SetRemoteInterfaceId assigns int32 provided by user to BgpSrteSegmentGTypeSubTlv
	SetRemoteInterfaceId(value int32) BgpSrteSegmentGTypeSubTlv
	// HasRemoteInterfaceId checks if RemoteInterfaceId has been set in BgpSrteSegmentGTypeSubTlv
	HasRemoteInterfaceId() bool
	// RemoteIpv6NodeAddress returns string, set in BgpSrteSegmentGTypeSubTlv.
	RemoteIpv6NodeAddress() string
	// SetRemoteIpv6NodeAddress assigns string provided by user to BgpSrteSegmentGTypeSubTlv
	SetRemoteIpv6NodeAddress(value string) BgpSrteSegmentGTypeSubTlv
	// SrMplsSid returns BgpSrteSrMplsSid, set in BgpSrteSegmentGTypeSubTlv.
	// BgpSrteSrMplsSid is configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	SrMplsSid() BgpSrteSrMplsSid
	// SetSrMplsSid assigns BgpSrteSrMplsSid provided by user to BgpSrteSegmentGTypeSubTlv.
	// BgpSrteSrMplsSid is configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	SetSrMplsSid(value BgpSrteSrMplsSid) BgpSrteSegmentGTypeSubTlv
	// HasSrMplsSid checks if SrMplsSid has been set in BgpSrteSegmentGTypeSubTlv
	HasSrMplsSid() bool
	// contains filtered or unexported methods
}

BgpSrteSegmentGTypeSubTlv is type G: IPv6 Address, Interface ID for local and remote pair with optional SID for SR MPLS.

func NewBgpSrteSegmentGTypeSubTlv added in v0.6.5

func NewBgpSrteSegmentGTypeSubTlv() BgpSrteSegmentGTypeSubTlv

type BgpSrteSegmentHTypeSubTlv added in v0.6.4

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

	// Flags returns string, set in BgpSrteSegmentHTypeSubTlv.
	Flags() string
	// SetFlags assigns string provided by user to BgpSrteSegmentHTypeSubTlv
	SetFlags(value string) BgpSrteSegmentHTypeSubTlv
	// HasFlags checks if Flags has been set in BgpSrteSegmentHTypeSubTlv
	HasFlags() bool
	// LocalIpv6Address returns string, set in BgpSrteSegmentHTypeSubTlv.
	LocalIpv6Address() string
	// SetLocalIpv6Address assigns string provided by user to BgpSrteSegmentHTypeSubTlv
	SetLocalIpv6Address(value string) BgpSrteSegmentHTypeSubTlv
	// RemoteIpv6Address returns string, set in BgpSrteSegmentHTypeSubTlv.
	RemoteIpv6Address() string
	// SetRemoteIpv6Address assigns string provided by user to BgpSrteSegmentHTypeSubTlv
	SetRemoteIpv6Address(value string) BgpSrteSegmentHTypeSubTlv
	// SrMplsSid returns BgpSrteSrMplsSid, set in BgpSrteSegmentHTypeSubTlv.
	// BgpSrteSrMplsSid is configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	SrMplsSid() BgpSrteSrMplsSid
	// SetSrMplsSid assigns BgpSrteSrMplsSid provided by user to BgpSrteSegmentHTypeSubTlv.
	// BgpSrteSrMplsSid is configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.
	SetSrMplsSid(value BgpSrteSrMplsSid) BgpSrteSegmentHTypeSubTlv
	// HasSrMplsSid checks if SrMplsSid has been set in BgpSrteSegmentHTypeSubTlv
	HasSrMplsSid() bool
	// contains filtered or unexported methods
}

BgpSrteSegmentHTypeSubTlv is type H: IPv6 Local and Remote addresses with optional SID for SR MPLS.

func NewBgpSrteSegmentHTypeSubTlv added in v0.6.5

func NewBgpSrteSegmentHTypeSubTlv()