gosnappi

package module
v0.11.16 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 24 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.

Setup Client

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

Start testing

package examples

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

Enum of Choice on ActionProtocolBgp

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

Enum of Choice on ActionProtocolBgpNotification

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

Enum of Choice on ActionProtocol

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

Enum of Choice on ActionProtocolIpv4

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

Enum of Choice on ActionProtocolIpv6

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

Enum of Choice on ActionResponse

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

Enum of Choice on ActionResponseProtocol

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

Enum of Choice on ActionResponseProtocolIpv4

Enum of Result on ActionResponseProtocolIpv4PingResponse

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

Enum of Choice on ActionResponseProtocolIpv6

Enum of Result on ActionResponseProtocolIpv6PingResponse

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

Enum of AsSetMode on BgpAsPath

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

Enum of Type on BgpAsPathSegment

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

Enum of Type on BgpCommunity

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

Enum of Subtype on BgpExtCommunity

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

Enum of Type on BgpExtCommunity

Enum of Origin on BgpPrefixIpv4UnicastFilter

Enum of Origin on BgpPrefixIpv4UnicastState

Enum of Origin on BgpPrefixIpv6UnicastFilter

Enum of Origin on BgpPrefixIpv6UnicastState

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

Enum of PrefixFilters on BgpPrefixStateRequest

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

Enum of Origin on BgpRouteAdvanced

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

Enum of RdType on BgpRouteDistinguisher

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

Enum of RtType on BgpRouteTarget

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

Enum of BindingSidType on BgpSrteBindingSubTlv

Enum of ExplicitNullLabelPolicy on BgpSrteExplicitNullLabelPolicySubTlv

Enum of AddressFamily on BgpSrteRemoteEndpointSubTlv

Enum of SegmentType on BgpSrteSegment

Enum of NextHopAddressType on BgpSrteV4Policy

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

Enum of NextHopMode on BgpSrteV4Policy

Enum of NextHopAddressType on BgpSrteV6Policy

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

Enum of NextHopMode on BgpSrteV6Policy

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

Enum of ActiveMode on BgpV4EthernetSegment

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

Enum of ReplicationType on BgpV4EviVxlan

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

Enum of Choice on BgpV4EvpnEvis

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

Enum of AsNumberWidth on BgpV4Peer

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

Enum of AsType on BgpV4Peer

Enum of NextHopAddressType on BgpV4RouteRange

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

Enum of NextHopMode on BgpV4RouteRange

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

Enum of ActiveMode on BgpV6EthernetSegment

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

Enum of ReplicationType on BgpV6EviVxlan

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

Enum of Choice on BgpV6EvpnEvis

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

Enum of AsNumberWidth on BgpV6Peer

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

Enum of AsType on BgpV6Peer

Enum of NextHopAddressType on BgpV6RouteRange

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

Enum of NextHopMode on BgpV6RouteRange

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

Enum of FsmState on Bgpv4Metric

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

Enum of SessionState on Bgpv4Metric

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

Enum of ColumnNames on Bgpv4MetricsRequest

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

Enum of FsmState on Bgpv6Metric

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

Enum of SessionState on Bgpv6Metric

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

Enum of ColumnNames on Bgpv6MetricsRequest

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

Enum of Choice on CaptureFilter

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

Enum of Format on Capture

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

Enum of State on CaptureState

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

Enum of Choice on ConfigUpdate

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

Enum of Choice on ControlAction

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

Enum of Choice on ControlState

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

Enum of Subcode on DeviceBgpCeaseError

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

Enum of Subcode on DeviceBgpMessageHeaderError

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

Enum of Subcode on DeviceBgpOpenMessageError

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

Enum of Subcode on DeviceBgpUpdateMessageError

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

Enum of Choice on DeviceIpv4GatewayMAC

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

Enum of Choice on DeviceIpv6GatewayMAC

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

Enum of Choice on DeviceState

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

Enum of Tpid on DeviceVlan

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

Enum of Kind on Error

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

Enum of Choice on EthernetConnection

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

Enum of Choice on FlowDelay

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

Enum of Choice on FlowDuration

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

Enum of Choice on FlowDurationInterBurstGap

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

Enum of Choice on FlowHeader

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

Enum of Choice on FlowIcmp

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

Enum of Choice on FlowIcmpv6

Enum of Choice on FlowIpv4Priority

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

Enum of Mode on FlowLatencyMetrics

View Source
var FlowMetricTagValueChoice = struct {
	HEX FlowMetricTagValueChoiceEnum
	STR FlowMetricTagValueChoiceEnum
}{
	HEX: FlowMetricTagValueChoiceEnum("hex"),
	STR: FlowMetricTagValueChoiceEnum("str"),
}

Enum of Choice on FlowMetricTagValue

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 FlowRxTxRatioChoice = struct {
	RX_COUNT FlowRxTxRatioChoiceEnum
	VALUE    FlowRxTxRatioChoiceEnum
}{
	RX_COUNT: FlowRxTxRatioChoiceEnum("rx_count"),
	VALUE:    FlowRxTxRatioChoiceEnum("value"),
}

Enum of Choice on FlowRxTxRatio

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

Enum of Choice on FlowSize

View Source
var FlowSizeWeightPairsChoice = struct {
	PREDEFINED FlowSizeWeightPairsChoiceEnum
	CUSTOM     FlowSizeWeightPairsChoiceEnum
}{
	PREDEFINED: FlowSizeWeightPairsChoiceEnum("predefined"),
	CUSTOM:     FlowSizeWeightPairsChoiceEnum("custom"),
}

Enum of Choice on FlowSizeWeightPairs

View Source
var FlowSizeWeightPairsPredefined = struct {
	IMIX          FlowSizeWeightPairsPredefinedEnum
	IPSEC_IMIX    FlowSizeWeightPairsPredefinedEnum
	IPV6_IMIX     FlowSizeWeightPairsPredefinedEnum
	STANDARD_IMIX FlowSizeWeightPairsPredefinedEnum
	TCP_IMIX      FlowSizeWeightPairsPredefinedEnum
}{
	IMIX:          FlowSizeWeightPairsPredefinedEnum("imix"),
	IPSEC_IMIX:    FlowSizeWeightPairsPredefinedEnum("ipsec_imix"),
	IPV6_IMIX:     FlowSizeWeightPairsPredefinedEnum("ipv6_imix"),
	STANDARD_IMIX: FlowSizeWeightPairsPredefinedEnum("standard_imix"),
	TCP_IMIX:      FlowSizeWeightPairsPredefinedEnum("tcp_imix"),
}

Enum of Predefined on FlowSizeWeightPairs

Enum of MetricNames on FlowTaggedMetricsFilter

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

Enum of Choice on FlowTxRx

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

Enum of PropertyNames on FlowsUpdate

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

Enum of AuthType on IsisAuthenticationBase

Enum of AuthType on IsisInterfaceAuthentication

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

Enum of LevelType on IsisInterface

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

Enum of NetworkType on IsisInterface

Enum of RedistributionType on IsisLspExtendedV4Prefix

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

Enum of PduType on IsisLspState

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

Enum of OriginType on IsisLspV4Prefix

Enum of RedistributionType on IsisLspV4Prefix

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

Enum of OriginType on IsisLspV6Prefix

Enum of RedistributionType on IsisLspV6Prefix

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

Enum of ColumnNames on IsisMetricsRequest

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

Enum of OriginType on IsisV4RouteRange

Enum of RedistributionType on IsisV4RouteRange

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

Enum of OriginType on IsisV6RouteRange

Enum of RedistributionType on IsisV6RouteRange

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

Enum of State on LacpMemberState

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

Enum of Activity on LacpMetric

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

Enum of Synchronization on LacpMetric

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

Enum of Timeout on LacpMetric

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

Enum of ColumnNames on LacpMetricsRequest

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

Enum of OperStatus on LagMetric

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

Enum of ColumnNames on LagMetricsRequest

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

Enum of ActorActivity on LagPortLacp

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

Enum of Choice on LagProtocol

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

Enum of Choice on Layer1FlowControl

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

Enum of Media on Layer1

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

Enum of Speed on Layer1

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

Enum of State on LinkState

Enum of CapabilityName on LldpCapabilityState

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

Enum of Choice on LldpChassisId

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

Enum of Choice on LldpChassisMacSubType

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

Enum of Choice on LldpConnection

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

Enum of ColumnNames on LldpMetricsRequest

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

Enum of ChassisIdType on LldpNeighborsState

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

Enum of PortIdType on LldpNeighborsState

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

Enum of Choice on LldpPortId

Enum of Choice on LldpPortInterfaceNameSubType

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

Enum of Choice on LldpSystemName

Enum of Choice on MetricsRequest

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

Enum of Choice on MetricsResponse

Enum of Choice on PatternFlowArpHardwareLength

Enum of Choice on PatternFlowArpHardwareType

Enum of Choice on PatternFlowArpOperation

Enum of Choice on PatternFlowArpProtocolLength

Enum of Choice on PatternFlowArpProtocolType

Enum of Choice on PatternFlowArpSenderHardwareAddr

Enum of Choice on PatternFlowArpSenderProtocolAddr

Enum of Choice on PatternFlowArpTargetHardwareAddr

Enum of Choice on PatternFlowArpTargetProtocolAddr

Enum of Choice on PatternFlowEthernetDst

Enum of Choice on PatternFlowEthernetEtherType

Enum of Choice on PatternFlowEthernetPauseControlOpCode

Enum of Choice on PatternFlowEthernetPauseDst

Enum of Choice on PatternFlowEthernetPauseEtherType

Enum of Choice on PatternFlowEthernetPauseSrc

Enum of Choice on PatternFlowEthernetPauseTime

Enum of Choice on PatternFlowEthernetPfcQueue

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

Enum of Choice on PatternFlowEthernetSrc

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

Enum of Choice on PatternFlowGreChecksum

Enum of Generated on PatternFlowGreChecksum

Enum of Choice on PatternFlowGreChecksumPresent

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

Enum of Choice on PatternFlowGreProtocol

Enum of Choice on PatternFlowGreReserved0

Enum of Choice on PatternFlowGreReserved1

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

Enum of Choice on PatternFlowGreVersion

Enum of Choice on PatternFlowGtpExtensionContents

Enum of Choice on PatternFlowGtpExtensionExtensionLength

Enum of Choice on PatternFlowGtpExtensionNextExtensionHeader

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

Enum of Choice on PatternFlowGtpv1EFlag

Enum of Choice on PatternFlowGtpv1MessageLength

Enum of Choice on PatternFlowGtpv1MessageType

Enum of Choice on PatternFlowGtpv1NPduNumber

Enum of Choice on PatternFlowGtpv1NextExtensionHeaderType

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

Enum of Choice on PatternFlowGtpv1PnFlag

Enum of Choice on PatternFlowGtpv1ProtocolType

Enum of Choice on PatternFlowGtpv1Reserved

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

Enum of Choice on PatternFlowGtpv1SFlag

Enum of Choice on PatternFlowGtpv1SquenceNumber

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

Enum of Choice on PatternFlowGtpv1Teid

Enum of Choice on PatternFlowGtpv1Version

Enum of Choice on PatternFlowGtpv2MessageLength

Enum of Choice on PatternFlowGtpv2MessageType

Enum of Choice on PatternFlowGtpv2PiggybackingFlag

Enum of Choice on PatternFlowGtpv2SequenceNumber

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

Enum of Choice on PatternFlowGtpv2Spare1

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

Enum of Choice on PatternFlowGtpv2Spare2

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

Enum of Choice on PatternFlowGtpv2Teid

Enum of Choice on PatternFlowGtpv2TeidFlag

Enum of Choice on PatternFlowGtpv2Version

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

Enum of Choice on PatternFlowIcmpEchoChecksum

Enum of Generated on PatternFlowIcmpEchoChecksum

Enum of Choice on PatternFlowIcmpEchoCode

Enum of Choice on PatternFlowIcmpEchoIdentifier

Enum of Choice on PatternFlowIcmpEchoSequenceNumber

Enum of Choice on PatternFlowIcmpEchoType

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

Enum of Choice on PatternFlowIcmpv6EchoChecksum

Enum of Generated on PatternFlowIcmpv6EchoChecksum

Enum of Choice on PatternFlowIcmpv6EchoCode

Enum of Choice on PatternFlowIcmpv6EchoIdentifier

Enum of Choice on PatternFlowIcmpv6EchoSequenceNumber

Enum of Choice on PatternFlowIcmpv6EchoType

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

Enum of Choice on PatternFlowIgmpv1Checksum

Enum of Generated on PatternFlowIgmpv1Checksum

Enum of Choice on PatternFlowIgmpv1GroupAddress

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

Enum of Choice on PatternFlowIgmpv1Type

Enum of Choice on PatternFlowIgmpv1Unused

Enum of Choice on PatternFlowIgmpv1Version

Enum of Choice on PatternFlowIpv4DontFragment

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

Enum of Choice on PatternFlowIpv4DscpEcn

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

Enum of Choice on PatternFlowIpv4DscpPhb

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

Enum of Choice on PatternFlowIpv4Dst

Enum of Choice on PatternFlowIpv4FragmentOffset

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

Enum of Choice on PatternFlowIpv4HeaderChecksum

Enum of Generated on PatternFlowIpv4HeaderChecksum

Enum of Choice on PatternFlowIpv4HeaderLength

Enum of Choice on PatternFlowIpv4Identification

Enum of Choice on PatternFlowIpv4MoreFragments

Enum of Choice on PatternFlowIpv4PriorityRaw

Enum of Choice on PatternFlowIpv4Protocol

Enum of Choice on PatternFlowIpv4Reserved

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

Enum of Choice on PatternFlowIpv4Src

Enum of Choice on PatternFlowIpv4TimeToLive

Enum of Choice on PatternFlowIpv4TosDelay

Enum of Choice on PatternFlowIpv4TosMonetary

Enum of Choice on PatternFlowIpv4TosPrecedence

Enum of Choice on PatternFlowIpv4TosReliability

Enum of Choice on PatternFlowIpv4TosThroughput

Enum of Choice on PatternFlowIpv4TosUnused

Enum of Choice on PatternFlowIpv4TotalLength

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

Enum of Choice on PatternFlowIpv4Version

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

Enum of Choice on PatternFlowIpv6Dst

Enum of Choice on PatternFlowIpv6FlowLabel

Enum of Choice on PatternFlowIpv6HopLimit

Enum of Choice on PatternFlowIpv6NextHeader

Enum of Choice on PatternFlowIpv6PayloadLength

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

Enum of Choice on PatternFlowIpv6Src

Enum of Choice on PatternFlowIpv6TrafficClass

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

Enum of Choice on PatternFlowIpv6Version

Enum of Choice on PatternFlowMplsBottomOfStack

Enum of Choice on PatternFlowMplsLabel

Enum of Choice on PatternFlowMplsTimeToLive

Enum of Choice on PatternFlowMplsTrafficClass

Enum of Choice on PatternFlowPfcPauseClassEnableVector

Enum of Choice on PatternFlowPfcPauseControlOpCode

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

Enum of Choice on PatternFlowPfcPauseDst

Enum of Choice on PatternFlowPfcPauseEtherType

Enum of Choice on PatternFlowPfcPausePauseClass0

Enum of Choice on PatternFlowPfcPausePauseClass1

Enum of Choice on PatternFlowPfcPausePauseClass2

Enum of Choice on PatternFlowPfcPausePauseClass3

Enum of Choice on PatternFlowPfcPausePauseClass4

Enum of Choice on PatternFlowPfcPausePauseClass5

Enum of Choice on PatternFlowPfcPausePauseClass6

Enum of Choice on PatternFlowPfcPausePauseClass7

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

Enum of Choice on PatternFlowPfcPauseSrc

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

Enum of Choice on PatternFlowPppAddress

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

Enum of Choice on PatternFlowPppControl

Enum of Choice on PatternFlowPppProtocolType

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

Enum of Choice on PatternFlowTcpAckNum

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

Enum of Choice on PatternFlowTcpCtlAck

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

Enum of Choice on PatternFlowTcpCtlFin

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

Enum of Choice on PatternFlowTcpCtlPsh

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

Enum of Choice on PatternFlowTcpCtlRst

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

Enum of Choice on PatternFlowTcpCtlSyn

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

Enum of Choice on PatternFlowTcpCtlUrg

Enum of Choice on PatternFlowTcpDataOffset

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

Enum of Choice on PatternFlowTcpDstPort

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

Enum of Choice on PatternFlowTcpEcnCwr

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

Enum of Choice on PatternFlowTcpEcnEcho

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

Enum of Choice on PatternFlowTcpEcnNs

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

Enum of Choice on PatternFlowTcpSeqNum

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

Enum of Choice on PatternFlowTcpSrcPort

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

Enum of Choice on PatternFlowTcpWindow

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

Enum of Choice on PatternFlowUdpChecksum

Enum of Generated on PatternFlowUdpChecksum

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

Enum of Choice on PatternFlowUdpDstPort

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

Enum of Choice on PatternFlowUdpLength

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

Enum of Choice on PatternFlowUdpSrcPort

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

Enum of Choice on PatternFlowVlanCfi

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

Enum of Choice on PatternFlowVlanId

Enum of Choice on PatternFlowVlanPriority

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

Enum of Choice on PatternFlowVlanTpid

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

Enum of Choice on PatternFlowVxlanFlags

Enum of Choice on PatternFlowVxlanReserved0

Enum of Choice on PatternFlowVxlanReserved1

Enum of Choice on PatternFlowVxlanVni

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

Enum of Choice on Ping

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

Enum of Capture on PortMetric

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

Enum of Link on PortMetric

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

Enum of Transmit on PortMetric

Enum of ColumnNames on PortMetricsRequest

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

Enum of State on ProtocolState

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

Enum of Result on Response

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

Enum of Type on ResultBgpAsPathSegment

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

Enum of Type on ResultBgpCommunity

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

Enum of State on RouteState

View Source
var RsvpEroPrependNeighborIp = struct {
	DONT_PREPEND   RsvpEroPrependNeighborIpEnum
	PREPEND_LOOSE  RsvpEroPrependNeighborIpEnum
	PREPEND_STRICT RsvpEroPrependNeighborIpEnum
}{
	DONT_PREPEND:   RsvpEroPrependNeighborIpEnum("dont_prepend"),
	PREPEND_LOOSE:  RsvpEroPrependNeighborIpEnum("prepend_loose"),
	PREPEND_STRICT: RsvpEroPrependNeighborIpEnum("prepend_strict"),
}

Enum of PrependNeighborIp on RsvpEro

View Source
var RsvpEroSubobjectHopType = struct {
	STRICT RsvpEroSubobjectHopTypeEnum
	LOOSE  RsvpEroSubobjectHopTypeEnum
}{
	STRICT: RsvpEroSubobjectHopTypeEnum("strict"),
	LOOSE:  RsvpEroSubobjectHopTypeEnum("loose"),
}

Enum of HopType on RsvpEroSubobject

View Source
var RsvpEroSubobjectType = struct {
	IPV4      RsvpEroSubobjectTypeEnum
	AS_NUMBER RsvpEroSubobjectTypeEnum
}{
	IPV4:      RsvpEroSubobjectTypeEnum("ipv4"),
	AS_NUMBER: RsvpEroSubobjectTypeEnum("as_number"),
}

Enum of Type on RsvpEroSubobject

View Source
var RsvpLspIpv4EroType = struct {
	IPV4                 RsvpLspIpv4EroTypeEnum
	IPV6                 RsvpLspIpv4EroTypeEnum
	ASN                  RsvpLspIpv4EroTypeEnum
	ASN4                 RsvpLspIpv4EroTypeEnum
	LABEL                RsvpLspIpv4EroTypeEnum
	UNNUMBERED_INTERFACE RsvpLspIpv4EroTypeEnum
}{
	IPV4:                 RsvpLspIpv4EroTypeEnum("ipv4"),
	IPV6:                 RsvpLspIpv4EroTypeEnum("ipv6"),
	ASN:                  RsvpLspIpv4EroTypeEnum("asn"),
	ASN4:                 RsvpLspIpv4EroTypeEnum("asn4"),
	LABEL:                RsvpLspIpv4EroTypeEnum("label"),
	UNNUMBERED_INTERFACE: RsvpLspIpv4EroTypeEnum("unnumbered_interface"),
}

Enum of Type on RsvpLspIpv4Ero

Enum of ReservationStyle on RsvpLspIpv4InterfaceP2PEgressIpv4Lsp

View Source
var RsvpLspStateLastFlapReason = struct {
	RESV_TEAR    RsvpLspStateLastFlapReasonEnum
	PATH_TEAR    RsvpLspStateLastFlapReasonEnum
	PATH_TIMEOUT RsvpLspStateLastFlapReasonEnum
}{
	RESV_TEAR:    RsvpLspStateLastFlapReasonEnum("resv_tear"),
	PATH_TEAR:    RsvpLspStateLastFlapReasonEnum("path_tear"),
	PATH_TIMEOUT: RsvpLspStateLastFlapReasonEnum("path_timeout"),
}

Enum of LastFlapReason on RsvpLspState

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

Enum of SessionStatus on RsvpLspState

View Source
var RsvpMetricsRequestColumnNames = struct {
	INGRESS_P2P_LSPS_CONFIGURED  RsvpMetricsRequestColumnNamesEnum
	INGRESS_P2P_LSPS_UP          RsvpMetricsRequestColumnNamesEnum
	EGRESS_P2P_LSPS_UP           RsvpMetricsRequestColumnNamesEnum
	LSP_FLAP_COUNT               RsvpMetricsRequestColumnNamesEnum
	PATHS_TX                     RsvpMetricsRequestColumnNamesEnum
	PATHS_RX                     RsvpMetricsRequestColumnNamesEnum
	RESVS_TX                     RsvpMetricsRequestColumnNamesEnum
	RESVS_RX                     RsvpMetricsRequestColumnNamesEnum
	PATH_TEARS_TX                RsvpMetricsRequestColumnNamesEnum
	PATH_TEARS_RX                RsvpMetricsRequestColumnNamesEnum
	RESV_TEARS_TX                RsvpMetricsRequestColumnNamesEnum
	RESV_TEARS_RX                RsvpMetricsRequestColumnNamesEnum
	PATH_ERRORS_TX               RsvpMetricsRequestColumnNamesEnum
	PATH_ERRORS_RX               RsvpMetricsRequestColumnNamesEnum
	RESV_ERRORS_TX               RsvpMetricsRequestColumnNamesEnum
	RESV_ERRORS_RX               RsvpMetricsRequestColumnNamesEnum
	RESV_CONF_TX                 RsvpMetricsRequestColumnNamesEnum
	RESV_CONF_RX                 RsvpMetricsRequestColumnNamesEnum
	HELLOS_TX                    RsvpMetricsRequestColumnNamesEnum
	HELLOS_RX                    RsvpMetricsRequestColumnNamesEnum
	ACKS_TX                      RsvpMetricsRequestColumnNamesEnum
	ACKS_RX                      RsvpMetricsRequestColumnNamesEnum
	NACKS_TX                     RsvpMetricsRequestColumnNamesEnum
	NACKS_RX                     RsvpMetricsRequestColumnNamesEnum
	SREFRESH_TX                  RsvpMetricsRequestColumnNamesEnum
	SREFRESH_RX                  RsvpMetricsRequestColumnNamesEnum
	BUNDLE_TX                    RsvpMetricsRequestColumnNamesEnum
	BUNDLE_RX                    RsvpMetricsRequestColumnNamesEnum
	PATH_REEVALUATION_REQUEST_TX RsvpMetricsRequestColumnNamesEnum
	PATH_REOPTIMIZATIONS         RsvpMetricsRequestColumnNamesEnum
}{
	INGRESS_P2P_LSPS_CONFIGURED:  RsvpMetricsRequestColumnNamesEnum("ingress_p2p_lsps_configured"),
	INGRESS_P2P_LSPS_UP:          RsvpMetricsRequestColumnNamesEnum("ingress_p2p_lsps_up"),
	EGRESS_P2P_LSPS_UP:           RsvpMetricsRequestColumnNamesEnum("egress_p2p_lsps_up"),
	LSP_FLAP_COUNT:               RsvpMetricsRequestColumnNamesEnum("lsp_flap_count"),
	PATHS_TX:                     RsvpMetricsRequestColumnNamesEnum("paths_tx"),
	PATHS_RX:                     RsvpMetricsRequestColumnNamesEnum("paths_rx"),
	RESVS_TX:                     RsvpMetricsRequestColumnNamesEnum("resvs_tx"),
	RESVS_RX:                     RsvpMetricsRequestColumnNamesEnum("resvs_rx"),
	PATH_TEARS_TX:                RsvpMetricsRequestColumnNamesEnum("path_tears_tx"),
	PATH_TEARS_RX:                RsvpMetricsRequestColumnNamesEnum("path_tears_rx"),
	RESV_TEARS_TX:                RsvpMetricsRequestColumnNamesEnum("resv_tears_tx"),
	RESV_TEARS_RX:                RsvpMetricsRequestColumnNamesEnum("resv_tears_rx"),
	PATH_ERRORS_TX:               RsvpMetricsRequestColumnNamesEnum("path_errors_tx"),
	PATH_ERRORS_RX:               RsvpMetricsRequestColumnNamesEnum("path_errors_rx"),
	RESV_ERRORS_TX:               RsvpMetricsRequestColumnNamesEnum("resv_errors_tx"),
	RESV_ERRORS_RX:               RsvpMetricsRequestColumnNamesEnum("resv_errors_rx"),
	RESV_CONF_TX:                 RsvpMetricsRequestColumnNamesEnum("resv_conf_tx"),
	RESV_CONF_RX:                 RsvpMetricsRequestColumnNamesEnum("resv_conf_rx"),
	HELLOS_TX:                    RsvpMetricsRequestColumnNamesEnum("hellos_tx"),
	HELLOS_RX:                    RsvpMetricsRequestColumnNamesEnum("hellos_rx"),
	ACKS_TX:                      RsvpMetricsRequestColumnNamesEnum("acks_tx"),
	ACKS_RX:                      RsvpMetricsRequestColumnNamesEnum("acks_rx"),
	NACKS_TX:                     RsvpMetricsRequestColumnNamesEnum("nacks_tx"),
	NACKS_RX:                     RsvpMetricsRequestColumnNamesEnum("nacks_rx"),
	SREFRESH_TX:                  RsvpMetricsRequestColumnNamesEnum("srefresh_tx"),
	SREFRESH_RX:                  RsvpMetricsRequestColumnNamesEnum("srefresh_rx"),
	BUNDLE_TX:                    RsvpMetricsRequestColumnNamesEnum("bundle_tx"),
	BUNDLE_RX:                    RsvpMetricsRequestColumnNamesEnum("bundle_rx"),
	PATH_REEVALUATION_REQUEST_TX: RsvpMetricsRequestColumnNamesEnum("path_reevaluation_request_tx"),
	PATH_REOPTIMIZATIONS:         RsvpMetricsRequestColumnNamesEnum("path_reoptimizations"),
}

Enum of ColumnNames on RsvpMetricsRequest

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

Enum of State on StatePortCapture

View Source
var StatePortChoice = struct {
	LINK    StatePortChoiceEnum
	CAPTURE StatePortChoiceEnum
}{
	LINK:    StatePortChoiceEnum("link"),
	CAPTURE: StatePortChoiceEnum("capture"),
}

Enum of Choice on StatePort

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

Enum of State on StatePortLink

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

Enum of State on StateProtocolAll

View Source
var StateProtocolChoice = struct {
	ALL   StateProtocolChoiceEnum
	ROUTE StateProtocolChoiceEnum
	LACP  StateProtocolChoiceEnum
}{
	ALL:   StateProtocolChoiceEnum("all"),
	ROUTE: StateProtocolChoiceEnum("route"),
	LACP:  StateProtocolChoiceEnum("lacp"),
}

Enum of Choice on StateProtocol

Enum of State on StateProtocolLacpAdmin

View Source
var StateProtocolLacpChoice = struct {
	ADMIN StateProtocolLacpChoiceEnum
}{
	ADMIN: StateProtocolLacpChoiceEnum("admin"),
}

Enum of Choice on StateProtocolLacp

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

Enum of State on StateProtocolRoute

View Source
var StateTrafficChoice = struct {
	FLOW_TRANSMIT StateTrafficChoiceEnum
}{
	FLOW_TRANSMIT: StateTrafficChoiceEnum("flow_transmit"),
}

Enum of Choice on StateTraffic

Enum of State on StateTrafficFlowTransmit

View Source
var StatesRequestChoice = struct {
	IPV4_NEIGHBORS StatesRequestChoiceEnum
	IPV6_NEIGHBORS StatesRequestChoiceEnum
	BGP_PREFIXES   StatesRequestChoiceEnum
	ISIS_LSPS      StatesRequestChoiceEnum
	LLDP_NEIGHBORS StatesRequestChoiceEnum
	RSVP_LSPS      StatesRequestChoiceEnum
}{
	IPV4_NEIGHBORS: StatesRequestChoiceEnum("ipv4_neighbors"),
	IPV6_NEIGHBORS: StatesRequestChoiceEnum("ipv6_neighbors"),
	BGP_PREFIXES:   StatesRequestChoiceEnum("bgp_prefixes"),
	ISIS_LSPS:      StatesRequestChoiceEnum("isis_lsps"),
	LLDP_NEIGHBORS: StatesRequestChoiceEnum("lldp_neighbors"),
	RSVP_LSPS:      StatesRequestChoiceEnum("rsvp_lsps"),
}

Enum of Choice on StatesRequest

View Source
var StatesResponseChoice = struct {
	IPV4_NEIGHBORS StatesResponseChoiceEnum
	IPV6_NEIGHBORS StatesResponseChoiceEnum
	BGP_PREFIXES   StatesResponseChoiceEnum
	ISIS_LSPS      StatesResponseChoiceEnum
	LLDP_NEIGHBORS StatesResponseChoiceEnum
	RSVP_LSPS      StatesResponseChoiceEnum
}{
	IPV4_NEIGHBORS: StatesResponseChoiceEnum("ipv4_neighbors"),
	IPV6_NEIGHBORS: StatesResponseChoiceEnum("ipv6_neighbors"),
	BGP_PREFIXES:   StatesResponseChoiceEnum("bgp_prefixes"),
	ISIS_LSPS:      StatesResponseChoiceEnum("isis_lsps"),
	LLDP_NEIGHBORS: StatesResponseChoiceEnum("lldp_neighbors"),
	RSVP_LSPS:      StatesResponseChoiceEnum("rsvp_lsps"),
}

Enum of Choice on StatesResponse

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

Enum of State on TransmitState

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

Enum of Choice on VxlanV4TunnelDestinationIPMode

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

Enum of Choice on VxlanV6TunnelDestinationIPMode

Functions

func StartMockGrpcServer

func StartMockGrpcServer(location string) error

func StartMockHttpServer

func StartMockHttpServer(location string)

Types

type ActionProtocol added in v0.10.10

type ActionProtocol interface {
	Validation
	// Msg marshals ActionProtocol to protobuf object *otg.ActionProtocol
	// and doesn't set defaults
	Msg() *otg.ActionProtocol
	// SetMsg unmarshals ActionProtocol from protobuf object *otg.ActionProtocol
	// and doesn't set defaults
	SetMsg(*otg.ActionProtocol) ActionProtocol
	// ToProto marshals ActionProtocol to protobuf object *otg.ActionProtocol
	ToProto() (*otg.ActionProtocol, error)
	// ToPbText marshals ActionProtocol to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionProtocol to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionProtocol to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionProtocol from protobuf object *otg.ActionProtocol
	FromProto(msg *otg.ActionProtocol) (ActionProtocol, error)
	// FromPbText unmarshals ActionProtocol from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionProtocol from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionProtocol from JSON text
	FromJson(value string) error
	// Validate validates ActionProtocol
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionProtocol, error)

	// Choice returns ActionProtocolChoiceEnum, set in ActionProtocol
	Choice() ActionProtocolChoiceEnum
	// SetChoice assigns ActionProtocolChoiceEnum provided by user to ActionProtocol
	SetChoice(value ActionProtocolChoiceEnum) ActionProtocol
	// Ipv4 returns ActionProtocolIpv4, set in ActionProtocol.
	// ActionProtocolIpv4 is actions associated with IPv4 on configured resources.
	Ipv4() ActionProtocolIpv4
	// SetIpv4 assigns ActionProtocolIpv4 provided by user to ActionProtocol.
	// ActionProtocolIpv4 is actions associated with IPv4 on configured resources.
	SetIpv4(value ActionProtocolIpv4) ActionProtocol
	// HasIpv4 checks if Ipv4 has been set in ActionProtocol
	HasIpv4() bool
	// Ipv6 returns ActionProtocolIpv6, set in ActionProtocol.
	// ActionProtocolIpv6 is actions associated with IPv6 on configured resources.
	Ipv6() ActionProtocolIpv6
	// SetIpv6 assigns ActionProtocolIpv6 provided by user to ActionProtocol.
	// ActionProtocolIpv6 is actions associated with IPv6 on configured resources.
	SetIpv6(value ActionProtocolIpv6) ActionProtocol
	// HasIpv6 checks if Ipv6 has been set in ActionProtocol
	HasIpv6() bool
	// Bgp returns ActionProtocolBgp, set in ActionProtocol.
	// ActionProtocolBgp is actions associated with BGP on configured resources.
	Bgp() ActionProtocolBgp
	// SetBgp assigns ActionProtocolBgp provided by user to ActionProtocol.
	// ActionProtocolBgp is actions associated with BGP on configured resources.
	SetBgp(value ActionProtocolBgp) ActionProtocol
	// HasBgp checks if Bgp has been set in ActionProtocol
	HasBgp() bool
	// contains filtered or unexported methods
}

ActionProtocol is actions associated with protocols on configured resources.

func NewActionProtocol added in v0.10.10

func NewActionProtocol() ActionProtocol

type ActionProtocolBgp added in v0.10.11

type ActionProtocolBgp interface {
	Validation
	// Msg marshals ActionProtocolBgp to protobuf object *otg.ActionProtocolBgp
	// and doesn't set defaults
	Msg() *otg.ActionProtocolBgp
	// SetMsg unmarshals ActionProtocolBgp from protobuf object *otg.ActionProtocolBgp
	// and doesn't set defaults
	SetMsg(*otg.ActionProtocolBgp) ActionProtocolBgp
	// ToProto marshals ActionProtocolBgp to protobuf object *otg.ActionProtocolBgp
	ToProto() (*otg.ActionProtocolBgp, error)
	// ToPbText marshals ActionProtocolBgp to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionProtocolBgp to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionProtocolBgp to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionProtocolBgp from protobuf object *otg.ActionProtocolBgp
	FromProto(msg *otg.ActionProtocolBgp) (ActionProtocolBgp, error)
	// FromPbText unmarshals ActionProtocolBgp from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionProtocolBgp from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionProtocolBgp from JSON text
	FromJson(value string) error
	// Validate validates ActionProtocolBgp
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionProtocolBgp, error)

	// Choice returns ActionProtocolBgpChoiceEnum, set in ActionProtocolBgp
	Choice() ActionProtocolBgpChoiceEnum
	// SetChoice assigns ActionProtocolBgpChoiceEnum provided by user to ActionProtocolBgp
	SetChoice(value ActionProtocolBgpChoiceEnum) ActionProtocolBgp
	// Notification returns ActionProtocolBgpNotification, set in ActionProtocolBgp.
	// ActionProtocolBgpNotification is a NOTIFICATION message is sent when an error is detected with the BGP session, such as hold timer expiring, misconfigured AS number  or a BGP session reset is requested. This causes the BGP connection to close. Send explicit NOTIFICATIONs for list of specified  BGP peers. If a user wants to send custom Error Code and Error Subcode the custom object should be configured. A user can send IANA defined BGP NOTIFICATIONs according to https://www.iana.org/assignments/bgp-parameters/bgp-parameters.xhtml.
	Notification() ActionProtocolBgpNotification
	// SetNotification assigns ActionProtocolBgpNotification provided by user to ActionProtocolBgp.
	// ActionProtocolBgpNotification is a NOTIFICATION message is sent when an error is detected with the BGP session, such as hold timer expiring, misconfigured AS number  or a BGP session reset is requested. This causes the BGP connection to close. Send explicit NOTIFICATIONs for list of specified  BGP peers. If a user wants to send custom Error Code and Error Subcode the custom object should be configured. A user can send IANA defined BGP NOTIFICATIONs according to https://www.iana.org/assignments/bgp-parameters/bgp-parameters.xhtml.
	SetNotification(value ActionProtocolBgpNotification) ActionProtocolBgp
	// HasNotification checks if Notification has been set in ActionProtocolBgp
	HasNotification() bool
	// InitiateGracefulRestart returns ActionProtocolBgpInitiateGracefulRestart, set in ActionProtocolBgp.
	// ActionProtocolBgpInitiateGracefulRestart is initiates BGP Graceful Restart process for the selected BGP peers. If no name is specified then Graceful Restart will be sent to all configured BGP peers.
	InitiateGracefulRestart() ActionProtocolBgpInitiateGracefulRestart
	// SetInitiateGracefulRestart assigns ActionProtocolBgpInitiateGracefulRestart provided by user to ActionProtocolBgp.
	// ActionProtocolBgpInitiateGracefulRestart is initiates BGP Graceful Restart process for the selected BGP peers. If no name is specified then Graceful Restart will be sent to all configured BGP peers.
	SetInitiateGracefulRestart(value ActionProtocolBgpInitiateGracefulRestart) ActionProtocolBgp
	// HasInitiateGracefulRestart checks if InitiateGracefulRestart has been set in ActionProtocolBgp
	HasInitiateGracefulRestart() bool
	// contains filtered or unexported methods
}

ActionProtocolBgp is actions associated with BGP on configured resources.

func NewActionProtocolBgp added in v0.10.11

func NewActionProtocolBgp() ActionProtocolBgp

type ActionProtocolBgpChoiceEnum added in v0.10.11

type ActionProtocolBgpChoiceEnum string

type ActionProtocolBgpInitiateGracefulRestart added in v0.11.2

type ActionProtocolBgpInitiateGracefulRestart interface {
	Validation
	// Msg marshals ActionProtocolBgpInitiateGracefulRestart to protobuf object *otg.ActionProtocolBgpInitiateGracefulRestart
	// and doesn't set defaults
	Msg() *otg.ActionProtocolBgpInitiateGracefulRestart
	// SetMsg unmarshals ActionProtocolBgpInitiateGracefulRestart from protobuf object *otg.ActionProtocolBgpInitiateGracefulRestart
	// and doesn't set defaults
	SetMsg(*otg.ActionProtocolBgpInitiateGracefulRestart) ActionProtocolBgpInitiateGracefulRestart
	// ToProto marshals ActionProtocolBgpInitiateGracefulRestart to protobuf object *otg.ActionProtocolBgpInitiateGracefulRestart
	ToProto() (*otg.ActionProtocolBgpInitiateGracefulRestart, error)
	// ToPbText marshals ActionProtocolBgpInitiateGracefulRestart to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionProtocolBgpInitiateGracefulRestart to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionProtocolBgpInitiateGracefulRestart to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionProtocolBgpInitiateGracefulRestart from protobuf object *otg.ActionProtocolBgpInitiateGracefulRestart
	FromProto(msg *otg.ActionProtocolBgpInitiateGracefulRestart) (ActionProtocolBgpInitiateGracefulRestart, error)
	// FromPbText unmarshals ActionProtocolBgpInitiateGracefulRestart from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionProtocolBgpInitiateGracefulRestart from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionProtocolBgpInitiateGracefulRestart from JSON text
	FromJson(value string) error
	// Validate validates ActionProtocolBgpInitiateGracefulRestart
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionProtocolBgpInitiateGracefulRestart, error)

	// PeerNames returns []string, set in ActionProtocolBgpInitiateGracefulRestart.
	PeerNames() []string
	// SetPeerNames assigns []string provided by user to ActionProtocolBgpInitiateGracefulRestart
	SetPeerNames(value []string) ActionProtocolBgpInitiateGracefulRestart
	// RestartDelay returns uint32, set in ActionProtocolBgpInitiateGracefulRestart.
	RestartDelay() uint32
	// SetRestartDelay assigns uint32 provided by user to ActionProtocolBgpInitiateGracefulRestart
	SetRestartDelay(value uint32) ActionProtocolBgpInitiateGracefulRestart
	// HasRestartDelay checks if RestartDelay has been set in ActionProtocolBgpInitiateGracefulRestart
	HasRestartDelay() bool
	// contains filtered or unexported methods
}

ActionProtocolBgpInitiateGracefulRestart is initiates BGP Graceful Restart process for the selected BGP peers. If no name is specified then Graceful Restart will be sent to all configured BGP peers.

func NewActionProtocolBgpInitiateGracefulRestart added in v0.11.2

func NewActionProtocolBgpInitiateGracefulRestart() ActionProtocolBgpInitiateGracefulRestart

type ActionProtocolBgpNotification added in v0.10.11

type ActionProtocolBgpNotification interface {
	Validation
	// Msg marshals ActionProtocolBgpNotification to protobuf object *otg.ActionProtocolBgpNotification
	// and doesn't set defaults
	Msg() *otg.ActionProtocolBgpNotification
	// SetMsg unmarshals ActionProtocolBgpNotification from protobuf object *otg.ActionProtocolBgpNotification
	// and doesn't set defaults
	SetMsg(*otg.ActionProtocolBgpNotification) ActionProtocolBgpNotification
	// ToProto marshals ActionProtocolBgpNotification to protobuf object *otg.ActionProtocolBgpNotification
	ToProto() (*otg.ActionProtocolBgpNotification, error)
	// ToPbText marshals ActionProtocolBgpNotification to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionProtocolBgpNotification to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionProtocolBgpNotification to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionProtocolBgpNotification from protobuf object *otg.ActionProtocolBgpNotification
	FromProto(msg *otg.ActionProtocolBgpNotification) (ActionProtocolBgpNotification, error)
	// FromPbText unmarshals ActionProtocolBgpNotification from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionProtocolBgpNotification from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionProtocolBgpNotification from JSON text
	FromJson(value string) error
	// Validate validates ActionProtocolBgpNotification
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionProtocolBgpNotification, error)

	// Names returns []string, set in ActionProtocolBgpNotification.
	Names() []string
	// SetNames assigns []string provided by user to ActionProtocolBgpNotification
	SetNames(value []string) ActionProtocolBgpNotification
	// Choice returns ActionProtocolBgpNotificationChoiceEnum, set in ActionProtocolBgpNotification
	Choice() ActionProtocolBgpNotificationChoiceEnum
	// SetChoice assigns ActionProtocolBgpNotificationChoiceEnum provided by user to ActionProtocolBgpNotification
	SetChoice(value ActionProtocolBgpNotificationChoiceEnum) ActionProtocolBgpNotification
	// HasChoice checks if Choice has been set in ActionProtocolBgpNotification
	HasChoice() bool
	// Cease returns DeviceBgpCeaseError, set in ActionProtocolBgpNotification.
	// DeviceBgpCeaseError is in the absence of any fatal errors, a BGP peer can close its BGP connection by sending the NOTIFICATION message with the  Error Code Cease.
	Cease() DeviceBgpCeaseError
	// SetCease assigns DeviceBgpCeaseError provided by user to ActionProtocolBgpNotification.
	// DeviceBgpCeaseError is in the absence of any fatal errors, a BGP peer can close its BGP connection by sending the NOTIFICATION message with the  Error Code Cease.
	SetCease(value DeviceBgpCeaseError) ActionProtocolBgpNotification
	// HasCease checks if Cease has been set in ActionProtocolBgpNotification
	HasCease() bool
	// MessageHeaderError returns DeviceBgpMessageHeaderError, set in ActionProtocolBgpNotification.
	// DeviceBgpMessageHeaderError is all errors detected while processing the Message Header are indicated by sending the NOTIFICATION message  with the Error Code-Message Header Error. The Error Subcode elaborates on the specific nature of the error.
	MessageHeaderError() DeviceBgpMessageHeaderError
	// SetMessageHeaderError assigns DeviceBgpMessageHeaderError provided by user to ActionProtocolBgpNotification.
	// DeviceBgpMessageHeaderError is all errors detected while processing the Message Header are indicated by sending the NOTIFICATION message  with the Error Code-Message Header Error. The Error Subcode elaborates on the specific nature of the error.
	SetMessageHeaderError(value DeviceBgpMessageHeaderError) ActionProtocolBgpNotification
	// HasMessageHeaderError checks if MessageHeaderError has been set in ActionProtocolBgpNotification
	HasMessageHeaderError() bool
	// OpenMessageError returns DeviceBgpOpenMessageError, set in ActionProtocolBgpNotification.
	// DeviceBgpOpenMessageError is all errors detected while processing the OPEN message are indicated by sending the NOTIFICATION message  with the Error Code-Open Message Error. The Error Subcode elaborates on the specific nature of the error.
	OpenMessageError() DeviceBgpOpenMessageError
	// SetOpenMessageError assigns DeviceBgpOpenMessageError provided by user to ActionProtocolBgpNotification.
	// DeviceBgpOpenMessageError is all errors detected while processing the OPEN message are indicated by sending the NOTIFICATION message  with the Error Code-Open Message Error. The Error Subcode elaborates on the specific nature of the error.
	SetOpenMessageError(value DeviceBgpOpenMessageError) ActionProtocolBgpNotification
	// HasOpenMessageError checks if OpenMessageError has been set in ActionProtocolBgpNotification
	HasOpenMessageError() bool
	// UpdateMessageError returns DeviceBgpUpdateMessageError, set in ActionProtocolBgpNotification.
	// DeviceBgpUpdateMessageError is all errors detected while processing the UPDATE message are indicated by sending the NOTIFICATION message  with the Error Code-Update Message Error. The Error Subcode elaborates on the specific nature of the error.
	UpdateMessageError() DeviceBgpUpdateMessageError
	// SetUpdateMessageError assigns DeviceBgpUpdateMessageError provided by user to ActionProtocolBgpNotification.
	// DeviceBgpUpdateMessageError is all errors detected while processing the UPDATE message are indicated by sending the NOTIFICATION message  with the Error Code-Update Message Error. The Error Subcode elaborates on the specific nature of the error.
	SetUpdateMessageError(value DeviceBgpUpdateMessageError) ActionProtocolBgpNotification
	// HasUpdateMessageError checks if UpdateMessageError has been set in ActionProtocolBgpNotification
	HasUpdateMessageError() bool
	// HoldTimerExpired returns DeviceBgpHoldTimerExpired, set in ActionProtocolBgpNotification.
	// DeviceBgpHoldTimerExpired is if a system does not receive successive KEEPALIVE, UPDATE, and/or NOTIFICATION messages within the period specified  in the Hold Time field of the OPEN message, then the NOTIFICATION message with the Hold Timer Expired Error Code(Error Code 4) is  sent and the BGP connection is closed. The Sub Code used is 0. If a user wants to use non zero Sub Code then CustomError can be used.
	HoldTimerExpired() DeviceBgpHoldTimerExpired
	// SetHoldTimerExpired assigns DeviceBgpHoldTimerExpired provided by user to ActionProtocolBgpNotification.
	// DeviceBgpHoldTimerExpired is if a system does not receive successive KEEPALIVE, UPDATE, and/or NOTIFICATION messages within the period specified  in the Hold Time field of the OPEN message, then the NOTIFICATION message with the Hold Timer Expired Error Code(Error Code 4) is  sent and the BGP connection is closed. The Sub Code used is 0. If a user wants to use non zero Sub Code then CustomError can be used.
	SetHoldTimerExpired(value DeviceBgpHoldTimerExpired) ActionProtocolBgpNotification
	// HasHoldTimerExpired checks if HoldTimerExpired has been set in ActionProtocolBgpNotification
	HasHoldTimerExpired() bool
	// FiniteStateMachineError returns DeviceBgpFiniteStateMachineError, set in ActionProtocolBgpNotification.
	// DeviceBgpFiniteStateMachineError is any error detected by the BGP Finite State Machine (e.g., receipt of an unexpected event) is indicated by  sending the NOTIFICATION message with the Error Code-Finite State Machine Error(Error Code 5). The Sub Code used is 0.  If a user wants to use non zero Sub Code then CustomError can be used.
	FiniteStateMachineError() DeviceBgpFiniteStateMachineError
	// SetFiniteStateMachineError assigns DeviceBgpFiniteStateMachineError provided by user to ActionProtocolBgpNotification.
	// DeviceBgpFiniteStateMachineError is any error detected by the BGP Finite State Machine (e.g., receipt of an unexpected event) is indicated by  sending the NOTIFICATION message with the Error Code-Finite State Machine Error(Error Code 5). The Sub Code used is 0.  If a user wants to use non zero Sub Code then CustomError can be used.
	SetFiniteStateMachineError(value DeviceBgpFiniteStateMachineError) ActionProtocolBgpNotification
	// HasFiniteStateMachineError checks if FiniteStateMachineError has been set in ActionProtocolBgpNotification
	HasFiniteStateMachineError() bool
	// Custom returns DeviceBgpCustomError, set in ActionProtocolBgpNotification.
	// DeviceBgpCustomError is a BGP peer can send NOTIFICATION message with user defined Error Code and Error Subcode.
	Custom() DeviceBgpCustomError
	// SetCustom assigns DeviceBgpCustomError provided by user to ActionProtocolBgpNotification.
	// DeviceBgpCustomError is a BGP peer can send NOTIFICATION message with user defined Error Code and Error Subcode.
	SetCustom(value DeviceBgpCustomError) ActionProtocolBgpNotification
	// HasCustom checks if Custom has been set in ActionProtocolBgpNotification
	HasCustom() bool
	// contains filtered or unexported methods
}

ActionProtocolBgpNotification is a NOTIFICATION message is sent when an error is detected with the BGP session, such as hold timer expiring, misconfigured AS number or a BGP session reset is requested. This causes the BGP connection to close. Send explicit NOTIFICATIONs for list of specified BGP peers. If a user wants to send custom Error Code and Error Subcode the custom object should be configured. A user can send IANA defined BGP NOTIFICATIONs according to https://www.iana.org/assignments/bgp-parameters/bgp-parameters.xhtml.

func NewActionProtocolBgpNotification added in v0.10.11

func NewActionProtocolBgpNotification() ActionProtocolBgpNotification

type ActionProtocolBgpNotificationChoiceEnum added in v0.10.11

type ActionProtocolBgpNotificationChoiceEnum string

type ActionProtocolChoiceEnum added in v0.10.10

type ActionProtocolChoiceEnum string

type ActionProtocolIpv4 added in v0.10.10

type ActionProtocolIpv4 interface {
	Validation
	// Msg marshals ActionProtocolIpv4 to protobuf object *otg.ActionProtocolIpv4
	// and doesn't set defaults
	Msg() *otg.ActionProtocolIpv4
	// SetMsg unmarshals ActionProtocolIpv4 from protobuf object *otg.ActionProtocolIpv4
	// and doesn't set defaults
	SetMsg(*otg.ActionProtocolIpv4) ActionProtocolIpv4
	// ToProto marshals ActionProtocolIpv4 to protobuf object *otg.ActionProtocolIpv4
	ToProto() (*otg.ActionProtocolIpv4, error)
	// ToPbText marshals ActionProtocolIpv4 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionProtocolIpv4 to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionProtocolIpv4 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionProtocolIpv4 from protobuf object *otg.ActionProtocolIpv4
	FromProto(msg *otg.ActionProtocolIpv4) (ActionProtocolIpv4, error)
	// FromPbText unmarshals ActionProtocolIpv4 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionProtocolIpv4 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionProtocolIpv4 from JSON text
	FromJson(value string) error
	// Validate validates ActionProtocolIpv4
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionProtocolIpv4, error)

	// Choice returns ActionProtocolIpv4ChoiceEnum, set in ActionProtocolIpv4
	Choice() ActionProtocolIpv4ChoiceEnum
	// SetChoice assigns ActionProtocolIpv4ChoiceEnum provided by user to ActionProtocolIpv4
	SetChoice(value ActionProtocolIpv4ChoiceEnum) ActionProtocolIpv4
	// Ping returns ActionProtocolIpv4Ping, set in ActionProtocolIpv4.
	// ActionProtocolIpv4Ping is request for initiating ping between multiple source and destination pairs.
	Ping() ActionProtocolIpv4Ping
	// SetPing assigns ActionProtocolIpv4Ping provided by user to ActionProtocolIpv4.
	// ActionProtocolIpv4Ping is request for initiating ping between multiple source and destination pairs.
	SetPing(value ActionProtocolIpv4Ping) ActionProtocolIpv4
	// HasPing checks if Ping has been set in ActionProtocolIpv4
	HasPing() bool
	// contains filtered or unexported methods
}

ActionProtocolIpv4 is actions associated with IPv4 on configured resources.

func NewActionProtocolIpv4 added in v0.10.10

func NewActionProtocolIpv4() ActionProtocolIpv4

type ActionProtocolIpv4ChoiceEnum added in v0.10.10

type ActionProtocolIpv4ChoiceEnum string

type ActionProtocolIpv4Ping added in v0.10.10

type ActionProtocolIpv4Ping interface {
	Validation
	// Msg marshals ActionProtocolIpv4Ping to protobuf object *otg.ActionProtocolIpv4Ping
	// and doesn't set defaults
	Msg() *otg.ActionProtocolIpv4Ping
	// SetMsg unmarshals ActionProtocolIpv4Ping from protobuf object *otg.ActionProtocolIpv4Ping
	// and doesn't set defaults
	SetMsg(*otg.ActionProtocolIpv4Ping) ActionProtocolIpv4Ping
	// ToProto marshals ActionProtocolIpv4Ping to protobuf object *otg.ActionProtocolIpv4Ping
	ToProto() (*otg.ActionProtocolIpv4Ping, error)
	// ToPbText marshals ActionProtocolIpv4Ping to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionProtocolIpv4Ping to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionProtocolIpv4Ping to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionProtocolIpv4Ping from protobuf object *otg.ActionProtocolIpv4Ping
	FromProto(msg *otg.ActionProtocolIpv4Ping) (ActionProtocolIpv4Ping, error)
	// FromPbText unmarshals ActionProtocolIpv4Ping from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionProtocolIpv4Ping from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionProtocolIpv4Ping from JSON text
	FromJson(value string) error
	// Validate validates ActionProtocolIpv4Ping
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionProtocolIpv4Ping, error)

	// Requests returns ActionProtocolIpv4PingActionProtocolIpv4PingRequestIterIter, set in ActionProtocolIpv4Ping
	Requests() ActionProtocolIpv4PingActionProtocolIpv4PingRequestIter
	// contains filtered or unexported methods
}

ActionProtocolIpv4Ping is request for initiating ping between multiple source and destination pairs.

func NewActionProtocolIpv4Ping added in v0.10.10

func NewActionProtocolIpv4Ping() ActionProtocolIpv4Ping

type ActionProtocolIpv4PingRequest added in v0.10.10

type ActionProtocolIpv4PingRequest interface {
	Validation
	// Msg marshals ActionProtocolIpv4PingRequest to protobuf object *otg.ActionProtocolIpv4PingRequest
	// and doesn't set defaults
	Msg() *otg.ActionProtocolIpv4PingRequest
	// SetMsg unmarshals ActionProtocolIpv4PingRequest from protobuf object *otg.ActionProtocolIpv4PingRequest
	// and doesn't set defaults
	SetMsg(*otg.ActionProtocolIpv4PingRequest) ActionProtocolIpv4PingRequest
	// ToProto marshals ActionProtocolIpv4PingRequest to protobuf object *otg.ActionProtocolIpv4PingRequest
	ToProto() (*otg.ActionProtocolIpv4PingRequest, error)
	// ToPbText marshals ActionProtocolIpv4PingRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionProtocolIpv4PingRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionProtocolIpv4PingRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionProtocolIpv4PingRequest from protobuf object *otg.ActionProtocolIpv4PingRequest
	FromProto(msg *otg.ActionProtocolIpv4PingRequest) (ActionProtocolIpv4PingRequest, error)
	// FromPbText unmarshals ActionProtocolIpv4PingRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionProtocolIpv4PingRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionProtocolIpv4PingRequest from JSON text
	FromJson(value string) error
	// Validate validates ActionProtocolIpv4PingRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionProtocolIpv4PingRequest, error)

	// SrcName returns string, set in ActionProtocolIpv4PingRequest.
	SrcName() string
	// SetSrcName assigns string provided by user to ActionProtocolIpv4PingRequest
	SetSrcName(value string) ActionProtocolIpv4PingRequest
	// HasSrcName checks if SrcName has been set in ActionProtocolIpv4PingRequest
	HasSrcName() bool
	// DstIp returns string, set in ActionProtocolIpv4PingRequest.
	DstIp() string
	// SetDstIp assigns string provided by user to ActionProtocolIpv4PingRequest
	SetDstIp(value string) ActionProtocolIpv4PingRequest
	// HasDstIp checks if DstIp has been set in ActionProtocolIpv4PingRequest
	HasDstIp() bool
	// contains filtered or unexported methods
}

ActionProtocolIpv4PingRequest is under Review: Most ping request parameters are still TBD.

Under Review: Most ping request parameters are still TBD.

Request for initiating ping between a single source and destination pair. For ping request, 1 IPv4 ICMP Echo Request shall be sent and wait for ping response to either succeed or time out. The API wait timeout for each request shall be 300ms.

func NewActionProtocolIpv4PingRequest added in v0.10.10

func NewActionProtocolIpv4PingRequest() ActionProtocolIpv4PingRequest

type ActionProtocolIpv6 added in v0.10.10

type ActionProtocolIpv6 interface {
	Validation
	// Msg marshals ActionProtocolIpv6 to protobuf object *otg.ActionProtocolIpv6
	// and doesn't set defaults
	Msg() *otg.ActionProtocolIpv6
	// SetMsg unmarshals ActionProtocolIpv6 from protobuf object *otg.ActionProtocolIpv6
	// and doesn't set defaults
	SetMsg(*otg.ActionProtocolIpv6) ActionProtocolIpv6
	// ToProto marshals ActionProtocolIpv6 to protobuf object *otg.ActionProtocolIpv6
	ToProto() (*otg.ActionProtocolIpv6, error)
	// ToPbText marshals ActionProtocolIpv6 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionProtocolIpv6 to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionProtocolIpv6 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionProtocolIpv6 from protobuf object *otg.ActionProtocolIpv6
	FromProto(msg *otg.ActionProtocolIpv6) (ActionProtocolIpv6, error)
	// FromPbText unmarshals ActionProtocolIpv6 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionProtocolIpv6 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionProtocolIpv6 from JSON text
	FromJson(value string) error
	// Validate validates ActionProtocolIpv6
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionProtocolIpv6, error)

	// Choice returns ActionProtocolIpv6ChoiceEnum, set in ActionProtocolIpv6
	Choice() ActionProtocolIpv6ChoiceEnum
	// SetChoice assigns ActionProtocolIpv6ChoiceEnum provided by user to ActionProtocolIpv6
	SetChoice(value ActionProtocolIpv6ChoiceEnum) ActionProtocolIpv6
	// Ping returns ActionProtocolIpv6Ping, set in ActionProtocolIpv6.
	// ActionProtocolIpv6Ping is request for initiating ping between multiple source and destination pairs.
	Ping() ActionProtocolIpv6Ping
	// SetPing assigns ActionProtocolIpv6Ping provided by user to ActionProtocolIpv6.
	// ActionProtocolIpv6Ping is request for initiating ping between multiple source and destination pairs.
	SetPing(value ActionProtocolIpv6Ping) ActionProtocolIpv6
	// HasPing checks if Ping has been set in ActionProtocolIpv6
	HasPing() bool
	// contains filtered or unexported methods
}

ActionProtocolIpv6 is actions associated with IPv6 on configured resources.

func NewActionProtocolIpv6 added in v0.10.10

func NewActionProtocolIpv6() ActionProtocolIpv6

type ActionProtocolIpv6ChoiceEnum added in v0.10.10

type ActionProtocolIpv6ChoiceEnum string

type ActionProtocolIpv6Ping added in v0.10.10

type ActionProtocolIpv6Ping interface {
	Validation
	// Msg marshals ActionProtocolIpv6Ping to protobuf object *otg.ActionProtocolIpv6Ping
	// and doesn't set defaults
	Msg() *otg.ActionProtocolIpv6Ping
	// SetMsg unmarshals ActionProtocolIpv6Ping from protobuf object *otg.ActionProtocolIpv6Ping
	// and doesn't set defaults
	SetMsg(*otg.ActionProtocolIpv6Ping) ActionProtocolIpv6Ping
	// ToProto marshals ActionProtocolIpv6Ping to protobuf object *otg.ActionProtocolIpv6Ping
	ToProto() (*otg.ActionProtocolIpv6Ping, error)
	// ToPbText marshals ActionProtocolIpv6Ping to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionProtocolIpv6Ping to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionProtocolIpv6Ping to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionProtocolIpv6Ping from protobuf object *otg.ActionProtocolIpv6Ping
	FromProto(msg *otg.ActionProtocolIpv6Ping) (ActionProtocolIpv6Ping, error)
	// FromPbText unmarshals ActionProtocolIpv6Ping from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionProtocolIpv6Ping from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionProtocolIpv6Ping from JSON text
	FromJson(value string) error
	// Validate validates ActionProtocolIpv6Ping
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionProtocolIpv6Ping, error)

	// Requests returns ActionProtocolIpv6PingActionProtocolIpv6PingRequestIterIter, set in ActionProtocolIpv6Ping
	Requests() ActionProtocolIpv6PingActionProtocolIpv6PingRequestIter
	// contains filtered or unexported methods
}

ActionProtocolIpv6Ping is request for initiating ping between multiple source and destination pairs.

func NewActionProtocolIpv6Ping added in v0.10.10

func NewActionProtocolIpv6Ping() ActionProtocolIpv6Ping

type ActionProtocolIpv6PingRequest added in v0.10.10

type ActionProtocolIpv6PingRequest interface {
	Validation
	// Msg marshals ActionProtocolIpv6PingRequest to protobuf object *otg.ActionProtocolIpv6PingRequest
	// and doesn't set defaults
	Msg() *otg.ActionProtocolIpv6PingRequest
	// SetMsg unmarshals ActionProtocolIpv6PingRequest from protobuf object *otg.ActionProtocolIpv6PingRequest
	// and doesn't set defaults
	SetMsg(*otg.ActionProtocolIpv6PingRequest) ActionProtocolIpv6PingRequest
	// ToProto marshals ActionProtocolIpv6PingRequest to protobuf object *otg.ActionProtocolIpv6PingRequest
	ToProto() (*otg.ActionProtocolIpv6PingRequest, error)
	// ToPbText marshals ActionProtocolIpv6PingRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionProtocolIpv6PingRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionProtocolIpv6PingRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionProtocolIpv6PingRequest from protobuf object *otg.ActionProtocolIpv6PingRequest
	FromProto(msg *otg.ActionProtocolIpv6PingRequest) (ActionProtocolIpv6PingRequest, error)
	// FromPbText unmarshals ActionProtocolIpv6PingRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionProtocolIpv6PingRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionProtocolIpv6PingRequest from JSON text
	FromJson(value string) error
	// Validate validates ActionProtocolIpv6PingRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionProtocolIpv6PingRequest, error)

	// SrcName returns string, set in ActionProtocolIpv6PingRequest.
	SrcName() string
	// SetSrcName assigns string provided by user to ActionProtocolIpv6PingRequest
	SetSrcName(value string) ActionProtocolIpv6PingRequest
	// HasSrcName checks if SrcName has been set in ActionProtocolIpv6PingRequest
	HasSrcName() bool
	// DstIp returns string, set in ActionProtocolIpv6PingRequest.
	DstIp() string
	// SetDstIp assigns string provided by user to ActionProtocolIpv6PingRequest
	SetDstIp(value string) ActionProtocolIpv6PingRequest
	// HasDstIp checks if DstIp has been set in ActionProtocolIpv6PingRequest
	HasDstIp() bool
	// contains filtered or unexported methods
}

ActionProtocolIpv6PingRequest is under Review: Most ping request parameters are still TBD.

Under Review: Most ping request parameters are still TBD.

Request for initiating ping between a single source and destination pair. For ping request, 1 IPv6 ICMP Echo Request shall be sent and wait for ping response to either succeed or time out. The API wait timeout for each request shall be 300ms.

func NewActionProtocolIpv6PingRequest added in v0.10.10

func NewActionProtocolIpv6PingRequest() ActionProtocolIpv6PingRequest

type ActionResponse added in v0.10.10

type ActionResponse interface {
	Validation
	// Msg marshals ActionResponse to protobuf object *otg.ActionResponse
	// and doesn't set defaults
	Msg() *otg.ActionResponse
	// SetMsg unmarshals ActionResponse from protobuf object *otg.ActionResponse
	// and doesn't set defaults
	SetMsg(*otg.ActionResponse) ActionResponse
	// ToProto marshals ActionResponse to protobuf object *otg.ActionResponse
	ToProto() (*otg.ActionResponse, error)
	// ToPbText marshals ActionResponse to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionResponse to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionResponse to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionResponse from protobuf object *otg.ActionResponse
	FromProto(msg *otg.ActionResponse) (ActionResponse, error)
	// FromPbText unmarshals ActionResponse from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionResponse from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionResponse from JSON text
	FromJson(value string) error
	// Validate validates ActionResponse
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionResponse, error)

	// Choice returns ActionResponseChoiceEnum, set in ActionResponse
	Choice() ActionResponseChoiceEnum
	// SetChoice assigns ActionResponseChoiceEnum provided by user to ActionResponse
	SetChoice(value ActionResponseChoiceEnum) ActionResponse
	// Protocol returns ActionResponseProtocol, set in ActionResponse.
	// ActionResponseProtocol is response for actions associated with protocols on configured resources.
	Protocol() ActionResponseProtocol
	// SetProtocol assigns ActionResponseProtocol provided by user to ActionResponse.
	// ActionResponseProtocol is response for actions associated with protocols on configured resources.
	SetProtocol(value ActionResponseProtocol) ActionResponse
	// HasProtocol checks if Protocol has been set in ActionResponse
	HasProtocol() bool
	// contains filtered or unexported methods
}

ActionResponse is response for action triggered against configured resources.

func NewActionResponse added in v0.10.10

func NewActionResponse() ActionResponse

type ActionResponseChoiceEnum added in v0.10.10

type ActionResponseChoiceEnum string

type ActionResponseProtocol added in v0.10.10

type ActionResponseProtocol interface {
	Validation
	// Msg marshals ActionResponseProtocol to protobuf object *otg.ActionResponseProtocol
	// and doesn't set defaults
	Msg() *otg.ActionResponseProtocol
	// SetMsg unmarshals ActionResponseProtocol from protobuf object *otg.ActionResponseProtocol
	// and doesn't set defaults
	SetMsg(*otg.ActionResponseProtocol) ActionResponseProtocol
	// ToProto marshals ActionResponseProtocol to protobuf object *otg.ActionResponseProtocol
	ToProto() (*otg.ActionResponseProtocol, error)
	// ToPbText marshals ActionResponseProtocol to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionResponseProtocol to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionResponseProtocol to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionResponseProtocol from protobuf object *otg.ActionResponseProtocol
	FromProto(msg *otg.ActionResponseProtocol) (ActionResponseProtocol, error)
	// FromPbText unmarshals ActionResponseProtocol from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionResponseProtocol from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionResponseProtocol from JSON text
	FromJson(value string) error
	// Validate validates ActionResponseProtocol
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionResponseProtocol, error)

	// Choice returns ActionResponseProtocolChoiceEnum, set in ActionResponseProtocol
	Choice() ActionResponseProtocolChoiceEnum
	// SetChoice assigns ActionResponseProtocolChoiceEnum provided by user to ActionResponseProtocol
	SetChoice(value ActionResponseProtocolChoiceEnum) ActionResponseProtocol
	// Ipv4 returns ActionResponseProtocolIpv4, set in ActionResponseProtocol.
	// ActionResponseProtocolIpv4 is response for actions associated with IPv4 on configured resources.
	Ipv4() ActionResponseProtocolIpv4
	// SetIpv4 assigns ActionResponseProtocolIpv4 provided by user to ActionResponseProtocol.
	// ActionResponseProtocolIpv4 is response for actions associated with IPv4 on configured resources.
	SetIpv4(value ActionResponseProtocolIpv4) ActionResponseProtocol
	// HasIpv4 checks if Ipv4 has been set in ActionResponseProtocol
	HasIpv4() bool
	// Ipv6 returns ActionResponseProtocolIpv6, set in ActionResponseProtocol.
	// ActionResponseProtocolIpv6 is response for actions associated with IPv6 on configured resources.
	Ipv6() ActionResponseProtocolIpv6
	// SetIpv6 assigns ActionResponseProtocolIpv6 provided by user to ActionResponseProtocol.
	// ActionResponseProtocolIpv6 is response for actions associated with IPv6 on configured resources.
	SetIpv6(value ActionResponseProtocolIpv6) ActionResponseProtocol
	// HasIpv6 checks if Ipv6 has been set in ActionResponseProtocol
	HasIpv6() bool
	// contains filtered or unexported methods
}

ActionResponseProtocol is response for actions associated with protocols on configured resources.

func NewActionResponseProtocol added in v0.10.10

func NewActionResponseProtocol() ActionResponseProtocol

type ActionResponseProtocolChoiceEnum added in v0.10.10

type ActionResponseProtocolChoiceEnum string

type ActionResponseProtocolIpv4 added in v0.10.10

type ActionResponseProtocolIpv4 interface {
	Validation
	// Msg marshals ActionResponseProtocolIpv4 to protobuf object *otg.ActionResponseProtocolIpv4
	// and doesn't set defaults
	Msg() *otg.ActionResponseProtocolIpv4
	// SetMsg unmarshals ActionResponseProtocolIpv4 from protobuf object *otg.ActionResponseProtocolIpv4
	// and doesn't set defaults
	SetMsg(*otg.ActionResponseProtocolIpv4) ActionResponseProtocolIpv4
	// ToProto marshals ActionResponseProtocolIpv4 to protobuf object *otg.ActionResponseProtocolIpv4
	ToProto() (*otg.ActionResponseProtocolIpv4, error)
	// ToPbText marshals ActionResponseProtocolIpv4 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionResponseProtocolIpv4 to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionResponseProtocolIpv4 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionResponseProtocolIpv4 from protobuf object *otg.ActionResponseProtocolIpv4
	FromProto(msg *otg.ActionResponseProtocolIpv4) (ActionResponseProtocolIpv4, error)
	// FromPbText unmarshals ActionResponseProtocolIpv4 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionResponseProtocolIpv4 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionResponseProtocolIpv4 from JSON text
	FromJson(value string) error
	// Validate validates ActionResponseProtocolIpv4
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionResponseProtocolIpv4, error)

	// Choice returns ActionResponseProtocolIpv4ChoiceEnum, set in ActionResponseProtocolIpv4
	Choice() ActionResponseProtocolIpv4ChoiceEnum
	// SetChoice assigns ActionResponseProtocolIpv4ChoiceEnum provided by user to ActionResponseProtocolIpv4
	SetChoice(value ActionResponseProtocolIpv4ChoiceEnum) ActionResponseProtocolIpv4
	// Ping returns ActionResponseProtocolIpv4Ping, set in ActionResponseProtocolIpv4.
	// ActionResponseProtocolIpv4Ping is response for ping initiated between multiple source and destination pairs.
	Ping() ActionResponseProtocolIpv4Ping
	// SetPing assigns ActionResponseProtocolIpv4Ping provided by user to ActionResponseProtocolIpv4.
	// ActionResponseProtocolIpv4Ping is response for ping initiated between multiple source and destination pairs.
	SetPing(value ActionResponseProtocolIpv4Ping) ActionResponseProtocolIpv4
	// HasPing checks if Ping has been set in ActionResponseProtocolIpv4
	HasPing() bool
	// contains filtered or unexported methods
}

ActionResponseProtocolIpv4 is response for actions associated with IPv4 on configured resources.

func NewActionResponseProtocolIpv4 added in v0.10.10

func NewActionResponseProtocolIpv4() ActionResponseProtocolIpv4

type ActionResponseProtocolIpv4ChoiceEnum added in v0.10.10

type ActionResponseProtocolIpv4ChoiceEnum string

type ActionResponseProtocolIpv4Ping added in v0.10.10

type ActionResponseProtocolIpv4Ping interface {
	Validation
	// Msg marshals ActionResponseProtocolIpv4Ping to protobuf object *otg.ActionResponseProtocolIpv4Ping
	// and doesn't set defaults
	Msg() *otg.ActionResponseProtocolIpv4Ping
	// SetMsg unmarshals ActionResponseProtocolIpv4Ping from protobuf object *otg.ActionResponseProtocolIpv4Ping
	// and doesn't set defaults
	SetMsg(*otg.ActionResponseProtocolIpv4Ping) ActionResponseProtocolIpv4Ping
	// ToProto marshals ActionResponseProtocolIpv4Ping to protobuf object *otg.ActionResponseProtocolIpv4Ping
	ToProto() (*otg.ActionResponseProtocolIpv4Ping, error)
	// ToPbText marshals ActionResponseProtocolIpv4Ping to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionResponseProtocolIpv4Ping to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionResponseProtocolIpv4Ping to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionResponseProtocolIpv4Ping from protobuf object *otg.ActionResponseProtocolIpv4Ping
	FromProto(msg *otg.ActionResponseProtocolIpv4Ping) (ActionResponseProtocolIpv4Ping, error)
	// FromPbText unmarshals ActionResponseProtocolIpv4Ping from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionResponseProtocolIpv4Ping from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionResponseProtocolIpv4Ping from JSON text
	FromJson(value string) error
	// Validate validates ActionResponseProtocolIpv4Ping
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionResponseProtocolIpv4Ping, error)

	// Responses returns ActionResponseProtocolIpv4PingActionResponseProtocolIpv4PingResponseIterIter, set in ActionResponseProtocolIpv4Ping
	Responses() ActionResponseProtocolIpv4PingActionResponseProtocolIpv4PingResponseIter
	// contains filtered or unexported methods
}

ActionResponseProtocolIpv4Ping is response for ping initiated between multiple source and destination pairs.

func NewActionResponseProtocolIpv4Ping added in v0.10.10

func NewActionResponseProtocolIpv4Ping() ActionResponseProtocolIpv4Ping

type ActionResponseProtocolIpv4PingResponse added in v0.10.10

type ActionResponseProtocolIpv4PingResponse interface {
	Validation
	// Msg marshals ActionResponseProtocolIpv4PingResponse to protobuf object *otg.ActionResponseProtocolIpv4PingResponse
	// and doesn't set defaults
	Msg() *otg.ActionResponseProtocolIpv4PingResponse
	// SetMsg unmarshals ActionResponseProtocolIpv4PingResponse from protobuf object *otg.ActionResponseProtocolIpv4PingResponse
	// and doesn't set defaults
	SetMsg(*otg.ActionResponseProtocolIpv4PingResponse) ActionResponseProtocolIpv4PingResponse
	// ToProto marshals ActionResponseProtocolIpv4PingResponse to protobuf object *otg.ActionResponseProtocolIpv4PingResponse
	ToProto() (*otg.ActionResponseProtocolIpv4PingResponse, error)
	// ToPbText marshals ActionResponseProtocolIpv4PingResponse to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionResponseProtocolIpv4PingResponse to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionResponseProtocolIpv4PingResponse to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionResponseProtocolIpv4PingResponse from protobuf object *otg.ActionResponseProtocolIpv4PingResponse
	FromProto(msg *otg.ActionResponseProtocolIpv4PingResponse) (ActionResponseProtocolIpv4PingResponse, error)
	// FromPbText unmarshals ActionResponseProtocolIpv4PingResponse from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionResponseProtocolIpv4PingResponse from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionResponseProtocolIpv4PingResponse from JSON text
	FromJson(value string) error
	// Validate validates ActionResponseProtocolIpv4PingResponse
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionResponseProtocolIpv4PingResponse, error)

	// SrcName returns string, set in ActionResponseProtocolIpv4PingResponse.
	SrcName() string
	// SetSrcName assigns string provided by user to ActionResponseProtocolIpv4PingResponse
	SetSrcName(value string) ActionResponseProtocolIpv4PingResponse
	// DstIp returns string, set in ActionResponseProtocolIpv4PingResponse.
	DstIp() string
	// SetDstIp assigns string provided by user to ActionResponseProtocolIpv4PingResponse
	SetDstIp(value string) ActionResponseProtocolIpv4PingResponse
	// Result returns ActionResponseProtocolIpv4PingResponseResultEnum, set in ActionResponseProtocolIpv4PingResponse
	Result() ActionResponseProtocolIpv4PingResponseResultEnum
	// SetResult assigns ActionResponseProtocolIpv4PingResponseResultEnum provided by user to ActionResponseProtocolIpv4PingResponse
	SetResult(value ActionResponseProtocolIpv4PingResponseResultEnum) ActionResponseProtocolIpv4PingResponse
	// contains filtered or unexported methods
}

ActionResponseProtocolIpv4PingResponse is response for ping initiated between a single source and destination pair.

func NewActionResponseProtocolIpv4PingResponse added in v0.10.10

func NewActionResponseProtocolIpv4PingResponse() ActionResponseProtocolIpv4PingResponse

type ActionResponseProtocolIpv4PingResponseResultEnum added in v0.10.10

type ActionResponseProtocolIpv4PingResponseResultEnum string

type ActionResponseProtocolIpv6 added in v0.10.10

type ActionResponseProtocolIpv6 interface {
	Validation
	// Msg marshals ActionResponseProtocolIpv6 to protobuf object *otg.ActionResponseProtocolIpv6
	// and doesn't set defaults
	Msg() *otg.ActionResponseProtocolIpv6
	// SetMsg unmarshals ActionResponseProtocolIpv6 from protobuf object *otg.ActionResponseProtocolIpv6
	// and doesn't set defaults
	SetMsg(*otg.ActionResponseProtocolIpv6) ActionResponseProtocolIpv6
	// ToProto marshals ActionResponseProtocolIpv6 to protobuf object *otg.ActionResponseProtocolIpv6
	ToProto() (*otg.ActionResponseProtocolIpv6, error)
	// ToPbText marshals ActionResponseProtocolIpv6 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionResponseProtocolIpv6 to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionResponseProtocolIpv6 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionResponseProtocolIpv6 from protobuf object *otg.ActionResponseProtocolIpv6
	FromProto(msg *otg.ActionResponseProtocolIpv6) (ActionResponseProtocolIpv6, error)
	// FromPbText unmarshals ActionResponseProtocolIpv6 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionResponseProtocolIpv6 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionResponseProtocolIpv6 from JSON text
	FromJson(value string) error
	// Validate validates ActionResponseProtocolIpv6
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionResponseProtocolIpv6, error)

	// Choice returns ActionResponseProtocolIpv6ChoiceEnum, set in ActionResponseProtocolIpv6
	Choice() ActionResponseProtocolIpv6ChoiceEnum
	// SetChoice assigns ActionResponseProtocolIpv6ChoiceEnum provided by user to ActionResponseProtocolIpv6
	SetChoice(value ActionResponseProtocolIpv6ChoiceEnum) ActionResponseProtocolIpv6
	// Ping returns ActionResponseProtocolIpv6Ping, set in ActionResponseProtocolIpv6.
	// ActionResponseProtocolIpv6Ping is response for ping initiated between multiple source and destination pairs.
	Ping() ActionResponseProtocolIpv6Ping
	// SetPing assigns ActionResponseProtocolIpv6Ping provided by user to ActionResponseProtocolIpv6.
	// ActionResponseProtocolIpv6Ping is response for ping initiated between multiple source and destination pairs.
	SetPing(value ActionResponseProtocolIpv6Ping) ActionResponseProtocolIpv6
	// HasPing checks if Ping has been set in ActionResponseProtocolIpv6
	HasPing() bool
	// contains filtered or unexported methods
}

ActionResponseProtocolIpv6 is response for actions associated with IPv6 on configured resources.

func NewActionResponseProtocolIpv6 added in v0.10.10

func NewActionResponseProtocolIpv6() ActionResponseProtocolIpv6

type ActionResponseProtocolIpv6ChoiceEnum added in v0.10.10

type ActionResponseProtocolIpv6ChoiceEnum string

type ActionResponseProtocolIpv6Ping added in v0.10.10

type ActionResponseProtocolIpv6Ping interface {
	Validation
	// Msg marshals ActionResponseProtocolIpv6Ping to protobuf object *otg.ActionResponseProtocolIpv6Ping
	// and doesn't set defaults
	Msg() *otg.ActionResponseProtocolIpv6Ping
	// SetMsg unmarshals ActionResponseProtocolIpv6Ping from protobuf object *otg.ActionResponseProtocolIpv6Ping
	// and doesn't set defaults
	SetMsg(*otg.ActionResponseProtocolIpv6Ping) ActionResponseProtocolIpv6Ping
	// ToProto marshals ActionResponseProtocolIpv6Ping to protobuf object *otg.ActionResponseProtocolIpv6Ping
	ToProto() (*otg.ActionResponseProtocolIpv6Ping, error)
	// ToPbText marshals ActionResponseProtocolIpv6Ping to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionResponseProtocolIpv6Ping to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionResponseProtocolIpv6Ping to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionResponseProtocolIpv6Ping from protobuf object *otg.ActionResponseProtocolIpv6Ping
	FromProto(msg *otg.ActionResponseProtocolIpv6Ping) (ActionResponseProtocolIpv6Ping, error)
	// FromPbText unmarshals ActionResponseProtocolIpv6Ping from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionResponseProtocolIpv6Ping from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionResponseProtocolIpv6Ping from JSON text
	FromJson(value string) error
	// Validate validates ActionResponseProtocolIpv6Ping
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionResponseProtocolIpv6Ping, error)

	// Responses returns ActionResponseProtocolIpv6PingActionResponseProtocolIpv6PingResponseIterIter, set in ActionResponseProtocolIpv6Ping
	Responses() ActionResponseProtocolIpv6PingActionResponseProtocolIpv6PingResponseIter
	// contains filtered or unexported methods
}

ActionResponseProtocolIpv6Ping is response for ping initiated between multiple source and destination pairs.

func NewActionResponseProtocolIpv6Ping added in v0.10.10

func NewActionResponseProtocolIpv6Ping() ActionResponseProtocolIpv6Ping

type ActionResponseProtocolIpv6PingResponse added in v0.10.10

type ActionResponseProtocolIpv6PingResponse interface {
	Validation
	// Msg marshals ActionResponseProtocolIpv6PingResponse to protobuf object *otg.ActionResponseProtocolIpv6PingResponse
	// and doesn't set defaults
	Msg() *otg.ActionResponseProtocolIpv6PingResponse
	// SetMsg unmarshals ActionResponseProtocolIpv6PingResponse from protobuf object *otg.ActionResponseProtocolIpv6PingResponse
	// and doesn't set defaults
	SetMsg(*otg.ActionResponseProtocolIpv6PingResponse) ActionResponseProtocolIpv6PingResponse
	// ToProto marshals ActionResponseProtocolIpv6PingResponse to protobuf object *otg.ActionResponseProtocolIpv6PingResponse
	ToProto() (*otg.ActionResponseProtocolIpv6PingResponse, error)
	// ToPbText marshals ActionResponseProtocolIpv6PingResponse to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ActionResponseProtocolIpv6PingResponse to YAML text
	ToYaml() (string, error)
	// ToJson marshals ActionResponseProtocolIpv6PingResponse to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ActionResponseProtocolIpv6PingResponse from protobuf object *otg.ActionResponseProtocolIpv6PingResponse
	FromProto(msg *otg.ActionResponseProtocolIpv6PingResponse) (ActionResponseProtocolIpv6PingResponse, error)
	// FromPbText unmarshals ActionResponseProtocolIpv6PingResponse from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ActionResponseProtocolIpv6PingResponse from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ActionResponseProtocolIpv6PingResponse from JSON text
	FromJson(value string) error
	// Validate validates ActionResponseProtocolIpv6PingResponse
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ActionResponseProtocolIpv6PingResponse, error)

	// SrcName returns string, set in ActionResponseProtocolIpv6PingResponse.
	SrcName() string
	// SetSrcName assigns string provided by user to ActionResponseProtocolIpv6PingResponse
	SetSrcName(value string) ActionResponseProtocolIpv6PingResponse
	// DstIp returns string, set in ActionResponseProtocolIpv6PingResponse.
	DstIp() string
	// SetDstIp assigns string provided by user to ActionResponseProtocolIpv6PingResponse
	SetDstIp(value string) ActionResponseProtocolIpv6PingResponse
	// Result returns ActionResponseProtocolIpv6PingResponseResultEnum, set in ActionResponseProtocolIpv6PingResponse
	Result() ActionResponseProtocolIpv6PingResponseResultEnum
	// SetResult assigns ActionResponseProtocolIpv6PingResponseResultEnum provided by user to ActionResponseProtocolIpv6PingResponse
	SetResult(value ActionResponseProtocolIpv6PingResponseResultEnum) ActionResponseProtocolIpv6PingResponse
	// contains filtered or unexported methods
}

ActionResponseProtocolIpv6PingResponse is response for ping initiated between a single source and destination pair.

func NewActionResponseProtocolIpv6PingResponse added in v0.10.10

func NewActionResponseProtocolIpv6PingResponse() ActionResponseProtocolIpv6PingResponse

type ActionResponseProtocolIpv6PingResponseResultEnum added in v0.10.10

type ActionResponseProtocolIpv6PingResponseResultEnum string

type Api

type Api interface {
	NewGrpcTransport() GrpcTransport

	NewHttpTransport() HttpTransport

	Close() error
	// Warnings Api is only for testing purpose
	// and not intended to use in production
	Warnings() string

	FromError(err error) (Error, bool)
	// contains filtered or unexported methods
}

type BgpAddPath added in v0.6.1

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

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

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

func NewBgpAddPath added in v0.6.5

func NewBgpAddPath() BgpAddPath

type BgpAdvanced added in v0.6.1

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

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

BgpAdvanced is 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 {
	Validation
	// Msg marshals BgpAsPath to protobuf object *otg.BgpAsPath
	// and doesn't set defaults
	Msg() *otg.BgpAsPath
	// SetMsg unmarshals BgpAsPath from protobuf object *otg.BgpAsPath
	// and doesn't set defaults
	SetMsg(*otg.BgpAsPath) BgpAsPath
	// ToProto marshals BgpAsPath to protobuf object *otg.BgpAsPath
	ToProto() (*otg.BgpAsPath, error)
	// ToPbText marshals BgpAsPath to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpAsPath to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpAsPath to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpAsPath from protobuf object *otg.BgpAsPath
	FromProto(msg *otg.BgpAsPath) (BgpAsPath, error)
	// FromPbText unmarshals BgpAsPath from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpAsPath from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpAsPath from JSON text
	FromJson(value string) error
	// Validate validates BgpAsPath
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpAsPath, error)

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

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

func NewBgpAsPath added in v0.6.5

func NewBgpAsPath() BgpAsPath

type BgpAsPathAsSetModeEnum added in v0.6.1

type BgpAsPathAsSetModeEnum string

type BgpAsPathBgpAsPathSegmentIter added in v0.6.1

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

type BgpAsPathSegment added in v0.6.1

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

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

BgpAsPathSegment is configuration for a single BGP AS path segment

func NewBgpAsPathSegment added in v0.6.5

func NewBgpAsPathSegment() BgpAsPathSegment

type BgpAsPathSegmentTypeEnum added in v0.6.1

type BgpAsPathSegmentTypeEnum string

type BgpCMacIpRange added in v0.7.34

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

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

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

Advertises following route -

Type 2 - MAC/IP Advertisement Route.

func NewBgpCMacIpRange added in v0.7.34

func NewBgpCMacIpRange() BgpCMacIpRange

type BgpCMacIpRangeBgpCommunityIter added in v0.7.34

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

type BgpCMacIpRangeBgpExtCommunityIter added in v0.7.34

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

type BgpCapability added in v0.6.1

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

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

BgpCapability is 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 {
	Validation
	// Msg marshals BgpCommunity to protobuf object *otg.BgpCommunity
	// and doesn't set defaults
	Msg() *otg.BgpCommunity
	// SetMsg unmarshals BgpCommunity from protobuf object *otg.BgpCommunity
	// and doesn't set defaults
	SetMsg(*otg.BgpCommunity) BgpCommunity
	// ToProto marshals BgpCommunity to protobuf object *otg.BgpCommunity
	ToProto() (*otg.BgpCommunity, error)
	// ToPbText marshals BgpCommunity to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpCommunity to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpCommunity to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpCommunity from protobuf object *otg.BgpCommunity
	FromProto(msg *otg.BgpCommunity) (BgpCommunity, error)
	// FromPbText unmarshals BgpCommunity from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpCommunity from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpCommunity from JSON text
	FromJson(value string) error
	// Validate validates BgpCommunity
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpCommunity, error)

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

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

func NewBgpCommunity added in v0.6.5

func NewBgpCommunity() BgpCommunity

type BgpCommunityTypeEnum added in v0.6.1

type BgpCommunityTypeEnum string

type BgpEthernetSegmentDfElection added in v0.7.34

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

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

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

func NewBgpEthernetSegmentDfElection added in v0.7.34

func NewBgpEthernetSegmentDfElection() BgpEthernetSegmentDfElection

type BgpExtCommunity added in v0.6.4

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

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

BgpExtCommunity is the Extended Communities Attribute is a transitive optional BGP attribute, with the Type Code 16. Community and Extended Communities attributes are utilized to trigger routing decisions, such as acceptance, rejection, preference, or redistribution. An extended community is an 8-Bytes value. It is 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 BgpGracefulRestart added in v0.11.2

type BgpGracefulRestart interface {
	Validation
	// Msg marshals BgpGracefulRestart to protobuf object *otg.BgpGracefulRestart
	// and doesn't set defaults
	Msg() *otg.BgpGracefulRestart
	// SetMsg unmarshals BgpGracefulRestart from protobuf object *otg.BgpGracefulRestart
	// and doesn't set defaults
	SetMsg(*otg.BgpGracefulRestart) BgpGracefulRestart
	// ToProto marshals BgpGracefulRestart to protobuf object *otg.BgpGracefulRestart
	ToProto() (*otg.BgpGracefulRestart, error)
	// ToPbText marshals BgpGracefulRestart to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpGracefulRestart to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpGracefulRestart to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpGracefulRestart from protobuf object *otg.BgpGracefulRestart
	FromProto(msg *otg.BgpGracefulRestart) (BgpGracefulRestart, error)
	// FromPbText unmarshals BgpGracefulRestart from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpGracefulRestart from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpGracefulRestart from JSON text
	FromJson(value string) error
	// Validate validates BgpGracefulRestart
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpGracefulRestart, error)

	// EnableGr returns bool, set in BgpGracefulRestart.
	EnableGr() bool
	// SetEnableGr assigns bool provided by user to BgpGracefulRestart
	SetEnableGr(value bool) BgpGracefulRestart
	// HasEnableGr checks if EnableGr has been set in BgpGracefulRestart
	HasEnableGr() bool
	// RestartTime returns uint32, set in BgpGracefulRestart.
	RestartTime() uint32
	// SetRestartTime assigns uint32 provided by user to BgpGracefulRestart
	SetRestartTime(value uint32) BgpGracefulRestart
	// HasRestartTime checks if RestartTime has been set in BgpGracefulRestart
	HasRestartTime() bool
	// EnableLlgr returns bool, set in BgpGracefulRestart.
	EnableLlgr() bool
	// SetEnableLlgr assigns bool provided by user to BgpGracefulRestart
	SetEnableLlgr(value bool) BgpGracefulRestart
	// HasEnableLlgr checks if EnableLlgr has been set in BgpGracefulRestart
	HasEnableLlgr() bool
	// StaleTime returns uint32, set in BgpGracefulRestart.
	StaleTime() uint32
	// SetStaleTime assigns uint32 provided by user to BgpGracefulRestart
	SetStaleTime(value uint32) BgpGracefulRestart
	// HasStaleTime checks if StaleTime has been set in BgpGracefulRestart
	HasStaleTime() bool
	// contains filtered or unexported methods
}

BgpGracefulRestart is the Graceful Restart Capability (RFC 4724) is a BGP capability that can be used by a BGP speaker to indicate its ability to preserve its forwarding state during BGP restart. The Graceful Restart (GR) capability is advertised in OPEN messages sent between BGP peers. After a BGP session has been established, and the initial routing update has been completed, an End-of-RIB (Routing Information Base) marker is sent in an UPDATE message to convey information about routing convergence.

func NewBgpGracefulRestart added in v0.11.2

func NewBgpGracefulRestart() BgpGracefulRestart

type BgpLearnedInformationFilter added in v0.8.1

type BgpLearnedInformationFilter interface {
	Validation
	// Msg marshals BgpLearnedInformationFilter to protobuf object *otg.BgpLearnedInformationFilter
	// and doesn't set defaults
	Msg() *otg.BgpLearnedInformationFilter
	// SetMsg unmarshals BgpLearnedInformationFilter from protobuf object *otg.BgpLearnedInformationFilter
	// and doesn't set defaults
	SetMsg(*otg.BgpLearnedInformationFilter) BgpLearnedInformationFilter
	// ToProto marshals BgpLearnedInformationFilter to protobuf object *otg.BgpLearnedInformationFilter
	ToProto() (*otg.BgpLearnedInformationFilter, error)
	// ToPbText marshals BgpLearnedInformationFilter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpLearnedInformationFilter to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpLearnedInformationFilter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpLearnedInformationFilter from protobuf object *otg.BgpLearnedInformationFilter
	FromProto(msg *otg.BgpLearnedInformationFilter) (BgpLearnedInformationFilter, error)
	// FromPbText unmarshals BgpLearnedInformationFilter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpLearnedInformationFilter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpLearnedInformationFilter from JSON text
	FromJson(value string) error
	// Validate validates BgpLearnedInformationFilter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpLearnedInformationFilter, error)

	// UnicastIpv4Prefix returns bool, set in BgpLearnedInformationFilter.
	UnicastIpv4Prefix() bool
	// SetUnicastIpv4Prefix assigns bool provided by user to BgpLearnedInformationFilter
	SetUnicastIpv4Prefix(value bool) BgpLearnedInformationFilter
	// HasUnicastIpv4Prefix checks if UnicastIpv4Prefix has been set in BgpLearnedInformationFilter
	HasUnicastIpv4Prefix() bool
	// UnicastIpv6Prefix returns bool, set in BgpLearnedInformationFilter.
	UnicastIpv6Prefix() bool
	// SetUnicastIpv6Prefix assigns bool provided by user to BgpLearnedInformationFilter
	SetUnicastIpv6Prefix(value bool) BgpLearnedInformationFilter
	// HasUnicastIpv6Prefix checks if UnicastIpv6Prefix has been set in BgpLearnedInformationFilter
	HasUnicastIpv6Prefix() bool
	// contains filtered or unexported methods
}

BgpLearnedInformationFilter is configuration for controlling storage of BGP learned information recieved from the peer.

func NewBgpLearnedInformationFilter added in v0.8.1

func NewBgpLearnedInformationFilter() BgpLearnedInformationFilter

type BgpPrefixIpv4UnicastFilter added in v0.7.42

type BgpPrefixIpv4UnicastFilter interface {
	Validation
	// Msg marshals BgpPrefixIpv4UnicastFilter to protobuf object *otg.BgpPrefixIpv4UnicastFilter
	// and doesn't set defaults
	Msg() *otg.BgpPrefixIpv4UnicastFilter
	// SetMsg unmarshals BgpPrefixIpv4UnicastFilter from protobuf object *otg.BgpPrefixIpv4UnicastFilter
	// and doesn't set defaults
	SetMsg(*otg.BgpPrefixIpv4UnicastFilter) BgpPrefixIpv4UnicastFilter
	// ToProto marshals BgpPrefixIpv4UnicastFilter to protobuf object *otg.BgpPrefixIpv4UnicastFilter
	ToProto() (*otg.BgpPrefixIpv4UnicastFilter, error)
	// ToPbText marshals BgpPrefixIpv4UnicastFilter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpPrefixIpv4UnicastFilter to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpPrefixIpv4UnicastFilter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpPrefixIpv4UnicastFilter from protobuf object *otg.BgpPrefixIpv4UnicastFilter
	FromProto(msg *otg.BgpPrefixIpv4UnicastFilter) (BgpPrefixIpv4UnicastFilter, error)
	// FromPbText unmarshals BgpPrefixIpv4UnicastFilter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpPrefixIpv4UnicastFilter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpPrefixIpv4UnicastFilter from JSON text
	FromJson(value string) error
	// Validate validates BgpPrefixIpv4UnicastFilter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpPrefixIpv4UnicastFilter, error)

	// Addresses returns []string, set in BgpPrefixIpv4UnicastFilter.
	Addresses() []string
	// SetAddresses assigns []string provided by user to BgpPrefixIpv4UnicastFilter
	SetAddresses(value []string) BgpPrefixIpv4UnicastFilter
	// PrefixLength returns int32, set in BgpPrefixIpv4UnicastFilter.
	PrefixLength() int32
	// SetPrefixLength assigns int32 provided by user to BgpPrefixIpv4UnicastFilter
	SetPrefixLength(value int32) BgpPrefixIpv4UnicastFilter
	// HasPrefixLength checks if PrefixLength has been set in BgpPrefixIpv4UnicastFilter
	HasPrefixLength() bool
	// Origin returns BgpPrefixIpv4UnicastFilterOriginEnum, set in BgpPrefixIpv4UnicastFilter
	Origin() BgpPrefixIpv4UnicastFilterOriginEnum
	// SetOrigin assigns BgpPrefixIpv4UnicastFilterOriginEnum provided by user to BgpPrefixIpv4UnicastFilter
	SetOrigin(value BgpPrefixIpv4UnicastFilterOriginEnum) BgpPrefixIpv4UnicastFilter
	// HasOrigin checks if Origin has been set in BgpPrefixIpv4UnicastFilter
	HasOrigin() bool
	// PathId returns int32, set in BgpPrefixIpv4UnicastFilter.
	PathId() int32
	// SetPathId assigns int32 provided by user to BgpPrefixIpv4UnicastFilter
	SetPathId(value int32) BgpPrefixIpv4UnicastFilter
	// HasPathId checks if PathId has been set in BgpPrefixIpv4UnicastFilter
	HasPathId() bool
	// contains filtered or unexported methods
}

BgpPrefixIpv4UnicastFilter is description is TBD

func NewBgpPrefixIpv4UnicastFilter added in v0.7.42

func NewBgpPrefixIpv4UnicastFilter() BgpPrefixIpv4UnicastFilter

type BgpPrefixIpv4UnicastFilterOriginEnum added in v0.7.42

type BgpPrefixIpv4UnicastFilterOriginEnum string

type BgpPrefixIpv4UnicastState added in v0.7.42

type BgpPrefixIpv4UnicastState interface {
	Validation
	// Msg marshals BgpPrefixIpv4UnicastState to protobuf object *otg.BgpPrefixIpv4UnicastState
	// and doesn't set defaults
	Msg() *otg.BgpPrefixIpv4UnicastState
	// SetMsg unmarshals BgpPrefixIpv4UnicastState from protobuf object *otg.BgpPrefixIpv4UnicastState
	// and doesn't set defaults
	SetMsg(*otg.BgpPrefixIpv4UnicastState) BgpPrefixIpv4UnicastState
	// ToProto marshals BgpPrefixIpv4UnicastState to protobuf object *otg.BgpPrefixIpv4UnicastState
	ToProto() (*otg.BgpPrefixIpv4UnicastState, error)
	// ToPbText marshals BgpPrefixIpv4UnicastState to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpPrefixIpv4UnicastState to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpPrefixIpv4UnicastState to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpPrefixIpv4UnicastState from protobuf object *otg.BgpPrefixIpv4UnicastState
	FromProto(msg *otg.BgpPrefixIpv4UnicastState) (BgpPrefixIpv4UnicastState, error)
	// FromPbText unmarshals BgpPrefixIpv4UnicastState from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpPrefixIpv4UnicastState from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpPrefixIpv4UnicastState from JSON text
	FromJson(value string) error
	// Validate validates BgpPrefixIpv4UnicastState
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpPrefixIpv4UnicastState, error)

	// Ipv4Address returns string, set in BgpPrefixIpv4UnicastState.
	Ipv4Address() string
	// SetIpv4Address assigns string provided by user to BgpPrefixIpv4UnicastState
	SetIpv4Address(value string) BgpPrefixIpv4UnicastState
	// HasIpv4Address checks if Ipv4Address has been set in BgpPrefixIpv4UnicastState
	HasIpv4Address() bool
	// PrefixLength returns int32, set in BgpPrefixIpv4UnicastState.
	PrefixLength() int32
	// SetPrefixLength assigns int32 provided by user to BgpPrefixIpv4UnicastState
	SetPrefixLength(value int32) BgpPrefixIpv4UnicastState
	// HasPrefixLength checks if PrefixLength has been set in BgpPrefixIpv4UnicastState
	HasPrefixLength() bool
	// Origin returns BgpPrefixIpv4UnicastStateOriginEnum, set in BgpPrefixIpv4UnicastState
	Origin() BgpPrefixIpv4UnicastStateOriginEnum
	// SetOrigin assigns BgpPrefixIpv4UnicastStateOriginEnum provided by user to BgpPrefixIpv4UnicastState
	SetOrigin(value BgpPrefixIpv4UnicastStateOriginEnum) BgpPrefixIpv4UnicastState
	// HasOrigin checks if Origin has been set in BgpPrefixIpv4UnicastState
	HasOrigin() bool
	// PathId returns int32, set in BgpPrefixIpv4UnicastState.
	PathId() int32
	// SetPathId assigns int32 provided by user to BgpPrefixIpv4UnicastState
	SetPathId(value int32) BgpPrefixIpv4UnicastState
	// HasPathId checks if PathId has been set in BgpPrefixIpv4UnicastState
	HasPathId() bool
	// Ipv4NextHop returns string, set in BgpPrefixIpv4UnicastState.
	Ipv4NextHop() string
	// SetIpv4NextHop assigns string provided by user to BgpPrefixIpv4UnicastState
	SetIpv4NextHop(value string) BgpPrefixIpv4UnicastState
	// HasIpv4NextHop checks if Ipv4NextHop has been set in BgpPrefixIpv4UnicastState
	HasIpv4NextHop() bool
	// Ipv6NextHop returns string, set in BgpPrefixIpv4UnicastState.
	Ipv6NextHop() string
	// SetIpv6NextHop assigns string provided by user to BgpPrefixIpv4UnicastState
	SetIpv6NextHop(value string) BgpPrefixIpv4UnicastState
	// HasIpv6NextHop checks if Ipv6NextHop has been set in BgpPrefixIpv4UnicastState
	HasIpv6NextHop() bool
	// Communities returns BgpPrefixIpv4UnicastStateResultBgpCommunityIterIter, set in BgpPrefixIpv4UnicastState
	Communities() BgpPrefixIpv4UnicastStateResultBgpCommunityIter
	// AsPath returns ResultBgpAsPath, set in BgpPrefixIpv4UnicastState.
	// ResultBgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed.
	AsPath() ResultBgpAsPath
	// SetAsPath assigns ResultBgpAsPath provided by user to BgpPrefixIpv4UnicastState.
	// ResultBgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed.
	SetAsPath(value ResultBgpAsPath) BgpPrefixIpv4UnicastState
	// HasAsPath checks if AsPath has been set in BgpPrefixIpv4UnicastState
	HasAsPath() bool
	// contains filtered or unexported methods
}

BgpPrefixIpv4UnicastState is iPv4 unicast prefix.

func NewBgpPrefixIpv4UnicastState added in v0.7.42

func NewBgpPrefixIpv4UnicastState() BgpPrefixIpv4UnicastState

type BgpPrefixIpv4UnicastStateOriginEnum added in v0.7.42

type BgpPrefixIpv4UnicastStateOriginEnum string

type BgpPrefixIpv4UnicastStateResultBgpCommunityIter added in v0.8.4

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

type BgpPrefixIpv6UnicastFilter added in v0.7.42

type BgpPrefixIpv6UnicastFilter interface {
	Validation
	// Msg marshals BgpPrefixIpv6UnicastFilter to protobuf object *otg.BgpPrefixIpv6UnicastFilter
	// and doesn't set defaults
	Msg() *otg.BgpPrefixIpv6UnicastFilter
	// SetMsg unmarshals BgpPrefixIpv6UnicastFilter from protobuf object *otg.BgpPrefixIpv6UnicastFilter
	// and doesn't set defaults
	SetMsg(*otg.BgpPrefixIpv6UnicastFilter) BgpPrefixIpv6UnicastFilter
	// ToProto marshals BgpPrefixIpv6UnicastFilter to protobuf object *otg.BgpPrefixIpv6UnicastFilter
	ToProto() (*otg.BgpPrefixIpv6UnicastFilter, error)
	// ToPbText marshals BgpPrefixIpv6UnicastFilter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpPrefixIpv6UnicastFilter to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpPrefixIpv6UnicastFilter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpPrefixIpv6UnicastFilter from protobuf object *otg.BgpPrefixIpv6UnicastFilter
	FromProto(msg *otg.BgpPrefixIpv6UnicastFilter) (BgpPrefixIpv6UnicastFilter, error)
	// FromPbText unmarshals BgpPrefixIpv6UnicastFilter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpPrefixIpv6UnicastFilter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpPrefixIpv6UnicastFilter from JSON text
	FromJson(value string) error
	// Validate validates BgpPrefixIpv6UnicastFilter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpPrefixIpv6UnicastFilter, error)

	// Addresses returns []string, set in BgpPrefixIpv6UnicastFilter.
	Addresses() []string
	// SetAddresses assigns []string provided by user to BgpPrefixIpv6UnicastFilter
	SetAddresses(value []string) BgpPrefixIpv6UnicastFilter
	// PrefixLength returns int32, set in BgpPrefixIpv6UnicastFilter.
	PrefixLength() int32
	// SetPrefixLength assigns int32 provided by user to BgpPrefixIpv6UnicastFilter
	SetPrefixLength(value int32) BgpPrefixIpv6UnicastFilter
	// HasPrefixLength checks if PrefixLength has been set in BgpPrefixIpv6UnicastFilter
	HasPrefixLength() bool
	// Origin returns BgpPrefixIpv6UnicastFilterOriginEnum, set in BgpPrefixIpv6UnicastFilter
	Origin() BgpPrefixIpv6UnicastFilterOriginEnum
	// SetOrigin assigns BgpPrefixIpv6UnicastFilterOriginEnum provided by user to BgpPrefixIpv6UnicastFilter
	SetOrigin(value BgpPrefixIpv6UnicastFilterOriginEnum) BgpPrefixIpv6UnicastFilter
	// HasOrigin checks if Origin has been set in BgpPrefixIpv6UnicastFilter
	HasOrigin() bool
	// PathId returns int32, set in BgpPrefixIpv6UnicastFilter.
	PathId() int32
	// SetPathId assigns int32 provided by user to BgpPrefixIpv6UnicastFilter
	SetPathId(value int32) BgpPrefixIpv6UnicastFilter
	// HasPathId checks if PathId has been set in BgpPrefixIpv6UnicastFilter
	HasPathId() bool
	// contains filtered or unexported methods
}

BgpPrefixIpv6UnicastFilter is description is TBD

func NewBgpPrefixIpv6UnicastFilter added in v0.7.42

func NewBgpPrefixIpv6UnicastFilter() BgpPrefixIpv6UnicastFilter

type BgpPrefixIpv6UnicastFilterOriginEnum added in v0.7.42

type BgpPrefixIpv6UnicastFilterOriginEnum string

type BgpPrefixIpv6UnicastState added in v0.7.42

type BgpPrefixIpv6UnicastState interface {
	Validation
	// Msg marshals BgpPrefixIpv6UnicastState to protobuf object *otg.BgpPrefixIpv6UnicastState
	// and doesn't set defaults
	Msg() *otg.BgpPrefixIpv6UnicastState
	// SetMsg unmarshals BgpPrefixIpv6UnicastState from protobuf object *otg.BgpPrefixIpv6UnicastState
	// and doesn't set defaults
	SetMsg(*otg.BgpPrefixIpv6UnicastState) BgpPrefixIpv6UnicastState
	// ToProto marshals BgpPrefixIpv6UnicastState to protobuf object *otg.BgpPrefixIpv6UnicastState
	ToProto() (*otg.BgpPrefixIpv6UnicastState, error)
	// ToPbText marshals BgpPrefixIpv6UnicastState to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpPrefixIpv6UnicastState to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpPrefixIpv6UnicastState to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpPrefixIpv6UnicastState from protobuf object *otg.BgpPrefixIpv6UnicastState
	FromProto(msg *otg.BgpPrefixIpv6UnicastState) (BgpPrefixIpv6UnicastState, error)
	// FromPbText unmarshals BgpPrefixIpv6UnicastState from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpPrefixIpv6UnicastState from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpPrefixIpv6UnicastState from JSON text
	FromJson(value string) error
	// Validate validates BgpPrefixIpv6UnicastState
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpPrefixIpv6UnicastState, error)

	// Ipv6Address returns string, set in BgpPrefixIpv6UnicastState.
	Ipv6Address() string
	// SetIpv6Address assigns string provided by user to BgpPrefixIpv6UnicastState
	SetIpv6Address(value string) BgpPrefixIpv6UnicastState
	// HasIpv6Address checks if Ipv6Address has been set in BgpPrefixIpv6UnicastState
	HasIpv6Address() bool
	// PrefixLength returns int32, set in BgpPrefixIpv6UnicastState.
	PrefixLength() int32
	// SetPrefixLength assigns int32 provided by user to BgpPrefixIpv6UnicastState
	SetPrefixLength(value int32) BgpPrefixIpv6UnicastState
	// HasPrefixLength checks if PrefixLength has been set in BgpPrefixIpv6UnicastState
	HasPrefixLength() bool
	// Origin returns BgpPrefixIpv6UnicastStateOriginEnum, set in BgpPrefixIpv6UnicastState
	Origin() BgpPrefixIpv6UnicastStateOriginEnum
	// SetOrigin assigns BgpPrefixIpv6UnicastStateOriginEnum provided by user to BgpPrefixIpv6UnicastState
	SetOrigin(value BgpPrefixIpv6UnicastStateOriginEnum) BgpPrefixIpv6UnicastState
	// HasOrigin checks if Origin has been set in BgpPrefixIpv6UnicastState
	HasOrigin() bool
	// PathId returns int32, set in BgpPrefixIpv6UnicastState.
	PathId() int32
	// SetPathId assigns int32 provided by user to BgpPrefixIpv6UnicastState
	SetPathId(value int32) BgpPrefixIpv6UnicastState
	// HasPathId checks if PathId has been set in BgpPrefixIpv6UnicastState
	HasPathId() bool
	// Ipv4NextHop returns string, set in BgpPrefixIpv6UnicastState.
	Ipv4NextHop() string
	// SetIpv4NextHop assigns string provided by user to BgpPrefixIpv6UnicastState
	SetIpv4NextHop(value string) BgpPrefixIpv6UnicastState
	// HasIpv4NextHop checks if Ipv4NextHop has been set in BgpPrefixIpv6UnicastState
	HasIpv4NextHop() bool
	// Ipv6NextHop returns string, set in BgpPrefixIpv6UnicastState.
	Ipv6NextHop() string
	// SetIpv6NextHop assigns string provided by user to BgpPrefixIpv6UnicastState
	SetIpv6NextHop(value string) BgpPrefixIpv6UnicastState
	// HasIpv6NextHop checks if Ipv6NextHop has been set in BgpPrefixIpv6UnicastState
	HasIpv6NextHop() bool
	// Communities returns BgpPrefixIpv6UnicastStateResultBgpCommunityIterIter, set in BgpPrefixIpv6UnicastState
	Communities() BgpPrefixIpv6UnicastStateResultBgpCommunityIter
	// AsPath returns ResultBgpAsPath, set in BgpPrefixIpv6UnicastState.
	// ResultBgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed.
	AsPath() ResultBgpAsPath
	// SetAsPath assigns ResultBgpAsPath provided by user to BgpPrefixIpv6UnicastState.
	// ResultBgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed.
	SetAsPath(value ResultBgpAsPath) BgpPrefixIpv6UnicastState
	// HasAsPath checks if AsPath has been set in BgpPrefixIpv6UnicastState
	HasAsPath() bool
	// contains filtered or unexported methods
}

BgpPrefixIpv6UnicastState is iPv6 unicast prefix.

func NewBgpPrefixIpv6UnicastState added in v0.7.42

func NewBgpPrefixIpv6UnicastState() BgpPrefixIpv6UnicastState

type BgpPrefixIpv6UnicastStateOriginEnum added in v0.7.42

type BgpPrefixIpv6UnicastStateOriginEnum string

type BgpPrefixIpv6UnicastStateResultBgpCommunityIter added in v0.8.4

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

type BgpPrefixStateRequest added in v0.7.42

type BgpPrefixStateRequest interface {
	Validation
	// Msg marshals BgpPrefixStateRequest to protobuf object *otg.BgpPrefixStateRequest
	// and doesn't set defaults
	Msg() *otg.BgpPrefixStateRequest
	// SetMsg unmarshals BgpPrefixStateRequest from protobuf object *otg.BgpPrefixStateRequest
	// and doesn't set defaults
	SetMsg(*otg.BgpPrefixStateRequest) BgpPrefixStateRequest
	// ToProto marshals BgpPrefixStateRequest to protobuf object *otg.BgpPrefixStateRequest
	ToProto() (*otg.BgpPrefixStateRequest, error)
	// ToPbText marshals BgpPrefixStateRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpPrefixStateRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpPrefixStateRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpPrefixStateRequest from protobuf object *otg.BgpPrefixStateRequest
	FromProto(msg *otg.BgpPrefixStateRequest) (BgpPrefixStateRequest, error)
	// FromPbText unmarshals BgpPrefixStateRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpPrefixStateRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpPrefixStateRequest from JSON text
	FromJson(value string) error
	// Validate validates BgpPrefixStateRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpPrefixStateRequest, error)

	// BgpPeerNames returns []string, set in BgpPrefixStateRequest.
	BgpPeerNames() []string
	// SetBgpPeerNames assigns []string provided by user to BgpPrefixStateRequest
	SetBgpPeerNames(value []string) BgpPrefixStateRequest
	// PrefixFilters returns []BgpPrefixStateRequestPrefixFiltersEnum, set in BgpPrefixStateRequest
	PrefixFilters() []BgpPrefixStateRequestPrefixFiltersEnum
	// SetPrefixFilters assigns []BgpPrefixStateRequestPrefixFiltersEnum provided by user to BgpPrefixStateRequest
	SetPrefixFilters(value []BgpPrefixStateRequestPrefixFiltersEnum) BgpPrefixStateRequest
	// Ipv4UnicastFilters returns BgpPrefixStateRequestBgpPrefixIpv4UnicastFilterIterIter, set in BgpPrefixStateRequest
	Ipv4UnicastFilters() BgpPrefixStateRequestBgpPrefixIpv4UnicastFilterIter
	// Ipv6UnicastFilters returns BgpPrefixStateRequestBgpPrefixIpv6UnicastFilterIterIter, set in BgpPrefixStateRequest
	Ipv6UnicastFilters() BgpPrefixStateRequestBgpPrefixIpv6UnicastFilterIter
	// contains filtered or unexported methods
}

BgpPrefixStateRequest is the request to retrieve BGP peer prefix information.

func NewBgpPrefixStateRequest added in v0.7.42

func NewBgpPrefixStateRequest() BgpPrefixStateRequest

type BgpPrefixStateRequestPrefixFiltersEnum added in v0.7.42

type BgpPrefixStateRequestPrefixFiltersEnum string

type BgpPrefixesState added in v0.7.42

type BgpPrefixesState interface {
	Validation
	// Msg marshals BgpPrefixesState to protobuf object *otg.BgpPrefixesState
	// and doesn't set defaults
	Msg() *otg.BgpPrefixesState
	// SetMsg unmarshals BgpPrefixesState from protobuf object *otg.BgpPrefixesState
	// and doesn't set defaults
	SetMsg(*otg.BgpPrefixesState) BgpPrefixesState
	// ToProto marshals BgpPrefixesState to protobuf object *otg.BgpPrefixesState
	ToProto() (*otg.BgpPrefixesState, error)
	// ToPbText marshals BgpPrefixesState to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpPrefixesState to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpPrefixesState to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpPrefixesState from protobuf object *otg.BgpPrefixesState
	FromProto(msg *otg.BgpPrefixesState) (BgpPrefixesState, error)
	// FromPbText unmarshals BgpPrefixesState from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpPrefixesState from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpPrefixesState from JSON text
	FromJson(value string) error
	// Validate validates BgpPrefixesState
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpPrefixesState, error)

	// BgpPeerName returns string, set in BgpPrefixesState.
	BgpPeerName() string
	// SetBgpPeerName assigns string provided by user to BgpPrefixesState
	SetBgpPeerName(value string) BgpPrefixesState
	// HasBgpPeerName checks if BgpPeerName has been set in BgpPrefixesState
	HasBgpPeerName() bool
	// Ipv4UnicastPrefixes returns BgpPrefixesStateBgpPrefixIpv4UnicastStateIterIter, set in BgpPrefixesState
	Ipv4UnicastPrefixes() BgpPrefixesStateBgpPrefixIpv4UnicastStateIter
	// Ipv6UnicastPrefixes returns BgpPrefixesStateBgpPrefixIpv6UnicastStateIterIter, set in BgpPrefixesState
	Ipv6UnicastPrefixes() BgpPrefixesStateBgpPrefixIpv6UnicastStateIter
	// contains filtered or unexported methods
}

BgpPrefixesState is bGP peer prefixes.

func NewBgpPrefixesState added in v0.7.42

func NewBgpPrefixesState() BgpPrefixesState

type BgpPrefixesStateBgpPrefixIpv4UnicastStateIter added in v0.7.42

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

type BgpPrefixesStateBgpPrefixIpv6UnicastStateIter added in v0.7.42

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

type BgpRouteAdvanced added in v0.6.1

type BgpRouteAdvanced interface {
	Validation
	// Msg marshals BgpRouteAdvanced to protobuf object *otg.BgpRouteAdvanced
	// and doesn't set defaults
	Msg() *otg.BgpRouteAdvanced
	// SetMsg unmarshals BgpRouteAdvanced from protobuf object *otg.BgpRouteAdvanced
	// and doesn't set defaults
	SetMsg(*otg.BgpRouteAdvanced) BgpRouteAdvanced
	// ToProto marshals BgpRouteAdvanced to protobuf object *otg.BgpRouteAdvanced
	ToProto() (*otg.BgpRouteAdvanced, error)
	// ToPbText marshals BgpRouteAdvanced to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpRouteAdvanced to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpRouteAdvanced to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpRouteAdvanced from protobuf object *otg.BgpRouteAdvanced
	FromProto(msg *otg.BgpRouteAdvanced) (BgpRouteAdvanced, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpRouteAdvanced, error)

	// IncludeMultiExitDiscriminator returns bool, set in BgpRouteAdvanced.
	IncludeMultiExitDiscriminator() bool
	// SetIncludeMultiExitDiscriminator assigns bool provided by user to BgpRouteAdvanced
	SetIncludeMultiExitDiscriminator(value bool) BgpRouteAdvanced
	// HasIncludeMultiExitDiscriminator checks if IncludeMultiExitDiscriminator has been set in BgpRouteAdvanced
	HasIncludeMultiExitDiscriminator() bool
	// 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
	// IncludeOrigin returns bool, set in BgpRouteAdvanced.
	IncludeOrigin() bool
	// SetIncludeOrigin assigns bool provided by user to BgpRouteAdvanced
	SetIncludeOrigin(value bool) BgpRouteAdvanced
	// HasIncludeOrigin checks if IncludeOrigin has been set in BgpRouteAdvanced
	HasIncludeOrigin() 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
	// IncludeLocalPreference returns bool, set in BgpRouteAdvanced.
	IncludeLocalPreference() bool
	// SetIncludeLocalPreference assigns bool provided by user to BgpRouteAdvanced
	SetIncludeLocalPreference(value bool) BgpRouteAdvanced
	// HasIncludeLocalPreference checks if IncludeLocalPreference has been set in BgpRouteAdvanced
	HasIncludeLocalPreference() bool
	// LocalPreference returns int32, set in BgpRouteAdvanced.
	LocalPreference() int32
	// SetLocalPreference assigns int32 provided by user to BgpRouteAdvanced
	SetLocalPreference(value int32) BgpRouteAdvanced
	// HasLocalPreference checks if LocalPreference has been set in BgpRouteAdvanced
	HasLocalPreference() 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 BgpRouteDistinguisher added in v0.7.34

type BgpRouteDistinguisher interface {
	Validation
	// Msg marshals BgpRouteDistinguisher to protobuf object *otg.BgpRouteDistinguisher
	// and doesn't set defaults
	Msg() *otg.BgpRouteDistinguisher
	// SetMsg unmarshals BgpRouteDistinguisher from protobuf object *otg.BgpRouteDistinguisher
	// and doesn't set defaults
	SetMsg(*otg.BgpRouteDistinguisher) BgpRouteDistinguisher
	// ToProto marshals BgpRouteDistinguisher to protobuf object *otg.BgpRouteDistinguisher
	ToProto() (*otg.BgpRouteDistinguisher, error)
	// ToPbText marshals BgpRouteDistinguisher to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpRouteDistinguisher to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpRouteDistinguisher to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpRouteDistinguisher from protobuf object *otg.BgpRouteDistinguisher
	FromProto(msg *otg.BgpRouteDistinguisher) (BgpRouteDistinguisher, error)
	// FromPbText unmarshals BgpRouteDistinguisher from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpRouteDistinguisher from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpRouteDistinguisher from JSON text
	FromJson(value string) error
	// Validate validates BgpRouteDistinguisher
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpRouteDistinguisher, error)

	// RdType returns BgpRouteDistinguisherRdTypeEnum, set in BgpRouteDistinguisher
	RdType() BgpRouteDistinguisherRdTypeEnum
	// SetRdType assigns BgpRouteDistinguisherRdTypeEnum provided by user to BgpRouteDistinguisher
	SetRdType(value BgpRouteDistinguisherRdTypeEnum) BgpRouteDistinguisher
	// HasRdType checks if RdType has been set in BgpRouteDistinguisher
	HasRdType() bool
	// AutoConfigRdIpAddr returns bool, set in BgpRouteDistinguisher.
	AutoConfigRdIpAddr() bool
	// SetAutoConfigRdIpAddr assigns bool provided by user to BgpRouteDistinguisher
	SetAutoConfigRdIpAddr(value bool) BgpRouteDistinguisher
	// HasAutoConfigRdIpAddr checks if AutoConfigRdIpAddr has been set in BgpRouteDistinguisher
	HasAutoConfigRdIpAddr() bool
	// RdValue returns string, set in BgpRouteDistinguisher.
	RdValue() string
	// SetRdValue assigns string provided by user to BgpRouteDistinguisher
	SetRdValue(value string) BgpRouteDistinguisher
	// HasRdValue checks if RdValue has been set in BgpRouteDistinguisher
	HasRdValue() bool
	// contains filtered or unexported methods
}

BgpRouteDistinguisher is bGP Route Distinguisher.

func NewBgpRouteDistinguisher added in v0.7.34

func NewBgpRouteDistinguisher() BgpRouteDistinguisher

type BgpRouteDistinguisherRdTypeEnum added in v0.7.34

type BgpRouteDistinguisherRdTypeEnum string

type BgpRouteTarget added in v0.7.34

type BgpRouteTarget interface {
	Validation
	// Msg marshals BgpRouteTarget to protobuf object *otg.BgpRouteTarget
	// and doesn't set defaults
	Msg() *otg.BgpRouteTarget
	// SetMsg unmarshals BgpRouteTarget from protobuf object *otg.BgpRouteTarget
	// and doesn't set defaults
	SetMsg(*otg.BgpRouteTarget) BgpRouteTarget
	// ToProto marshals BgpRouteTarget to protobuf object *otg.BgpRouteTarget
	ToProto() (*otg.BgpRouteTarget, error)
	// ToPbText marshals BgpRouteTarget to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpRouteTarget to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpRouteTarget to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpRouteTarget from protobuf object *otg.BgpRouteTarget
	FromProto(msg *otg.BgpRouteTarget) (BgpRouteTarget, error)
	// FromPbText unmarshals BgpRouteTarget from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpRouteTarget from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpRouteTarget from JSON text
	FromJson(value string) error
	// Validate validates BgpRouteTarget
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpRouteTarget, error)

	// RtType returns BgpRouteTargetRtTypeEnum, set in BgpRouteTarget
	RtType() BgpRouteTargetRtTypeEnum
	// SetRtType assigns BgpRouteTargetRtTypeEnum provided by user to BgpRouteTarget
	SetRtType(value BgpRouteTargetRtTypeEnum) BgpRouteTarget
	// HasRtType checks if RtType has been set in BgpRouteTarget
	HasRtType() bool
	// RtValue returns string, set in BgpRouteTarget.
	RtValue() string
	// SetRtValue assigns string provided by user to BgpRouteTarget
	SetRtValue(value string) BgpRouteTarget
	// HasRtValue checks if RtValue has been set in BgpRouteTarget
	HasRtValue() bool
	// contains filtered or unexported methods
}

BgpRouteTarget is bGP Route Target.

func NewBgpRouteTarget added in v0.7.34

func NewBgpRouteTarget() BgpRouteTarget

type BgpRouteTargetRtTypeEnum added in v0.7.34

type BgpRouteTargetRtTypeEnum string

type BgpSrteBindingSubTlv added in v0.6.4

type BgpSrteBindingSubTlv interface {
	Validation
	// Msg marshals BgpSrteBindingSubTlv to protobuf object *otg.BgpSrteBindingSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteBindingSubTlv
	// SetMsg unmarshals BgpSrteBindingSubTlv from protobuf object *otg.BgpSrteBindingSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteBindingSubTlv) BgpSrteBindingSubTlv
	// ToProto marshals BgpSrteBindingSubTlv to protobuf object *otg.BgpSrteBindingSubTlv
	ToProto() (*otg.BgpSrteBindingSubTlv, error)
	// ToPbText marshals BgpSrteBindingSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteBindingSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteBindingSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteBindingSubTlv from protobuf object *otg.BgpSrteBindingSubTlv
	FromProto(msg *otg.BgpSrteBindingSubTlv) (BgpSrteBindingSubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteBindingSubTlv, 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 {
	Validation
	// Msg marshals BgpSrteColorSubTlv to protobuf object *otg.BgpSrteColorSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteColorSubTlv
	// SetMsg unmarshals BgpSrteColorSubTlv from protobuf object *otg.BgpSrteColorSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteColorSubTlv) BgpSrteColorSubTlv
	// ToProto marshals BgpSrteColorSubTlv to protobuf object *otg.BgpSrteColorSubTlv
	ToProto() (*otg.BgpSrteColorSubTlv, error)
	// ToPbText marshals BgpSrteColorSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteColorSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteColorSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteColorSubTlv from protobuf object *otg.BgpSrteColorSubTlv
	FromProto(msg *otg.BgpSrteColorSubTlv) (BgpSrteColorSubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteColorSubTlv, 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 {
	Validation
	// Msg marshals BgpSrteExplicitNullLabelPolicySubTlv to protobuf object *otg.BgpSrteExplicitNullLabelPolicySubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteExplicitNullLabelPolicySubTlv
	// SetMsg unmarshals BgpSrteExplicitNullLabelPolicySubTlv from protobuf object *otg.BgpSrteExplicitNullLabelPolicySubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteExplicitNullLabelPolicySubTlv) BgpSrteExplicitNullLabelPolicySubTlv
	// ToProto marshals BgpSrteExplicitNullLabelPolicySubTlv to protobuf object *otg.BgpSrteExplicitNullLabelPolicySubTlv
	ToProto() (*otg.BgpSrteExplicitNullLabelPolicySubTlv, error)
	// ToPbText marshals BgpSrteExplicitNullLabelPolicySubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteExplicitNullLabelPolicySubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteExplicitNullLabelPolicySubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteExplicitNullLabelPolicySubTlv from protobuf object *otg.BgpSrteExplicitNullLabelPolicySubTlv
	FromProto(msg *otg.BgpSrteExplicitNullLabelPolicySubTlv) (BgpSrteExplicitNullLabelPolicySubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteExplicitNullLabelPolicySubTlv, 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 {
	Validation
	// Msg marshals BgpSrtePolicyNameSubTlv to protobuf object *otg.BgpSrtePolicyNameSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrtePolicyNameSubTlv
	// SetMsg unmarshals BgpSrtePolicyNameSubTlv from protobuf object *otg.BgpSrtePolicyNameSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrtePolicyNameSubTlv) BgpSrtePolicyNameSubTlv
	// ToProto marshals BgpSrtePolicyNameSubTlv to protobuf object *otg.BgpSrtePolicyNameSubTlv
	ToProto() (*otg.BgpSrtePolicyNameSubTlv, error)
	// ToPbText marshals BgpSrtePolicyNameSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrtePolicyNameSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrtePolicyNameSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrtePolicyNameSubTlv from protobuf object *otg.BgpSrtePolicyNameSubTlv
	FromProto(msg *otg.BgpSrtePolicyNameSubTlv) (BgpSrtePolicyNameSubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrtePolicyNameSubTlv, 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 {
	Validation
	// Msg marshals BgpSrtePolicyPrioritySubTlv to protobuf object *otg.BgpSrtePolicyPrioritySubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrtePolicyPrioritySubTlv
	// SetMsg unmarshals BgpSrtePolicyPrioritySubTlv from protobuf object *otg.BgpSrtePolicyPrioritySubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrtePolicyPrioritySubTlv) BgpSrtePolicyPrioritySubTlv
	// ToProto marshals BgpSrtePolicyPrioritySubTlv to protobuf object *otg.BgpSrtePolicyPrioritySubTlv
	ToProto() (*otg.BgpSrtePolicyPrioritySubTlv, error)
	// ToPbText marshals BgpSrtePolicyPrioritySubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrtePolicyPrioritySubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrtePolicyPrioritySubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrtePolicyPrioritySubTlv from protobuf object *otg.BgpSrtePolicyPrioritySubTlv
	FromProto(msg *otg.BgpSrtePolicyPrioritySubTlv) (BgpSrtePolicyPrioritySubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrtePolicyPrioritySubTlv, 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 {
	Validation
	// Msg marshals BgpSrtePreferenceSubTlv to protobuf object *otg.BgpSrtePreferenceSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrtePreferenceSubTlv
	// SetMsg unmarshals BgpSrtePreferenceSubTlv from protobuf object *otg.BgpSrtePreferenceSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrtePreferenceSubTlv) BgpSrtePreferenceSubTlv
	// ToProto marshals BgpSrtePreferenceSubTlv to protobuf object *otg.BgpSrtePreferenceSubTlv
	ToProto() (*otg.BgpSrtePreferenceSubTlv, error)
	// ToPbText marshals BgpSrtePreferenceSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrtePreferenceSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrtePreferenceSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrtePreferenceSubTlv from protobuf object *otg.BgpSrtePreferenceSubTlv
	FromProto(msg *otg.BgpSrtePreferenceSubTlv) (BgpSrtePreferenceSubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrtePreferenceSubTlv, 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 {
	Validation
	// Msg marshals BgpSrteRemoteEndpointSubTlv to protobuf object *otg.BgpSrteRemoteEndpointSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteRemoteEndpointSubTlv
	// SetMsg unmarshals BgpSrteRemoteEndpointSubTlv from protobuf object *otg.BgpSrteRemoteEndpointSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteRemoteEndpointSubTlv) BgpSrteRemoteEndpointSubTlv
	// ToProto marshals BgpSrteRemoteEndpointSubTlv to protobuf object *otg.BgpSrteRemoteEndpointSubTlv
	ToProto() (*otg.BgpSrteRemoteEndpointSubTlv, error)
	// ToPbText marshals BgpSrteRemoteEndpointSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteRemoteEndpointSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteRemoteEndpointSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteRemoteEndpointSubTlv from protobuf object *otg.BgpSrteRemoteEndpointSubTlv
	FromProto(msg *otg.BgpSrteRemoteEndpointSubTlv) (BgpSrteRemoteEndpointSubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteRemoteEndpointSubTlv, 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 {
	Validation
	// Msg marshals BgpSrteSRv6SIDEndpointBehaviorAndStructure to protobuf object *otg.BgpSrteSRv6SIDEndpointBehaviorAndStructure
	// and doesn't set defaults
	Msg() *otg.BgpSrteSRv6SIDEndpointBehaviorAndStructure
	// SetMsg unmarshals BgpSrteSRv6SIDEndpointBehaviorAndStructure from protobuf object *otg.BgpSrteSRv6SIDEndpointBehaviorAndStructure
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSRv6SIDEndpointBehaviorAndStructure) BgpSrteSRv6SIDEndpointBehaviorAndStructure
	// ToProto marshals BgpSrteSRv6SIDEndpointBehaviorAndStructure to protobuf object *otg.BgpSrteSRv6SIDEndpointBehaviorAndStructure
	ToProto() (*otg.BgpSrteSRv6SIDEndpointBehaviorAndStructure, error)
	// ToPbText marshals BgpSrteSRv6SIDEndpointBehaviorAndStructure to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSRv6SIDEndpointBehaviorAndStructure to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSRv6SIDEndpointBehaviorAndStructure to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSRv6SIDEndpointBehaviorAndStructure from protobuf object *otg.BgpSrteSRv6SIDEndpointBehaviorAndStructure
	FromProto(msg *otg.BgpSrteSRv6SIDEndpointBehaviorAndStructure) (BgpSrteSRv6SIDEndpointBehaviorAndStructure, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSRv6SIDEndpointBehaviorAndStructure, 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 {
	Validation
	// Msg marshals BgpSrteSegment to protobuf object *otg.BgpSrteSegment
	// and doesn't set defaults
	Msg() *otg.BgpSrteSegment
	// SetMsg unmarshals BgpSrteSegment from protobuf object *otg.BgpSrteSegment
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSegment) BgpSrteSegment
	// ToProto marshals BgpSrteSegment to protobuf object *otg.BgpSrteSegment
	ToProto() (*otg.BgpSrteSegment, error)
	// ToPbText marshals BgpSrteSegment to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSegment to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSegment to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSegment from protobuf object *otg.BgpSrteSegment
	FromProto(msg *otg.BgpSrteSegment) (BgpSrteSegment, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSegment, 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.
	TypeA() BgpSrteSegmentATypeSubTlv
	// SetTypeA assigns BgpSrteSegmentATypeSubTlv provided by user to BgpSrteSegment.
	// BgpSrteSegmentATypeSubTlv is type  A: SID only, in the form of MPLS Label.
	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 type C: IPv4 Node Address with optional SID.
	TypeC() BgpSrteSegmentCTypeSubTlv
	// SetTypeC assigns BgpSrteSegmentCTypeSubTlv provided by user to BgpSrteSegment.
	// BgpSrteSegmentCTypeSubTlv is 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 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 {
	Validation
	// Msg marshals BgpSrteSegmentATypeSubTlv to protobuf object *otg.BgpSrteSegmentATypeSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteSegmentATypeSubTlv
	// SetMsg unmarshals BgpSrteSegmentATypeSubTlv from protobuf object *otg.BgpSrteSegmentATypeSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSegmentATypeSubTlv) BgpSrteSegmentATypeSubTlv
	// ToProto marshals BgpSrteSegmentATypeSubTlv to protobuf object *otg.BgpSrteSegmentATypeSubTlv
	ToProto() (*otg.BgpSrteSegmentATypeSubTlv, error)
	// ToPbText marshals BgpSrteSegmentATypeSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSegmentATypeSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSegmentATypeSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSegmentATypeSubTlv from protobuf object *otg.BgpSrteSegmentATypeSubTlv
	FromProto(msg *otg.BgpSrteSegmentATypeSubTlv) (BgpSrteSegmentATypeSubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSegmentATypeSubTlv, 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.

func NewBgpSrteSegmentATypeSubTlv added in v0.6.5

func NewBgpSrteSegmentATypeSubTlv() BgpSrteSegmentATypeSubTlv

type BgpSrteSegmentBTypeSubTlv added in v0.6.4

type BgpSrteSegmentBTypeSubTlv interface {
	Validation
	// Msg marshals BgpSrteSegmentBTypeSubTlv to protobuf object *otg.BgpSrteSegmentBTypeSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteSegmentBTypeSubTlv
	// SetMsg unmarshals BgpSrteSegmentBTypeSubTlv from protobuf object *otg.BgpSrteSegmentBTypeSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSegmentBTypeSubTlv) BgpSrteSegmentBTypeSubTlv
	// ToProto marshals BgpSrteSegmentBTypeSubTlv to protobuf object *otg.BgpSrteSegmentBTypeSubTlv
	ToProto() (*otg.BgpSrteSegmentBTypeSubTlv, error)
	// ToPbText marshals BgpSrteSegmentBTypeSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSegmentBTypeSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSegmentBTypeSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSegmentBTypeSubTlv from protobuf object *otg.BgpSrteSegmentBTypeSubTlv
	FromProto(msg *otg.BgpSrteSegmentBTypeSubTlv) (BgpSrteSegmentBTypeSubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSegmentBTypeSubTlv, 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 {
	Validation
	// Msg marshals BgpSrteSegmentCTypeSubTlv to protobuf object *otg.BgpSrteSegmentCTypeSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteSegmentCTypeSubTlv
	// SetMsg unmarshals BgpSrteSegmentCTypeSubTlv from protobuf object *otg.BgpSrteSegmentCTypeSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSegmentCTypeSubTlv) BgpSrteSegmentCTypeSubTlv
	// ToProto marshals BgpSrteSegmentCTypeSubTlv to protobuf object *otg.BgpSrteSegmentCTypeSubTlv
	ToProto() (*otg.BgpSrteSegmentCTypeSubTlv, error)
	// ToPbText marshals BgpSrteSegmentCTypeSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSegmentCTypeSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSegmentCTypeSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSegmentCTypeSubTlv from protobuf object *otg.BgpSrteSegmentCTypeSubTlv
	FromProto(msg *otg.BgpSrteSegmentCTypeSubTlv) (BgpSrteSegmentCTypeSubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSegmentCTypeSubTlv, 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 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 {
	Validation
	// Msg marshals BgpSrteSegmentDTypeSubTlv to protobuf object *otg.BgpSrteSegmentDTypeSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteSegmentDTypeSubTlv
	// SetMsg unmarshals BgpSrteSegmentDTypeSubTlv from protobuf object *otg.BgpSrteSegmentDTypeSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSegmentDTypeSubTlv) BgpSrteSegmentDTypeSubTlv
	// ToProto marshals BgpSrteSegmentDTypeSubTlv to protobuf object *otg.BgpSrteSegmentDTypeSubTlv
	ToProto() (*otg.BgpSrteSegmentDTypeSubTlv, error)
	// ToPbText marshals BgpSrteSegmentDTypeSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSegmentDTypeSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSegmentDTypeSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSegmentDTypeSubTlv from protobuf object *otg.BgpSrteSegmentDTypeSubTlv
	FromProto(msg *otg.BgpSrteSegmentDTypeSubTlv) (BgpSrteSegmentDTypeSubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSegmentDTypeSubTlv, 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 {
	Validation
	// Msg marshals BgpSrteSegmentETypeSubTlv to protobuf object *otg.BgpSrteSegmentETypeSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteSegmentETypeSubTlv
	// SetMsg unmarshals BgpSrteSegmentETypeSubTlv from protobuf object *otg.BgpSrteSegmentETypeSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSegmentETypeSubTlv) BgpSrteSegmentETypeSubTlv
	// ToProto marshals BgpSrteSegmentETypeSubTlv to protobuf object *otg.BgpSrteSegmentETypeSubTlv
	ToProto() (*otg.BgpSrteSegmentETypeSubTlv, error)
	// ToPbText marshals BgpSrteSegmentETypeSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSegmentETypeSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSegmentETypeSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSegmentETypeSubTlv from protobuf object *otg.BgpSrteSegmentETypeSubTlv
	FromProto(msg *otg.BgpSrteSegmentETypeSubTlv) (BgpSrteSegmentETypeSubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSegmentETypeSubTlv, 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 {
	Validation
	// Msg marshals BgpSrteSegmentFTypeSubTlv to protobuf object *otg.BgpSrteSegmentFTypeSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteSegmentFTypeSubTlv
	// SetMsg unmarshals BgpSrteSegmentFTypeSubTlv from protobuf object *otg.BgpSrteSegmentFTypeSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSegmentFTypeSubTlv) BgpSrteSegmentFTypeSubTlv
	// ToProto marshals BgpSrteSegmentFTypeSubTlv to protobuf object *otg.BgpSrteSegmentFTypeSubTlv
	ToProto() (*otg.BgpSrteSegmentFTypeSubTlv, error)
	// ToPbText marshals BgpSrteSegmentFTypeSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSegmentFTypeSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSegmentFTypeSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSegmentFTypeSubTlv from protobuf object *otg.BgpSrteSegmentFTypeSubTlv
	FromProto(msg *otg.BgpSrteSegmentFTypeSubTlv) (BgpSrteSegmentFTypeSubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSegmentFTypeSubTlv, 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 {
	Validation
	// Msg marshals BgpSrteSegmentGTypeSubTlv to protobuf object *otg.BgpSrteSegmentGTypeSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteSegmentGTypeSubTlv
	// SetMsg unmarshals BgpSrteSegmentGTypeSubTlv from protobuf object *otg.BgpSrteSegmentGTypeSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSegmentGTypeSubTlv) BgpSrteSegmentGTypeSubTlv
	// ToProto marshals BgpSrteSegmentGTypeSubTlv to protobuf object *otg.BgpSrteSegmentGTypeSubTlv
	ToProto() (*otg.BgpSrteSegmentGTypeSubTlv, error)
	// ToPbText marshals BgpSrteSegmentGTypeSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSegmentGTypeSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSegmentGTypeSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSegmentGTypeSubTlv from protobuf object *otg.BgpSrteSegmentGTypeSubTlv
	FromProto(msg *otg.BgpSrteSegmentGTypeSubTlv) (BgpSrteSegmentGTypeSubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSegmentGTypeSubTlv, 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 {
	Validation
	// Msg marshals BgpSrteSegmentHTypeSubTlv to protobuf object *otg.BgpSrteSegmentHTypeSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteSegmentHTypeSubTlv
	// SetMsg unmarshals BgpSrteSegmentHTypeSubTlv from protobuf object *otg.BgpSrteSegmentHTypeSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSegmentHTypeSubTlv) BgpSrteSegmentHTypeSubTlv
	// ToProto marshals BgpSrteSegmentHTypeSubTlv to protobuf object *otg.BgpSrteSegmentHTypeSubTlv
	ToProto() (*otg.BgpSrteSegmentHTypeSubTlv, error)
	// ToPbText marshals BgpSrteSegmentHTypeSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSegmentHTypeSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSegmentHTypeSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSegmentHTypeSubTlv from protobuf object *otg.BgpSrteSegmentHTypeSubTlv
	FromProto(msg *otg.BgpSrteSegmentHTypeSubTlv) (BgpSrteSegmentHTypeSubTlv, error)
	// 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() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSegmentHTypeSubTlv, 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() BgpSrteSegmentHTypeSubTlv

type BgpSrteSegmentITypeSubTlv added in v0.6.4

type BgpSrteSegmentITypeSubTlv interface {
	Validation
	// Msg marshals BgpSrteSegmentITypeSubTlv to protobuf object *otg.BgpSrteSegmentITypeSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteSegmentITypeSubTlv
	// SetMsg unmarshals BgpSrteSegmentITypeSubTlv from protobuf object *otg.BgpSrteSegmentITypeSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSegmentITypeSubTlv) BgpSrteSegmentITypeSubTlv
	// ToProto marshals BgpSrteSegmentITypeSubTlv to protobuf object *otg.BgpSrteSegmentITypeSubTlv
	ToProto() (*otg.BgpSrteSegmentITypeSubTlv, error)
	// ToPbText marshals BgpSrteSegmentITypeSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSegmentITypeSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSegmentITypeSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSegmentITypeSubTlv from protobuf object *otg.BgpSrteSegmentITypeSubTlv
	FromProto(msg *otg.BgpSrteSegmentITypeSubTlv) (BgpSrteSegmentITypeSubTlv, error)
	// FromPbText unmarshals BgpSrteSegmentITypeSubTlv from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpSrteSegmentITypeSubTlv from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpSrteSegmentITypeSubTlv from JSON text
	FromJson(value string) error
	// Validate validates BgpSrteSegmentITypeSubTlv
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSegmentITypeSubTlv, error)

	// Flags returns string, set in BgpSrteSegmentITypeSubTlv.
	Flags() string
	// SetFlags assigns string provided by user to BgpSrteSegmentITypeSubTlv
	SetFlags(value string) BgpSrteSegmentITypeSubTlv
	// HasFlags checks if Flags has been set in BgpSrteSegmentITypeSubTlv
	HasFlags() bool
	// Ipv6NodeAddress returns string, set in BgpSrteSegmentITypeSubTlv.
	Ipv6NodeAddress() string
	// SetIpv6NodeAddress assigns string provided by user to BgpSrteSegmentITypeSubTlv
	SetIpv6NodeAddress(value string) BgpSrteSegmentITypeSubTlv
	// Srv6Sid returns string, set in BgpSrteSegmentITypeSubTlv.
	Srv6Sid() string
	// SetSrv6Sid assigns string provided by user to BgpSrteSegmentITypeSubTlv
	SetSrv6Sid(value string) BgpSrteSegmentITypeSubTlv
	// HasSrv6Sid checks if Srv6Sid has been set in BgpSrteSegmentITypeSubTlv
	HasSrv6Sid() bool
	// Srv6SidEndpointBehavior returns BgpSrteSRv6SIDEndpointBehaviorAndStructure, set in BgpSrteSegmentITypeSubTlv.
	// 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 BgpSrteSegmentITypeSubTlv.
	// 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) BgpSrteSegmentITypeSubTlv
	// HasSrv6SidEndpointBehavior checks if Srv6SidEndpointBehavior has been set in BgpSrteSegmentITypeSubTlv
	HasSrv6SidEndpointBehavior() bool
	// contains filtered or unexported methods
}

BgpSrteSegmentITypeSubTlv is type I: IPv6 Node Address with optional SRv6 SID.

func NewBgpSrteSegmentITypeSubTlv added in v0.6.5

func NewBgpSrteSegmentITypeSubTlv() BgpSrteSegmentITypeSubTlv

type BgpSrteSegmentJTypeSubTlv added in v0.6.4

type BgpSrteSegmentJTypeSubTlv interface {
	Validation
	// Msg marshals BgpSrteSegmentJTypeSubTlv to protobuf object *otg.BgpSrteSegmentJTypeSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteSegmentJTypeSubTlv
	// SetMsg unmarshals BgpSrteSegmentJTypeSubTlv from protobuf object *otg.BgpSrteSegmentJTypeSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSegmentJTypeSubTlv) BgpSrteSegmentJTypeSubTlv
	// ToProto marshals BgpSrteSegmentJTypeSubTlv to protobuf object *otg.BgpSrteSegmentJTypeSubTlv
	ToProto() (*otg.BgpSrteSegmentJTypeSubTlv, error)
	// ToPbText marshals BgpSrteSegmentJTypeSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSegmentJTypeSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSegmentJTypeSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSegmentJTypeSubTlv from protobuf object *otg.BgpSrteSegmentJTypeSubTlv
	FromProto(msg *otg.BgpSrteSegmentJTypeSubTlv) (BgpSrteSegmentJTypeSubTlv, error)
	// FromPbText unmarshals BgpSrteSegmentJTypeSubTlv from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpSrteSegmentJTypeSubTlv from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpSrteSegmentJTypeSubTlv from JSON text
	FromJson(value string) error
	// Validate validates BgpSrteSegmentJTypeSubTlv
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSegmentJTypeSubTlv, error)

	// Flags returns string, set in BgpSrteSegmentJTypeSubTlv.
	Flags() string
	// SetFlags assigns string provided by user to BgpSrteSegmentJTypeSubTlv
	SetFlags(value string) BgpSrteSegmentJTypeSubTlv
	// HasFlags checks if Flags has been set in BgpSrteSegmentJTypeSubTlv
	HasFlags() bool
	// SrAlgorithm returns int32, set in BgpSrteSegmentJTypeSubTlv.
	SrAlgorithm() int32
	// SetSrAlgorithm assigns int32 provided by user to BgpSrteSegmentJTypeSubTlv
	SetSrAlgorithm(value int32) BgpSrteSegmentJTypeSubTlv
	// HasSrAlgorithm checks if SrAlgorithm has been set in BgpSrteSegmentJTypeSubTlv
	HasSrAlgorithm() bool
	// LocalInterfaceId returns int32, set in BgpSrteSegmentJTypeSubTlv.
	LocalInterfaceId() int32
	// SetLocalInterfaceId assigns int32 provided by user to BgpSrteSegmentJTypeSubTlv
	SetLocalInterfaceId(value int32) BgpSrteSegmentJTypeSubTlv
	// HasLocalInterfaceId checks if LocalInterfaceId has been set in BgpSrteSegmentJTypeSubTlv
	HasLocalInterfaceId() bool
	// LocalIpv6NodeAddress returns string, set in BgpSrteSegmentJTypeSubTlv.
	LocalIpv6NodeAddress() string
	// SetLocalIpv6NodeAddress assigns string provided by user to BgpSrteSegmentJTypeSubTlv
	SetLocalIpv6NodeAddress(value string) BgpSrteSegmentJTypeSubTlv
	// RemoteInterfaceId returns int32, set in BgpSrteSegmentJTypeSubTlv.
	RemoteInterfaceId() int32
	// SetRemoteInterfaceId assigns int32 provided by user to BgpSrteSegmentJTypeSubTlv
	SetRemoteInterfaceId(value int32) BgpSrteSegmentJTypeSubTlv
	// HasRemoteInterfaceId checks if RemoteInterfaceId has been set in BgpSrteSegmentJTypeSubTlv
	HasRemoteInterfaceId() bool
	// RemoteIpv6NodeAddress returns string, set in BgpSrteSegmentJTypeSubTlv.
	RemoteIpv6NodeAddress() string
	// SetRemoteIpv6NodeAddress assigns string provided by user to BgpSrteSegmentJTypeSubTlv
	SetRemoteIpv6NodeAddress(value string) BgpSrteSegmentJTypeSubTlv
	// Srv6Sid returns string, set in BgpSrteSegmentJTypeSubTlv.
	Srv6Sid() string
	// SetSrv6Sid assigns string provided by user to BgpSrteSegmentJTypeSubTlv
	SetSrv6Sid(value string) BgpSrteSegmentJTypeSubTlv
	// HasSrv6Sid checks if Srv6Sid has been set in BgpSrteSegmentJTypeSubTlv
	HasSrv6Sid() bool
	// Srv6SidEndpointBehavior returns BgpSrteSRv6SIDEndpointBehaviorAndStructure, set in BgpSrteSegmentJTypeSubTlv.
	// 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 BgpSrteSegmentJTypeSubTlv.
	// 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) BgpSrteSegmentJTypeSubTlv
	// HasSrv6SidEndpointBehavior checks if Srv6SidEndpointBehavior has been set in BgpSrteSegmentJTypeSubTlv
	HasSrv6SidEndpointBehavior() bool
	// contains filtered or unexported methods
}

BgpSrteSegmentJTypeSubTlv is type J: IPv6 Address, Interface ID for local and remote pair for SRv6 with optional SID.

func NewBgpSrteSegmentJTypeSubTlv added in v0.6.5

func NewBgpSrteSegmentJTypeSubTlv() BgpSrteSegmentJTypeSubTlv

type BgpSrteSegmentKTypeSubTlv added in v0.6.4

type BgpSrteSegmentKTypeSubTlv interface {
	Validation
	// Msg marshals BgpSrteSegmentKTypeSubTlv to protobuf object *otg.BgpSrteSegmentKTypeSubTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteSegmentKTypeSubTlv
	// SetMsg unmarshals BgpSrteSegmentKTypeSubTlv from protobuf object *otg.BgpSrteSegmentKTypeSubTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSegmentKTypeSubTlv) BgpSrteSegmentKTypeSubTlv
	// ToProto marshals BgpSrteSegmentKTypeSubTlv to protobuf object *otg.BgpSrteSegmentKTypeSubTlv
	ToProto() (*otg.BgpSrteSegmentKTypeSubTlv, error)
	// ToPbText marshals BgpSrteSegmentKTypeSubTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSegmentKTypeSubTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSegmentKTypeSubTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSegmentKTypeSubTlv from protobuf object *otg.BgpSrteSegmentKTypeSubTlv
	FromProto(msg *otg.BgpSrteSegmentKTypeSubTlv) (BgpSrteSegmentKTypeSubTlv, error)
	// FromPbText unmarshals BgpSrteSegmentKTypeSubTlv from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpSrteSegmentKTypeSubTlv from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpSrteSegmentKTypeSubTlv from JSON text
	FromJson(value string) error
	// Validate validates BgpSrteSegmentKTypeSubTlv
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSegmentKTypeSubTlv, error)

	// Flags returns string, set in BgpSrteSegmentKTypeSubTlv.
	Flags() string
	// SetFlags assigns string provided by user to BgpSrteSegmentKTypeSubTlv
	SetFlags(value string) BgpSrteSegmentKTypeSubTlv
	// HasFlags checks if Flags has been set in BgpSrteSegmentKTypeSubTlv
	HasFlags() bool
	// SrAlgorithm returns int32, set in BgpSrteSegmentKTypeSubTlv.
	SrAlgorithm() int32
	// SetSrAlgorithm assigns int32 provided by user to BgpSrteSegmentKTypeSubTlv
	SetSrAlgorithm(value int32) BgpSrteSegmentKTypeSubTlv
	// HasSrAlgorithm checks if SrAlgorithm has been set in BgpSrteSegmentKTypeSubTlv
	HasSrAlgorithm() bool
	// LocalIpv6Address returns string, set in BgpSrteSegmentKTypeSubTlv.
	LocalIpv6Address() string
	// SetLocalIpv6Address assigns string provided by user to BgpSrteSegmentKTypeSubTlv
	SetLocalIpv6Address(value string) BgpSrteSegmentKTypeSubTlv
	// RemoteIpv6Address returns string, set in BgpSrteSegmentKTypeSubTlv.
	RemoteIpv6Address() string
	// SetRemoteIpv6Address assigns string provided by user to BgpSrteSegmentKTypeSubTlv
	SetRemoteIpv6Address(value string) BgpSrteSegmentKTypeSubTlv
	// Srv6Sid returns string, set in BgpSrteSegmentKTypeSubTlv.
	Srv6Sid() string
	// SetSrv6Sid assigns string provided by user to BgpSrteSegmentKTypeSubTlv
	SetSrv6Sid(value string) BgpSrteSegmentKTypeSubTlv
	// HasSrv6Sid checks if Srv6Sid has been set in BgpSrteSegmentKTypeSubTlv
	HasSrv6Sid() bool
	// Srv6SidEndpointBehavior returns BgpSrteSRv6SIDEndpointBehaviorAndStructure, set in BgpSrteSegmentKTypeSubTlv.
	// 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 BgpSrteSegmentKTypeSubTlv.
	// 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) BgpSrteSegmentKTypeSubTlv
	// HasSrv6SidEndpointBehavior checks if Srv6SidEndpointBehavior has been set in BgpSrteSegmentKTypeSubTlv
	HasSrv6SidEndpointBehavior() bool
	// contains filtered or unexported methods
}

BgpSrteSegmentKTypeSubTlv is type K: IPv6 Local and Remote addresses for SRv6 with optional SID.

func NewBgpSrteSegmentKTypeSubTlv added in v0.6.5

func NewBgpSrteSegmentKTypeSubTlv() BgpSrteSegmentKTypeSubTlv

type BgpSrteSegmentList added in v0.6.4

type BgpSrteSegmentList interface {
	Validation
	// Msg marshals BgpSrteSegmentList to protobuf object *otg.BgpSrteSegmentList
	// and doesn't set defaults
	Msg() *otg.BgpSrteSegmentList
	// SetMsg unmarshals BgpSrteSegmentList from protobuf object *otg.BgpSrteSegmentList
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSegmentList) BgpSrteSegmentList
	// ToProto marshals BgpSrteSegmentList to protobuf object *otg.BgpSrteSegmentList
	ToProto() (*otg.BgpSrteSegmentList, error)
	// ToPbText marshals BgpSrteSegmentList to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSegmentList to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSegmentList to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSegmentList from protobuf object *otg.BgpSrteSegmentList
	FromProto(msg *otg.BgpSrteSegmentList) (BgpSrteSegmentList, error)
	// FromPbText unmarshals BgpSrteSegmentList from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpSrteSegmentList from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpSrteSegmentList from JSON text
	FromJson(value string) error
	// Validate validates BgpSrteSegmentList
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSegmentList, error)

	// Weight returns int64, set in BgpSrteSegmentList.
	Weight() int64
	// SetWeight assigns int64 provided by user to BgpSrteSegmentList
	SetWeight(value int64) BgpSrteSegmentList
	// HasWeight checks if Weight has been set in BgpSrteSegmentList
	HasWeight() bool
	// Segments returns BgpSrteSegmentListBgpSrteSegmentIterIter, set in BgpSrteSegmentList
	Segments() BgpSrteSegmentListBgpSrteSegmentIter
	// Name returns string, set in BgpSrteSegmentList.
	Name() string
	// SetName assigns string provided by user to BgpSrteSegmentList
	SetName(value string) BgpSrteSegmentList
	// Active returns bool, set in BgpSrteSegmentList.
	Active() bool
	// SetActive assigns bool provided by user to BgpSrteSegmentList
	SetActive(value bool) BgpSrteSegmentList
	// HasActive checks if Active has been set in BgpSrteSegmentList
	HasActive() bool
	// contains filtered or unexported methods
}

BgpSrteSegmentList is optional configuration for BGP SR TE Policy segment list. The Segment List sub-TLV encodes a single explicit path towards the Endpoint.

func NewBgpSrteSegmentList added in v0.6.5

func NewBgpSrteSegmentList() BgpSrteSegmentList

type BgpSrteSegmentListBgpSrteSegmentIter added in v0.6.4

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

type BgpSrteSegmentSegmentTypeEnum added in v0.6.4

type BgpSrteSegmentSegmentTypeEnum string

type BgpSrteSrMplsSid added in v0.6.4

type BgpSrteSrMplsSid interface {
	Validation
	// Msg marshals BgpSrteSrMplsSid to protobuf object *otg.BgpSrteSrMplsSid
	// and doesn't set defaults
	Msg() *otg.BgpSrteSrMplsSid
	// SetMsg unmarshals BgpSrteSrMplsSid from protobuf object *otg.BgpSrteSrMplsSid
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteSrMplsSid) BgpSrteSrMplsSid
	// ToProto marshals BgpSrteSrMplsSid to protobuf object *otg.BgpSrteSrMplsSid
	ToProto() (*otg.BgpSrteSrMplsSid, error)
	// ToPbText marshals BgpSrteSrMplsSid to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteSrMplsSid to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteSrMplsSid to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteSrMplsSid from protobuf object *otg.BgpSrteSrMplsSid
	FromProto(msg *otg.BgpSrteSrMplsSid) (BgpSrteSrMplsSid, error)
	// FromPbText unmarshals BgpSrteSrMplsSid from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpSrteSrMplsSid from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpSrteSrMplsSid from JSON text
	FromJson(value string) error
	// Validate validates BgpSrteSrMplsSid
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteSrMplsSid, error)

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

BgpSrteSrMplsSid is configuration for SR-MPLS with Label, TC, Bottom-of-Stack and TTL.

func NewBgpSrteSrMplsSid added in v0.6.5

func NewBgpSrteSrMplsSid() BgpSrteSrMplsSid

type BgpSrteV4Policy added in v0.6.4

type BgpSrteV4Policy interface {
	Validation
	// Msg marshals BgpSrteV4Policy to protobuf object *otg.BgpSrteV4Policy
	// and doesn't set defaults
	Msg() *otg.BgpSrteV4Policy
	// SetMsg unmarshals BgpSrteV4Policy from protobuf object *otg.BgpSrteV4Policy
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteV4Policy) BgpSrteV4Policy
	// ToProto marshals BgpSrteV4Policy to protobuf object *otg.BgpSrteV4Policy
	ToProto() (*otg.BgpSrteV4Policy, error)
	// ToPbText marshals BgpSrteV4Policy to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteV4Policy to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteV4Policy to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteV4Policy from protobuf object *otg.BgpSrteV4Policy
	FromProto(msg *otg.BgpSrteV4Policy) (BgpSrteV4Policy, error)
	// FromPbText unmarshals BgpSrteV4Policy from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpSrteV4Policy from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpSrteV4Policy from JSON text
	FromJson(value string) error
	// Validate validates BgpSrteV4Policy
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteV4Policy, error)

	// Distinguisher returns int64, set in BgpSrteV4Policy.
	Distinguisher() int64
	// SetDistinguisher assigns int64 provided by user to BgpSrteV4Policy
	SetDistinguisher(value int64) BgpSrteV4Policy
	// HasDistinguisher checks if Distinguisher has been set in BgpSrteV4Policy
	HasDistinguisher() bool
	// Color returns int64, set in BgpSrteV4Policy.
	Color() int64
	// SetColor assigns int64 provided by user to BgpSrteV4Policy
	SetColor(value int64) BgpSrteV4Policy
	// HasColor checks if Color has been set in BgpSrteV4Policy
	HasColor() bool
	// Ipv4Endpoint returns string, set in BgpSrteV4Policy.
	Ipv4Endpoint() string
	// SetIpv4Endpoint assigns string provided by user to BgpSrteV4Policy
	SetIpv4Endpoint(value string) BgpSrteV4Policy
	// NextHopMode returns BgpSrteV4PolicyNextHopModeEnum, set in BgpSrteV4Policy
	NextHopMode() BgpSrteV4PolicyNextHopModeEnum
	// SetNextHopMode assigns BgpSrteV4PolicyNextHopModeEnum provided by user to BgpSrteV4Policy
	SetNextHopMode(value BgpSrteV4PolicyNextHopModeEnum) BgpSrteV4Policy
	// HasNextHopMode checks if NextHopMode has been set in BgpSrteV4Policy
	HasNextHopMode() bool
	// NextHopAddressType returns BgpSrteV4PolicyNextHopAddressTypeEnum, set in BgpSrteV4Policy
	NextHopAddressType() BgpSrteV4PolicyNextHopAddressTypeEnum
	// SetNextHopAddressType assigns BgpSrteV4PolicyNextHopAddressTypeEnum provided by user to BgpSrteV4Policy
	SetNextHopAddressType(value BgpSrteV4PolicyNextHopAddressTypeEnum) BgpSrteV4Policy
	// HasNextHopAddressType checks if NextHopAddressType has been set in BgpSrteV4Policy
	HasNextHopAddressType() bool
	// NextHopIpv4Address returns string, set in BgpSrteV4Policy.
	NextHopIpv4Address() string
	// SetNextHopIpv4Address assigns string provided by user to BgpSrteV4Policy
	SetNextHopIpv4Address(value string) BgpSrteV4Policy
	// HasNextHopIpv4Address checks if NextHopIpv4Address has been set in BgpSrteV4Policy
	HasNextHopIpv4Address() bool
	// NextHopIpv6Address returns string, set in BgpSrteV4Policy.
	NextHopIpv6Address() string
	// SetNextHopIpv6Address assigns string provided by user to BgpSrteV4Policy
	SetNextHopIpv6Address(value string) BgpSrteV4Policy
	// HasNextHopIpv6Address checks if NextHopIpv6Address has been set in BgpSrteV4Policy
	HasNextHopIpv6Address() bool
	// Advanced returns BgpRouteAdvanced, set in BgpSrteV4Policy.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	Advanced() BgpRouteAdvanced
	// SetAdvanced assigns BgpRouteAdvanced provided by user to BgpSrteV4Policy.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	SetAdvanced(value BgpRouteAdvanced) BgpSrteV4Policy
	// HasAdvanced checks if Advanced has been set in BgpSrteV4Policy
	HasAdvanced() bool
	// AddPath returns BgpAddPath, set in BgpSrteV4Policy.
	// 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.
	AddPath() BgpAddPath
	// SetAddPath assigns BgpAddPath provided by user to BgpSrteV4Policy.
	// 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.
	SetAddPath(value BgpAddPath) BgpSrteV4Policy
	// HasAddPath checks if AddPath has been set in BgpSrteV4Policy
	HasAddPath() bool
	// AsPath returns BgpAsPath, set in BgpSrteV4Policy.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	AsPath() BgpAsPath
	// SetAsPath assigns BgpAsPath provided by user to BgpSrteV4Policy.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	SetAsPath(value BgpAsPath) BgpSrteV4Policy
	// HasAsPath checks if AsPath has been set in BgpSrteV4Policy
	HasAsPath() bool
	// Communities returns BgpSrteV4PolicyBgpCommunityIterIter, set in BgpSrteV4Policy
	Communities() BgpSrteV4PolicyBgpCommunityIter
	// ExtCommunities returns BgpSrteV4PolicyBgpExtCommunityIterIter, set in BgpSrteV4Policy
	ExtCommunities() BgpSrteV4PolicyBgpExtCommunityIter
	// TunnelTlvs returns BgpSrteV4PolicyBgpSrteV4TunnelTlvIterIter, set in BgpSrteV4Policy
	TunnelTlvs() BgpSrteV4PolicyBgpSrteV4TunnelTlvIter
	// Name returns string, set in BgpSrteV4Policy.
	Name() string
	// SetName assigns string provided by user to BgpSrteV4Policy
	SetName(value string) BgpSrteV4Policy
	// Active returns bool, set in BgpSrteV4Policy.
	Active() bool
	// SetActive assigns bool provided by user to BgpSrteV4Policy
	SetActive(value bool) BgpSrteV4Policy
	// HasActive checks if Active has been set in BgpSrteV4Policy
	HasActive() bool
	// contains filtered or unexported methods
}

func NewBgpSrteV4Policy added in v0.6.5

func NewBgpSrteV4Policy() BgpSrteV4Policy

type BgpSrteV4PolicyBgpCommunityIter added in v0.6.4

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

type BgpSrteV4PolicyBgpExtCommunityIter added in v0.6.4

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

type BgpSrteV4PolicyBgpSrteV4TunnelTlvIter added in v0.6.4

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

type BgpSrteV4PolicyNextHopAddressTypeEnum added in v0.6.4

type BgpSrteV4PolicyNextHopAddressTypeEnum string

type BgpSrteV4PolicyNextHopModeEnum added in v0.6.4

type BgpSrteV4PolicyNextHopModeEnum string

type BgpSrteV4TunnelTlv added in v0.6.4

type BgpSrteV4TunnelTlv interface {
	Validation
	// Msg marshals BgpSrteV4TunnelTlv to protobuf object *otg.BgpSrteV4TunnelTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteV4TunnelTlv
	// SetMsg unmarshals BgpSrteV4TunnelTlv from protobuf object *otg.BgpSrteV4TunnelTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteV4TunnelTlv) BgpSrteV4TunnelTlv
	// ToProto marshals BgpSrteV4TunnelTlv to protobuf object *otg.BgpSrteV4TunnelTlv
	ToProto() (*otg.BgpSrteV4TunnelTlv, error)
	// ToPbText marshals BgpSrteV4TunnelTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteV4TunnelTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteV4TunnelTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteV4TunnelTlv from protobuf object *otg.BgpSrteV4TunnelTlv
	FromProto(msg *otg.BgpSrteV4TunnelTlv) (BgpSrteV4TunnelTlv, error)
	// FromPbText unmarshals BgpSrteV4TunnelTlv from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpSrteV4TunnelTlv from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpSrteV4TunnelTlv from JSON text
	FromJson(value string) error
	// Validate validates BgpSrteV4TunnelTlv
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteV4TunnelTlv, error)

	// RemoteEndpointSubTlv returns BgpSrteRemoteEndpointSubTlv, set in BgpSrteV4TunnelTlv.
	// BgpSrteRemoteEndpointSubTlv is configuration for the BGP remote endpoint sub TLV.
	RemoteEndpointSubTlv() BgpSrteRemoteEndpointSubTlv
	// SetRemoteEndpointSubTlv assigns BgpSrteRemoteEndpointSubTlv provided by user to BgpSrteV4TunnelTlv.
	// BgpSrteRemoteEndpointSubTlv is configuration for the BGP remote endpoint sub TLV.
	SetRemoteEndpointSubTlv(value BgpSrteRemoteEndpointSubTlv) BgpSrteV4TunnelTlv
	// HasRemoteEndpointSubTlv checks if RemoteEndpointSubTlv has been set in BgpSrteV4TunnelTlv
	HasRemoteEndpointSubTlv() bool
	// ColorSubTlv returns BgpSrteColorSubTlv, set in BgpSrteV4TunnelTlv.
	// 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.
	ColorSubTlv() BgpSrteColorSubTlv
	// SetColorSubTlv assigns BgpSrteColorSubTlv provided by user to BgpSrteV4TunnelTlv.
	// 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.
	SetColorSubTlv(value BgpSrteColorSubTlv) BgpSrteV4TunnelTlv
	// HasColorSubTlv checks if ColorSubTlv has been set in BgpSrteV4TunnelTlv
	HasColorSubTlv() bool
	// BindingSubTlv returns BgpSrteBindingSubTlv, set in BgpSrteV4TunnelTlv.
	// 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.
	BindingSubTlv() BgpSrteBindingSubTlv
	// SetBindingSubTlv assigns BgpSrteBindingSubTlv provided by user to BgpSrteV4TunnelTlv.
	// 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.
	SetBindingSubTlv(value BgpSrteBindingSubTlv) BgpSrteV4TunnelTlv
	// HasBindingSubTlv checks if BindingSubTlv has been set in BgpSrteV4TunnelTlv
	HasBindingSubTlv() bool
	// PreferenceSubTlv returns BgpSrtePreferenceSubTlv, set in BgpSrteV4TunnelTlv.
	// BgpSrtePreferenceSubTlv is configuration for BGP preference sub TLV of the SR Policy candidate path.
	PreferenceSubTlv() BgpSrtePreferenceSubTlv
	// SetPreferenceSubTlv assigns BgpSrtePreferenceSubTlv provided by user to BgpSrteV4TunnelTlv.
	// BgpSrtePreferenceSubTlv is configuration for BGP preference sub TLV of the SR Policy candidate path.
	SetPreferenceSubTlv(value BgpSrtePreferenceSubTlv) BgpSrteV4TunnelTlv
	// HasPreferenceSubTlv checks if PreferenceSubTlv has been set in BgpSrteV4TunnelTlv
	HasPreferenceSubTlv() bool
	// PolicyPrioritySubTlv returns BgpSrtePolicyPrioritySubTlv, set in BgpSrteV4TunnelTlv.
	// 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.
	PolicyPrioritySubTlv() BgpSrtePolicyPrioritySubTlv
	// SetPolicyPrioritySubTlv assigns BgpSrtePolicyPrioritySubTlv provided by user to BgpSrteV4TunnelTlv.
	// 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.
	SetPolicyPrioritySubTlv(value BgpSrtePolicyPrioritySubTlv) BgpSrteV4TunnelTlv
	// HasPolicyPrioritySubTlv checks if PolicyPrioritySubTlv has been set in BgpSrteV4TunnelTlv
	HasPolicyPrioritySubTlv() bool
	// PolicyNameSubTlv returns BgpSrtePolicyNameSubTlv, set in BgpSrteV4TunnelTlv.
	// 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.
	PolicyNameSubTlv() BgpSrtePolicyNameSubTlv
	// SetPolicyNameSubTlv assigns BgpSrtePolicyNameSubTlv provided by user to BgpSrteV4TunnelTlv.
	// 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.
	SetPolicyNameSubTlv(value BgpSrtePolicyNameSubTlv) BgpSrteV4TunnelTlv
	// HasPolicyNameSubTlv checks if PolicyNameSubTlv has been set in BgpSrteV4TunnelTlv
	HasPolicyNameSubTlv() bool
	// ExplicitNullLabelPolicySubTlv returns BgpSrteExplicitNullLabelPolicySubTlv, set in BgpSrteV4TunnelTlv.
	// BgpSrteExplicitNullLabelPolicySubTlv is configuration for BGP explicit null label policy sub TLV settings.
	ExplicitNullLabelPolicySubTlv() BgpSrteExplicitNullLabelPolicySubTlv
	// SetExplicitNullLabelPolicySubTlv assigns BgpSrteExplicitNullLabelPolicySubTlv provided by user to BgpSrteV4TunnelTlv.
	// BgpSrteExplicitNullLabelPolicySubTlv is configuration for BGP explicit null label policy sub TLV settings.
	SetExplicitNullLabelPolicySubTlv(value BgpSrteExplicitNullLabelPolicySubTlv) BgpSrteV4TunnelTlv
	// HasExplicitNullLabelPolicySubTlv checks if ExplicitNullLabelPolicySubTlv has been set in BgpSrteV4TunnelTlv
	HasExplicitNullLabelPolicySubTlv() bool
	// SegmentLists returns BgpSrteV4TunnelTlvBgpSrteSegmentListIterIter, set in BgpSrteV4TunnelTlv
	SegmentLists() BgpSrteV4TunnelTlvBgpSrteSegmentListIter
	// Name returns string, set in BgpSrteV4TunnelTlv.
	Name() string
	// SetName assigns string provided by user to BgpSrteV4TunnelTlv
	SetName(value string) BgpSrteV4TunnelTlv
	// Active returns bool, set in BgpSrteV4TunnelTlv.
	Active() bool
	// SetActive assigns bool provided by user to BgpSrteV4TunnelTlv
	SetActive(value bool) BgpSrteV4TunnelTlv
	// HasActive checks if Active has been set in BgpSrteV4TunnelTlv
	HasActive() bool
	// contains filtered or unexported methods
}

BgpSrteV4TunnelTlv is configuration for BGP SRTE Tunnel TLV.

func NewBgpSrteV4TunnelTlv added in v0.6.5

func NewBgpSrteV4TunnelTlv() BgpSrteV4TunnelTlv

type BgpSrteV4TunnelTlvBgpSrteSegmentListIter added in v0.6.4

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

type BgpSrteV6Policy added in v0.6.4

type BgpSrteV6Policy interface {
	Validation
	// Msg marshals BgpSrteV6Policy to protobuf object *otg.BgpSrteV6Policy
	// and doesn't set defaults
	Msg() *otg.BgpSrteV6Policy
	// SetMsg unmarshals BgpSrteV6Policy from protobuf object *otg.BgpSrteV6Policy
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteV6Policy) BgpSrteV6Policy
	// ToProto marshals BgpSrteV6Policy to protobuf object *otg.BgpSrteV6Policy
	ToProto() (*otg.BgpSrteV6Policy, error)
	// ToPbText marshals BgpSrteV6Policy to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteV6Policy to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteV6Policy to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteV6Policy from protobuf object *otg.BgpSrteV6Policy
	FromProto(msg *otg.BgpSrteV6Policy) (BgpSrteV6Policy, error)
	// FromPbText unmarshals BgpSrteV6Policy from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpSrteV6Policy from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpSrteV6Policy from JSON text
	FromJson(value string) error
	// Validate validates BgpSrteV6Policy
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteV6Policy, error)

	// Distinguisher returns int64, set in BgpSrteV6Policy.
	Distinguisher() int64
	// SetDistinguisher assigns int64 provided by user to BgpSrteV6Policy
	SetDistinguisher(value int64) BgpSrteV6Policy
	// HasDistinguisher checks if Distinguisher has been set in BgpSrteV6Policy
	HasDistinguisher() bool
	// Color returns int64, set in BgpSrteV6Policy.
	Color() int64
	// SetColor assigns int64 provided by user to BgpSrteV6Policy
	SetColor(value int64) BgpSrteV6Policy
	// HasColor checks if Color has been set in BgpSrteV6Policy
	HasColor() bool
	// Ipv6Endpoint returns string, set in BgpSrteV6Policy.
	Ipv6Endpoint() string
	// SetIpv6Endpoint assigns string provided by user to BgpSrteV6Policy
	SetIpv6Endpoint(value string) BgpSrteV6Policy
	// NextHopMode returns BgpSrteV6PolicyNextHopModeEnum, set in BgpSrteV6Policy
	NextHopMode() BgpSrteV6PolicyNextHopModeEnum
	// SetNextHopMode assigns BgpSrteV6PolicyNextHopModeEnum provided by user to BgpSrteV6Policy
	SetNextHopMode(value BgpSrteV6PolicyNextHopModeEnum) BgpSrteV6Policy
	// HasNextHopMode checks if NextHopMode has been set in BgpSrteV6Policy
	HasNextHopMode() bool
	// NextHopAddressType returns BgpSrteV6PolicyNextHopAddressTypeEnum, set in BgpSrteV6Policy
	NextHopAddressType() BgpSrteV6PolicyNextHopAddressTypeEnum
	// SetNextHopAddressType assigns BgpSrteV6PolicyNextHopAddressTypeEnum provided by user to BgpSrteV6Policy
	SetNextHopAddressType(value BgpSrteV6PolicyNextHopAddressTypeEnum) BgpSrteV6Policy
	// HasNextHopAddressType checks if NextHopAddressType has been set in BgpSrteV6Policy
	HasNextHopAddressType() bool
	// NextHopIpv4Address returns string, set in BgpSrteV6Policy.
	NextHopIpv4Address() string
	// SetNextHopIpv4Address assigns string provided by user to BgpSrteV6Policy
	SetNextHopIpv4Address(value string) BgpSrteV6Policy
	// HasNextHopIpv4Address checks if NextHopIpv4Address has been set in BgpSrteV6Policy
	HasNextHopIpv4Address() bool
	// NextHopIpv6Address returns string, set in BgpSrteV6Policy.
	NextHopIpv6Address() string
	// SetNextHopIpv6Address assigns string provided by user to BgpSrteV6Policy
	SetNextHopIpv6Address(value string) BgpSrteV6Policy
	// HasNextHopIpv6Address checks if NextHopIpv6Address has been set in BgpSrteV6Policy
	HasNextHopIpv6Address() bool
	// Advanced returns BgpRouteAdvanced, set in BgpSrteV6Policy.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	Advanced() BgpRouteAdvanced
	// SetAdvanced assigns BgpRouteAdvanced provided by user to BgpSrteV6Policy.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	SetAdvanced(value BgpRouteAdvanced) BgpSrteV6Policy
	// HasAdvanced checks if Advanced has been set in BgpSrteV6Policy
	HasAdvanced() bool
	// AddPath returns BgpAddPath, set in BgpSrteV6Policy.
	// 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.
	AddPath() BgpAddPath
	// SetAddPath assigns BgpAddPath provided by user to BgpSrteV6Policy.
	// 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.
	SetAddPath(value BgpAddPath) BgpSrteV6Policy
	// HasAddPath checks if AddPath has been set in BgpSrteV6Policy
	HasAddPath() bool
	// AsPath returns BgpAsPath, set in BgpSrteV6Policy.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	AsPath() BgpAsPath
	// SetAsPath assigns BgpAsPath provided by user to BgpSrteV6Policy.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	SetAsPath(value BgpAsPath) BgpSrteV6Policy
	// HasAsPath checks if AsPath has been set in BgpSrteV6Policy
	HasAsPath() bool
	// Communities returns BgpSrteV6PolicyBgpCommunityIterIter, set in BgpSrteV6Policy
	Communities() BgpSrteV6PolicyBgpCommunityIter
	// Extcommunities returns BgpSrteV6PolicyBgpExtCommunityIterIter, set in BgpSrteV6Policy
	Extcommunities() BgpSrteV6PolicyBgpExtCommunityIter
	// TunnelTlvs returns BgpSrteV6PolicyBgpSrteV6TunnelTlvIterIter, set in BgpSrteV6Policy
	TunnelTlvs() BgpSrteV6PolicyBgpSrteV6TunnelTlvIter
	// Name returns string, set in BgpSrteV6Policy.
	Name() string
	// SetName assigns string provided by user to BgpSrteV6Policy
	SetName(value string) BgpSrteV6Policy
	// Active returns bool, set in BgpSrteV6Policy.
	Active() bool
	// SetActive assigns bool provided by user to BgpSrteV6Policy
	SetActive(value bool) BgpSrteV6Policy
	// HasActive checks if Active has been set in BgpSrteV6Policy
	HasActive() bool
	// contains filtered or unexported methods
}

func NewBgpSrteV6Policy added in v0.6.5

func NewBgpSrteV6Policy() BgpSrteV6Policy

type BgpSrteV6PolicyBgpCommunityIter added in v0.6.4

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

type BgpSrteV6PolicyBgpExtCommunityIter added in v0.6.4

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

type BgpSrteV6PolicyBgpSrteV6TunnelTlvIter added in v0.6.4

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

type BgpSrteV6PolicyNextHopAddressTypeEnum added in v0.6.4

type BgpSrteV6PolicyNextHopAddressTypeEnum string

type BgpSrteV6PolicyNextHopModeEnum added in v0.6.4

type BgpSrteV6PolicyNextHopModeEnum string

type BgpSrteV6TunnelTlv added in v0.6.4

type BgpSrteV6TunnelTlv interface {
	Validation
	// Msg marshals BgpSrteV6TunnelTlv to protobuf object *otg.BgpSrteV6TunnelTlv
	// and doesn't set defaults
	Msg() *otg.BgpSrteV6TunnelTlv
	// SetMsg unmarshals BgpSrteV6TunnelTlv from protobuf object *otg.BgpSrteV6TunnelTlv
	// and doesn't set defaults
	SetMsg(*otg.BgpSrteV6TunnelTlv) BgpSrteV6TunnelTlv
	// ToProto marshals BgpSrteV6TunnelTlv to protobuf object *otg.BgpSrteV6TunnelTlv
	ToProto() (*otg.BgpSrteV6TunnelTlv, error)
	// ToPbText marshals BgpSrteV6TunnelTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpSrteV6TunnelTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpSrteV6TunnelTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpSrteV6TunnelTlv from protobuf object *otg.BgpSrteV6TunnelTlv
	FromProto(msg *otg.BgpSrteV6TunnelTlv) (BgpSrteV6TunnelTlv, error)
	// FromPbText unmarshals BgpSrteV6TunnelTlv from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpSrteV6TunnelTlv from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpSrteV6TunnelTlv from JSON text
	FromJson(value string) error
	// Validate validates BgpSrteV6TunnelTlv
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpSrteV6TunnelTlv, error)

	// RemoteEndpointSubTlv returns BgpSrteRemoteEndpointSubTlv, set in BgpSrteV6TunnelTlv.
	// BgpSrteRemoteEndpointSubTlv is configuration for the BGP remote endpoint sub TLV.
	RemoteEndpointSubTlv() BgpSrteRemoteEndpointSubTlv
	// SetRemoteEndpointSubTlv assigns BgpSrteRemoteEndpointSubTlv provided by user to BgpSrteV6TunnelTlv.
	// BgpSrteRemoteEndpointSubTlv is configuration for the BGP remote endpoint sub TLV.
	SetRemoteEndpointSubTlv(value BgpSrteRemoteEndpointSubTlv) BgpSrteV6TunnelTlv
	// HasRemoteEndpointSubTlv checks if RemoteEndpointSubTlv has been set in BgpSrteV6TunnelTlv
	HasRemoteEndpointSubTlv() bool
	// ColorSubTlv returns BgpSrteColorSubTlv, set in BgpSrteV6TunnelTlv.
	// 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.
	ColorSubTlv() BgpSrteColorSubTlv
	// SetColorSubTlv assigns BgpSrteColorSubTlv provided by user to BgpSrteV6TunnelTlv.
	// 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.
	SetColorSubTlv(value BgpSrteColorSubTlv) BgpSrteV6TunnelTlv
	// HasColorSubTlv checks if ColorSubTlv has been set in BgpSrteV6TunnelTlv
	HasColorSubTlv() bool
	// BindingSubTlv returns BgpSrteBindingSubTlv, set in BgpSrteV6TunnelTlv.
	// 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.
	BindingSubTlv() BgpSrteBindingSubTlv
	// SetBindingSubTlv assigns BgpSrteBindingSubTlv provided by user to BgpSrteV6TunnelTlv.
	// 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.
	SetBindingSubTlv(value BgpSrteBindingSubTlv) BgpSrteV6TunnelTlv
	// HasBindingSubTlv checks if BindingSubTlv has been set in BgpSrteV6TunnelTlv
	HasBindingSubTlv() bool
	// PreferenceSubTlv returns BgpSrtePreferenceSubTlv, set in BgpSrteV6TunnelTlv.
	// BgpSrtePreferenceSubTlv is configuration for BGP preference sub TLV of the SR Policy candidate path.
	PreferenceSubTlv() BgpSrtePreferenceSubTlv
	// SetPreferenceSubTlv assigns BgpSrtePreferenceSubTlv provided by user to BgpSrteV6TunnelTlv.
	// BgpSrtePreferenceSubTlv is configuration for BGP preference sub TLV of the SR Policy candidate path.
	SetPreferenceSubTlv(value BgpSrtePreferenceSubTlv) BgpSrteV6TunnelTlv
	// HasPreferenceSubTlv checks if PreferenceSubTlv has been set in BgpSrteV6TunnelTlv
	HasPreferenceSubTlv() bool
	// PolicyPrioritySubTlv returns BgpSrtePolicyPrioritySubTlv, set in BgpSrteV6TunnelTlv.
	// 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.
	PolicyPrioritySubTlv() BgpSrtePolicyPrioritySubTlv
	// SetPolicyPrioritySubTlv assigns BgpSrtePolicyPrioritySubTlv provided by user to BgpSrteV6TunnelTlv.
	// 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.
	SetPolicyPrioritySubTlv(value BgpSrtePolicyPrioritySubTlv) BgpSrteV6TunnelTlv
	// HasPolicyPrioritySubTlv checks if PolicyPrioritySubTlv has been set in BgpSrteV6TunnelTlv
	HasPolicyPrioritySubTlv() bool
	// PolicyNameSubTlv returns BgpSrtePolicyNameSubTlv, set in BgpSrteV6TunnelTlv.
	// 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.
	PolicyNameSubTlv() BgpSrtePolicyNameSubTlv
	// SetPolicyNameSubTlv assigns BgpSrtePolicyNameSubTlv provided by user to BgpSrteV6TunnelTlv.
	// 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.
	SetPolicyNameSubTlv(value BgpSrtePolicyNameSubTlv) BgpSrteV6TunnelTlv
	// HasPolicyNameSubTlv checks if PolicyNameSubTlv has been set in BgpSrteV6TunnelTlv
	HasPolicyNameSubTlv() bool
	// ExplicitNullLabelPolicySubTlv returns BgpSrteExplicitNullLabelPolicySubTlv, set in BgpSrteV6TunnelTlv.
	// BgpSrteExplicitNullLabelPolicySubTlv is configuration for BGP explicit null label policy sub TLV settings.
	ExplicitNullLabelPolicySubTlv() BgpSrteExplicitNullLabelPolicySubTlv
	// SetExplicitNullLabelPolicySubTlv assigns BgpSrteExplicitNullLabelPolicySubTlv provided by user to BgpSrteV6TunnelTlv.
	// BgpSrteExplicitNullLabelPolicySubTlv is configuration for BGP explicit null label policy sub TLV settings.
	SetExplicitNullLabelPolicySubTlv(value BgpSrteExplicitNullLabelPolicySubTlv) BgpSrteV6TunnelTlv
	// HasExplicitNullLabelPolicySubTlv checks if ExplicitNullLabelPolicySubTlv has been set in BgpSrteV6TunnelTlv
	HasExplicitNullLabelPolicySubTlv() bool
	// SegmentLists returns BgpSrteV6TunnelTlvBgpSrteSegmentListIterIter, set in BgpSrteV6TunnelTlv
	SegmentLists() BgpSrteV6TunnelTlvBgpSrteSegmentListIter
	// Name returns string, set in BgpSrteV6TunnelTlv.
	Name() string
	// SetName assigns string provided by user to BgpSrteV6TunnelTlv
	SetName(value string) BgpSrteV6TunnelTlv
	// Active returns bool, set in BgpSrteV6TunnelTlv.
	Active() bool
	// SetActive assigns bool provided by user to BgpSrteV6TunnelTlv
	SetActive(value bool) BgpSrteV6TunnelTlv
	// HasActive checks if Active has been set in BgpSrteV6TunnelTlv
	HasActive() bool
	// contains filtered or unexported methods
}

BgpSrteV6TunnelTlv is configuration for BGP SRTE Tunnel TLV.

func NewBgpSrteV6TunnelTlv added in v0.6.5

func NewBgpSrteV6TunnelTlv() BgpSrteV6TunnelTlv

type BgpSrteV6TunnelTlvBgpSrteSegmentListIter added in v0.6.4

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

type BgpV4EthernetSegment added in v0.7.34

type BgpV4EthernetSegment interface {
	Validation
	// Msg marshals BgpV4EthernetSegment to protobuf object *otg.BgpV4EthernetSegment
	// and doesn't set defaults
	Msg() *otg.BgpV4EthernetSegment
	// SetMsg unmarshals BgpV4EthernetSegment from protobuf object *otg.BgpV4EthernetSegment
	// and doesn't set defaults
	SetMsg(*otg.BgpV4EthernetSegment) BgpV4EthernetSegment
	// ToProto marshals BgpV4EthernetSegment to protobuf object *otg.BgpV4EthernetSegment
	ToProto() (*otg.BgpV4EthernetSegment, error)
	// ToPbText marshals BgpV4EthernetSegment to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV4EthernetSegment to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV4EthernetSegment to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV4EthernetSegment from protobuf object *otg.BgpV4EthernetSegment
	FromProto(msg *otg.BgpV4EthernetSegment) (BgpV4EthernetSegment, error)
	// FromPbText unmarshals BgpV4EthernetSegment from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV4EthernetSegment from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV4EthernetSegment from JSON text
	FromJson(value string) error
	// Validate validates BgpV4EthernetSegment
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV4EthernetSegment, error)

	// DfElection returns BgpEthernetSegmentDfElection, set in BgpV4EthernetSegment.
	// BgpEthernetSegmentDfElection is configuration for Designated Forwarder (DF) election among the Provider Edge (PE) routers on the same Ethernet Segment.
	DfElection() BgpEthernetSegmentDfElection
	// SetDfElection assigns BgpEthernetSegmentDfElection provided by user to BgpV4EthernetSegment.
	// BgpEthernetSegmentDfElection is configuration for Designated Forwarder (DF) election among the Provider Edge (PE) routers on the same Ethernet Segment.
	SetDfElection(value BgpEthernetSegmentDfElection) BgpV4EthernetSegment
	// HasDfElection checks if DfElection has been set in BgpV4EthernetSegment
	HasDfElection() bool
	// Evis returns BgpV4EthernetSegmentBgpV4EvpnEvisIterIter, set in BgpV4EthernetSegment
	Evis() BgpV4EthernetSegmentBgpV4EvpnEvisIter
	// Esi returns string, set in BgpV4EthernetSegment.
	Esi() string
	// SetEsi assigns string provided by user to BgpV4EthernetSegment
	SetEsi(value string) BgpV4EthernetSegment
	// HasEsi checks if Esi has been set in BgpV4EthernetSegment
	HasEsi() bool
	// ActiveMode returns BgpV4EthernetSegmentActiveModeEnum, set in BgpV4EthernetSegment
	ActiveMode() BgpV4EthernetSegmentActiveModeEnum
	// SetActiveMode assigns BgpV4EthernetSegmentActiveModeEnum provided by user to BgpV4EthernetSegment
	SetActiveMode(value BgpV4EthernetSegmentActiveModeEnum) BgpV4EthernetSegment
	// HasActiveMode checks if ActiveMode has been set in BgpV4EthernetSegment
	HasActiveMode() bool
	// EsiLabel returns int32, set in BgpV4EthernetSegment.
	EsiLabel() int32
	// SetEsiLabel assigns int32 provided by user to BgpV4EthernetSegment
	SetEsiLabel(value int32) BgpV4EthernetSegment
	// HasEsiLabel checks if EsiLabel has been set in BgpV4EthernetSegment
	HasEsiLabel() bool
	// Advanced returns BgpRouteAdvanced, set in BgpV4EthernetSegment.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	Advanced() BgpRouteAdvanced
	// SetAdvanced assigns BgpRouteAdvanced provided by user to BgpV4EthernetSegment.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	SetAdvanced(value BgpRouteAdvanced) BgpV4EthernetSegment
	// HasAdvanced checks if Advanced has been set in BgpV4EthernetSegment
	HasAdvanced() bool
	// Communities returns BgpV4EthernetSegmentBgpCommunityIterIter, set in BgpV4EthernetSegment
	Communities() BgpV4EthernetSegmentBgpCommunityIter
	// ExtCommunities returns BgpV4EthernetSegmentBgpExtCommunityIterIter, set in BgpV4EthernetSegment
	ExtCommunities() BgpV4EthernetSegmentBgpExtCommunityIter
	// AsPath returns BgpAsPath, set in BgpV4EthernetSegment.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	AsPath() BgpAsPath
	// SetAsPath assigns BgpAsPath provided by user to BgpV4EthernetSegment.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	SetAsPath(value BgpAsPath) BgpV4EthernetSegment
	// HasAsPath checks if AsPath has been set in BgpV4EthernetSegment
	HasAsPath() bool
	// contains filtered or unexported methods
}

BgpV4EthernetSegment is configuration for BGP Ethernet Segment ranges. Advertises following routes -

Type 4 - Ethernet Segment Route

func NewBgpV4EthernetSegment added in v0.7.34

func NewBgpV4EthernetSegment() BgpV4EthernetSegment

type BgpV4EthernetSegmentActiveModeEnum added in v0.7.34

type BgpV4EthernetSegmentActiveModeEnum string

type BgpV4EthernetSegmentBgpCommunityIter added in v0.7.34

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

type BgpV4EthernetSegmentBgpExtCommunityIter added in v0.7.34

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

type BgpV4EthernetSegmentBgpV4EvpnEvisIter added in v0.7.34

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

type BgpV4EviVxlan added in v0.7.34

type BgpV4EviVxlan interface {
	Validation
	// Msg marshals BgpV4EviVxlan to protobuf object *otg.BgpV4EviVxlan
	// and doesn't set defaults
	Msg() *otg.BgpV4EviVxlan
	// SetMsg unmarshals BgpV4EviVxlan from protobuf object *otg.BgpV4EviVxlan
	// and doesn't set defaults
	SetMsg(*otg.BgpV4EviVxlan) BgpV4EviVxlan
	// ToProto marshals BgpV4EviVxlan to protobuf object *otg.BgpV4EviVxlan
	ToProto() (*otg.BgpV4EviVxlan, error)
	// ToPbText marshals BgpV4EviVxlan to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV4EviVxlan to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV4EviVxlan to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV4EviVxlan from protobuf object *otg.BgpV4EviVxlan
	FromProto(msg *otg.BgpV4EviVxlan) (BgpV4EviVxlan, error)
	// FromPbText unmarshals BgpV4EviVxlan from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV4EviVxlan from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV4EviVxlan from JSON text
	FromJson(value string) error
	// Validate validates BgpV4EviVxlan
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV4EviVxlan, error)

	// BroadcastDomains returns BgpV4EviVxlanBgpV4EviVxlanBroadcastDomainIterIter, set in BgpV4EviVxlan
	BroadcastDomains() BgpV4EviVxlanBgpV4EviVxlanBroadcastDomainIter
	// ReplicationType returns BgpV4EviVxlanReplicationTypeEnum, set in BgpV4EviVxlan
	ReplicationType() BgpV4EviVxlanReplicationTypeEnum
	// SetReplicationType assigns BgpV4EviVxlanReplicationTypeEnum provided by user to BgpV4EviVxlan
	SetReplicationType(value BgpV4EviVxlanReplicationTypeEnum) BgpV4EviVxlan
	// HasReplicationType checks if ReplicationType has been set in BgpV4EviVxlan
	HasReplicationType() bool
	// PmsiLabel returns int32, set in BgpV4EviVxlan.
	PmsiLabel() int32
	// SetPmsiLabel assigns int32 provided by user to BgpV4EviVxlan
	SetPmsiLabel(value int32) BgpV4EviVxlan
	// HasPmsiLabel checks if PmsiLabel has been set in BgpV4EviVxlan
	HasPmsiLabel() bool
	// AdLabel returns int32, set in BgpV4EviVxlan.
	AdLabel() int32
	// SetAdLabel assigns int32 provided by user to BgpV4EviVxlan
	SetAdLabel(value int32) BgpV4EviVxlan
	// HasAdLabel checks if AdLabel has been set in BgpV4EviVxlan
	HasAdLabel() bool
	// RouteDistinguisher returns BgpRouteDistinguisher, set in BgpV4EviVxlan.
	// BgpRouteDistinguisher is bGP Route Distinguisher.
	RouteDistinguisher() BgpRouteDistinguisher
	// SetRouteDistinguisher assigns BgpRouteDistinguisher provided by user to BgpV4EviVxlan.
	// BgpRouteDistinguisher is bGP Route Distinguisher.
	SetRouteDistinguisher(value BgpRouteDistinguisher) BgpV4EviVxlan
	// HasRouteDistinguisher checks if RouteDistinguisher has been set in BgpV4EviVxlan
	HasRouteDistinguisher() bool
	// RouteTargetExport returns BgpV4EviVxlanBgpRouteTargetIterIter, set in BgpV4EviVxlan
	RouteTargetExport() BgpV4EviVxlanBgpRouteTargetIter
	// RouteTargetImport returns BgpV4EviVxlanBgpRouteTargetIterIter, set in BgpV4EviVxlan
	RouteTargetImport() BgpV4EviVxlanBgpRouteTargetIter
	// L3RouteTargetExport returns BgpV4EviVxlanBgpRouteTargetIterIter, set in BgpV4EviVxlan
	L3RouteTargetExport() BgpV4EviVxlanBgpRouteTargetIter
	// L3RouteTargetImport returns BgpV4EviVxlanBgpRouteTargetIterIter, set in BgpV4EviVxlan
	L3RouteTargetImport() BgpV4EviVxlanBgpRouteTargetIter
	// Advanced returns BgpRouteAdvanced, set in BgpV4EviVxlan.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	Advanced() BgpRouteAdvanced
	// SetAdvanced assigns BgpRouteAdvanced provided by user to BgpV4EviVxlan.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	SetAdvanced(value BgpRouteAdvanced) BgpV4EviVxlan
	// HasAdvanced checks if Advanced has been set in BgpV4EviVxlan
	HasAdvanced() bool
	// Communities returns BgpV4EviVxlanBgpCommunityIterIter, set in BgpV4EviVxlan
	Communities() BgpV4EviVxlanBgpCommunityIter
	// ExtCommunities returns BgpV4EviVxlanBgpExtCommunityIterIter, set in BgpV4EviVxlan
	ExtCommunities() BgpV4EviVxlanBgpExtCommunityIter
	// AsPath returns BgpAsPath, set in BgpV4EviVxlan.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	AsPath() BgpAsPath
	// SetAsPath assigns BgpAsPath provided by user to BgpV4EviVxlan.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	SetAsPath(value BgpAsPath) BgpV4EviVxlan
	// HasAsPath checks if AsPath has been set in BgpV4EviVxlan
	HasAsPath() bool
	// contains filtered or unexported methods
}

BgpV4EviVxlan is configuration for BGP EVPN EVI. Advertises following routes -

Type 3 - Inclusive Multicast Ethernet Tag Route

Type 1 - Ethernet Auto-discovery Route (Per EVI)

Type 1 - Ethernet Auto-discovery Route (Per ES)

func NewBgpV4EviVxlan added in v0.7.34

func NewBgpV4EviVxlan() BgpV4EviVxlan

type BgpV4EviVxlanBgpCommunityIter added in v0.7.34

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

type BgpV4EviVxlanBgpExtCommunityIter added in v0.7.34

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

type BgpV4EviVxlanBgpRouteTargetIter added in v0.7.34

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

type BgpV4EviVxlanBgpV4EviVxlanBroadcastDomainIter added in v0.7.34

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

type BgpV4EviVxlanBroadcastDomain added in v0.7.34

type BgpV4EviVxlanBroadcastDomain interface {
	Validation
	// Msg marshals BgpV4EviVxlanBroadcastDomain to protobuf object *otg.BgpV4EviVxlanBroadcastDomain
	// and doesn't set defaults
	Msg() *otg.BgpV4EviVxlanBroadcastDomain
	// SetMsg unmarshals BgpV4EviVxlanBroadcastDomain from protobuf object *otg.BgpV4EviVxlanBroadcastDomain
	// and doesn't set defaults
	SetMsg(*otg.BgpV4EviVxlanBroadcastDomain) BgpV4EviVxlanBroadcastDomain
	// ToProto marshals BgpV4EviVxlanBroadcastDomain to protobuf object *otg.BgpV4EviVxlanBroadcastDomain
	ToProto() (*otg.BgpV4EviVxlanBroadcastDomain, error)
	// ToPbText marshals BgpV4EviVxlanBroadcastDomain to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV4EviVxlanBroadcastDomain to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV4EviVxlanBroadcastDomain to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV4EviVxlanBroadcastDomain from protobuf object *otg.BgpV4EviVxlanBroadcastDomain
	FromProto(msg *otg.BgpV4EviVxlanBroadcastDomain) (BgpV4EviVxlanBroadcastDomain, error)
	// FromPbText unmarshals BgpV4EviVxlanBroadcastDomain from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV4EviVxlanBroadcastDomain from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV4EviVxlanBroadcastDomain from JSON text
	FromJson(value string) error
	// Validate validates BgpV4EviVxlanBroadcastDomain
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV4EviVxlanBroadcastDomain, error)

	// CmacIpRange returns BgpV4EviVxlanBroadcastDomainBgpCMacIpRangeIterIter, set in BgpV4EviVxlanBroadcastDomain
	CmacIpRange() BgpV4EviVxlanBroadcastDomainBgpCMacIpRangeIter
	// EthernetTagId returns int64, set in BgpV4EviVxlanBroadcastDomain.
	EthernetTagId() int64
	// SetEthernetTagId assigns int64 provided by user to BgpV4EviVxlanBroadcastDomain
	SetEthernetTagId(value int64) BgpV4EviVxlanBroadcastDomain
	// HasEthernetTagId checks if EthernetTagId has been set in BgpV4EviVxlanBroadcastDomain
	HasEthernetTagId() bool
	// VlanAwareService returns bool, set in BgpV4EviVxlanBroadcastDomain.
	VlanAwareService() bool
	// SetVlanAwareService assigns bool provided by user to BgpV4EviVxlanBroadcastDomain
	SetVlanAwareService(value bool) BgpV4EviVxlanBroadcastDomain
	// HasVlanAwareService checks if VlanAwareService has been set in BgpV4EviVxlanBroadcastDomain
	HasVlanAwareService() bool
	// contains filtered or unexported methods
}

BgpV4EviVxlanBroadcastDomain is configuration for Broadcast Domains per EVI.

func NewBgpV4EviVxlanBroadcastDomain added in v0.7.34

func NewBgpV4EviVxlanBroadcastDomain() BgpV4EviVxlanBroadcastDomain

type BgpV4EviVxlanBroadcastDomainBgpCMacIpRangeIter added in v0.7.34

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

type BgpV4EviVxlanReplicationTypeEnum added in v0.7.34

type BgpV4EviVxlanReplicationTypeEnum string

type BgpV4EvpnEvis added in v0.7.34

type BgpV4EvpnEvis interface {
	Validation
	// Msg marshals BgpV4EvpnEvis to protobuf object *otg.BgpV4EvpnEvis
	// and doesn't set defaults
	Msg() *otg.BgpV4EvpnEvis
	// SetMsg unmarshals BgpV4EvpnEvis from protobuf object *otg.BgpV4EvpnEvis
	// and doesn't set defaults
	SetMsg(*otg.BgpV4EvpnEvis) BgpV4EvpnEvis
	// ToProto marshals BgpV4EvpnEvis to protobuf object *otg.BgpV4EvpnEvis
	ToProto() (*otg.BgpV4EvpnEvis, error)
	// ToPbText marshals BgpV4EvpnEvis to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV4EvpnEvis to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV4EvpnEvis to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV4EvpnEvis from protobuf object *otg.BgpV4EvpnEvis
	FromProto(msg *otg.BgpV4EvpnEvis) (BgpV4EvpnEvis, error)
	// FromPbText unmarshals BgpV4EvpnEvis from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV4EvpnEvis from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV4EvpnEvis from JSON text
	FromJson(value string) error
	// Validate validates BgpV4EvpnEvis
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV4EvpnEvis, error)

	// Choice returns BgpV4EvpnEvisChoiceEnum, set in BgpV4EvpnEvis
	Choice() BgpV4EvpnEvisChoiceEnum
	// SetChoice assigns BgpV4EvpnEvisChoiceEnum provided by user to BgpV4EvpnEvis
	SetChoice(value BgpV4EvpnEvisChoiceEnum) BgpV4EvpnEvis
	// HasChoice checks if Choice has been set in BgpV4EvpnEvis
	HasChoice() bool
	// EviVxlan returns BgpV4EviVxlan, set in BgpV4EvpnEvis.
	// BgpV4EviVxlan is configuration for BGP EVPN EVI. Advertises following routes -
	//
	// # Type 3 - Inclusive Multicast Ethernet Tag Route
	//
	// Type 1 -  Ethernet Auto-discovery Route (Per EVI)
	//
	// Type 1 -  Ethernet Auto-discovery Route (Per ES)
	EviVxlan() BgpV4EviVxlan
	// SetEviVxlan assigns BgpV4EviVxlan provided by user to BgpV4EvpnEvis.
	// BgpV4EviVxlan is configuration for BGP EVPN EVI. Advertises following routes -
	//
	// # Type 3 - Inclusive Multicast Ethernet Tag Route
	//
	// Type 1 -  Ethernet Auto-discovery Route (Per EVI)
	//
	// Type 1 -  Ethernet Auto-discovery Route (Per ES)
	SetEviVxlan(value BgpV4EviVxlan) BgpV4EvpnEvis
	// HasEviVxlan checks if EviVxlan has been set in BgpV4EvpnEvis
	HasEviVxlan() bool
	// contains filtered or unexported methods
}

BgpV4EvpnEvis is this contains a list of different flavors of EVPN. For example EVPN over VXLAN or EVPN over MPLS etc to be configured per Ethernet segment. Need to instantiate correct type of EVPN instance as per requirement.

func NewBgpV4EvpnEvis added in v0.7.34

func NewBgpV4EvpnEvis() BgpV4EvpnEvis

type BgpV4EvpnEvisChoiceEnum added in v0.7.34

type BgpV4EvpnEvisChoiceEnum string

type BgpV4Interface added in v0.6.1

type BgpV4Interface interface {
	Validation
	// Msg marshals BgpV4Interface to protobuf object *otg.BgpV4Interface
	// and doesn't set defaults
	Msg() *otg.BgpV4Interface
	// SetMsg unmarshals BgpV4Interface from protobuf object *otg.BgpV4Interface
	// and doesn't set defaults
	SetMsg(*otg.BgpV4Interface) BgpV4Interface
	// ToProto marshals BgpV4Interface to protobuf object *otg.BgpV4Interface
	ToProto() (*otg.BgpV4Interface, error)
	// ToPbText marshals BgpV4Interface to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV4Interface to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV4Interface to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV4Interface from protobuf object *otg.BgpV4Interface
	FromProto(msg *otg.BgpV4Interface) (BgpV4Interface, error)
	// FromPbText unmarshals BgpV4Interface from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV4Interface from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV4Interface from JSON text
	FromJson(value string) error
	// Validate validates BgpV4Interface
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV4Interface, error)

	// Ipv4Name returns string, set in BgpV4Interface.
	Ipv4Name() string
	// SetIpv4Name assigns string provided by user to BgpV4Interface
	SetIpv4Name(value string) BgpV4Interface
	// Peers returns BgpV4InterfaceBgpV4PeerIterIter, set in BgpV4Interface
	Peers() BgpV4InterfaceBgpV4PeerIter
	// contains filtered or unexported methods
}

BgpV4Interface is configuration for emulated BGPv4 peers and routes on a single IPv4 interface.

func NewBgpV4Interface added in v0.6.5

func NewBgpV4Interface() BgpV4Interface

type BgpV4InterfaceBgpV4PeerIter added in v0.6.1

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

type BgpV4Peer added in v0.6.1

type BgpV4Peer interface {
	Validation
	// Msg marshals BgpV4Peer to protobuf object *otg.BgpV4Peer
	// and doesn't set defaults
	Msg() *otg.BgpV4Peer
	// SetMsg unmarshals BgpV4Peer from protobuf object *otg.BgpV4Peer
	// and doesn't set defaults
	SetMsg(*otg.BgpV4Peer) BgpV4Peer
	// ToProto marshals BgpV4Peer to protobuf object *otg.BgpV4Peer
	ToProto() (*otg.BgpV4Peer, error)
	// ToPbText marshals BgpV4Peer to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV4Peer to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV4Peer to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV4Peer from protobuf object *otg.BgpV4Peer
	FromProto(msg *otg.BgpV4Peer) (BgpV4Peer, error)
	// FromPbText unmarshals BgpV4Peer from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV4Peer from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV4Peer from JSON text
	FromJson(value string) error
	// Validate validates BgpV4Peer
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV4Peer, error)

	// PeerAddress returns string, set in BgpV4Peer.
	PeerAddress() string
	// SetPeerAddress assigns string provided by user to BgpV4Peer
	SetPeerAddress(value string) BgpV4Peer
	// EvpnEthernetSegments returns BgpV4PeerBgpV4EthernetSegmentIterIter, set in BgpV4Peer
	EvpnEthernetSegments() BgpV4PeerBgpV4EthernetSegmentIter
	// AsType returns BgpV4PeerAsTypeEnum, set in BgpV4Peer
	AsType() BgpV4PeerAsTypeEnum
	// SetAsType assigns BgpV4PeerAsTypeEnum provided by user to BgpV4Peer
	SetAsType(value BgpV4PeerAsTypeEnum) BgpV4Peer
	// AsNumber returns int32, set in BgpV4Peer.
	AsNumber() int32
	// SetAsNumber assigns int32 provided by user to BgpV4Peer
	SetAsNumber(value int32) BgpV4Peer
	// AsNumberWidth returns BgpV4PeerAsNumberWidthEnum, set in BgpV4Peer
	AsNumberWidth() BgpV4PeerAsNumberWidthEnum
	// SetAsNumberWidth assigns BgpV4PeerAsNumberWidthEnum provided by user to BgpV4Peer
	SetAsNumberWidth(value BgpV4PeerAsNumberWidthEnum) BgpV4Peer
	// HasAsNumberWidth checks if AsNumberWidth has been set in BgpV4Peer
	HasAsNumberWidth() bool
	// Advanced returns BgpAdvanced, set in BgpV4Peer.
	// BgpAdvanced is configuration for BGP advanced settings.
	Advanced() BgpAdvanced
	// SetAdvanced assigns BgpAdvanced provided by user to BgpV4Peer.
	// BgpAdvanced is configuration for BGP advanced settings.
	SetAdvanced(value BgpAdvanced) BgpV4Peer
	// HasAdvanced checks if Advanced has been set in BgpV4Peer
	HasAdvanced() bool
	// Capability returns BgpCapability, set in BgpV4Peer.
	// BgpCapability is configuration for BGP capability settings.
	Capability() BgpCapability
	// SetCapability assigns BgpCapability provided by user to BgpV4Peer.
	// BgpCapability is configuration for BGP capability settings.
	SetCapability(value BgpCapability) BgpV4Peer
	// HasCapability checks if Capability has been set in BgpV4Peer
	HasCapability() bool
	// LearnedInformationFilter returns BgpLearnedInformationFilter, set in BgpV4Peer.
	// BgpLearnedInformationFilter is configuration for controlling storage of BGP learned information recieved from the peer.
	LearnedInformationFilter() BgpLearnedInformationFilter
	// SetLearnedInformationFilter assigns BgpLearnedInformationFilter provided by user to BgpV4Peer.
	// BgpLearnedInformationFilter is configuration for controlling storage of BGP learned information recieved from the peer.
	SetLearnedInformationFilter(value BgpLearnedInformationFilter) BgpV4Peer
	// HasLearnedInformationFilter checks if LearnedInformationFilter has been set in BgpV4Peer
	HasLearnedInformationFilter() bool
	// V4Routes returns BgpV4PeerBgpV4RouteRangeIterIter, set in BgpV4Peer
	V4Routes() BgpV4PeerBgpV4RouteRangeIter
	// V6Routes returns BgpV4PeerBgpV6RouteRangeIterIter, set in BgpV4Peer
	V6Routes() BgpV4PeerBgpV6RouteRangeIter
	// V4SrtePolicies returns BgpV4PeerBgpSrteV4PolicyIterIter, set in BgpV4Peer
	V4SrtePolicies() BgpV4PeerBgpSrteV4PolicyIter
	// V6SrtePolicies returns BgpV4PeerBgpSrteV6PolicyIterIter, set in BgpV4Peer
	V6SrtePolicies() BgpV4PeerBgpSrteV6PolicyIter
	// Name returns string, set in BgpV4Peer.
	Name() string
	// SetName assigns string provided by user to BgpV4Peer
	SetName(value string) BgpV4Peer
	// GracefulRestart returns BgpGracefulRestart, set in BgpV4Peer.
	// BgpGracefulRestart is the Graceful Restart Capability (RFC 4724) is a BGP capability that can be used by a BGP speaker to indicate its ability to preserve its forwarding state during BGP restart. The Graceful Restart (GR) capability is advertised in OPEN messages sent between BGP peers. After a BGP session has been established, and the initial routing update has been completed,  an End-of-RIB (Routing Information Base) marker is sent in an UPDATE message to convey information  about routing convergence.
	GracefulRestart() BgpGracefulRestart
	// SetGracefulRestart assigns BgpGracefulRestart provided by user to BgpV4Peer.
	// BgpGracefulRestart is the Graceful Restart Capability (RFC 4724) is a BGP capability that can be used by a BGP speaker to indicate its ability to preserve its forwarding state during BGP restart. The Graceful Restart (GR) capability is advertised in OPEN messages sent between BGP peers. After a BGP session has been established, and the initial routing update has been completed,  an End-of-RIB (Routing Information Base) marker is sent in an UPDATE message to convey information  about routing convergence.
	SetGracefulRestart(value BgpGracefulRestart) BgpV4Peer
	// HasGracefulRestart checks if GracefulRestart has been set in BgpV4Peer
	HasGracefulRestart() bool
	// contains filtered or unexported methods
}

BgpV4Peer is configuration for emulated BGPv4 peers and routes.

func NewBgpV4Peer added in v0.6.5

func NewBgpV4Peer() BgpV4Peer

type BgpV4PeerAsNumberWidthEnum added in v0.6.1

type BgpV4PeerAsNumberWidthEnum string

type BgpV4PeerAsTypeEnum added in v0.6.1

type BgpV4PeerAsTypeEnum string

type BgpV4PeerBgpSrteV4PolicyIter added in v0.6.4

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

type BgpV4PeerBgpSrteV6PolicyIter added in v0.6.4

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

type BgpV4PeerBgpV4EthernetSegmentIter added in v0.7.34

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

type BgpV4PeerBgpV4RouteRangeIter added in v0.6.1

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

type BgpV4PeerBgpV6RouteRangeIter added in v0.6.1

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

type BgpV4RouteRange added in v0.6.1

type BgpV4RouteRange interface {
	Validation
	// Msg marshals BgpV4RouteRange to protobuf object *otg.BgpV4RouteRange
	// and doesn't set defaults
	Msg() *otg.BgpV4RouteRange
	// SetMsg unmarshals BgpV4RouteRange from protobuf object *otg.BgpV4RouteRange
	// and doesn't set defaults
	SetMsg(*otg.BgpV4RouteRange) BgpV4RouteRange
	// ToProto marshals BgpV4RouteRange to protobuf object *otg.BgpV4RouteRange
	ToProto() (*otg.BgpV4RouteRange, error)
	// ToPbText marshals BgpV4RouteRange to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV4RouteRange to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV4RouteRange to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV4RouteRange from protobuf object *otg.BgpV4RouteRange
	FromProto(msg *otg.BgpV4RouteRange) (BgpV4RouteRange, error)
	// FromPbText unmarshals BgpV4RouteRange from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV4RouteRange from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV4RouteRange from JSON text
	FromJson(value string) error
	// Validate validates BgpV4RouteRange
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV4RouteRange, error)

	// Addresses returns BgpV4RouteRangeV4RouteAddressIterIter, set in BgpV4RouteRange
	Addresses() BgpV4RouteRangeV4RouteAddressIter
	// NextHopMode returns BgpV4RouteRangeNextHopModeEnum, set in BgpV4RouteRange
	NextHopMode() BgpV4RouteRangeNextHopModeEnum
	// SetNextHopMode assigns BgpV4RouteRangeNextHopModeEnum provided by user to BgpV4RouteRange
	SetNextHopMode(value BgpV4RouteRangeNextHopModeEnum) BgpV4RouteRange
	// HasNextHopMode checks if NextHopMode has been set in BgpV4RouteRange
	HasNextHopMode() bool
	// NextHopAddressType returns BgpV4RouteRangeNextHopAddressTypeEnum, set in BgpV4RouteRange
	NextHopAddressType() BgpV4RouteRangeNextHopAddressTypeEnum
	// SetNextHopAddressType assigns BgpV4RouteRangeNextHopAddressTypeEnum provided by user to BgpV4RouteRange
	SetNextHopAddressType(value BgpV4RouteRangeNextHopAddressTypeEnum) BgpV4RouteRange
	// HasNextHopAddressType checks if NextHopAddressType has been set in BgpV4RouteRange
	HasNextHopAddressType() bool
	// NextHopIpv4Address returns string, set in BgpV4RouteRange.
	NextHopIpv4Address() string
	// SetNextHopIpv4Address assigns string provided by user to BgpV4RouteRange
	SetNextHopIpv4Address(value string) BgpV4RouteRange
	// HasNextHopIpv4Address checks if NextHopIpv4Address has been set in BgpV4RouteRange
	HasNextHopIpv4Address() bool
	// NextHopIpv6Address returns string, set in BgpV4RouteRange.
	NextHopIpv6Address() string
	// SetNextHopIpv6Address assigns string provided by user to BgpV4RouteRange
	SetNextHopIpv6Address(value string) BgpV4RouteRange
	// HasNextHopIpv6Address checks if NextHopIpv6Address has been set in BgpV4RouteRange
	HasNextHopIpv6Address() bool
	// Advanced returns BgpRouteAdvanced, set in BgpV4RouteRange.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	Advanced() BgpRouteAdvanced
	// SetAdvanced assigns BgpRouteAdvanced provided by user to BgpV4RouteRange.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	SetAdvanced(value BgpRouteAdvanced) BgpV4RouteRange
	// HasAdvanced checks if Advanced has been set in BgpV4RouteRange
	HasAdvanced() bool
	// Communities returns BgpV4RouteRangeBgpCommunityIterIter, set in BgpV4RouteRange
	Communities() BgpV4RouteRangeBgpCommunityIter
	// AsPath returns BgpAsPath, set in BgpV4RouteRange.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	AsPath() BgpAsPath
	// SetAsPath assigns BgpAsPath provided by user to BgpV4RouteRange.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	SetAsPath(value BgpAsPath) BgpV4RouteRange
	// HasAsPath checks if AsPath has been set in BgpV4RouteRange
	HasAsPath() bool
	// AddPath returns BgpAddPath, set in BgpV4RouteRange.
	// 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.
	AddPath() BgpAddPath
	// SetAddPath assigns BgpAddPath provided by user to BgpV4RouteRange.
	// 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.
	SetAddPath(value BgpAddPath) BgpV4RouteRange
	// HasAddPath checks if AddPath has been set in BgpV4RouteRange
	HasAddPath() bool
	// Name returns string, set in BgpV4RouteRange.
	Name() string
	// SetName assigns string provided by user to BgpV4RouteRange
	SetName(value string) BgpV4RouteRange
	// ExtCommunities returns BgpV4RouteRangeBgpExtCommunityIterIter, set in BgpV4RouteRange
	ExtCommunities() BgpV4RouteRangeBgpExtCommunityIter
	// contains filtered or unexported methods
}

BgpV4RouteRange is emulated BGPv4 route range.

func NewBgpV4RouteRange added in v0.6.5

func NewBgpV4RouteRange() BgpV4RouteRange

type BgpV4RouteRangeBgpCommunityIter added in v0.6.1

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

type BgpV4RouteRangeBgpExtCommunityIter added in v0.10.4

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

type BgpV4RouteRangeNextHopAddressTypeEnum added in v0.6.1

type BgpV4RouteRangeNextHopAddressTypeEnum string

type BgpV4RouteRangeNextHopModeEnum added in v0.6.1

type BgpV4RouteRangeNextHopModeEnum string

type BgpV4RouteRangeV4RouteAddressIter added in v0.6.1

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

type BgpV6EthernetSegment added in v0.7.34

type BgpV6EthernetSegment interface {
	Validation
	// Msg marshals BgpV6EthernetSegment to protobuf object *otg.BgpV6EthernetSegment
	// and doesn't set defaults
	Msg() *otg.BgpV6EthernetSegment
	// SetMsg unmarshals BgpV6EthernetSegment from protobuf object *otg.BgpV6EthernetSegment
	// and doesn't set defaults
	SetMsg(*otg.BgpV6EthernetSegment) BgpV6EthernetSegment
	// ToProto marshals BgpV6EthernetSegment to protobuf object *otg.BgpV6EthernetSegment
	ToProto() (*otg.BgpV6EthernetSegment, error)
	// ToPbText marshals BgpV6EthernetSegment to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV6EthernetSegment to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV6EthernetSegment to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV6EthernetSegment from protobuf object *otg.BgpV6EthernetSegment
	FromProto(msg *otg.BgpV6EthernetSegment) (BgpV6EthernetSegment, error)
	// FromPbText unmarshals BgpV6EthernetSegment from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV6EthernetSegment from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV6EthernetSegment from JSON text
	FromJson(value string) error
	// Validate validates BgpV6EthernetSegment
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV6EthernetSegment, error)

	// DfElection returns BgpEthernetSegmentDfElection, set in BgpV6EthernetSegment.
	// BgpEthernetSegmentDfElection is configuration for Designated Forwarder (DF) election among the Provider Edge (PE) routers on the same Ethernet Segment.
	DfElection() BgpEthernetSegmentDfElection
	// SetDfElection assigns BgpEthernetSegmentDfElection provided by user to BgpV6EthernetSegment.
	// BgpEthernetSegmentDfElection is configuration for Designated Forwarder (DF) election among the Provider Edge (PE) routers on the same Ethernet Segment.
	SetDfElection(value BgpEthernetSegmentDfElection) BgpV6EthernetSegment
	// HasDfElection checks if DfElection has been set in BgpV6EthernetSegment
	HasDfElection() bool
	// Evis returns BgpV6EthernetSegmentBgpV6EvpnEvisIterIter, set in BgpV6EthernetSegment
	Evis() BgpV6EthernetSegmentBgpV6EvpnEvisIter
	// Esi returns string, set in BgpV6EthernetSegment.
	Esi() string
	// SetEsi assigns string provided by user to BgpV6EthernetSegment
	SetEsi(value string) BgpV6EthernetSegment
	// HasEsi checks if Esi has been set in BgpV6EthernetSegment
	HasEsi() bool
	// ActiveMode returns BgpV6EthernetSegmentActiveModeEnum, set in BgpV6EthernetSegment
	ActiveMode() BgpV6EthernetSegmentActiveModeEnum
	// SetActiveMode assigns BgpV6EthernetSegmentActiveModeEnum provided by user to BgpV6EthernetSegment
	SetActiveMode(value BgpV6EthernetSegmentActiveModeEnum) BgpV6EthernetSegment
	// HasActiveMode checks if ActiveMode has been set in BgpV6EthernetSegment
	HasActiveMode() bool
	// EsiLabel returns int32, set in BgpV6EthernetSegment.
	EsiLabel() int32
	// SetEsiLabel assigns int32 provided by user to BgpV6EthernetSegment
	SetEsiLabel(value int32) BgpV6EthernetSegment
	// HasEsiLabel checks if EsiLabel has been set in BgpV6EthernetSegment
	HasEsiLabel() bool
	// Advanced returns BgpRouteAdvanced, set in BgpV6EthernetSegment.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	Advanced() BgpRouteAdvanced
	// SetAdvanced assigns BgpRouteAdvanced provided by user to BgpV6EthernetSegment.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	SetAdvanced(value BgpRouteAdvanced) BgpV6EthernetSegment
	// HasAdvanced checks if Advanced has been set in BgpV6EthernetSegment
	HasAdvanced() bool
	// Communities returns BgpV6EthernetSegmentBgpCommunityIterIter, set in BgpV6EthernetSegment
	Communities() BgpV6EthernetSegmentBgpCommunityIter
	// ExtCommunities returns BgpV6EthernetSegmentBgpExtCommunityIterIter, set in BgpV6EthernetSegment
	ExtCommunities() BgpV6EthernetSegmentBgpExtCommunityIter
	// AsPath returns BgpAsPath, set in BgpV6EthernetSegment.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	AsPath() BgpAsPath
	// SetAsPath assigns BgpAsPath provided by user to BgpV6EthernetSegment.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	SetAsPath(value BgpAsPath) BgpV6EthernetSegment
	// HasAsPath checks if AsPath has been set in BgpV6EthernetSegment
	HasAsPath() bool
	// contains filtered or unexported methods
}

BgpV6EthernetSegment is configuration for BGP Ethernet Segment ranges. Advertises following routes -

Type 4 - Ethernet Segment Route

func NewBgpV6EthernetSegment added in v0.7.34

func NewBgpV6EthernetSegment() BgpV6EthernetSegment

type BgpV6EthernetSegmentActiveModeEnum added in v0.7.34

type BgpV6EthernetSegmentActiveModeEnum string

type BgpV6EthernetSegmentBgpCommunityIter added in v0.7.34

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

type BgpV6EthernetSegmentBgpExtCommunityIter added in v0.7.34

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

type BgpV6EthernetSegmentBgpV6EvpnEvisIter added in v0.7.34

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

type BgpV6EviVxlan added in v0.7.34

type BgpV6EviVxlan interface {
	Validation
	// Msg marshals BgpV6EviVxlan to protobuf object *otg.BgpV6EviVxlan
	// and doesn't set defaults
	Msg() *otg.BgpV6EviVxlan
	// SetMsg unmarshals BgpV6EviVxlan from protobuf object *otg.BgpV6EviVxlan
	// and doesn't set defaults
	SetMsg(*otg.BgpV6EviVxlan) BgpV6EviVxlan
	// ToProto marshals BgpV6EviVxlan to protobuf object *otg.BgpV6EviVxlan
	ToProto() (*otg.BgpV6EviVxlan, error)
	// ToPbText marshals BgpV6EviVxlan to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV6EviVxlan to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV6EviVxlan to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV6EviVxlan from protobuf object *otg.BgpV6EviVxlan
	FromProto(msg *otg.BgpV6EviVxlan) (BgpV6EviVxlan, error)
	// FromPbText unmarshals BgpV6EviVxlan from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV6EviVxlan from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV6EviVxlan from JSON text
	FromJson(value string) error
	// Validate validates BgpV6EviVxlan
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV6EviVxlan, error)

	// BroadcastDomains returns BgpV6EviVxlanBgpV6EviVxlanBroadcastDomainIterIter, set in BgpV6EviVxlan
	BroadcastDomains() BgpV6EviVxlanBgpV6EviVxlanBroadcastDomainIter
	// ReplicationType returns BgpV6EviVxlanReplicationTypeEnum, set in BgpV6EviVxlan
	ReplicationType() BgpV6EviVxlanReplicationTypeEnum
	// SetReplicationType assigns BgpV6EviVxlanReplicationTypeEnum provided by user to BgpV6EviVxlan
	SetReplicationType(value BgpV6EviVxlanReplicationTypeEnum) BgpV6EviVxlan
	// HasReplicationType checks if ReplicationType has been set in BgpV6EviVxlan
	HasReplicationType() bool
	// PmsiLabel returns int32, set in BgpV6EviVxlan.
	PmsiLabel() int32
	// SetPmsiLabel assigns int32 provided by user to BgpV6EviVxlan
	SetPmsiLabel(value int32) BgpV6EviVxlan
	// HasPmsiLabel checks if PmsiLabel has been set in BgpV6EviVxlan
	HasPmsiLabel() bool
	// AdLabel returns int32, set in BgpV6EviVxlan.
	AdLabel() int32
	// SetAdLabel assigns int32 provided by user to BgpV6EviVxlan
	SetAdLabel(value int32) BgpV6EviVxlan
	// HasAdLabel checks if AdLabel has been set in BgpV6EviVxlan
	HasAdLabel() bool
	// RouteDistinguisher returns BgpRouteDistinguisher, set in BgpV6EviVxlan.
	// BgpRouteDistinguisher is bGP Route Distinguisher.
	RouteDistinguisher() BgpRouteDistinguisher
	// SetRouteDistinguisher assigns BgpRouteDistinguisher provided by user to BgpV6EviVxlan.
	// BgpRouteDistinguisher is bGP Route Distinguisher.
	SetRouteDistinguisher(value BgpRouteDistinguisher) BgpV6EviVxlan
	// HasRouteDistinguisher checks if RouteDistinguisher has been set in BgpV6EviVxlan
	HasRouteDistinguisher() bool
	// RouteTargetExport returns BgpV6EviVxlanBgpRouteTargetIterIter, set in BgpV6EviVxlan
	RouteTargetExport() BgpV6EviVxlanBgpRouteTargetIter
	// RouteTargetImport returns BgpV6EviVxlanBgpRouteTargetIterIter, set in BgpV6EviVxlan
	RouteTargetImport() BgpV6EviVxlanBgpRouteTargetIter
	// L3RouteTargetExport returns BgpV6EviVxlanBgpRouteTargetIterIter, set in BgpV6EviVxlan
	L3RouteTargetExport() BgpV6EviVxlanBgpRouteTargetIter
	// L3RouteTargetImport returns BgpV6EviVxlanBgpRouteTargetIterIter, set in BgpV6EviVxlan
	L3RouteTargetImport() BgpV6EviVxlanBgpRouteTargetIter
	// Advanced returns BgpRouteAdvanced, set in BgpV6EviVxlan.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	Advanced() BgpRouteAdvanced
	// SetAdvanced assigns BgpRouteAdvanced provided by user to BgpV6EviVxlan.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	SetAdvanced(value BgpRouteAdvanced) BgpV6EviVxlan
	// HasAdvanced checks if Advanced has been set in BgpV6EviVxlan
	HasAdvanced() bool
	// Communities returns BgpV6EviVxlanBgpCommunityIterIter, set in BgpV6EviVxlan
	Communities() BgpV6EviVxlanBgpCommunityIter
	// ExtCommunities returns BgpV6EviVxlanBgpExtCommunityIterIter, set in BgpV6EviVxlan
	ExtCommunities() BgpV6EviVxlanBgpExtCommunityIter
	// AsPath returns BgpAsPath, set in BgpV6EviVxlan.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	AsPath() BgpAsPath
	// SetAsPath assigns BgpAsPath provided by user to BgpV6EviVxlan.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	SetAsPath(value BgpAsPath) BgpV6EviVxlan
	// HasAsPath checks if AsPath has been set in BgpV6EviVxlan
	HasAsPath() bool
	// contains filtered or unexported methods
}

BgpV6EviVxlan is configuration for BGP EVPN EVI. Advertises following routes -

Type 3 - Inclusive Multicast Ethernet Tag Route

Type 1 - Ethernet Auto-discovery Route (Per EVI)

Type 1 - Ethernet Auto-discovery Route (Per ES)

func NewBgpV6EviVxlan added in v0.7.34

func NewBgpV6EviVxlan() BgpV6EviVxlan

type BgpV6EviVxlanBgpCommunityIter added in v0.7.34

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

type BgpV6EviVxlanBgpExtCommunityIter added in v0.7.34

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

type BgpV6EviVxlanBgpRouteTargetIter added in v0.7.34

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

type BgpV6EviVxlanBgpV6EviVxlanBroadcastDomainIter added in v0.7.34

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

type BgpV6EviVxlanBroadcastDomain added in v0.7.34

type BgpV6EviVxlanBroadcastDomain interface {
	Validation
	// Msg marshals BgpV6EviVxlanBroadcastDomain to protobuf object *otg.BgpV6EviVxlanBroadcastDomain
	// and doesn't set defaults
	Msg() *otg.BgpV6EviVxlanBroadcastDomain
	// SetMsg unmarshals BgpV6EviVxlanBroadcastDomain from protobuf object *otg.BgpV6EviVxlanBroadcastDomain
	// and doesn't set defaults
	SetMsg(*otg.BgpV6EviVxlanBroadcastDomain) BgpV6EviVxlanBroadcastDomain
	// ToProto marshals BgpV6EviVxlanBroadcastDomain to protobuf object *otg.BgpV6EviVxlanBroadcastDomain
	ToProto() (*otg.BgpV6EviVxlanBroadcastDomain, error)
	// ToPbText marshals BgpV6EviVxlanBroadcastDomain to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV6EviVxlanBroadcastDomain to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV6EviVxlanBroadcastDomain to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV6EviVxlanBroadcastDomain from protobuf object *otg.BgpV6EviVxlanBroadcastDomain
	FromProto(msg *otg.BgpV6EviVxlanBroadcastDomain) (BgpV6EviVxlanBroadcastDomain, error)
	// FromPbText unmarshals BgpV6EviVxlanBroadcastDomain from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV6EviVxlanBroadcastDomain from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV6EviVxlanBroadcastDomain from JSON text
	FromJson(value string) error
	// Validate validates BgpV6EviVxlanBroadcastDomain
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV6EviVxlanBroadcastDomain, error)

	// CmacIpRange returns BgpV6EviVxlanBroadcastDomainBgpCMacIpRangeIterIter, set in BgpV6EviVxlanBroadcastDomain
	CmacIpRange() BgpV6EviVxlanBroadcastDomainBgpCMacIpRangeIter
	// EthernetTagId returns int64, set in BgpV6EviVxlanBroadcastDomain.
	EthernetTagId() int64
	// SetEthernetTagId assigns int64 provided by user to BgpV6EviVxlanBroadcastDomain
	SetEthernetTagId(value int64) BgpV6EviVxlanBroadcastDomain
	// HasEthernetTagId checks if EthernetTagId has been set in BgpV6EviVxlanBroadcastDomain
	HasEthernetTagId() bool
	// VlanAwareService returns bool, set in BgpV6EviVxlanBroadcastDomain.
	VlanAwareService() bool
	// SetVlanAwareService assigns bool provided by user to BgpV6EviVxlanBroadcastDomain
	SetVlanAwareService(value bool) BgpV6EviVxlanBroadcastDomain
	// HasVlanAwareService checks if VlanAwareService has been set in BgpV6EviVxlanBroadcastDomain
	HasVlanAwareService() bool
	// contains filtered or unexported methods
}

BgpV6EviVxlanBroadcastDomain is configuration for Broadcast Domains per EVI.

func NewBgpV6EviVxlanBroadcastDomain added in v0.7.34

func NewBgpV6EviVxlanBroadcastDomain() BgpV6EviVxlanBroadcastDomain

type BgpV6EviVxlanBroadcastDomainBgpCMacIpRangeIter added in v0.7.34

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

type BgpV6EviVxlanReplicationTypeEnum added in v0.7.34

type BgpV6EviVxlanReplicationTypeEnum string

type BgpV6EvpnEvis added in v0.7.34

type BgpV6EvpnEvis interface {
	Validation
	// Msg marshals BgpV6EvpnEvis to protobuf object *otg.BgpV6EvpnEvis
	// and doesn't set defaults
	Msg() *otg.BgpV6EvpnEvis
	// SetMsg unmarshals BgpV6EvpnEvis from protobuf object *otg.BgpV6EvpnEvis
	// and doesn't set defaults
	SetMsg(*otg.BgpV6EvpnEvis) BgpV6EvpnEvis
	// ToProto marshals BgpV6EvpnEvis to protobuf object *otg.BgpV6EvpnEvis
	ToProto() (*otg.BgpV6EvpnEvis, error)
	// ToPbText marshals BgpV6EvpnEvis to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV6EvpnEvis to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV6EvpnEvis to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV6EvpnEvis from protobuf object *otg.BgpV6EvpnEvis
	FromProto(msg *otg.BgpV6EvpnEvis) (BgpV6EvpnEvis, error)
	// FromPbText unmarshals BgpV6EvpnEvis from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV6EvpnEvis from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV6EvpnEvis from JSON text
	FromJson(value string) error
	// Validate validates BgpV6EvpnEvis
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV6EvpnEvis, error)

	// Choice returns BgpV6EvpnEvisChoiceEnum, set in BgpV6EvpnEvis
	Choice() BgpV6EvpnEvisChoiceEnum
	// SetChoice assigns BgpV6EvpnEvisChoiceEnum provided by user to BgpV6EvpnEvis
	SetChoice(value BgpV6EvpnEvisChoiceEnum) BgpV6EvpnEvis
	// HasChoice checks if Choice has been set in BgpV6EvpnEvis
	HasChoice() bool
	// EviVxlan returns BgpV6EviVxlan, set in BgpV6EvpnEvis.
	// BgpV6EviVxlan is configuration for BGP EVPN EVI. Advertises following routes -
	//
	// # Type 3 - Inclusive Multicast Ethernet Tag Route
	//
	// Type 1 -  Ethernet Auto-discovery Route (Per EVI)
	//
	// Type 1 -  Ethernet Auto-discovery Route (Per ES)
	EviVxlan() BgpV6EviVxlan
	// SetEviVxlan assigns BgpV6EviVxlan provided by user to BgpV6EvpnEvis.
	// BgpV6EviVxlan is configuration for BGP EVPN EVI. Advertises following routes -
	//
	// # Type 3 - Inclusive Multicast Ethernet Tag Route
	//
	// Type 1 -  Ethernet Auto-discovery Route (Per EVI)
	//
	// Type 1 -  Ethernet Auto-discovery Route (Per ES)
	SetEviVxlan(value BgpV6EviVxlan) BgpV6EvpnEvis
	// HasEviVxlan checks if EviVxlan has been set in BgpV6EvpnEvis
	HasEviVxlan() bool
	// contains filtered or unexported methods
}

BgpV6EvpnEvis is this contains a list of different flavors of EVPN. For example EVPN over VXLAN or EVPN over MPLS etc to be configured per Ethernet segment. Need to instantiate correct type of EVPN instance as per requirement.

func NewBgpV6EvpnEvis added in v0.7.34

func NewBgpV6EvpnEvis() BgpV6EvpnEvis

type BgpV6EvpnEvisChoiceEnum added in v0.7.34

type BgpV6EvpnEvisChoiceEnum string

type BgpV6Interface added in v0.6.1

type BgpV6Interface interface {
	Validation
	// Msg marshals BgpV6Interface to protobuf object *otg.BgpV6Interface
	// and doesn't set defaults
	Msg() *otg.BgpV6Interface
	// SetMsg unmarshals BgpV6Interface from protobuf object *otg.BgpV6Interface
	// and doesn't set defaults
	SetMsg(*otg.BgpV6Interface) BgpV6Interface
	// ToProto marshals BgpV6Interface to protobuf object *otg.BgpV6Interface
	ToProto() (*otg.BgpV6Interface, error)
	// ToPbText marshals BgpV6Interface to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV6Interface to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV6Interface to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV6Interface from protobuf object *otg.BgpV6Interface
	FromProto(msg *otg.BgpV6Interface) (BgpV6Interface, error)
	// FromPbText unmarshals BgpV6Interface from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV6Interface from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV6Interface from JSON text
	FromJson(value string) error
	// Validate validates BgpV6Interface
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV6Interface, error)

	// Ipv6Name returns string, set in BgpV6Interface.
	Ipv6Name() string
	// SetIpv6Name assigns string provided by user to BgpV6Interface
	SetIpv6Name(value string) BgpV6Interface
	// Peers returns BgpV6InterfaceBgpV6PeerIterIter, set in BgpV6Interface
	Peers() BgpV6InterfaceBgpV6PeerIter
	// contains filtered or unexported methods
}

BgpV6Interface is configuration for emulated BGPv6 peers and routes on a single IPv6 interface.

func NewBgpV6Interface added in v0.6.5

func NewBgpV6Interface() BgpV6Interface

type BgpV6InterfaceBgpV6PeerIter added in v0.6.1

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

type BgpV6Peer added in v0.6.1

type BgpV6Peer interface {
	Validation
	// Msg marshals BgpV6Peer to protobuf object *otg.BgpV6Peer
	// and doesn't set defaults
	Msg() *otg.BgpV6Peer
	// SetMsg unmarshals BgpV6Peer from protobuf object *otg.BgpV6Peer
	// and doesn't set defaults
	SetMsg(*otg.BgpV6Peer) BgpV6Peer
	// ToProto marshals BgpV6Peer to protobuf object *otg.BgpV6Peer
	ToProto() (*otg.BgpV6Peer, error)
	// ToPbText marshals BgpV6Peer to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV6Peer to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV6Peer to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV6Peer from protobuf object *otg.BgpV6Peer
	FromProto(msg *otg.BgpV6Peer) (BgpV6Peer, error)
	// FromPbText unmarshals BgpV6Peer from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV6Peer from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV6Peer from JSON text
	FromJson(value string) error
	// Validate validates BgpV6Peer
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV6Peer, error)

	// PeerAddress returns string, set in BgpV6Peer.
	PeerAddress() string
	// SetPeerAddress assigns string provided by user to BgpV6Peer
	SetPeerAddress(value string) BgpV6Peer
	// SegmentRouting returns BgpV6SegmentRouting, set in BgpV6Peer.
	// BgpV6SegmentRouting is configuration for BGPv6 segment routing settings.
	SegmentRouting() BgpV6SegmentRouting
	// SetSegmentRouting assigns BgpV6SegmentRouting provided by user to BgpV6Peer.
	// BgpV6SegmentRouting is configuration for BGPv6 segment routing settings.
	SetSegmentRouting(value BgpV6SegmentRouting) BgpV6Peer
	// HasSegmentRouting checks if SegmentRouting has been set in BgpV6Peer
	HasSegmentRouting() bool
	// EvpnEthernetSegments returns BgpV6PeerBgpV6EthernetSegmentIterIter, set in BgpV6Peer
	EvpnEthernetSegments() BgpV6PeerBgpV6EthernetSegmentIter
	// AsType returns BgpV6PeerAsTypeEnum, set in BgpV6Peer
	AsType() BgpV6PeerAsTypeEnum
	// SetAsType assigns BgpV6PeerAsTypeEnum provided by user to BgpV6Peer
	SetAsType(value BgpV6PeerAsTypeEnum) BgpV6Peer
	// AsNumber returns int32, set in BgpV6Peer.
	AsNumber() int32
	// SetAsNumber assigns int32 provided by user to BgpV6Peer
	SetAsNumber(value int32) BgpV6Peer
	// AsNumberWidth returns BgpV6PeerAsNumberWidthEnum, set in BgpV6Peer
	AsNumberWidth() BgpV6PeerAsNumberWidthEnum
	// SetAsNumberWidth assigns BgpV6PeerAsNumberWidthEnum provided by user to BgpV6Peer
	SetAsNumberWidth(value BgpV6PeerAsNumberWidthEnum) BgpV6Peer
	// HasAsNumberWidth checks if AsNumberWidth has been set in BgpV6Peer
	HasAsNumberWidth() bool
	// Advanced returns BgpAdvanced, set in BgpV6Peer.
	// BgpAdvanced is configuration for BGP advanced settings.
	Advanced() BgpAdvanced
	// SetAdvanced assigns BgpAdvanced provided by user to BgpV6Peer.
	// BgpAdvanced is configuration for BGP advanced settings.
	SetAdvanced(value BgpAdvanced) BgpV6Peer
	// HasAdvanced checks if Advanced has been set in BgpV6Peer
	HasAdvanced() bool
	// Capability returns BgpCapability, set in BgpV6Peer.
	// BgpCapability is configuration for BGP capability settings.
	Capability() BgpCapability
	// SetCapability assigns BgpCapability provided by user to BgpV6Peer.
	// BgpCapability is configuration for BGP capability settings.
	SetCapability(value BgpCapability) BgpV6Peer
	// HasCapability checks if Capability has been set in BgpV6Peer
	HasCapability() bool
	// LearnedInformationFilter returns BgpLearnedInformationFilter, set in BgpV6Peer.
	// BgpLearnedInformationFilter is configuration for controlling storage of BGP learned information recieved from the peer.
	LearnedInformationFilter() BgpLearnedInformationFilter
	// SetLearnedInformationFilter assigns BgpLearnedInformationFilter provided by user to BgpV6Peer.
	// BgpLearnedInformationFilter is configuration for controlling storage of BGP learned information recieved from the peer.
	SetLearnedInformationFilter(value BgpLearnedInformationFilter) BgpV6Peer
	// HasLearnedInformationFilter checks if LearnedInformationFilter has been set in BgpV6Peer
	HasLearnedInformationFilter() bool
	// V4Routes returns BgpV6PeerBgpV4RouteRangeIterIter, set in BgpV6Peer
	V4Routes() BgpV6PeerBgpV4RouteRangeIter
	// V6Routes returns BgpV6PeerBgpV6RouteRangeIterIter, set in BgpV6Peer
	V6Routes() BgpV6PeerBgpV6RouteRangeIter
	// V4SrtePolicies returns BgpV6PeerBgpSrteV4PolicyIterIter, set in BgpV6Peer
	V4SrtePolicies() BgpV6PeerBgpSrteV4PolicyIter
	// V6SrtePolicies returns BgpV6PeerBgpSrteV6PolicyIterIter, set in BgpV6Peer
	V6SrtePolicies() BgpV6PeerBgpSrteV6PolicyIter
	// Name returns string, set in BgpV6Peer.
	Name() string
	// SetName assigns string provided by user to BgpV6Peer
	SetName(value string) BgpV6Peer
	// GracefulRestart returns BgpGracefulRestart, set in BgpV6Peer.
	// BgpGracefulRestart is the Graceful Restart Capability (RFC 4724) is a BGP capability that can be used by a BGP speaker to indicate its ability to preserve its forwarding state during BGP restart. The Graceful Restart (GR) capability is advertised in OPEN messages sent between BGP peers. After a BGP session has been established, and the initial routing update has been completed,  an End-of-RIB (Routing Information Base) marker is sent in an UPDATE message to convey information  about routing convergence.
	GracefulRestart() BgpGracefulRestart
	// SetGracefulRestart assigns BgpGracefulRestart provided by user to BgpV6Peer.
	// BgpGracefulRestart is the Graceful Restart Capability (RFC 4724) is a BGP capability that can be used by a BGP speaker to indicate its ability to preserve its forwarding state during BGP restart. The Graceful Restart (GR) capability is advertised in OPEN messages sent between BGP peers. After a BGP session has been established, and the initial routing update has been completed,  an End-of-RIB (Routing Information Base) marker is sent in an UPDATE message to convey information  about routing convergence.
	SetGracefulRestart(value BgpGracefulRestart) BgpV6Peer
	// HasGracefulRestart checks if GracefulRestart has been set in BgpV6Peer
	HasGracefulRestart() bool
	// contains filtered or unexported methods
}

BgpV6Peer is configuration for BGPv6 peer settings and routes.

func NewBgpV6Peer added in v0.6.5

func NewBgpV6Peer() BgpV6Peer

type BgpV6PeerAsNumberWidthEnum added in v0.6.1

type BgpV6PeerAsNumberWidthEnum string

type BgpV6PeerAsTypeEnum added in v0.6.1

type BgpV6PeerAsTypeEnum string

type BgpV6PeerBgpSrteV4PolicyIter added in v0.6.4

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

type BgpV6PeerBgpSrteV6PolicyIter added in v0.6.4

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

type BgpV6PeerBgpV4RouteRangeIter added in v0.6.1

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

type BgpV6PeerBgpV6EthernetSegmentIter added in v0.7.34

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

type BgpV6PeerBgpV6RouteRangeIter added in v0.6.1

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

type BgpV6RouteRange added in v0.6.1

type BgpV6RouteRange interface {
	Validation
	// Msg marshals BgpV6RouteRange to protobuf object *otg.BgpV6RouteRange
	// and doesn't set defaults
	Msg() *otg.BgpV6RouteRange
	// SetMsg unmarshals BgpV6RouteRange from protobuf object *otg.BgpV6RouteRange
	// and doesn't set defaults
	SetMsg(*otg.BgpV6RouteRange) BgpV6RouteRange
	// ToProto marshals BgpV6RouteRange to protobuf object *otg.BgpV6RouteRange
	ToProto() (*otg.BgpV6RouteRange, error)
	// ToPbText marshals BgpV6RouteRange to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV6RouteRange to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV6RouteRange to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV6RouteRange from protobuf object *otg.BgpV6RouteRange
	FromProto(msg *otg.BgpV6RouteRange) (BgpV6RouteRange, error)
	// FromPbText unmarshals BgpV6RouteRange from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV6RouteRange from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV6RouteRange from JSON text
	FromJson(value string) error
	// Validate validates BgpV6RouteRange
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV6RouteRange, error)

	// Addresses returns BgpV6RouteRangeV6RouteAddressIterIter, set in BgpV6RouteRange
	Addresses() BgpV6RouteRangeV6RouteAddressIter
	// NextHopMode returns BgpV6RouteRangeNextHopModeEnum, set in BgpV6RouteRange
	NextHopMode() BgpV6RouteRangeNextHopModeEnum
	// SetNextHopMode assigns BgpV6RouteRangeNextHopModeEnum provided by user to BgpV6RouteRange
	SetNextHopMode(value BgpV6RouteRangeNextHopModeEnum) BgpV6RouteRange
	// HasNextHopMode checks if NextHopMode has been set in BgpV6RouteRange
	HasNextHopMode() bool
	// NextHopAddressType returns BgpV6RouteRangeNextHopAddressTypeEnum, set in BgpV6RouteRange
	NextHopAddressType() BgpV6RouteRangeNextHopAddressTypeEnum
	// SetNextHopAddressType assigns BgpV6RouteRangeNextHopAddressTypeEnum provided by user to BgpV6RouteRange
	SetNextHopAddressType(value BgpV6RouteRangeNextHopAddressTypeEnum) BgpV6RouteRange
	// HasNextHopAddressType checks if NextHopAddressType has been set in BgpV6RouteRange
	HasNextHopAddressType() bool
	// NextHopIpv4Address returns string, set in BgpV6RouteRange.
	NextHopIpv4Address() string
	// SetNextHopIpv4Address assigns string provided by user to BgpV6RouteRange
	SetNextHopIpv4Address(value string) BgpV6RouteRange
	// HasNextHopIpv4Address checks if NextHopIpv4Address has been set in BgpV6RouteRange
	HasNextHopIpv4Address() bool
	// NextHopIpv6Address returns string, set in BgpV6RouteRange.
	NextHopIpv6Address() string
	// SetNextHopIpv6Address assigns string provided by user to BgpV6RouteRange
	SetNextHopIpv6Address(value string) BgpV6RouteRange
	// HasNextHopIpv6Address checks if NextHopIpv6Address has been set in BgpV6RouteRange
	HasNextHopIpv6Address() bool
	// Advanced returns BgpRouteAdvanced, set in BgpV6RouteRange.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	Advanced() BgpRouteAdvanced
	// SetAdvanced assigns BgpRouteAdvanced provided by user to BgpV6RouteRange.
	// BgpRouteAdvanced is configuration for advanced BGP route range settings.
	SetAdvanced(value BgpRouteAdvanced) BgpV6RouteRange
	// HasAdvanced checks if Advanced has been set in BgpV6RouteRange
	HasAdvanced() bool
	// Communities returns BgpV6RouteRangeBgpCommunityIterIter, set in BgpV6RouteRange
	Communities() BgpV6RouteRangeBgpCommunityIter
	// AsPath returns BgpAsPath, set in BgpV6RouteRange.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	AsPath() BgpAsPath
	// SetAsPath assigns BgpAsPath provided by user to BgpV6RouteRange.
	// BgpAsPath is this attribute identifies the autonomous systems through  which routing information carried in this UPDATE message has passed. This contains the configuration of how to include the Local AS in the AS path attribute of the MP REACH NLRI. It also contains optional configuration of additional AS Path Segments that can be included in the AS Path attribute. The AS Path consists of a Set or Sequence of Autonomous Systems (AS) numbers  that a routing information passes through to reach the destination.
	SetAsPath(value BgpAsPath) BgpV6RouteRange
	// HasAsPath checks if AsPath has been set in BgpV6RouteRange
	HasAsPath() bool
	// AddPath returns BgpAddPath, set in BgpV6RouteRange.
	// 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.
	AddPath() BgpAddPath
	// SetAddPath assigns BgpAddPath provided by user to BgpV6RouteRange.
	// 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.
	SetAddPath(value BgpAddPath) BgpV6RouteRange
	// HasAddPath checks if AddPath has been set in BgpV6RouteRange
	HasAddPath() bool
	// Name returns string, set in BgpV6RouteRange.
	Name() string
	// SetName assigns string provided by user to BgpV6RouteRange
	SetName(value string) BgpV6RouteRange
	// ExtCommunities returns BgpV6RouteRangeBgpExtCommunityIterIter, set in BgpV6RouteRange
	ExtCommunities() BgpV6RouteRangeBgpExtCommunityIter
	// contains filtered or unexported methods
}

BgpV6RouteRange is emulated BGPv6 route range.

func NewBgpV6RouteRange added in v0.6.5

func NewBgpV6RouteRange() BgpV6RouteRange

type BgpV6RouteRangeBgpCommunityIter added in v0.6.1

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

type BgpV6RouteRangeBgpExtCommunityIter added in v0.10.4

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

type BgpV6RouteRangeNextHopAddressTypeEnum added in v0.6.1

type BgpV6RouteRangeNextHopAddressTypeEnum string

type BgpV6RouteRangeNextHopModeEnum added in v0.6.1

type BgpV6RouteRangeNextHopModeEnum string

type BgpV6RouteRangeV6RouteAddressIter added in v0.6.1

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

type BgpV6SegmentRouting added in v0.6.1

type BgpV6SegmentRouting interface {
	Validation
	// Msg marshals BgpV6SegmentRouting to protobuf object *otg.BgpV6SegmentRouting
	// and doesn't set defaults
	Msg() *otg.BgpV6SegmentRouting
	// SetMsg unmarshals BgpV6SegmentRouting from protobuf object *otg.BgpV6SegmentRouting
	// and doesn't set defaults
	SetMsg(*otg.BgpV6SegmentRouting) BgpV6SegmentRouting
	// ToProto marshals BgpV6SegmentRouting to protobuf object *otg.BgpV6SegmentRouting
	ToProto() (*otg.BgpV6SegmentRouting, error)
	// ToPbText marshals BgpV6SegmentRouting to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals BgpV6SegmentRouting to YAML text
	ToYaml() (string, error)
	// ToJson marshals BgpV6SegmentRouting to JSON text
	ToJson() (string, error)
	// FromProto unmarshals BgpV6SegmentRouting from protobuf object *otg.BgpV6SegmentRouting
	FromProto(msg *otg.BgpV6SegmentRouting) (BgpV6SegmentRouting, error)
	// FromPbText unmarshals BgpV6SegmentRouting from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals BgpV6SegmentRouting from YAML text
	FromYaml(value string) error
	// FromJson unmarshals BgpV6SegmentRouting from JSON text
	FromJson(value string) error
	// Validate validates BgpV6SegmentRouting
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (BgpV6SegmentRouting, error)

	// IngressSupportsVpn returns bool, set in BgpV6SegmentRouting.
	IngressSupportsVpn() bool
	// SetIngressSupportsVpn assigns bool provided by user to BgpV6SegmentRouting
	SetIngressSupportsVpn(value bool) BgpV6SegmentRouting
	// HasIngressSupportsVpn checks if IngressSupportsVpn has been set in BgpV6SegmentRouting
	HasIngressSupportsVpn() bool
	// ReducedEncapsulation returns bool, set in BgpV6SegmentRouting.
	ReducedEncapsulation() bool
	// SetReducedEncapsulation assigns bool provided by user to BgpV6SegmentRouting
	SetReducedEncapsulation(value bool) BgpV6SegmentRouting
	// HasReducedEncapsulation checks if ReducedEncapsulation has been set in BgpV6SegmentRouting
	HasReducedEncapsulation() bool
	// CopyTimeToLive returns bool, set in BgpV6SegmentRouting.
	CopyTimeToLive() bool
	// SetCopyTimeToLive assigns bool provided by user to BgpV6SegmentRouting
	SetCopyTimeToLive(value bool) BgpV6SegmentRouting
	// HasCopyTimeToLive checks if CopyTimeToLive has been set in BgpV6SegmentRouting
	HasCopyTimeToLive() bool
	// TimeToLive returns int32, set in BgpV6SegmentRouting.
	TimeToLive() int32
	// SetTimeToLive assigns int32 provided by user to BgpV6SegmentRouting
	SetTimeToLive(value int32) BgpV6SegmentRouting
	// HasTimeToLive checks if TimeToLive has been set in BgpV6SegmentRouting
	HasTimeToLive() bool
	// MaxSidsPerSrh returns int32, set in BgpV6SegmentRouting.
	MaxSidsPerSrh() int32
	// SetMaxSidsPerSrh assigns int32 provided by user to BgpV6SegmentRouting
	SetMaxSidsPerSrh(value int32) BgpV6SegmentRouting
	// HasMaxSidsPerSrh checks if MaxSidsPerSrh has been set in BgpV6SegmentRouting
	HasMaxSidsPerSrh() bool
	// AutoGenerateSegmentLeftValue returns bool, set in BgpV6SegmentRouting.
	AutoGenerateSegmentLeftValue() bool
	// SetAutoGenerateSegmentLeftValue assigns bool provided by user to BgpV6SegmentRouting
	SetAutoGenerateSegmentLeftValue(value bool) BgpV6SegmentRouting
	// HasAutoGenerateSegmentLeftValue checks if AutoGenerateSegmentLeftValue has been set in BgpV6SegmentRouting
	HasAutoGenerateSegmentLeftValue() bool
	// SegmentLeftValue returns int32, set in BgpV6SegmentRouting.
	SegmentLeftValue() int32
	// SetSegmentLeftValue assigns int32 provided by user to BgpV6SegmentRouting
	SetSegmentLeftValue(value int32) BgpV6SegmentRouting
	// HasSegmentLeftValue checks if SegmentLeftValue has been set in BgpV6SegmentRouting
	HasSegmentLeftValue() bool
	// AdvertiseSrTePolicy returns bool, set in BgpV6SegmentRouting.
	AdvertiseSrTePolicy() bool
	// SetAdvertiseSrTePolicy assigns bool provided by user to BgpV6SegmentRouting
	SetAdvertiseSrTePolicy(value bool) BgpV6SegmentRouting
	// HasAdvertiseSrTePolicy checks if AdvertiseSrTePolicy has been set in BgpV6SegmentRouting
	HasAdvertiseSrTePolicy() bool
	// contains filtered or unexported methods
}

BgpV6SegmentRouting is configuration for BGPv6 segment routing settings.

func NewBgpV6SegmentRouting added in v0.6.5

func NewBgpV6SegmentRouting() BgpV6SegmentRouting

type Bgpv4Metric

type Bgpv4Metric interface {
	Validation
	// Msg marshals Bgpv4Metric to protobuf object *otg.Bgpv4Metric
	// and doesn't set defaults
	Msg() *otg.Bgpv4Metric
	// SetMsg unmarshals Bgpv4Metric from protobuf object *otg.Bgpv4Metric
	// and doesn't set defaults
	SetMsg(*otg.Bgpv4Metric) Bgpv4Metric
	// ToProto marshals Bgpv4Metric to protobuf object *otg.Bgpv4Metric
	ToProto() (*otg.Bgpv4Metric, error)
	// ToPbText marshals Bgpv4Metric to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Bgpv4Metric to YAML text
	ToYaml() (string, error)
	// ToJson marshals Bgpv4Metric to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Bgpv4Metric from protobuf object *otg.Bgpv4Metric
	FromProto(msg *otg.Bgpv4Metric) (Bgpv4Metric, error)
	// FromPbText unmarshals Bgpv4Metric from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Bgpv4Metric from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Bgpv4Metric from JSON text
	FromJson(value string) error
	// Validate validates Bgpv4Metric
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Bgpv4Metric, error)

	// Name returns string, set in Bgpv4Metric.
	Name() string
	// SetName assigns string provided by user to Bgpv4Metric
	SetName(value string) Bgpv4Metric
	// HasName checks if Name has been set in Bgpv4Metric
	HasName() bool
	// SessionState returns Bgpv4MetricSessionStateEnum, set in Bgpv4Metric
	SessionState() Bgpv4MetricSessionStateEnum
	// SetSessionState assigns Bgpv4MetricSessionStateEnum provided by user to Bgpv4Metric
	SetSessionState(value Bgpv4MetricSessionStateEnum) Bgpv4Metric
	// HasSessionState checks if SessionState has been set in Bgpv4Metric
	HasSessionState() bool
	// SessionFlapCount returns int32, set in Bgpv4Metric.
	SessionFlapCount() int32
	// SetSessionFlapCount assigns int32 provided by user to Bgpv4Metric
	SetSessionFlapCount(value int32) Bgpv4Metric
	// HasSessionFlapCount checks if SessionFlapCount has been set in Bgpv4Metric
	HasSessionFlapCount() bool
	// RoutesAdvertised returns int32, set in Bgpv4Metric.
	RoutesAdvertised() int32
	// SetRoutesAdvertised assigns int32 provided by user to Bgpv4Metric
	SetRoutesAdvertised(value int32) Bgpv4Metric
	// HasRoutesAdvertised checks if RoutesAdvertised has been set in Bgpv4Metric
	HasRoutesAdvertised() bool
	// RoutesReceived returns int32, set in Bgpv4Metric.
	RoutesReceived() int32
	// SetRoutesReceived assigns int32 provided by user to Bgpv4Metric
	SetRoutesReceived(value int32) Bgpv4Metric
	// HasRoutesReceived checks if RoutesReceived has been set in Bgpv4Metric
	HasRoutesReceived() bool
	// RouteWithdrawsSent returns int32, set in Bgpv4Metric.
	RouteWithdrawsSent() int32
	// SetRouteWithdrawsSent assigns int32 provided by user to Bgpv4Metric
	SetRouteWithdrawsSent(value int32) Bgpv4Metric
	// HasRouteWithdrawsSent checks if RouteWithdrawsSent has been set in Bgpv4Metric
	HasRouteWithdrawsSent() bool
	// RouteWithdrawsReceived returns int32, set in Bgpv4Metric.
	RouteWithdrawsReceived() int32
	// SetRouteWithdrawsReceived assigns int32 provided by user to Bgpv4Metric
	SetRouteWithdrawsReceived(value int32) Bgpv4Metric
	// HasRouteWithdrawsReceived checks if RouteWithdrawsReceived has been set in Bgpv4Metric
	HasRouteWithdrawsReceived() bool
	// UpdatesSent returns int32, set in Bgpv4Metric.
	UpdatesSent() int32
	// SetUpdatesSent assigns int32 provided by user to Bgpv4Metric
	SetUpdatesSent(value int32) Bgpv4Metric
	// HasUpdatesSent checks if UpdatesSent has been set in Bgpv4Metric
	HasUpdatesSent() bool
	// UpdatesReceived returns int32, set in Bgpv4Metric.
	UpdatesReceived() int32
	// SetUpdatesReceived assigns int32 provided by user to Bgpv4Metric
	SetUpdatesReceived(value int32) Bgpv4Metric
	// HasUpdatesReceived checks if UpdatesReceived has been set in Bgpv4Metric
	HasUpdatesReceived() bool
	// OpensSent returns int32, set in Bgpv4Metric.
	OpensSent() int32
	// SetOpensSent assigns int32 provided by user to Bgpv4Metric
	SetOpensSent(value int32) Bgpv4Metric
	// HasOpensSent checks if OpensSent has been set in Bgpv4Metric
	HasOpensSent() bool
	// OpensReceived returns int32, set in Bgpv4Metric.
	OpensReceived() int32
	// SetOpensReceived assigns int32 provided by user to Bgpv4Metric
	SetOpensReceived(value int32) Bgpv4Metric
	// HasOpensReceived checks if OpensReceived has been set in Bgpv4Metric
	HasOpensReceived() bool
	// KeepalivesSent returns int32, set in Bgpv4Metric.
	KeepalivesSent() int32
	// SetKeepalivesSent assigns int32 provided by user to Bgpv4Metric
	SetKeepalivesSent(value int32) Bgpv4Metric
	// HasKeepalivesSent checks if KeepalivesSent has been set in Bgpv4Metric
	HasKeepalivesSent() bool
	// KeepalivesReceived returns int32, set in Bgpv4Metric.
	KeepalivesReceived() int32
	// SetKeepalivesReceived assigns int32 provided by user to Bgpv4Metric
	SetKeepalivesReceived(value int32) Bgpv4Metric
	// HasKeepalivesReceived checks if KeepalivesReceived has been set in Bgpv4Metric
	HasKeepalivesReceived() bool
	// NotificationsSent returns int32, set in Bgpv4Metric.
	NotificationsSent() int32
	// SetNotificationsSent assigns int32 provided by user to Bgpv4Metric
	SetNotificationsSent(value int32) Bgpv4Metric
	// HasNotificationsSent checks if NotificationsSent has been set in Bgpv4Metric
	HasNotificationsSent() bool
	// NotificationsReceived returns int32, set in Bgpv4Metric.
	NotificationsReceived() int32
	// SetNotificationsReceived assigns int32 provided by user to Bgpv4Metric
	SetNotificationsReceived(value int32) Bgpv4Metric
	// HasNotificationsReceived checks if NotificationsReceived has been set in Bgpv4Metric
	HasNotificationsReceived() bool
	// FsmState returns Bgpv4MetricFsmStateEnum, set in Bgpv4Metric
	FsmState() Bgpv4MetricFsmStateEnum
	// SetFsmState assigns Bgpv4MetricFsmStateEnum provided by user to Bgpv4Metric
	SetFsmState(value Bgpv4MetricFsmStateEnum) Bgpv4Metric
	// HasFsmState checks if FsmState has been set in Bgpv4Metric
	HasFsmState() bool
	// contains filtered or unexported methods
}

Bgpv4Metric is bGPv4 per peer statistics information.

func NewBgpv4Metric added in v0.6.5

func NewBgpv4Metric() Bgpv4Metric

type Bgpv4MetricFsmStateEnum added in v0.10.5

type Bgpv4MetricFsmStateEnum string

type Bgpv4MetricSessionStateEnum

type Bgpv4MetricSessionStateEnum string

type Bgpv4MetricsRequest

type Bgpv4MetricsRequest interface {
	Validation
	// Msg marshals Bgpv4MetricsRequest to protobuf object *otg.Bgpv4MetricsRequest
	// and doesn't set defaults
	Msg() *otg.Bgpv4MetricsRequest
	// SetMsg unmarshals Bgpv4MetricsRequest from protobuf object *otg.Bgpv4MetricsRequest
	// and doesn't set defaults
	SetMsg(*otg.Bgpv4MetricsRequest) Bgpv4MetricsRequest
	// ToProto marshals Bgpv4MetricsRequest to protobuf object *otg.Bgpv4MetricsRequest
	ToProto() (*otg.Bgpv4MetricsRequest, error)
	// ToPbText marshals Bgpv4MetricsRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Bgpv4MetricsRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals Bgpv4MetricsRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Bgpv4MetricsRequest from protobuf object *otg.Bgpv4MetricsRequest
	FromProto(msg *otg.Bgpv4MetricsRequest) (Bgpv4MetricsRequest, error)
	// FromPbText unmarshals Bgpv4MetricsRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Bgpv4MetricsRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Bgpv4MetricsRequest from JSON text
	FromJson(value string) error
	// Validate validates Bgpv4MetricsRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Bgpv4MetricsRequest, error)

	// PeerNames returns []string, set in Bgpv4MetricsRequest.
	PeerNames() []string
	// SetPeerNames assigns []string provided by user to Bgpv4MetricsRequest
	SetPeerNames(value []string) Bgpv4MetricsRequest
	// ColumnNames returns []Bgpv4MetricsRequestColumnNamesEnum, set in Bgpv4MetricsRequest
	ColumnNames() []Bgpv4MetricsRequestColumnNamesEnum
	// SetColumnNames assigns []Bgpv4MetricsRequestColumnNamesEnum provided by user to Bgpv4MetricsRequest
	SetColumnNames(value []Bgpv4MetricsRequestColumnNamesEnum) Bgpv4MetricsRequest
	// contains filtered or unexported methods
}

Bgpv4MetricsRequest is the request to retrieve BGPv4 per peer metrics/statistics.

func NewBgpv4MetricsRequest added in v0.6.5

func NewBgpv4MetricsRequest() Bgpv4MetricsRequest

type Bgpv4MetricsRequestColumnNamesEnum

type Bgpv4MetricsRequestColumnNamesEnum string

type Bgpv6Metric

type Bgpv6Metric interface {
	Validation
	// Msg marshals Bgpv6Metric to protobuf object *otg.Bgpv6Metric
	// and doesn't set defaults
	Msg() *otg.Bgpv6Metric
	// SetMsg unmarshals Bgpv6Metric from protobuf object *otg.Bgpv6Metric
	// and doesn't set defaults
	SetMsg(*otg.Bgpv6Metric) Bgpv6Metric
	// ToProto marshals Bgpv6Metric to protobuf object *otg.Bgpv6Metric
	ToProto() (*otg.Bgpv6Metric, error)
	// ToPbText marshals Bgpv6Metric to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Bgpv6Metric to YAML text
	ToYaml() (string, error)
	// ToJson marshals Bgpv6Metric to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Bgpv6Metric from protobuf object *otg.Bgpv6Metric
	FromProto(msg *otg.Bgpv6Metric) (Bgpv6Metric, error)
	// FromPbText unmarshals Bgpv6Metric from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Bgpv6Metric from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Bgpv6Metric from JSON text
	FromJson(value string) error
	// Validate validates Bgpv6Metric
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Bgpv6Metric, error)

	// Name returns string, set in Bgpv6Metric.
	Name() string
	// SetName assigns string provided by user to Bgpv6Metric
	SetName(value string) Bgpv6Metric
	// HasName checks if Name has been set in Bgpv6Metric
	HasName() bool
	// SessionState returns Bgpv6MetricSessionStateEnum, set in Bgpv6Metric
	SessionState() Bgpv6MetricSessionStateEnum
	// SetSessionState assigns Bgpv6MetricSessionStateEnum provided by user to Bgpv6Metric
	SetSessionState(value Bgpv6MetricSessionStateEnum) Bgpv6Metric
	// HasSessionState checks if SessionState has been set in Bgpv6Metric
	HasSessionState() bool
	// SessionFlapCount returns int32, set in Bgpv6Metric.
	SessionFlapCount() int32
	// SetSessionFlapCount assigns int32 provided by user to Bgpv6Metric
	SetSessionFlapCount(value int32) Bgpv6Metric
	// HasSessionFlapCount checks if SessionFlapCount has been set in Bgpv6Metric
	HasSessionFlapCount() bool
	// RoutesAdvertised returns int32, set in Bgpv6Metric.
	RoutesAdvertised() int32
	// SetRoutesAdvertised assigns int32 provided by user to Bgpv6Metric
	SetRoutesAdvertised(value int32) Bgpv6Metric
	// HasRoutesAdvertised checks if RoutesAdvertised has been set in Bgpv6Metric
	HasRoutesAdvertised() bool
	// RoutesReceived returns int32, set in Bgpv6Metric.
	RoutesReceived() int32
	// SetRoutesReceived assigns int32 provided by user to Bgpv6Metric
	SetRoutesReceived(value int32) Bgpv6Metric
	// HasRoutesReceived checks if RoutesReceived has been set in Bgpv6Metric
	HasRoutesReceived() bool
	// RouteWithdrawsSent returns int32, set in Bgpv6Metric.
	RouteWithdrawsSent() int32
	// SetRouteWithdrawsSent assigns int32 provided by user to Bgpv6Metric
	SetRouteWithdrawsSent(value int32) Bgpv6Metric
	// HasRouteWithdrawsSent checks if RouteWithdrawsSent has been set in Bgpv6Metric
	HasRouteWithdrawsSent() bool
	// RouteWithdrawsReceived returns int32, set in Bgpv6Metric.
	RouteWithdrawsReceived() int32
	// SetRouteWithdrawsReceived assigns int32 provided by user to Bgpv6Metric
	SetRouteWithdrawsReceived(value int32) Bgpv6Metric
	// HasRouteWithdrawsReceived checks if RouteWithdrawsReceived has been set in Bgpv6Metric
	HasRouteWithdrawsReceived() bool
	// UpdatesSent returns int32, set in Bgpv6Metric.
	UpdatesSent() int32
	// SetUpdatesSent assigns int32 provided by user to Bgpv6Metric
	SetUpdatesSent(value int32) Bgpv6Metric
	// HasUpdatesSent checks if UpdatesSent has been set in Bgpv6Metric
	HasUpdatesSent() bool
	// UpdatesReceived returns int32, set in Bgpv6Metric.
	UpdatesReceived() int32
	// SetUpdatesReceived assigns int32 provided by user to Bgpv6Metric
	SetUpdatesReceived(value int32) Bgpv6Metric
	// HasUpdatesReceived checks if UpdatesReceived has been set in Bgpv6Metric
	HasUpdatesReceived() bool
	// OpensSent returns int32, set in Bgpv6Metric.
	OpensSent() int32
	// SetOpensSent assigns int32 provided by user to Bgpv6Metric
	SetOpensSent(value int32) Bgpv6Metric
	// HasOpensSent checks if OpensSent has been set in Bgpv6Metric
	HasOpensSent() bool
	// OpensReceived returns int32, set in Bgpv6Metric.
	OpensReceived() int32
	// SetOpensReceived assigns int32 provided by user to Bgpv6Metric
	SetOpensReceived(value int32) Bgpv6Metric
	// HasOpensReceived checks if OpensReceived has been set in Bgpv6Metric
	HasOpensReceived() bool
	// KeepalivesSent returns int32, set in Bgpv6Metric.
	KeepalivesSent() int32
	// SetKeepalivesSent assigns int32 provided by user to Bgpv6Metric
	SetKeepalivesSent(value int32) Bgpv6Metric
	// HasKeepalivesSent checks if KeepalivesSent has been set in Bgpv6Metric
	HasKeepalivesSent() bool
	// KeepalivesReceived returns int32, set in Bgpv6Metric.
	KeepalivesReceived() int32
	// SetKeepalivesReceived assigns int32 provided by user to Bgpv6Metric
	SetKeepalivesReceived(value int32) Bgpv6Metric
	// HasKeepalivesReceived checks if KeepalivesReceived has been set in Bgpv6Metric
	HasKeepalivesReceived() bool
	// NotificationsSent returns int32, set in Bgpv6Metric.
	NotificationsSent() int32
	// SetNotificationsSent assigns int32 provided by user to Bgpv6Metric
	SetNotificationsSent(value int32) Bgpv6Metric
	// HasNotificationsSent checks if NotificationsSent has been set in Bgpv6Metric
	HasNotificationsSent() bool
	// NotificationsReceived returns int32, set in Bgpv6Metric.
	NotificationsReceived() int32
	// SetNotificationsReceived assigns int32 provided by user to Bgpv6Metric
	SetNotificationsReceived(value int32) Bgpv6Metric
	// HasNotificationsReceived checks if NotificationsReceived has been set in Bgpv6Metric
	HasNotificationsReceived() bool
	// FsmState returns Bgpv6MetricFsmStateEnum, set in Bgpv6Metric
	FsmState() Bgpv6MetricFsmStateEnum
	// SetFsmState assigns Bgpv6MetricFsmStateEnum provided by user to Bgpv6Metric
	SetFsmState(value Bgpv6MetricFsmStateEnum) Bgpv6Metric
	// HasFsmState checks if FsmState has been set in Bgpv6Metric
	HasFsmState() bool
	// contains filtered or unexported methods
}

Bgpv6Metric is bGPv6 per peer statistics information.

func NewBgpv6Metric added in v0.6.5

func NewBgpv6Metric() Bgpv6Metric

type Bgpv6MetricFsmStateEnum added in v0.10.5

type Bgpv6MetricFsmStateEnum string

type Bgpv6MetricSessionStateEnum

type Bgpv6MetricSessionStateEnum string

type Bgpv6MetricsRequest

type Bgpv6MetricsRequest interface {
	Validation
	// Msg marshals Bgpv6MetricsRequest to protobuf object *otg.Bgpv6MetricsRequest
	// and doesn't set defaults
	Msg() *otg.Bgpv6MetricsRequest
	// SetMsg unmarshals Bgpv6MetricsRequest from protobuf object *otg.Bgpv6MetricsRequest
	// and doesn't set defaults
	SetMsg(*otg.Bgpv6MetricsRequest) Bgpv6MetricsRequest
	// ToProto marshals Bgpv6MetricsRequest to protobuf object *otg.Bgpv6MetricsRequest
	ToProto() (*otg.Bgpv6MetricsRequest, error)
	// ToPbText marshals Bgpv6MetricsRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Bgpv6MetricsRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals Bgpv6MetricsRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Bgpv6MetricsRequest from protobuf object *otg.Bgpv6MetricsRequest
	FromProto(msg *otg.Bgpv6MetricsRequest) (Bgpv6MetricsRequest, error)
	// FromPbText unmarshals Bgpv6MetricsRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Bgpv6MetricsRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Bgpv6MetricsRequest from JSON text
	FromJson(value string) error
	// Validate validates Bgpv6MetricsRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Bgpv6MetricsRequest, error)

	// PeerNames returns []string, set in Bgpv6MetricsRequest.
	PeerNames() []string
	// SetPeerNames assigns []string provided by user to Bgpv6MetricsRequest
	SetPeerNames(value []string) Bgpv6MetricsRequest
	// ColumnNames returns []Bgpv6MetricsRequestColumnNamesEnum, set in Bgpv6MetricsRequest
	ColumnNames() []Bgpv6MetricsRequestColumnNamesEnum
	// SetColumnNames assigns []Bgpv6MetricsRequestColumnNamesEnum provided by user to Bgpv6MetricsRequest
	SetColumnNames(value []Bgpv6MetricsRequestColumnNamesEnum) Bgpv6MetricsRequest
	// contains filtered or unexported methods
}

Bgpv6MetricsRequest is the request to retrieve BGPv6 per peer metrics/statistics.

func NewBgpv6MetricsRequest added in v0.6.5

func NewBgpv6MetricsRequest() Bgpv6MetricsRequest

type Bgpv6MetricsRequestColumnNamesEnum

type Bgpv6MetricsRequestColumnNamesEnum string

type Capture

type Capture interface {
	Validation
	// Msg marshals Capture to protobuf object *otg.Capture
	// and doesn't set defaults
	Msg() *otg.Capture
	// SetMsg unmarshals Capture from protobuf object *otg.Capture
	// and doesn't set defaults
	SetMsg(*otg.Capture) Capture
	// ToProto marshals Capture to protobuf object *otg.Capture
	ToProto() (*otg.Capture, error)
	// ToPbText marshals Capture to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Capture to YAML text
	ToYaml() (string, error)
	// ToJson marshals Capture to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Capture from protobuf object *otg.Capture
	FromProto(msg *otg.Capture) (Capture, error)
	// FromPbText unmarshals Capture from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Capture from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Capture from JSON text
	FromJson(value string) error
	// Validate validates Capture
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Capture, error)

	// PortNames returns []string, set in Capture.
	PortNames() []string
	// SetPortNames assigns []string provided by user to Capture
	SetPortNames(value []string) Capture
	// Filters returns CaptureCaptureFilterIterIter, set in Capture
	Filters() CaptureCaptureFilterIter
	// Overwrite returns bool, set in Capture.
	Overwrite() bool
	// SetOverwrite assigns bool provided by user to Capture
	SetOverwrite(value bool) Capture
	// HasOverwrite checks if Overwrite has been set in Capture
	HasOverwrite() bool
	// PacketSize returns int32, set in Capture.
	PacketSize() int32
	// SetPacketSize assigns int32 provided by user to Capture
	SetPacketSize(value int32) Capture
	// HasPacketSize checks if PacketSize has been set in Capture
	HasPacketSize() bool
	// Format returns CaptureFormatEnum, set in Capture
	Format() CaptureFormatEnum
	// SetFormat assigns CaptureFormatEnum provided by user to Capture
	SetFormat(value CaptureFormatEnum) Capture
	// HasFormat checks if Format has been set in Capture
	HasFormat() bool
	// Name returns string, set in Capture.
	Name() string
	// SetName assigns string provided by user to Capture
	SetName(value string) Capture
	// contains filtered or unexported methods
}

Capture is under Review: Information TBD

Under Review: Information TBD

Configuration for capture settings.

func NewCapture added in v0.6.5

func NewCapture() Capture

type CaptureCaptureFilterIter

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

type CaptureCustom

type CaptureCustom interface {
	Validation
	// Msg marshals CaptureCustom to protobuf object *otg.CaptureCustom
	// and doesn't set defaults
	Msg() *otg.CaptureCustom
	// SetMsg unmarshals CaptureCustom from protobuf object *otg.CaptureCustom
	// and doesn't set defaults
	SetMsg(*otg.CaptureCustom) CaptureCustom
	// ToProto marshals CaptureCustom to protobuf object *otg.CaptureCustom
	ToProto() (*otg.CaptureCustom, error)
	// ToPbText marshals CaptureCustom to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals CaptureCustom to YAML text
	ToYaml() (string, error)
	// ToJson marshals CaptureCustom to JSON text
	ToJson() (string, error)
	// FromProto unmarshals CaptureCustom from protobuf object *otg.CaptureCustom
	FromProto(msg *otg.CaptureCustom) (CaptureCustom, error)
	// FromPbText unmarshals CaptureCustom from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals CaptureCustom from YAML text
	FromYaml(value string) error
	// FromJson unmarshals CaptureCustom from JSON text
	FromJson(value string) error
	// Validate validates CaptureCustom
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (CaptureCustom, error)

	// Offset returns int32, set in CaptureCustom.
	Offset() int32
	// SetOffset assigns int32 provided by user to CaptureCustom
	SetOffset(value int32) CaptureCustom
	// HasOffset checks if Offset has been set in CaptureCustom
	HasOffset() bool
	// BitLength returns int32, set in CaptureCustom.
	BitLength() int32
	// SetBitLength assigns int32 provided by user to CaptureCustom
	SetBitLength(value int32) CaptureCustom
	// HasBitLength checks if BitLength has been set in CaptureCustom
	HasBitLength() bool
	// Value returns string, set in CaptureCustom.
	Value() string
	// SetValue assigns string provided by user to CaptureCustom
	SetValue(value string) CaptureCustom
	// HasValue checks if Value has been set in CaptureCustom
	HasValue() bool
	// Mask returns string, set in CaptureCustom.
	Mask() string
	// SetMask assigns string provided by user to CaptureCustom
	SetMask(value string) CaptureCustom
	// HasMask checks if Mask has been set in CaptureCustom
	HasMask() bool
	// Negate returns bool, set in CaptureCustom.
	Negate() bool
	// SetNegate assigns bool provided by user to CaptureCustom
	SetNegate(value bool) CaptureCustom
	// HasNegate checks if Negate has been set in CaptureCustom
	HasNegate() bool
	// contains filtered or unexported methods
}

CaptureCustom is description is TBD

func NewCaptureCustom added in v0.6.5

func NewCaptureCustom() CaptureCustom

type CaptureEthernet

type CaptureEthernet interface {
	Validation
	// Msg marshals CaptureEthernet to protobuf object *otg.CaptureEthernet
	// and doesn't set defaults
	Msg() *otg.CaptureEthernet
	// SetMsg unmarshals CaptureEthernet from protobuf object *otg.CaptureEthernet
	// and doesn't set defaults
	SetMsg(*otg.CaptureEthernet) CaptureEthernet
	// ToProto marshals CaptureEthernet to protobuf object *otg.CaptureEthernet
	ToProto() (*otg.CaptureEthernet, error)
	// ToPbText marshals CaptureEthernet to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals CaptureEthernet to YAML text
	ToYaml() (string, error)
	// ToJson marshals CaptureEthernet to JSON text
	ToJson() (string, error)
	// FromProto unmarshals CaptureEthernet from protobuf object *otg.CaptureEthernet
	FromProto(msg *otg.CaptureEthernet) (CaptureEthernet, error)
	// FromPbText unmarshals CaptureEthernet from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals CaptureEthernet from YAML text
	FromYaml(value string) error
	// FromJson unmarshals CaptureEthernet from JSON text
	FromJson(value string) error
	// Validate validates CaptureEthernet
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (CaptureEthernet, error)

	// Src returns CaptureField, set in CaptureEthernet.
	// CaptureField is description is TBD
	Src() CaptureField
	// SetSrc assigns CaptureField provided by user to CaptureEthernet.
	// CaptureField is description is TBD
	SetSrc(value CaptureField) CaptureEthernet
	// HasSrc checks if Src has been set in CaptureEthernet
	HasSrc() bool
	// Dst returns CaptureField, set in CaptureEthernet.
	// CaptureField is description is TBD
	Dst() CaptureField
	// SetDst assigns CaptureField provided by user to CaptureEthernet.
	// CaptureField is description is TBD
	SetDst(value CaptureField) CaptureEthernet
	// HasDst checks if Dst has been set in CaptureEthernet
	HasDst() bool
	// EtherType returns CaptureField, set in CaptureEthernet.
	// CaptureField is description is TBD
	EtherType() CaptureField
	// SetEtherType assigns CaptureField provided by user to CaptureEthernet.
	// CaptureField is description is TBD
	SetEtherType(value CaptureField) CaptureEthernet
	// HasEtherType checks if EtherType has been set in CaptureEthernet
	HasEtherType() bool
	// PfcQueue returns CaptureField, set in CaptureEthernet.
	// CaptureField is description is TBD
	PfcQueue() CaptureField
	// SetPfcQueue assigns CaptureField provided by user to CaptureEthernet.
	// CaptureField is description is TBD
	SetPfcQueue(value CaptureField) CaptureEthernet
	// HasPfcQueue checks if PfcQueue has been set in CaptureEthernet
	HasPfcQueue() bool
	// contains filtered or unexported methods
}

CaptureEthernet is description is TBD

func NewCaptureEthernet added in v0.6.5

func NewCaptureEthernet() CaptureEthernet

type CaptureField

type CaptureField interface {
	Validation
	// Msg marshals CaptureField to protobuf object *otg.CaptureField
	// and doesn't set defaults
	Msg() *otg.CaptureField
	// SetMsg unmarshals CaptureField from protobuf object *otg.CaptureField
	// and doesn't set defaults
	SetMsg(*otg.CaptureField) CaptureField
	// ToProto marshals CaptureField to protobuf object *otg.CaptureField
	ToProto() (*otg.CaptureField, error)
	// ToPbText marshals CaptureField to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals CaptureField to YAML text
	ToYaml() (string, error)
	// ToJson marshals CaptureField to JSON text
	ToJson() (string, error)
	// FromProto unmarshals CaptureField from protobuf object *otg.CaptureField
	FromProto(msg *otg.CaptureField) (CaptureField, error)
	// FromPbText unmarshals CaptureField from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals CaptureField from YAML text
	FromYaml(value string) error
	// FromJson unmarshals CaptureField from JSON text
	FromJson(value string) error
	// Validate validates CaptureField
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (CaptureField, error)

	// Value returns string, set in CaptureField.
	Value() string
	// SetValue assigns string provided by user to CaptureField
	SetValue(value string) CaptureField
	// HasValue checks if Value has been set in CaptureField
	HasValue() bool
	// Mask returns string, set in CaptureField.
	Mask() string
	// SetMask assigns string provided by user to CaptureField
	SetMask(value string) CaptureField
	// HasMask checks if Mask has been set in CaptureField
	HasMask() bool
	// Negate returns bool, set in CaptureField.
	Negate() bool
	// SetNegate assigns bool provided by user to CaptureField
	SetNegate(value bool) CaptureField
	// HasNegate checks if Negate has been set in CaptureField
	HasNegate() bool
	// contains filtered or unexported methods
}

CaptureField is description is TBD

func NewCaptureField added in v0.6.5

func NewCaptureField() CaptureField

type CaptureFilter

type CaptureFilter interface {
	Validation
	// Msg marshals CaptureFilter to protobuf object *otg.CaptureFilter
	// and doesn't set defaults
	Msg() *otg.CaptureFilter
	// SetMsg unmarshals CaptureFilter from protobuf object *otg.CaptureFilter
	// and doesn't set defaults
	SetMsg(*otg.CaptureFilter) CaptureFilter
	// ToProto marshals CaptureFilter to protobuf object *otg.CaptureFilter
	ToProto() (*otg.CaptureFilter, error)
	// ToPbText marshals CaptureFilter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals CaptureFilter to YAML text
	ToYaml() (string, error)
	// ToJson marshals CaptureFilter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals CaptureFilter from protobuf object *otg.CaptureFilter
	FromProto(msg *otg.CaptureFilter) (CaptureFilter, error)
	// FromPbText unmarshals CaptureFilter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals CaptureFilter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals CaptureFilter from JSON text
	FromJson(value string) error
	// Validate validates CaptureFilter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (CaptureFilter, error)

	// Choice returns CaptureFilterChoiceEnum, set in CaptureFilter
	Choice() CaptureFilterChoiceEnum
	// SetChoice assigns CaptureFilterChoiceEnum provided by user to CaptureFilter
	SetChoice(value CaptureFilterChoiceEnum) CaptureFilter
	// HasChoice checks if Choice has been set in CaptureFilter
	HasChoice() bool
	// Custom returns CaptureCustom, set in CaptureFilter.
	// CaptureCustom is description is TBD
	Custom() CaptureCustom
	// SetCustom assigns CaptureCustom provided by user to CaptureFilter.
	// CaptureCustom is description is TBD
	SetCustom(value CaptureCustom) CaptureFilter
	// HasCustom checks if Custom has been set in CaptureFilter
	HasCustom() bool
	// Ethernet returns CaptureEthernet, set in CaptureFilter.
	// CaptureEthernet is description is TBD
	Ethernet() CaptureEthernet
	// SetEthernet assigns CaptureEthernet provided by user to CaptureFilter.
	// CaptureEthernet is description is TBD
	SetEthernet(value CaptureEthernet) CaptureFilter
	// HasEthernet checks if Ethernet has been set in CaptureFilter
	HasEthernet() bool
	// Vlan returns CaptureVlan, set in CaptureFilter.
	// CaptureVlan is description is TBD
	Vlan() CaptureVlan
	// SetVlan assigns CaptureVlan provided by user to CaptureFilter.
	// CaptureVlan is description is TBD
	SetVlan(value CaptureVlan) CaptureFilter
	// HasVlan checks if Vlan has been set in CaptureFilter
	HasVlan() bool
	// Ipv4 returns CaptureIpv4, set in CaptureFilter.
	// CaptureIpv4 is description is TBD
	Ipv4() CaptureIpv4
	// SetIpv4 assigns CaptureIpv4 provided by user to CaptureFilter.
	// CaptureIpv4 is description is TBD
	SetIpv4(value CaptureIpv4) CaptureFilter
	// HasIpv4 checks if Ipv4 has been set in CaptureFilter
	HasIpv4() bool
	// Ipv6 returns CaptureIpv6, set in CaptureFilter.
	// CaptureIpv6 is description is TBD
	Ipv6() CaptureIpv6
	// SetIpv6 assigns CaptureIpv6 provided by user to CaptureFilter.
	// CaptureIpv6 is description is TBD
	SetIpv6(value CaptureIpv6) CaptureFilter
	// HasIpv6 checks if Ipv6 has been set in CaptureFilter
	HasIpv6() bool
	// contains filtered or unexported methods
}

CaptureFilter is configuration for capture filters

func NewCaptureFilter added in v0.6.5

func NewCaptureFilter() CaptureFilter

type CaptureFilterChoiceEnum

type CaptureFilterChoiceEnum string

type CaptureFormatEnum

type CaptureFormatEnum string

type CaptureIpv4

type CaptureIpv4 interface {
	Validation
	// Msg marshals CaptureIpv4 to protobuf object *otg.CaptureIpv4
	// and doesn't set defaults
	Msg() *otg.CaptureIpv4
	// SetMsg unmarshals CaptureIpv4 from protobuf object *otg.CaptureIpv4
	// and doesn't set defaults
	SetMsg(*otg.CaptureIpv4) CaptureIpv4
	// ToProto marshals CaptureIpv4 to protobuf object *otg.CaptureIpv4
	ToProto() (*otg.CaptureIpv4, error)
	// ToPbText marshals CaptureIpv4 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals CaptureIpv4 to YAML text
	ToYaml() (string, error)
	// ToJson marshals CaptureIpv4 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals CaptureIpv4 from protobuf object *otg.CaptureIpv4
	FromProto(msg *otg.CaptureIpv4) (CaptureIpv4, error)
	// FromPbText unmarshals CaptureIpv4 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals CaptureIpv4 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals CaptureIpv4 from JSON text
	FromJson(value string) error
	// Validate validates CaptureIpv4
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (CaptureIpv4, error)

	// Version returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	Version() CaptureField
	// SetVersion assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetVersion(value CaptureField) CaptureIpv4
	// HasVersion checks if Version has been set in CaptureIpv4
	HasVersion() bool
	// HeaderLength returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	HeaderLength() CaptureField
	// SetHeaderLength assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetHeaderLength(value CaptureField) CaptureIpv4
	// HasHeaderLength checks if HeaderLength has been set in CaptureIpv4
	HasHeaderLength() bool
	// Priority returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	Priority() CaptureField
	// SetPriority assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetPriority(value CaptureField) CaptureIpv4
	// HasPriority checks if Priority has been set in CaptureIpv4
	HasPriority() bool
	// TotalLength returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	TotalLength() CaptureField
	// SetTotalLength assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetTotalLength(value CaptureField) CaptureIpv4
	// HasTotalLength checks if TotalLength has been set in CaptureIpv4
	HasTotalLength() bool
	// Identification returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	Identification() CaptureField
	// SetIdentification assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetIdentification(value CaptureField) CaptureIpv4
	// HasIdentification checks if Identification has been set in CaptureIpv4
	HasIdentification() bool
	// Reserved returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	Reserved() CaptureField
	// SetReserved assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetReserved(value CaptureField) CaptureIpv4
	// HasReserved checks if Reserved has been set in CaptureIpv4
	HasReserved() bool
	// DontFragment returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	DontFragment() CaptureField
	// SetDontFragment assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetDontFragment(value CaptureField) CaptureIpv4
	// HasDontFragment checks if DontFragment has been set in CaptureIpv4
	HasDontFragment() bool
	// MoreFragments returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	MoreFragments() CaptureField
	// SetMoreFragments assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetMoreFragments(value CaptureField) CaptureIpv4
	// HasMoreFragments checks if MoreFragments has been set in CaptureIpv4
	HasMoreFragments() bool
	// FragmentOffset returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	FragmentOffset() CaptureField
	// SetFragmentOffset assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetFragmentOffset(value CaptureField) CaptureIpv4
	// HasFragmentOffset checks if FragmentOffset has been set in CaptureIpv4
	HasFragmentOffset() bool
	// TimeToLive returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	TimeToLive() CaptureField
	// SetTimeToLive assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetTimeToLive(value CaptureField) CaptureIpv4
	// HasTimeToLive checks if TimeToLive has been set in CaptureIpv4
	HasTimeToLive() bool
	// Protocol returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	Protocol() CaptureField
	// SetProtocol assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetProtocol(value CaptureField) CaptureIpv4
	// HasProtocol checks if Protocol has been set in CaptureIpv4
	HasProtocol() bool
	// HeaderChecksum returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	HeaderChecksum() CaptureField
	// SetHeaderChecksum assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetHeaderChecksum(value CaptureField) CaptureIpv4
	// HasHeaderChecksum checks if HeaderChecksum has been set in CaptureIpv4
	HasHeaderChecksum() bool
	// Src returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	Src() CaptureField
	// SetSrc assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetSrc(value CaptureField) CaptureIpv4
	// HasSrc checks if Src has been set in CaptureIpv4
	HasSrc() bool
	// Dst returns CaptureField, set in CaptureIpv4.
	// CaptureField is description is TBD
	Dst() CaptureField
	// SetDst assigns CaptureField provided by user to CaptureIpv4.
	// CaptureField is description is TBD
	SetDst(value CaptureField) CaptureIpv4
	// HasDst checks if Dst has been set in CaptureIpv4
	HasDst() bool
	// contains filtered or unexported methods
}

CaptureIpv4 is description is TBD

func NewCaptureIpv4 added in v0.6.5

func NewCaptureIpv4() CaptureIpv4

type CaptureIpv6

type CaptureIpv6 interface {
	Validation
	// Msg marshals CaptureIpv6 to protobuf object *otg.CaptureIpv6
	// and doesn't set defaults
	Msg() *otg.CaptureIpv6
	// SetMsg unmarshals CaptureIpv6 from protobuf object *otg.CaptureIpv6
	// and doesn't set defaults
	SetMsg(*otg.CaptureIpv6) CaptureIpv6
	// ToProto marshals CaptureIpv6 to protobuf object *otg.CaptureIpv6
	ToProto() (*otg.CaptureIpv6, error)
	// ToPbText marshals CaptureIpv6 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals CaptureIpv6 to YAML text
	ToYaml() (string, error)
	// ToJson marshals CaptureIpv6 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals CaptureIpv6 from protobuf object *otg.CaptureIpv6
	FromProto(msg *otg.CaptureIpv6) (CaptureIpv6, error)
	// FromPbText unmarshals CaptureIpv6 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals CaptureIpv6 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals CaptureIpv6 from JSON text
	FromJson(value string) error
	// Validate validates CaptureIpv6
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (CaptureIpv6, error)

	// Version returns CaptureField, set in CaptureIpv6.
	// CaptureField is description is TBD
	Version() CaptureField
	// SetVersion assigns CaptureField provided by user to CaptureIpv6.
	// CaptureField is description is TBD
	SetVersion(value CaptureField) CaptureIpv6
	// HasVersion checks if Version has been set in CaptureIpv6
	HasVersion() bool
	// TrafficClass returns CaptureField, set in CaptureIpv6.
	// CaptureField is description is TBD
	TrafficClass() CaptureField
	// SetTrafficClass assigns CaptureField provided by user to CaptureIpv6.
	// CaptureField is description is TBD
	SetTrafficClass(value CaptureField) CaptureIpv6
	// HasTrafficClass checks if TrafficClass has been set in CaptureIpv6
	HasTrafficClass() bool
	// FlowLabel returns CaptureField, set in CaptureIpv6.
	// CaptureField is description is TBD
	FlowLabel() CaptureField
	// SetFlowLabel assigns CaptureField provided by user to CaptureIpv6.
	// CaptureField is description is TBD
	SetFlowLabel(value CaptureField) CaptureIpv6
	// HasFlowLabel checks if FlowLabel has been set in CaptureIpv6
	HasFlowLabel() bool
	// PayloadLength returns CaptureField, set in CaptureIpv6.
	// CaptureField is description is TBD
	PayloadLength() CaptureField
	// SetPayloadLength assigns CaptureField provided by user to CaptureIpv6.
	// CaptureField is description is TBD
	SetPayloadLength(value CaptureField) CaptureIpv6
	// HasPayloadLength checks if PayloadLength has been set in CaptureIpv6
	HasPayloadLength() bool
	// NextHeader returns CaptureField, set in CaptureIpv6.
	// CaptureField is description is TBD
	NextHeader() CaptureField
	// SetNextHeader assigns CaptureField provided by user to CaptureIpv6.
	// CaptureField is description is TBD
	SetNextHeader(value CaptureField) CaptureIpv6
	// HasNextHeader checks if NextHeader has been set in CaptureIpv6
	HasNextHeader() bool
	// HopLimit returns CaptureField, set in CaptureIpv6.
	// CaptureField is description is TBD
	HopLimit() CaptureField
	// SetHopLimit assigns CaptureField provided by user to CaptureIpv6.
	// CaptureField is description is TBD
	SetHopLimit(value CaptureField) CaptureIpv6
	// HasHopLimit checks if HopLimit has been set in CaptureIpv6
	HasHopLimit() bool
	// Src returns CaptureField, set in CaptureIpv6.
	// CaptureField is description is TBD
	Src() CaptureField
	// SetSrc assigns CaptureField provided by user to CaptureIpv6.
	// CaptureField is description is TBD
	SetSrc(value CaptureField) CaptureIpv6
	// HasSrc checks if Src has been set in CaptureIpv6
	HasSrc() bool
	// Dst returns CaptureField, set in CaptureIpv6.
	// CaptureField is description is TBD
	Dst() CaptureField
	// SetDst assigns CaptureField provided by user to CaptureIpv6.
	// CaptureField is description is TBD
	SetDst(value CaptureField) CaptureIpv6
	// HasDst checks if Dst has been set in CaptureIpv6
	HasDst() bool
	// contains filtered or unexported methods
}

CaptureIpv6 is description is TBD

func NewCaptureIpv6 added in v0.6.5

func NewCaptureIpv6() CaptureIpv6

type CaptureRequest

type CaptureRequest interface {
	Validation
	// Msg marshals CaptureRequest to protobuf object *otg.CaptureRequest
	// and doesn't set defaults
	Msg() *otg.CaptureRequest
	// SetMsg unmarshals CaptureRequest from protobuf object *otg.CaptureRequest
	// and doesn't set defaults
	SetMsg(*otg.CaptureRequest) CaptureRequest
	// ToProto marshals CaptureRequest to protobuf object *otg.CaptureRequest
	ToProto() (*otg.CaptureRequest, error)
	// ToPbText marshals CaptureRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals CaptureRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals CaptureRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals CaptureRequest from protobuf object *otg.CaptureRequest
	FromProto(msg *otg.CaptureRequest) (CaptureRequest, error)
	// FromPbText unmarshals CaptureRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals CaptureRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals CaptureRequest from JSON text
	FromJson(value string) error
	// Validate validates CaptureRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (CaptureRequest, error)

	// PortName returns string, set in CaptureRequest.
	PortName() string
	// SetPortName assigns string provided by user to CaptureRequest
	SetPortName(value string) CaptureRequest
	// contains filtered or unexported methods
}

CaptureRequest is the capture result request to the traffic generator. Stops the port capture on the port_name and returns the capture.

func NewCaptureRequest added in v0.6.5

func NewCaptureRequest() CaptureRequest

type CaptureState deprecated

type CaptureState interface {
	Validation
	// Msg marshals CaptureState to protobuf object *otg.CaptureState
	// and doesn't set defaults
	Msg() *otg.CaptureState
	// SetMsg unmarshals CaptureState from protobuf object *otg.CaptureState
	// and doesn't set defaults
	SetMsg(*otg.CaptureState) CaptureState
	// ToProto marshals CaptureState to protobuf object *otg.CaptureState
	ToProto() (*otg.CaptureState, error)
	// ToPbText marshals CaptureState to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals CaptureState to YAML text
	ToYaml() (string, error)
	// ToJson marshals CaptureState to JSON text
	ToJson() (string, error)
	// FromProto unmarshals CaptureState from protobuf object *otg.CaptureState
	FromProto(msg *otg.CaptureState) (CaptureState, error)
	// FromPbText unmarshals CaptureState from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals CaptureState from YAML text
	FromYaml(value string) error
	// FromJson unmarshals CaptureState from JSON text
	FromJson(value string) error
	// Validate validates CaptureState
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (CaptureState, error)

	// PortNames returns []string, set in CaptureState.
	PortNames() []string
	// SetPortNames assigns []string provided by user to CaptureState
	SetPortNames(value []string) CaptureState
	// State returns CaptureStateStateEnum, set in CaptureState
	State() CaptureStateStateEnum
	// SetState assigns CaptureStateStateEnum provided by user to CaptureState
	SetState(value CaptureStateStateEnum) CaptureState
	// contains filtered or unexported methods
}

CaptureState is deprecated: Please use `StatePortCapture` instead

Deprecated: Please use `StatePortCapture` instead

Control port capture state

func NewCaptureState added in v0.6.5

func NewCaptureState() CaptureState

type CaptureStateStateEnum

type CaptureStateStateEnum string

type CaptureVlan

type CaptureVlan interface {
	Validation
	// Msg marshals CaptureVlan to protobuf object *otg.CaptureVlan
	// and doesn't set defaults
	Msg() *otg.CaptureVlan
	// SetMsg unmarshals CaptureVlan from protobuf object *otg.CaptureVlan
	// and doesn't set defaults
	SetMsg(*otg.CaptureVlan) CaptureVlan
	// ToProto marshals CaptureVlan to protobuf object *otg.CaptureVlan
	ToProto() (*otg.CaptureVlan, error)
	// ToPbText marshals CaptureVlan to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals CaptureVlan to YAML text
	ToYaml() (string, error)
	// ToJson marshals CaptureVlan to JSON text
	ToJson() (string, error)
	// FromProto unmarshals CaptureVlan from protobuf object *otg.CaptureVlan
	FromProto(msg *otg.CaptureVlan) (CaptureVlan, error)
	// FromPbText unmarshals CaptureVlan from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals CaptureVlan from YAML text
	FromYaml(value string) error
	// FromJson unmarshals CaptureVlan from JSON text
	FromJson(value string) error
	// Validate validates CaptureVlan
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (CaptureVlan, error)

	// Priority returns CaptureField, set in CaptureVlan.
	// CaptureField is description is TBD
	Priority() CaptureField
	// SetPriority assigns CaptureField provided by user to CaptureVlan.
	// CaptureField is description is TBD
	SetPriority(value CaptureField) CaptureVlan
	// HasPriority checks if Priority has been set in CaptureVlan
	HasPriority() bool
	// Cfi returns CaptureField, set in CaptureVlan.
	// CaptureField is description is TBD
	Cfi() CaptureField
	// SetCfi assigns CaptureField provided by user to CaptureVlan.
	// CaptureField is description is TBD
	SetCfi(value CaptureField) CaptureVlan
	// HasCfi checks if Cfi has been set in CaptureVlan
	HasCfi() bool
	// Id returns CaptureField, set in CaptureVlan.
	// CaptureField is description is TBD
	Id() CaptureField
	// SetId assigns CaptureField provided by user to CaptureVlan.
	// CaptureField is description is TBD
	SetId(value CaptureField) CaptureVlan
	// HasId checks if Id has been set in CaptureVlan
	HasId() bool
	// Protocol returns CaptureField, set in CaptureVlan.
	// CaptureField is description is TBD
	Protocol() CaptureField
	// SetProtocol assigns CaptureField provided by user to CaptureVlan.
	// CaptureField is description is TBD
	SetProtocol(value CaptureField) CaptureVlan
	// HasProtocol checks if Protocol has been set in CaptureVlan
	HasProtocol() bool
	// contains filtered or unexported methods
}

CaptureVlan is description is TBD

func NewCaptureVlan added in v0.6.5

func NewCaptureVlan() CaptureVlan

type Config

type Config interface {
	Validation
	// Msg marshals Config to protobuf object *otg.Config
	// and doesn't set defaults
	Msg() *otg.Config
	// SetMsg unmarshals Config from protobuf object *otg.Config
	// and doesn't set defaults
	SetMsg(*otg.Config) Config
	// ToProto marshals Config to protobuf object *otg.Config
	ToProto() (*otg.Config, error)
	// ToPbText marshals Config to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Config to YAML text
	ToYaml() (string, error)
	// ToJson marshals Config to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Config from protobuf object *otg.Config
	FromProto(msg *otg.Config) (Config, error)
	// FromPbText unmarshals Config from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Config from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Config from JSON text
	FromJson(value string) error
	// Validate validates Config
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Config, error)

	// Ports returns ConfigPortIterIter, set in Config
	Ports() ConfigPortIter
	// Lags returns ConfigLagIterIter, set in Config
	Lags() ConfigLagIter
	// Layer1 returns ConfigLayer1IterIter, set in Config
	Layer1() ConfigLayer1Iter
	// Captures returns ConfigCaptureIterIter, set in Config
	Captures() ConfigCaptureIter
	// Devices returns ConfigDeviceIterIter, set in Config
	Devices() ConfigDeviceIter
	// Flows returns ConfigFlowIterIter, set in Config
	Flows() ConfigFlowIter
	// Events returns Event, set in Config.
	// Event is the optional container for event configuration.
	Events() Event
	// SetEvents assigns Event provided by user to Config.
	// Event is the optional container for event configuration.
	SetEvents(value Event) Config
	// HasEvents checks if Events has been set in Config
	HasEvents() bool
	// Options returns ConfigOptions, set in Config.
	// ConfigOptions is global configuration options.
	Options() ConfigOptions
	// SetOptions assigns ConfigOptions provided by user to Config.
	// ConfigOptions is global configuration options.
	SetOptions(value ConfigOptions) Config
	// HasOptions checks if Options has been set in Config
	HasOptions() bool
	// Lldp returns ConfigLldpIterIter, set in Config
	Lldp() ConfigLldpIter
	// contains filtered or unexported methods
}

Config is a container for all models that are part of the configuration.

func NewConfig added in v0.6.5

func NewConfig() Config

type ConfigCaptureIter

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

type ConfigDeviceIter

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

type ConfigFlowIter

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

type ConfigLagIter

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

type ConfigLayer1Iter

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

type ConfigLldpIter added in v0.9.6

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

type ConfigOptions

type ConfigOptions interface {
	Validation
	// Msg marshals ConfigOptions to protobuf object *otg.ConfigOptions
	// and doesn't set defaults
	Msg() *otg.ConfigOptions
	// SetMsg unmarshals ConfigOptions from protobuf object *otg.ConfigOptions
	// and doesn't set defaults
	SetMsg(*otg.ConfigOptions) ConfigOptions
	// ToProto marshals ConfigOptions to protobuf object *otg.ConfigOptions
	ToProto() (*otg.ConfigOptions, error)
	// ToPbText marshals ConfigOptions to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ConfigOptions to YAML text
	ToYaml() (string, error)
	// ToJson marshals ConfigOptions to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ConfigOptions from protobuf object *otg.ConfigOptions
	FromProto(msg *otg.ConfigOptions) (ConfigOptions, error)
	// FromPbText unmarshals ConfigOptions from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ConfigOptions from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ConfigOptions from JSON text
	FromJson(value string) error
	// Validate validates ConfigOptions
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ConfigOptions, error)

	// PortOptions returns PortOptions, set in ConfigOptions.
	// PortOptions is common port options that apply to all configured Port objects.
	PortOptions() PortOptions
	// SetPortOptions assigns PortOptions provided by user to ConfigOptions.
	// PortOptions is common port options that apply to all configured Port objects.
	SetPortOptions(value PortOptions) ConfigOptions
	// HasPortOptions checks if PortOptions has been set in ConfigOptions
	HasPortOptions() bool
	// ProtocolOptions returns ProtocolOptions, set in ConfigOptions.
	// ProtocolOptions is common options that apply to all configured protocols and interfaces.
	ProtocolOptions() ProtocolOptions
	// SetProtocolOptions assigns ProtocolOptions provided by user to ConfigOptions.
	// ProtocolOptions is common options that apply to all configured protocols and interfaces.
	SetProtocolOptions(value ProtocolOptions) ConfigOptions
	// HasProtocolOptions checks if ProtocolOptions has been set in ConfigOptions
	HasProtocolOptions() bool
	// contains filtered or unexported methods
}

ConfigOptions is global configuration options.

func NewConfigOptions added in v0.6.5

func NewConfigOptions() ConfigOptions

type ConfigPortIter

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

type ConfigUpdate added in v0.10.10

type ConfigUpdate interface {
	Validation
	// Msg marshals ConfigUpdate to protobuf object *otg.ConfigUpdate
	// and doesn't set defaults
	Msg() *otg.ConfigUpdate
	// SetMsg unmarshals ConfigUpdate from protobuf object *otg.ConfigUpdate
	// and doesn't set defaults
	SetMsg(*otg.ConfigUpdate) ConfigUpdate
	// ToProto marshals ConfigUpdate to protobuf object *otg.ConfigUpdate
	ToProto() (*otg.ConfigUpdate, error)
	// ToPbText marshals ConfigUpdate to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ConfigUpdate to YAML text
	ToYaml() (string, error)
	// ToJson marshals ConfigUpdate to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ConfigUpdate from protobuf object *otg.ConfigUpdate
	FromProto(msg *otg.ConfigUpdate) (ConfigUpdate, error)
	// FromPbText unmarshals ConfigUpdate from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ConfigUpdate from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ConfigUpdate from JSON text
	FromJson(value string) error
	// Validate validates ConfigUpdate
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ConfigUpdate, error)

	// Choice returns ConfigUpdateChoiceEnum, set in ConfigUpdate
	Choice() ConfigUpdateChoiceEnum
	// SetChoice assigns ConfigUpdateChoiceEnum provided by user to ConfigUpdate
	SetChoice(value ConfigUpdateChoiceEnum) ConfigUpdate
	// HasChoice checks if Choice has been set in ConfigUpdate
	HasChoice() bool
	// Flows returns FlowsUpdate, set in ConfigUpdate.
	// FlowsUpdate is a container of flows with associated properties to be updated without affecting the flows current transmit state.
	Flows() FlowsUpdate
	// SetFlows assigns FlowsUpdate provided by user to ConfigUpdate.
	// FlowsUpdate is a container of flows with associated properties to be updated without affecting the flows current transmit state.
	SetFlows(value FlowsUpdate) ConfigUpdate
	// HasFlows checks if Flows has been set in ConfigUpdate
	HasFlows() bool
	// contains filtered or unexported methods
}

ConfigUpdate is request for updating specific attributes of resources in traffic generator

func NewConfigUpdate added in v0.10.10

func NewConfigUpdate() ConfigUpdate

type ConfigUpdateChoiceEnum added in v0.10.10

type ConfigUpdateChoiceEnum string

type Constraints added in v0.10.6

type Constraints interface {
	ValueOf(name string) interface{}
}

All methods that perform validation will add errors here All api rpcs MUST call Validate

type ControlAction added in v0.10.10

type ControlAction interface {
	Validation
	// Msg marshals ControlAction to protobuf object *otg.ControlAction
	// and doesn't set defaults
	Msg() *otg.ControlAction
	// SetMsg unmarshals ControlAction from protobuf object *otg.ControlAction
	// and doesn't set defaults
	SetMsg(*otg.ControlAction) ControlAction
	// ToProto marshals ControlAction to protobuf object *otg.ControlAction
	ToProto() (*otg.ControlAction, error)
	// ToPbText marshals ControlAction to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ControlAction to YAML text
	ToYaml() (string, error)
	// ToJson marshals ControlAction to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ControlAction from protobuf object *otg.ControlAction
	FromProto(msg *otg.ControlAction) (ControlAction, error)
	// FromPbText unmarshals ControlAction from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ControlAction from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ControlAction from JSON text
	FromJson(value string) error
	// Validate validates ControlAction
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ControlAction, error)

	// Choice returns ControlActionChoiceEnum, set in ControlAction
	Choice() ControlActionChoiceEnum
	// SetChoice assigns ControlActionChoiceEnum provided by user to ControlAction
	SetChoice(value ControlActionChoiceEnum) ControlAction
	// Protocol returns ActionProtocol, set in ControlAction.
	// ActionProtocol is actions associated with protocols on configured resources.
	Protocol() ActionProtocol
	// SetProtocol assigns ActionProtocol provided by user to ControlAction.
	// ActionProtocol is actions associated with protocols on configured resources.
	SetProtocol(value ActionProtocol) ControlAction
	// HasProtocol checks if Protocol has been set in ControlAction
	HasProtocol() bool
	// contains filtered or unexported methods
}

ControlAction is request for triggering action against configured resources.

func NewControlAction added in v0.10.10

func NewControlAction() ControlAction

type ControlActionChoiceEnum added in v0.10.10

type ControlActionChoiceEnum string

type ControlActionResponse added in v0.10.10

type ControlActionResponse interface {
	Validation
	// Msg marshals ControlActionResponse to protobuf object *otg.ControlActionResponse
	// and doesn't set defaults
	Msg() *otg.ControlActionResponse
	// SetMsg unmarshals ControlActionResponse from protobuf object *otg.ControlActionResponse
	// and doesn't set defaults
	SetMsg(*otg.ControlActionResponse) ControlActionResponse
	// ToProto marshals ControlActionResponse to protobuf object *otg.ControlActionResponse
	ToProto() (*otg.ControlActionResponse, error)
	// ToPbText marshals ControlActionResponse to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ControlActionResponse to YAML text
	ToYaml() (string, error)
	// ToJson marshals ControlActionResponse to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ControlActionResponse from protobuf object *otg.ControlActionResponse
	FromProto(msg *otg.ControlActionResponse) (ControlActionResponse, error)
	// FromPbText unmarshals ControlActionResponse from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ControlActionResponse from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ControlActionResponse from JSON text
	FromJson(value string) error
	// Validate validates ControlActionResponse
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ControlActionResponse, error)

	// Warnings returns []string, set in ControlActionResponse.
	Warnings() []string
	// SetWarnings assigns []string provided by user to ControlActionResponse
	SetWarnings(value []string) ControlActionResponse
	// Response returns ActionResponse, set in ControlActionResponse.
	// ActionResponse is response for action triggered against configured resources.
	Response() ActionResponse
	// SetResponse assigns ActionResponse provided by user to ControlActionResponse.
	// ActionResponse is response for action triggered against configured resources.
	SetResponse(value ActionResponse) ControlActionResponse
	// HasResponse checks if Response has been set in ControlActionResponse
	HasResponse() bool
	// contains filtered or unexported methods
}

ControlActionResponse is response for action triggered against configured resources along with warnings.

func NewControlActionResponse added in v0.10.10

func NewControlActionResponse() ControlActionResponse

type ControlState added in v0.10.10

type ControlState interface {
	Validation
	// Msg marshals ControlState to protobuf object *otg.ControlState
	// and doesn't set defaults
	Msg() *otg.ControlState
	// SetMsg unmarshals ControlState from protobuf object *otg.ControlState
	// and doesn't set defaults
	SetMsg(*otg.ControlState) ControlState
	// ToProto marshals ControlState to protobuf object *otg.ControlState
	ToProto() (*otg.ControlState, error)
	// ToPbText marshals ControlState to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals ControlState to YAML text
	ToYaml() (string, error)
	// ToJson marshals ControlState to JSON text
	ToJson() (string, error)
	// FromProto unmarshals ControlState from protobuf object *otg.ControlState
	FromProto(msg *otg.ControlState) (ControlState, error)
	// FromPbText unmarshals ControlState from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals ControlState from YAML text
	FromYaml(value string) error
	// FromJson unmarshals ControlState from JSON text
	FromJson(value string) error
	// Validate validates ControlState
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (ControlState, error)

	// Choice returns ControlStateChoiceEnum, set in ControlState
	Choice() ControlStateChoiceEnum
	// SetChoice assigns ControlStateChoiceEnum provided by user to ControlState
	SetChoice(value ControlStateChoiceEnum) ControlState
	// Port returns StatePort, set in ControlState.
	// StatePort is states associated with configured ports.
	Port() StatePort
	// SetPort assigns StatePort provided by user to ControlState.
	// StatePort is states associated with configured ports.
	SetPort(value StatePort) ControlState
	// HasPort checks if Port has been set in ControlState
	HasPort() bool
	// Protocol returns StateProtocol, set in ControlState.
	// StateProtocol is states associated with protocols on configured resources.
	Protocol() StateProtocol
	// SetProtocol assigns StateProtocol provided by user to ControlState.
	// StateProtocol is states associated with protocols on configured resources.
	SetProtocol(value StateProtocol) ControlState
	// HasProtocol checks if Protocol has been set in ControlState
	HasProtocol() bool
	// Traffic returns StateTraffic, set in ControlState.
	// StateTraffic is states associated with configured flows
	Traffic() StateTraffic
	// SetTraffic assigns StateTraffic provided by user to ControlState.
	// StateTraffic is states associated with configured flows
	SetTraffic(value StateTraffic) ControlState
	// HasTraffic checks if Traffic has been set in ControlState
	HasTraffic() bool
	// contains filtered or unexported methods
}

ControlState is request for setting operational state of configured resources.

func NewControlState added in v0.10.10

func NewControlState() ControlState

type ControlStateChoiceEnum added in v0.10.10

type ControlStateChoiceEnum string

type Device

type Device interface {
	Validation
	// Msg marshals Device to protobuf object *otg.Device
	// and doesn't set defaults
	Msg() *otg.Device
	// SetMsg unmarshals Device from protobuf object *otg.Device
	// and doesn't set defaults
	SetMsg(*otg.Device) Device
	// ToProto marshals Device to protobuf object *otg.Device
	ToProto() (*otg.Device, error)
	// ToPbText marshals Device to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Device to YAML text
	ToYaml() (string, error)
	// ToJson marshals Device to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Device from protobuf object *otg.Device
	FromProto(msg *otg.Device) (Device, error)
	// FromPbText unmarshals Device from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Device from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Device from JSON text
	FromJson(value string) error
	// Validate validates Device
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Device, error)

	// Ethernets returns DeviceDeviceEthernetIterIter, set in Device
	Ethernets() DeviceDeviceEthernetIter
	// Ipv4Loopbacks returns DeviceDeviceIpv4LoopbackIterIter, set in Device
	Ipv4Loopbacks() DeviceDeviceIpv4LoopbackIter
	// Ipv6Loopbacks returns DeviceDeviceIpv6LoopbackIterIter, set in Device
	Ipv6Loopbacks() DeviceDeviceIpv6LoopbackIter
	// Isis returns DeviceIsisRouter, set in Device.
	// DeviceIsisRouter is a container of properties for an ISIS router and its interfaces.
	Isis() DeviceIsisRouter
	// SetIsis assigns DeviceIsisRouter provided by user to Device.
	// DeviceIsisRouter is a container of properties for an ISIS router and its interfaces.
	SetIsis(value DeviceIsisRouter) Device
	// HasIsis checks if Isis has been set in Device
	HasIsis() bool
	// Bgp returns DeviceBgpRouter, set in Device.
	// DeviceBgpRouter is configuration for one or more IPv4 or IPv6 BGP peers.
	Bgp() DeviceBgpRouter
	// SetBgp assigns DeviceBgpRouter provided by user to Device.
	// DeviceBgpRouter is configuration for one or more IPv4 or IPv6 BGP peers.
	SetBgp(value DeviceBgpRouter) Device
	// HasBgp checks if Bgp has been set in Device
	HasBgp() bool
	// Vxlan returns DeviceVxlan, set in Device.
	// DeviceVxlan is description is TBD
	Vxlan() DeviceVxlan
	// SetVxlan assigns DeviceVxlan provided by user to Device.
	// DeviceVxlan is description is TBD
	SetVxlan(value DeviceVxlan) Device
	// HasVxlan checks if Vxlan has been set in Device
	HasVxlan() bool
	// Name returns string, set in Device.
	Name() string
	// SetName assigns string provided by user to Device
	SetName(value string) Device
	// Rsvp returns DeviceRsvp, set in Device.
	// DeviceRsvp is configuration for one or more RSVP interfaces, ingress and egress LSPs. In this model, currently IPv4 RSVP and point-to-point LSPs are supported as per RFC3209 and related specifications.
	Rsvp() DeviceRsvp
	// SetRsvp assigns DeviceRsvp provided by user to Device.
	// DeviceRsvp is configuration for one or more RSVP interfaces, ingress and egress LSPs. In this model, currently IPv4 RSVP and point-to-point LSPs are supported as per RFC3209 and related specifications.
	SetRsvp(value DeviceRsvp) Device
	// HasRsvp checks if Rsvp has been set in Device
	HasRsvp() bool
	// contains filtered or unexported methods
}

Device is a container for emulated interfaces, loopback interfaces and protocol configurations.

func NewDevice added in v0.6.5

func NewDevice() Device

type DeviceBgpCeaseError added in v0.10.11

type DeviceBgpCeaseError interface {
	Validation
	// Msg marshals DeviceBgpCeaseError to protobuf object *otg.DeviceBgpCeaseError
	// and doesn't set defaults
	Msg() *otg.DeviceBgpCeaseError
	// SetMsg unmarshals DeviceBgpCeaseError from protobuf object *otg.DeviceBgpCeaseError
	// and doesn't set defaults
	SetMsg(*otg.DeviceBgpCeaseError) DeviceBgpCeaseError
	// ToProto marshals DeviceBgpCeaseError to protobuf object *otg.DeviceBgpCeaseError
	ToProto() (*otg.DeviceBgpCeaseError, error)
	// ToPbText marshals DeviceBgpCeaseError to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceBgpCeaseError to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceBgpCeaseError to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceBgpCeaseError from protobuf object *otg.DeviceBgpCeaseError
	FromProto(msg *otg.DeviceBgpCeaseError) (DeviceBgpCeaseError, error)
	// FromPbText unmarshals DeviceBgpCeaseError from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceBgpCeaseError from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceBgpCeaseError from JSON text
	FromJson(value string) error
	// Validate validates DeviceBgpCeaseError
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceBgpCeaseError, error)

	// Subcode returns DeviceBgpCeaseErrorSubcodeEnum, set in DeviceBgpCeaseError
	Subcode() DeviceBgpCeaseErrorSubcodeEnum
	// SetSubcode assigns DeviceBgpCeaseErrorSubcodeEnum provided by user to DeviceBgpCeaseError
	SetSubcode(value DeviceBgpCeaseErrorSubcodeEnum) DeviceBgpCeaseError
	// HasSubcode checks if Subcode has been set in DeviceBgpCeaseError
	HasSubcode() bool
	// contains filtered or unexported methods
}

DeviceBgpCeaseError is in the absence of any fatal errors, a BGP peer can close its BGP connection by sending the NOTIFICATION message with the Error Code Cease.

func NewDeviceBgpCeaseError added in v0.10.11

func NewDeviceBgpCeaseError() DeviceBgpCeaseError

type DeviceBgpCeaseErrorSubcodeEnum added in v0.10.11

type DeviceBgpCeaseErrorSubcodeEnum string

type DeviceBgpCustomError added in v0.10.11

type DeviceBgpCustomError interface {
	Validation
	// Msg marshals DeviceBgpCustomError to protobuf object *otg.DeviceBgpCustomError
	// and doesn't set defaults
	Msg() *otg.DeviceBgpCustomError
	// SetMsg unmarshals DeviceBgpCustomError from protobuf object *otg.DeviceBgpCustomError
	// and doesn't set defaults
	SetMsg(*otg.DeviceBgpCustomError) DeviceBgpCustomError
	// ToProto marshals DeviceBgpCustomError to protobuf object *otg.DeviceBgpCustomError
	ToProto() (*otg.DeviceBgpCustomError, error)
	// ToPbText marshals DeviceBgpCustomError to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceBgpCustomError to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceBgpCustomError to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceBgpCustomError from protobuf object *otg.DeviceBgpCustomError
	FromProto(msg *otg.DeviceBgpCustomError) (DeviceBgpCustomError, error)
	// FromPbText unmarshals DeviceBgpCustomError from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceBgpCustomError from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceBgpCustomError from JSON text
	FromJson(value string) error
	// Validate validates DeviceBgpCustomError
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceBgpCustomError, error)

	// Code returns int32, set in DeviceBgpCustomError.
	Code() int32
	// SetCode assigns int32 provided by user to DeviceBgpCustomError
	SetCode(value int32) DeviceBgpCustomError
	// HasCode checks if Code has been set in DeviceBgpCustomError
	HasCode() bool
	// Subcode returns int32, set in DeviceBgpCustomError.
	Subcode() int32
	// SetSubcode assigns int32 provided by user to DeviceBgpCustomError
	SetSubcode(value int32) DeviceBgpCustomError
	// HasSubcode checks if Subcode has been set in DeviceBgpCustomError
	HasSubcode() bool
	// contains filtered or unexported methods
}

DeviceBgpCustomError is a BGP peer can send NOTIFICATION message with user defined Error Code and Error Subcode.

func NewDeviceBgpCustomError added in v0.10.11

func NewDeviceBgpCustomError() DeviceBgpCustomError

type DeviceBgpFiniteStateMachineError added in v0.10.11

type DeviceBgpFiniteStateMachineError interface {
	Validation
	// Msg marshals DeviceBgpFiniteStateMachineError to protobuf object *otg.DeviceBgpFiniteStateMachineError
	// and doesn't set defaults
	Msg() *otg.DeviceBgpFiniteStateMachineError
	// SetMsg unmarshals DeviceBgpFiniteStateMachineError from protobuf object *otg.DeviceBgpFiniteStateMachineError
	// and doesn't set defaults
	SetMsg(*otg.DeviceBgpFiniteStateMachineError) DeviceBgpFiniteStateMachineError
	// ToProto marshals DeviceBgpFiniteStateMachineError to protobuf object *otg.DeviceBgpFiniteStateMachineError
	ToProto() (*otg.DeviceBgpFiniteStateMachineError, error)
	// ToPbText marshals DeviceBgpFiniteStateMachineError to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceBgpFiniteStateMachineError to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceBgpFiniteStateMachineError to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceBgpFiniteStateMachineError from protobuf object *otg.DeviceBgpFiniteStateMachineError
	FromProto(msg *otg.DeviceBgpFiniteStateMachineError) (DeviceBgpFiniteStateMachineError, error)
	// FromPbText unmarshals DeviceBgpFiniteStateMachineError from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceBgpFiniteStateMachineError from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceBgpFiniteStateMachineError from JSON text
	FromJson(value string) error
	// Validate validates DeviceBgpFiniteStateMachineError
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceBgpFiniteStateMachineError, error)
	// contains filtered or unexported methods
}

DeviceBgpFiniteStateMachineError is any error detected by the BGP Finite State Machine (e.g., receipt of an unexpected event) is indicated by sending the NOTIFICATION message with the Error Code-Finite State Machine Error(Error Code 5). The Sub Code used is 0. If a user wants to use non zero Sub Code then CustomError can be used.

func NewDeviceBgpFiniteStateMachineError added in v0.10.11

func NewDeviceBgpFiniteStateMachineError() DeviceBgpFiniteStateMachineError

type DeviceBgpHoldTimerExpired added in v0.10.11

type DeviceBgpHoldTimerExpired interface {
	Validation
	// Msg marshals DeviceBgpHoldTimerExpired to protobuf object *otg.DeviceBgpHoldTimerExpired
	// and doesn't set defaults
	Msg() *otg.DeviceBgpHoldTimerExpired
	// SetMsg unmarshals DeviceBgpHoldTimerExpired from protobuf object *otg.DeviceBgpHoldTimerExpired
	// and doesn't set defaults
	SetMsg(*otg.DeviceBgpHoldTimerExpired) DeviceBgpHoldTimerExpired
	// ToProto marshals DeviceBgpHoldTimerExpired to protobuf object *otg.DeviceBgpHoldTimerExpired
	ToProto() (*otg.DeviceBgpHoldTimerExpired, error)
	// ToPbText marshals DeviceBgpHoldTimerExpired to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceBgpHoldTimerExpired to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceBgpHoldTimerExpired to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceBgpHoldTimerExpired from protobuf object *otg.DeviceBgpHoldTimerExpired
	FromProto(msg *otg.DeviceBgpHoldTimerExpired) (DeviceBgpHoldTimerExpired, error)
	// FromPbText unmarshals DeviceBgpHoldTimerExpired from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceBgpHoldTimerExpired from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceBgpHoldTimerExpired from JSON text
	FromJson(value string) error
	// Validate validates DeviceBgpHoldTimerExpired
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceBgpHoldTimerExpired, error)
	// contains filtered or unexported methods
}

DeviceBgpHoldTimerExpired is if a system does not receive successive KEEPALIVE, UPDATE, and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the NOTIFICATION message with the Hold Timer Expired Error Code(Error Code 4) is sent and the BGP connection is closed. The Sub Code used is 0. If a user wants to use non zero Sub Code then CustomError can be used.

func NewDeviceBgpHoldTimerExpired added in v0.10.11

func NewDeviceBgpHoldTimerExpired() DeviceBgpHoldTimerExpired

type DeviceBgpMessageHeaderError added in v0.10.11

type DeviceBgpMessageHeaderError interface {
	Validation
	// Msg marshals DeviceBgpMessageHeaderError to protobuf object *otg.DeviceBgpMessageHeaderError
	// and doesn't set defaults
	Msg() *otg.DeviceBgpMessageHeaderError
	// SetMsg unmarshals DeviceBgpMessageHeaderError from protobuf object *otg.DeviceBgpMessageHeaderError
	// and doesn't set defaults
	SetMsg(*otg.DeviceBgpMessageHeaderError) DeviceBgpMessageHeaderError
	// ToProto marshals DeviceBgpMessageHeaderError to protobuf object *otg.DeviceBgpMessageHeaderError
	ToProto() (*otg.DeviceBgpMessageHeaderError, error)
	// ToPbText marshals DeviceBgpMessageHeaderError to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceBgpMessageHeaderError to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceBgpMessageHeaderError to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceBgpMessageHeaderError from protobuf object *otg.DeviceBgpMessageHeaderError
	FromProto(msg *otg.DeviceBgpMessageHeaderError) (DeviceBgpMessageHeaderError, error)
	// FromPbText unmarshals DeviceBgpMessageHeaderError from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceBgpMessageHeaderError from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceBgpMessageHeaderError from JSON text
	FromJson(value string) error
	// Validate validates DeviceBgpMessageHeaderError
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceBgpMessageHeaderError, error)

	// Subcode returns DeviceBgpMessageHeaderErrorSubcodeEnum, set in DeviceBgpMessageHeaderError
	Subcode() DeviceBgpMessageHeaderErrorSubcodeEnum
	// SetSubcode assigns DeviceBgpMessageHeaderErrorSubcodeEnum provided by user to DeviceBgpMessageHeaderError
	SetSubcode(value DeviceBgpMessageHeaderErrorSubcodeEnum) DeviceBgpMessageHeaderError
	// HasSubcode checks if Subcode has been set in DeviceBgpMessageHeaderError
	HasSubcode() bool
	// contains filtered or unexported methods
}

DeviceBgpMessageHeaderError is all errors detected while processing the Message Header are indicated by sending the NOTIFICATION message with the Error Code-Message Header Error. The Error Subcode elaborates on the specific nature of the error.

func NewDeviceBgpMessageHeaderError added in v0.10.11

func NewDeviceBgpMessageHeaderError() DeviceBgpMessageHeaderError

type DeviceBgpMessageHeaderErrorSubcodeEnum added in v0.10.11

type DeviceBgpMessageHeaderErrorSubcodeEnum string

type DeviceBgpOpenMessageError added in v0.10.11

type DeviceBgpOpenMessageError interface {
	Validation
	// Msg marshals DeviceBgpOpenMessageError to protobuf object *otg.DeviceBgpOpenMessageError
	// and doesn't set defaults
	Msg() *otg.DeviceBgpOpenMessageError
	// SetMsg unmarshals DeviceBgpOpenMessageError from protobuf object *otg.DeviceBgpOpenMessageError
	// and doesn't set defaults
	SetMsg(*otg.DeviceBgpOpenMessageError) DeviceBgpOpenMessageError
	// ToProto marshals DeviceBgpOpenMessageError to protobuf object *otg.DeviceBgpOpenMessageError
	ToProto() (*otg.DeviceBgpOpenMessageError, error)
	// ToPbText marshals DeviceBgpOpenMessageError to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceBgpOpenMessageError to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceBgpOpenMessageError to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceBgpOpenMessageError from protobuf object *otg.DeviceBgpOpenMessageError
	FromProto(msg *otg.DeviceBgpOpenMessageError) (DeviceBgpOpenMessageError, error)
	// FromPbText unmarshals DeviceBgpOpenMessageError from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceBgpOpenMessageError from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceBgpOpenMessageError from JSON text
	FromJson(value string) error
	// Validate validates DeviceBgpOpenMessageError
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceBgpOpenMessageError, error)

	// Subcode returns DeviceBgpOpenMessageErrorSubcodeEnum, set in DeviceBgpOpenMessageError
	Subcode() DeviceBgpOpenMessageErrorSubcodeEnum
	// SetSubcode assigns DeviceBgpOpenMessageErrorSubcodeEnum provided by user to DeviceBgpOpenMessageError
	SetSubcode(value DeviceBgpOpenMessageErrorSubcodeEnum) DeviceBgpOpenMessageError
	// HasSubcode checks if Subcode has been set in DeviceBgpOpenMessageError
	HasSubcode() bool
	// contains filtered or unexported methods
}

DeviceBgpOpenMessageError is all errors detected while processing the OPEN message are indicated by sending the NOTIFICATION message with the Error Code-Open Message Error. The Error Subcode elaborates on the specific nature of the error.

func NewDeviceBgpOpenMessageError added in v0.10.11

func NewDeviceBgpOpenMessageError() DeviceBgpOpenMessageError

type DeviceBgpOpenMessageErrorSubcodeEnum added in v0.10.11

type DeviceBgpOpenMessageErrorSubcodeEnum string

type DeviceBgpRouter added in v0.6.1

type DeviceBgpRouter interface {
	Validation
	// Msg marshals DeviceBgpRouter to protobuf object *otg.DeviceBgpRouter
	// and doesn't set defaults
	Msg() *otg.DeviceBgpRouter
	// SetMsg unmarshals DeviceBgpRouter from protobuf object *otg.DeviceBgpRouter
	// and doesn't set defaults
	SetMsg(*otg.DeviceBgpRouter) DeviceBgpRouter
	// ToProto marshals DeviceBgpRouter to protobuf object *otg.DeviceBgpRouter
	ToProto() (*otg.DeviceBgpRouter, error)
	// ToPbText marshals DeviceBgpRouter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceBgpRouter to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceBgpRouter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceBgpRouter from protobuf object *otg.DeviceBgpRouter
	FromProto(msg *otg.DeviceBgpRouter) (DeviceBgpRouter, error)
	// FromPbText unmarshals DeviceBgpRouter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceBgpRouter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceBgpRouter from JSON text
	FromJson(value string) error
	// Validate validates DeviceBgpRouter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceBgpRouter, error)

	// RouterId returns string, set in DeviceBgpRouter.
	RouterId() string
	// SetRouterId assigns string provided by user to DeviceBgpRouter
	SetRouterId(value string) DeviceBgpRouter
	// Ipv4Interfaces returns DeviceBgpRouterBgpV4InterfaceIterIter, set in DeviceBgpRouter
	Ipv4Interfaces() DeviceBgpRouterBgpV4InterfaceIter
	// Ipv6Interfaces returns DeviceBgpRouterBgpV6InterfaceIterIter, set in DeviceBgpRouter
	Ipv6Interfaces() DeviceBgpRouterBgpV6InterfaceIter
	// contains filtered or unexported methods
}

DeviceBgpRouter is configuration for one or more IPv4 or IPv6 BGP peers.

func NewDeviceBgpRouter added in v0.6.5

func NewDeviceBgpRouter() DeviceBgpRouter

type DeviceBgpRouterBgpV4InterfaceIter added in v0.6.1

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

type DeviceBgpRouterBgpV6InterfaceIter added in v0.6.1

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

type DeviceBgpUpdateMessageError added in v0.10.11

type DeviceBgpUpdateMessageError interface {
	Validation
	// Msg marshals DeviceBgpUpdateMessageError to protobuf object *otg.DeviceBgpUpdateMessageError
	// and doesn't set defaults
	Msg() *otg.DeviceBgpUpdateMessageError
	// SetMsg unmarshals DeviceBgpUpdateMessageError from protobuf object *otg.DeviceBgpUpdateMessageError
	// and doesn't set defaults
	SetMsg(*otg.DeviceBgpUpdateMessageError) DeviceBgpUpdateMessageError
	// ToProto marshals DeviceBgpUpdateMessageError to protobuf object *otg.DeviceBgpUpdateMessageError
	ToProto() (*otg.DeviceBgpUpdateMessageError, error)
	// ToPbText marshals DeviceBgpUpdateMessageError to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceBgpUpdateMessageError to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceBgpUpdateMessageError to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceBgpUpdateMessageError from protobuf object *otg.DeviceBgpUpdateMessageError
	FromProto(msg *otg.DeviceBgpUpdateMessageError) (DeviceBgpUpdateMessageError, error)
	// FromPbText unmarshals DeviceBgpUpdateMessageError from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceBgpUpdateMessageError from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceBgpUpdateMessageError from JSON text
	FromJson(value string) error
	// Validate validates DeviceBgpUpdateMessageError
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceBgpUpdateMessageError, error)

	// Subcode returns DeviceBgpUpdateMessageErrorSubcodeEnum, set in DeviceBgpUpdateMessageError
	Subcode() DeviceBgpUpdateMessageErrorSubcodeEnum
	// SetSubcode assigns DeviceBgpUpdateMessageErrorSubcodeEnum provided by user to DeviceBgpUpdateMessageError
	SetSubcode(value DeviceBgpUpdateMessageErrorSubcodeEnum) DeviceBgpUpdateMessageError
	// HasSubcode checks if Subcode has been set in DeviceBgpUpdateMessageError
	HasSubcode() bool
	// contains filtered or unexported methods
}

DeviceBgpUpdateMessageError is all errors detected while processing the UPDATE message are indicated by sending the NOTIFICATION message with the Error Code-Update Message Error. The Error Subcode elaborates on the specific nature of the error.

func NewDeviceBgpUpdateMessageError added in v0.10.11

func NewDeviceBgpUpdateMessageError() DeviceBgpUpdateMessageError

type DeviceBgpUpdateMessageErrorSubcodeEnum added in v0.10.11

type DeviceBgpUpdateMessageErrorSubcodeEnum string

type DeviceDeviceEthernetIter added in v0.6.1

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

type DeviceDeviceIpv4LoopbackIter added in v0.6.1

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

type DeviceDeviceIpv6LoopbackIter added in v0.6.1

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

type DeviceEthernet

type DeviceEthernet interface {
	Validation
	// Msg marshals DeviceEthernet to protobuf object *otg.DeviceEthernet
	// and doesn't set defaults
	Msg() *otg.DeviceEthernet
	// SetMsg unmarshals DeviceEthernet from protobuf object *otg.DeviceEthernet
	// and doesn't set defaults
	SetMsg(*otg.DeviceEthernet) DeviceEthernet
	// ToProto marshals DeviceEthernet to protobuf object *otg.DeviceEthernet
	ToProto() (*otg.DeviceEthernet, error)
	// ToPbText marshals DeviceEthernet to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceEthernet to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceEthernet to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceEthernet from protobuf object *otg.DeviceEthernet
	FromProto(msg *otg.DeviceEthernet) (DeviceEthernet, error)
	// FromPbText unmarshals DeviceEthernet from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceEthernet from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceEthernet from JSON text
	FromJson(value string) error
	// Validate validates DeviceEthernet
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceEthernet, error)

	// PortName returns string, set in DeviceEthernet.
	PortName() string
	// SetPortName assigns string provided by user to DeviceEthernet
	SetPortName(value string) DeviceEthernet
	// HasPortName checks if PortName has been set in DeviceEthernet
	HasPortName() bool
	// Connection returns EthernetConnection, set in DeviceEthernet.
	// EthernetConnection is ethernet interface connection to a port, LAG or VXLAN tunnel.
	Connection() EthernetConnection
	// SetConnection assigns EthernetConnection provided by user to DeviceEthernet.
	// EthernetConnection is ethernet interface connection to a port, LAG or VXLAN tunnel.
	SetConnection(value EthernetConnection) DeviceEthernet
	// HasConnection checks if Connection has been set in DeviceEthernet
	HasConnection() bool
	// Ipv4Addresses returns DeviceEthernetDeviceIpv4IterIter, set in DeviceEthernet
	Ipv4Addresses() DeviceEthernetDeviceIpv4Iter
	// Ipv6Addresses returns DeviceEthernetDeviceIpv6IterIter, set in DeviceEthernet
	Ipv6Addresses() DeviceEthernetDeviceIpv6Iter
	// Mac returns string, set in DeviceEthernet.
	Mac() string
	// SetMac assigns string provided by user to DeviceEthernet
	SetMac(value string) DeviceEthernet
	// Mtu returns int32, set in DeviceEthernet.
	Mtu() int32
	// SetMtu assigns int32 provided by user to DeviceEthernet
	SetMtu(value int32) DeviceEthernet
	// HasMtu checks if Mtu has been set in DeviceEthernet
	HasMtu() bool
	// Vlans returns DeviceEthernetDeviceVlanIterIter, set in DeviceEthernet
	Vlans() DeviceEthernetDeviceVlanIter
	// Name returns string, set in DeviceEthernet.
	Name() string
	// SetName assigns string provided by user to DeviceEthernet
	SetName(value string) DeviceEthernet
	// contains filtered or unexported methods
}

DeviceEthernet is an Ethernet interface with IPv4 and IPv6 addresses.

func NewDeviceEthernet added in v0.6.5

func NewDeviceEthernet() DeviceEthernet

type DeviceEthernetBase

type DeviceEthernetBase interface {
	Validation
	// Msg marshals DeviceEthernetBase to protobuf object *otg.DeviceEthernetBase
	// and doesn't set defaults
	Msg() *otg.DeviceEthernetBase
	// SetMsg unmarshals DeviceEthernetBase from protobuf object *otg.DeviceEthernetBase
	// and doesn't set defaults
	SetMsg(*otg.DeviceEthernetBase) DeviceEthernetBase
	// ToProto marshals DeviceEthernetBase to protobuf object *otg.DeviceEthernetBase
	ToProto() (*otg.DeviceEthernetBase, error)
	// ToPbText marshals DeviceEthernetBase to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceEthernetBase to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceEthernetBase to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceEthernetBase from protobuf object *otg.DeviceEthernetBase
	FromProto(msg *otg.DeviceEthernetBase) (DeviceEthernetBase, error)
	// FromPbText unmarshals DeviceEthernetBase from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceEthernetBase from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceEthernetBase from JSON text
	FromJson(value string) error
	// Validate validates DeviceEthernetBase
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceEthernetBase, error)

	// Mac returns string, set in DeviceEthernetBase.
	Mac() string
	// SetMac assigns string provided by user to DeviceEthernetBase
	SetMac(value string) DeviceEthernetBase
	// Mtu returns int32, set in DeviceEthernetBase.
	Mtu() int32
	// SetMtu assigns int32 provided by user to DeviceEthernetBase
	SetMtu(value int32) DeviceEthernetBase
	// HasMtu checks if Mtu has been set in DeviceEthernetBase
	HasMtu() bool
	// Vlans returns DeviceEthernetBaseDeviceVlanIterIter, set in DeviceEthernetBase
	Vlans() DeviceEthernetBaseDeviceVlanIter
	// Name returns string, set in DeviceEthernetBase.
	Name() string
	// SetName assigns string provided by user to DeviceEthernetBase
	SetName(value string) DeviceEthernetBase
	// contains filtered or unexported methods
}

DeviceEthernetBase is base Ethernet interface.

func NewDeviceEthernetBase added in v0.6.5

func NewDeviceEthernetBase() DeviceEthernetBase

type DeviceEthernetBaseDeviceVlanIter

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

type DeviceEthernetDeviceIpv4Iter added in v0.6.1

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

type DeviceEthernetDeviceIpv6Iter added in v0.6.1

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

type DeviceEthernetDeviceVlanIter

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

type DeviceIpv4

type DeviceIpv4 interface {
	Validation
	// Msg marshals DeviceIpv4 to protobuf object *otg.DeviceIpv4
	// and doesn't set defaults
	Msg() *otg.DeviceIpv4
	// SetMsg unmarshals DeviceIpv4 from protobuf object *otg.DeviceIpv4
	// and doesn't set defaults
	SetMsg(*otg.DeviceIpv4) DeviceIpv4
	// ToProto marshals DeviceIpv4 to protobuf object *otg.DeviceIpv4
	ToProto() (*otg.DeviceIpv4, error)
	// ToPbText marshals DeviceIpv4 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceIpv4 to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceIpv4 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceIpv4 from protobuf object *otg.DeviceIpv4
	FromProto(msg *otg.DeviceIpv4) (DeviceIpv4, error)
	// FromPbText unmarshals DeviceIpv4 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceIpv4 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceIpv4 from JSON text
	FromJson(value string) error
	// Validate validates DeviceIpv4
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceIpv4, error)

	// Gateway returns string, set in DeviceIpv4.
	Gateway() string
	// SetGateway assigns string provided by user to DeviceIpv4
	SetGateway(value string) DeviceIpv4
	// GatewayMac returns DeviceIpv4GatewayMAC, set in DeviceIpv4.
	// DeviceIpv4GatewayMAC is by default auto(resolved gateway mac) is set.  Setting a value would mean that ARP will not be used for learning MAC of connected device. The user-configured MAC address will be used for auto-filling the destination
	// MAC address in the control and data packets sent from this IPv4 endpoint
	// whenever applicable.
	GatewayMac() DeviceIpv4GatewayMAC
	// SetGatewayMac assigns DeviceIpv4GatewayMAC provided by user to DeviceIpv4.
	// DeviceIpv4GatewayMAC is by default auto(resolved gateway mac) is set.  Setting a value would mean that ARP will not be used for learning MAC of connected device. The user-configured MAC address will be used for auto-filling the destination
	// MAC address in the control and data packets sent from this IPv4 endpoint
	// whenever applicable.
	SetGatewayMac(value DeviceIpv4GatewayMAC) DeviceIpv4
	// HasGatewayMac checks if GatewayMac has been set in DeviceIpv4
	HasGatewayMac() bool
	// Address returns string, set in DeviceIpv4.
	Address() string
	// SetAddress assigns string provided by user to DeviceIpv4
	SetAddress(value string) DeviceIpv4
	// Prefix returns int32, set in DeviceIpv4.
	Prefix() int32
	// SetPrefix assigns int32 provided by user to DeviceIpv4
	SetPrefix(value int32) DeviceIpv4
	// HasPrefix checks if Prefix has been set in DeviceIpv4
	HasPrefix() bool
	// Name returns string, set in DeviceIpv4.
	Name() string
	// SetName assigns string provided by user to DeviceIpv4
	SetName(value string) DeviceIpv4
	// contains filtered or unexported methods
}

DeviceIpv4 is an IPv4 interface with gateway

func NewDeviceIpv4 added in v0.6.5

func NewDeviceIpv4() DeviceIpv4

type DeviceIpv4GatewayMAC added in v0.8.9

type DeviceIpv4GatewayMAC interface {
	Validation
	// Msg marshals DeviceIpv4GatewayMAC to protobuf object *otg.DeviceIpv4GatewayMAC
	// and doesn't set defaults
	Msg() *otg.DeviceIpv4GatewayMAC
	// SetMsg unmarshals DeviceIpv4GatewayMAC from protobuf object *otg.DeviceIpv4GatewayMAC
	// and doesn't set defaults
	SetMsg(*otg.DeviceIpv4GatewayMAC) DeviceIpv4GatewayMAC
	// ToProto marshals DeviceIpv4GatewayMAC to protobuf object *otg.DeviceIpv4GatewayMAC
	ToProto() (*otg.DeviceIpv4GatewayMAC, error)
	// ToPbText marshals DeviceIpv4GatewayMAC to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceIpv4GatewayMAC to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceIpv4GatewayMAC to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceIpv4GatewayMAC from protobuf object *otg.DeviceIpv4GatewayMAC
	FromProto(msg *otg.DeviceIpv4GatewayMAC) (DeviceIpv4GatewayMAC, error)
	// FromPbText unmarshals DeviceIpv4GatewayMAC from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceIpv4GatewayMAC from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceIpv4GatewayMAC from JSON text
	FromJson(value string) error
	// Validate validates DeviceIpv4GatewayMAC
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceIpv4GatewayMAC, error)

	// Choice returns DeviceIpv4GatewayMACChoiceEnum, set in DeviceIpv4GatewayMAC
	Choice() DeviceIpv4GatewayMACChoiceEnum
	// SetChoice assigns DeviceIpv4GatewayMACChoiceEnum provided by user to DeviceIpv4GatewayMAC
	SetChoice(value DeviceIpv4GatewayMACChoiceEnum) DeviceIpv4GatewayMAC
	// HasChoice checks if Choice has been set in DeviceIpv4GatewayMAC
	HasChoice() bool
	// Auto returns string, set in DeviceIpv4GatewayMAC.
	Auto() string
	// HasAuto checks if Auto has been set in DeviceIpv4GatewayMAC
	HasAuto() bool
	// Value returns string, set in DeviceIpv4GatewayMAC.
	Value() string
	// SetValue assigns string provided by user to DeviceIpv4GatewayMAC
	SetValue(value string) DeviceIpv4GatewayMAC
	// HasValue checks if Value has been set in DeviceIpv4GatewayMAC
	HasValue() bool
	// contains filtered or unexported methods
}

DeviceIpv4GatewayMAC is by default auto(resolved gateway mac) is set. Setting a value would mean that ARP will not be used for learning MAC of connected device. The user-configured MAC address will be used for auto-filling the destination MAC address in the control and data packets sent from this IPv4 endpoint whenever applicable.

func NewDeviceIpv4GatewayMAC added in v0.8.9

func NewDeviceIpv4GatewayMAC() DeviceIpv4GatewayMAC

type DeviceIpv4GatewayMACChoiceEnum added in v0.8.9

type DeviceIpv4GatewayMACChoiceEnum string

type DeviceIpv4Loopback added in v0.6.1

type DeviceIpv4Loopback interface {
	Validation
	// Msg marshals DeviceIpv4Loopback to protobuf object *otg.DeviceIpv4Loopback
	// and doesn't set defaults
	Msg() *otg.DeviceIpv4Loopback
	// SetMsg unmarshals DeviceIpv4Loopback from protobuf object *otg.DeviceIpv4Loopback
	// and doesn't set defaults
	SetMsg(*otg.DeviceIpv4Loopback) DeviceIpv4Loopback
	// ToProto marshals DeviceIpv4Loopback to protobuf object *otg.DeviceIpv4Loopback
	ToProto() (*otg.DeviceIpv4Loopback, error)
	// ToPbText marshals DeviceIpv4Loopback to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceIpv4Loopback to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceIpv4Loopback to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceIpv4Loopback from protobuf object *otg.DeviceIpv4Loopback
	FromProto(msg *otg.DeviceIpv4Loopback) (DeviceIpv4Loopback, error)
	// FromPbText unmarshals DeviceIpv4Loopback from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceIpv4Loopback from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceIpv4Loopback from JSON text
	FromJson(value string) error
	// Validate validates DeviceIpv4Loopback
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceIpv4Loopback, error)

	// EthName returns string, set in DeviceIpv4Loopback.
	EthName() string
	// SetEthName assigns string provided by user to DeviceIpv4Loopback
	SetEthName(value string) DeviceIpv4Loopback
	// Address returns string, set in DeviceIpv4Loopback.
	Address() string
	// SetAddress assigns string provided by user to DeviceIpv4Loopback
	SetAddress(value string) DeviceIpv4Loopback
	// HasAddress checks if Address has been set in DeviceIpv4Loopback
	HasAddress() bool
	// Name returns string, set in DeviceIpv4Loopback.
	Name() string
	// SetName assigns string provided by user to DeviceIpv4Loopback
	SetName(value string) DeviceIpv4Loopback
	// contains filtered or unexported methods
}

DeviceIpv4Loopback is an IPv4 Loopback interface.

func NewDeviceIpv4Loopback added in v0.6.5

func NewDeviceIpv4Loopback() DeviceIpv4Loopback

type DeviceIpv6

type DeviceIpv6 interface {
	Validation
	// Msg marshals DeviceIpv6 to protobuf object *otg.DeviceIpv6
	// and doesn't set defaults
	Msg() *otg.DeviceIpv6
	// SetMsg unmarshals DeviceIpv6 from protobuf object *otg.DeviceIpv6
	// and doesn't set defaults
	SetMsg(*otg.DeviceIpv6) DeviceIpv6
	// ToProto marshals DeviceIpv6 to protobuf object *otg.DeviceIpv6
	ToProto() (*otg.DeviceIpv6, error)
	// ToPbText marshals DeviceIpv6 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceIpv6 to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceIpv6 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceIpv6 from protobuf object *otg.DeviceIpv6
	FromProto(msg *otg.DeviceIpv6) (DeviceIpv6, error)
	// FromPbText unmarshals DeviceIpv6 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceIpv6 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceIpv6 from JSON text
	FromJson(value string) error
	// Validate validates DeviceIpv6
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceIpv6, error)

	// Gateway returns string, set in DeviceIpv6.
	Gateway() string
	// SetGateway assigns string provided by user to DeviceIpv6
	SetGateway(value string) DeviceIpv6
	// GatewayMac returns DeviceIpv6GatewayMAC, set in DeviceIpv6.
	// DeviceIpv6GatewayMAC is by default auto(resolved gateway mac) is set. Setting a value would mean that ND will not be used for learning MAC of connected device. The user-configured MAC address will be used for auto-filling the destination
	// MAC address in the control and data packets sent from this IPv6 endpoint
	// whenever applicable.
	GatewayMac() DeviceIpv6GatewayMAC
	// SetGatewayMac assigns DeviceIpv6GatewayMAC provided by user to DeviceIpv6.
	// DeviceIpv6GatewayMAC is by default auto(resolved gateway mac) is set. Setting a value would mean that ND will not be used for learning MAC of connected device. The user-configured MAC address will be used for auto-filling the destination
	// MAC address in the control and data packets sent from this IPv6 endpoint
	// whenever applicable.
	SetGatewayMac(value DeviceIpv6GatewayMAC) DeviceIpv6
	// HasGatewayMac checks if GatewayMac has been set in DeviceIpv6
	HasGatewayMac() bool
	// Address returns string, set in DeviceIpv6.
	Address() string
	// SetAddress assigns string provided by user to DeviceIpv6
	SetAddress(value string) DeviceIpv6
	// Prefix returns int32, set in DeviceIpv6.
	Prefix() int32
	// SetPrefix assigns int32 provided by user to DeviceIpv6
	SetPrefix(value int32) DeviceIpv6
	// HasPrefix checks if Prefix has been set in DeviceIpv6
	HasPrefix() bool
	// Name returns string, set in DeviceIpv6.
	Name() string
	// SetName assigns string provided by user to DeviceIpv6
	SetName(value string) DeviceIpv6
	// contains filtered or unexported methods
}

DeviceIpv6 is an IPv6 interface with gateway.

func NewDeviceIpv6 added in v0.6.5

func NewDeviceIpv6() DeviceIpv6

type DeviceIpv6GatewayMAC added in v0.8.9

type DeviceIpv6GatewayMAC interface {
	Validation
	// Msg marshals DeviceIpv6GatewayMAC to protobuf object *otg.DeviceIpv6GatewayMAC
	// and doesn't set defaults
	Msg() *otg.DeviceIpv6GatewayMAC
	// SetMsg unmarshals DeviceIpv6GatewayMAC from protobuf object *otg.DeviceIpv6GatewayMAC
	// and doesn't set defaults
	SetMsg(*otg.DeviceIpv6GatewayMAC) DeviceIpv6GatewayMAC
	// ToProto marshals DeviceIpv6GatewayMAC to protobuf object *otg.DeviceIpv6GatewayMAC
	ToProto() (*otg.DeviceIpv6GatewayMAC, error)
	// ToPbText marshals DeviceIpv6GatewayMAC to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceIpv6GatewayMAC to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceIpv6GatewayMAC to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceIpv6GatewayMAC from protobuf object *otg.DeviceIpv6GatewayMAC
	FromProto(msg *otg.DeviceIpv6GatewayMAC) (DeviceIpv6GatewayMAC, error)
	// FromPbText unmarshals DeviceIpv6GatewayMAC from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceIpv6GatewayMAC from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceIpv6GatewayMAC from JSON text
	FromJson(value string) error
	// Validate validates DeviceIpv6GatewayMAC
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceIpv6GatewayMAC, error)

	// Choice returns DeviceIpv6GatewayMACChoiceEnum, set in DeviceIpv6GatewayMAC
	Choice() DeviceIpv6GatewayMACChoiceEnum
	// SetChoice assigns DeviceIpv6GatewayMACChoiceEnum provided by user to DeviceIpv6GatewayMAC
	SetChoice(value DeviceIpv6GatewayMACChoiceEnum) DeviceIpv6GatewayMAC
	// HasChoice checks if Choice has been set in DeviceIpv6GatewayMAC
	HasChoice() bool
	// Auto returns string, set in DeviceIpv6GatewayMAC.
	Auto() string
	// HasAuto checks if Auto has been set in DeviceIpv6GatewayMAC
	HasAuto() bool
	// Value returns string, set in DeviceIpv6GatewayMAC.
	Value() string
	// SetValue assigns string provided by user to DeviceIpv6GatewayMAC
	SetValue(value string) DeviceIpv6GatewayMAC
	// HasValue checks if Value has been set in DeviceIpv6GatewayMAC
	HasValue() bool
	// contains filtered or unexported methods
}

DeviceIpv6GatewayMAC is by default auto(resolved gateway mac) is set. Setting a value would mean that ND will not be used for learning MAC of connected device. The user-configured MAC address will be used for auto-filling the destination MAC address in the control and data packets sent from this IPv6 endpoint whenever applicable.

func NewDeviceIpv6GatewayMAC added in v0.8.9

func NewDeviceIpv6GatewayMAC() DeviceIpv6GatewayMAC

type DeviceIpv6GatewayMACChoiceEnum added in v0.8.9

type DeviceIpv6GatewayMACChoiceEnum string

type DeviceIpv6Loopback added in v0.6.1

type DeviceIpv6Loopback interface {
	Validation
	// Msg marshals DeviceIpv6Loopback to protobuf object *otg.DeviceIpv6Loopback
	// and doesn't set defaults
	Msg() *otg.DeviceIpv6Loopback
	// SetMsg unmarshals DeviceIpv6Loopback from protobuf object *otg.DeviceIpv6Loopback
	// and doesn't set defaults
	SetMsg(*otg.DeviceIpv6Loopback) DeviceIpv6Loopback
	// ToProto marshals DeviceIpv6Loopback to protobuf object *otg.DeviceIpv6Loopback
	ToProto() (*otg.DeviceIpv6Loopback, error)
	// ToPbText marshals DeviceIpv6Loopback to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceIpv6Loopback to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceIpv6Loopback to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceIpv6Loopback from protobuf object *otg.DeviceIpv6Loopback
	FromProto(msg *otg.DeviceIpv6Loopback) (DeviceIpv6Loopback, error)
	// FromPbText unmarshals DeviceIpv6Loopback from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceIpv6Loopback from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceIpv6Loopback from JSON text
	FromJson(value string) error
	// Validate validates DeviceIpv6Loopback
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceIpv6Loopback, error)

	// EthName returns string, set in DeviceIpv6Loopback.
	EthName() string
	// SetEthName assigns string provided by user to DeviceIpv6Loopback
	SetEthName(value string) DeviceIpv6Loopback
	// Address returns string, set in DeviceIpv6Loopback.
	Address() string
	// SetAddress assigns string provided by user to DeviceIpv6Loopback
	SetAddress(value string) DeviceIpv6Loopback
	// HasAddress checks if Address has been set in DeviceIpv6Loopback
	HasAddress() bool
	// Name returns string, set in DeviceIpv6Loopback.
	Name() string
	// SetName assigns string provided by user to DeviceIpv6Loopback
	SetName(value string) DeviceIpv6Loopback
	// contains filtered or unexported methods
}

DeviceIpv6Loopback is an IPv6 Loopback interface

func NewDeviceIpv6Loopback added in v0.6.5

func NewDeviceIpv6Loopback() DeviceIpv6Loopback

type DeviceIsisMultiInstance added in v0.6.1

type DeviceIsisMultiInstance interface {
	Validation
	// Msg marshals DeviceIsisMultiInstance to protobuf object *otg.DeviceIsisMultiInstance
	// and doesn't set defaults
	Msg() *otg.DeviceIsisMultiInstance
	// SetMsg unmarshals DeviceIsisMultiInstance from protobuf object *otg.DeviceIsisMultiInstance
	// and doesn't set defaults
	SetMsg(*otg.DeviceIsisMultiInstance) DeviceIsisMultiInstance
	// ToProto marshals DeviceIsisMultiInstance to protobuf object *otg.DeviceIsisMultiInstance
	ToProto() (*otg.DeviceIsisMultiInstance, error)
	// ToPbText marshals DeviceIsisMultiInstance to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceIsisMultiInstance to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceIsisMultiInstance to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceIsisMultiInstance from protobuf object *otg.DeviceIsisMultiInstance
	FromProto(msg *otg.DeviceIsisMultiInstance) (DeviceIsisMultiInstance, error)
	// FromPbText unmarshals DeviceIsisMultiInstance from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceIsisMultiInstance from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceIsisMultiInstance from JSON text
	FromJson(value string) error
	// Validate validates DeviceIsisMultiInstance
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceIsisMultiInstance, error)

	// Iid returns int32, set in DeviceIsisMultiInstance.
	Iid() int32
	// SetIid assigns int32 provided by user to DeviceIsisMultiInstance
	SetIid(value int32) DeviceIsisMultiInstance
	// HasIid checks if Iid has been set in DeviceIsisMultiInstance
	HasIid() bool
	// Itids returns []int32, set in DeviceIsisMultiInstance.
	Itids() []int32
	// SetItids assigns []int32 provided by user to DeviceIsisMultiInstance
	SetItids(value []int32) DeviceIsisMultiInstance
	// contains filtered or unexported methods
}

DeviceIsisMultiInstance is this container properties of an Multi-Instance-capable router (MI-RTR).

func NewDeviceIsisMultiInstance added in v0.6.5

func NewDeviceIsisMultiInstance() DeviceIsisMultiInstance

type DeviceIsisRouter added in v0.6.1

type DeviceIsisRouter interface {
	Validation
	// Msg marshals DeviceIsisRouter to protobuf object *otg.DeviceIsisRouter
	// and doesn't set defaults
	Msg() *otg.DeviceIsisRouter
	// SetMsg unmarshals DeviceIsisRouter from protobuf object *otg.DeviceIsisRouter
	// and doesn't set defaults
	SetMsg(*otg.DeviceIsisRouter) DeviceIsisRouter
	// ToProto marshals DeviceIsisRouter to protobuf object *otg.DeviceIsisRouter
	ToProto() (*otg.DeviceIsisRouter, error)
	// ToPbText marshals DeviceIsisRouter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceIsisRouter to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceIsisRouter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceIsisRouter from protobuf object *otg.DeviceIsisRouter
	FromProto(msg *otg.DeviceIsisRouter) (DeviceIsisRouter, error)
	// FromPbText unmarshals DeviceIsisRouter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceIsisRouter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceIsisRouter from JSON text
	FromJson(value string) error
	// Validate validates DeviceIsisRouter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceIsisRouter, error)

	// Instance returns DeviceIsisMultiInstance, set in DeviceIsisRouter.
	// DeviceIsisMultiInstance is this container properties of an Multi-Instance-capable router (MI-RTR).
	Instance() DeviceIsisMultiInstance
	// SetInstance assigns DeviceIsisMultiInstance provided by user to DeviceIsisRouter.
	// DeviceIsisMultiInstance is this container properties of an Multi-Instance-capable router (MI-RTR).
	SetInstance(value DeviceIsisMultiInstance) DeviceIsisRouter
	// HasInstance checks if Instance has been set in DeviceIsisRouter
	HasInstance() bool
	// SystemId returns string, set in DeviceIsisRouter.
	SystemId() string
	// SetSystemId assigns string provided by user to DeviceIsisRouter
	SetSystemId(value string) DeviceIsisRouter
	// Interfaces returns DeviceIsisRouterIsisInterfaceIterIter, set in DeviceIsisRouter
	Interfaces() DeviceIsisRouterIsisInterfaceIter
	// Basic returns IsisBasic, set in DeviceIsisRouter.
	// IsisBasic is this contains ISIS router basic properties.
	Basic() IsisBasic
	// SetBasic assigns IsisBasic provided by user to DeviceIsisRouter.
	// IsisBasic is this contains ISIS router basic properties.
	SetBasic(value IsisBasic) DeviceIsisRouter
	// HasBasic checks if Basic has been set in DeviceIsisRouter
	HasBasic() bool
	// Advanced returns IsisAdvanced, set in DeviceIsisRouter.
	// IsisAdvanced is contains ISIS router advanced properties.
	Advanced() IsisAdvanced
	// SetAdvanced assigns IsisAdvanced provided by user to DeviceIsisRouter.
	// IsisAdvanced is contains ISIS router advanced properties.
	SetAdvanced(value IsisAdvanced) DeviceIsisRouter
	// HasAdvanced checks if Advanced has been set in DeviceIsisRouter
	HasAdvanced() bool
	// RouterAuth returns IsisAuthentication, set in DeviceIsisRouter.
	// IsisAuthentication is this contains ISIS Area/Domain authentication properties.
	RouterAuth() IsisAuthentication
	// SetRouterAuth assigns IsisAuthentication provided by user to DeviceIsisRouter.
	// IsisAuthentication is this contains ISIS Area/Domain authentication properties.
	SetRouterAuth(value IsisAuthentication) DeviceIsisRouter
	// HasRouterAuth checks if RouterAuth has been set in DeviceIsisRouter
	HasRouterAuth() bool
	// V4Routes returns DeviceIsisRouterIsisV4RouteRangeIterIter, set in DeviceIsisRouter
	V4Routes() DeviceIsisRouterIsisV4RouteRangeIter
	// V6Routes returns DeviceIsisRouterIsisV6RouteRangeIterIter, set in DeviceIsisRouter
	V6Routes() DeviceIsisRouterIsisV6RouteRangeIter
	// Name returns string, set in DeviceIsisRouter.
	Name() string
	// SetName assigns string provided by user to DeviceIsisRouter
	SetName(value string) DeviceIsisRouter
	// contains filtered or unexported methods
}

DeviceIsisRouter is a container of properties for an ISIS router and its interfaces.

func NewDeviceIsisRouter added in v0.6.5

func NewDeviceIsisRouter() DeviceIsisRouter

type DeviceIsisRouterIsisInterfaceIter added in v0.6.1

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

type DeviceIsisRouterIsisV4RouteRangeIter added in v0.6.1

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

type DeviceIsisRouterIsisV6RouteRangeIter added in v0.6.1

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

type DeviceRsvp added in v0.10.1

type DeviceRsvp interface {
	Validation
	// Msg marshals DeviceRsvp to protobuf object *otg.DeviceRsvp
	// and doesn't set defaults
	Msg() *otg.DeviceRsvp
	// SetMsg unmarshals DeviceRsvp from protobuf object *otg.DeviceRsvp
	// and doesn't set defaults
	SetMsg(*otg.DeviceRsvp) DeviceRsvp
	// ToProto marshals DeviceRsvp to protobuf object *otg.DeviceRsvp
	ToProto() (*otg.DeviceRsvp, error)
	// ToPbText marshals DeviceRsvp to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceRsvp to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceRsvp to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceRsvp from protobuf object *otg.DeviceRsvp
	FromProto(msg *otg.DeviceRsvp) (DeviceRsvp, error)
	// FromPbText unmarshals DeviceRsvp from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceRsvp from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceRsvp from JSON text
	FromJson(value string) error
	// Validate validates DeviceRsvp
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceRsvp, error)

	// Ipv4Interfaces returns DeviceRsvpRsvpIpv4InterfaceIterIter, set in DeviceRsvp
	Ipv4Interfaces() DeviceRsvpRsvpIpv4InterfaceIter
	// LspIpv4Interfaces returns DeviceRsvpRsvpLspIpv4InterfaceIterIter, set in DeviceRsvp
	LspIpv4Interfaces() DeviceRsvpRsvpLspIpv4InterfaceIter
	// Name returns string, set in DeviceRsvp.
	Name() string
	// SetName assigns string provided by user to DeviceRsvp
	SetName(value string) DeviceRsvp
	// HasName checks if Name has been set in DeviceRsvp
	HasName() bool
	// contains filtered or unexported methods
}

DeviceRsvp is configuration for one or more RSVP interfaces, ingress and egress LSPs. In this model, currently IPv4 RSVP and point-to-point LSPs are supported as per RFC3209 and related specifications.

func NewDeviceRsvp added in v0.10.1

func NewDeviceRsvp() DeviceRsvp

type DeviceRsvpRsvpIpv4InterfaceIter added in v0.10.1

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

type DeviceRsvpRsvpLspIpv4InterfaceIter added in v0.10.1

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

type DeviceState deprecated added in v0.8.1

type DeviceState interface {
	Validation
	// Msg marshals DeviceState to protobuf object *otg.DeviceState
	// and doesn't set defaults
	Msg() *otg.DeviceState
	// SetMsg unmarshals DeviceState from protobuf object *otg.DeviceState
	// and doesn't set defaults
	SetMsg(*otg.DeviceState) DeviceState
	// ToProto marshals DeviceState to protobuf object *otg.DeviceState
	ToProto() (*otg.DeviceState, error)
	// ToPbText marshals DeviceState to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceState to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceState to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceState from protobuf object *otg.DeviceState
	FromProto(msg *otg.DeviceState) (DeviceState, error)
	// FromPbText unmarshals DeviceState from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceState from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceState from JSON text
	FromJson(value string) error
	// Validate validates DeviceState
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceState, error)

	// Choice returns DeviceStateChoiceEnum, set in DeviceState
	Choice() DeviceStateChoiceEnum
	// SetChoice assigns DeviceStateChoiceEnum provided by user to DeviceState
	SetChoice(value DeviceStateChoiceEnum) DeviceState
	// HasChoice checks if Choice has been set in DeviceState
	HasChoice() bool
	// LacpMemberState returns LacpMemberState, set in DeviceState.
	// LacpMemberState is deprecated: Please use `StateProtocolLacpAdmin` instead
	//
	// Deprecated: Please use `StateProtocolLacpAdmin` instead
	//
	// Set LACP state for specified LAG Member Port(s).
	LacpMemberState() LacpMemberState
	// SetLacpMemberState assigns LacpMemberState provided by user to DeviceState.
	// LacpMemberState is deprecated: Please use `StateProtocolLacpAdmin` instead
	//
	// Deprecated: Please use `StateProtocolLacpAdmin` instead
	//
	// Set LACP state for specified LAG Member Port(s).
	SetLacpMemberState(value LacpMemberState) DeviceState
	// HasLacpMemberState checks if LacpMemberState has been set in DeviceState
	HasLacpMemberState() bool
	// contains filtered or unexported methods
}

DeviceState is deprecated: Please use `State.Protocol` instead

Deprecated: Please use `State.Protocol` instead

Sets attributes for the requested state/actions to be performed on device(s)

func NewDeviceState added in v0.8.1

func NewDeviceState() DeviceState

type DeviceStateChoiceEnum added in v0.8.1

type DeviceStateChoiceEnum string

type DeviceVlan

type DeviceVlan interface {
	Validation
	// Msg marshals DeviceVlan to protobuf object *otg.DeviceVlan
	// and doesn't set defaults
	Msg() *otg.DeviceVlan
	// SetMsg unmarshals DeviceVlan from protobuf object *otg.DeviceVlan
	// and doesn't set defaults
	SetMsg(*otg.DeviceVlan) DeviceVlan
	// ToProto marshals DeviceVlan to protobuf object *otg.DeviceVlan
	ToProto() (*otg.DeviceVlan, error)
	// ToPbText marshals DeviceVlan to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceVlan to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceVlan to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceVlan from protobuf object *otg.DeviceVlan
	FromProto(msg *otg.DeviceVlan) (DeviceVlan, error)
	// FromPbText unmarshals DeviceVlan from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceVlan from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceVlan from JSON text
	FromJson(value string) error
	// Validate validates DeviceVlan
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceVlan, error)

	// Tpid returns DeviceVlanTpidEnum, set in DeviceVlan
	Tpid() DeviceVlanTpidEnum
	// SetTpid assigns DeviceVlanTpidEnum provided by user to DeviceVlan
	SetTpid(value DeviceVlanTpidEnum) DeviceVlan
	// HasTpid checks if Tpid has been set in DeviceVlan
	HasTpid() bool
	// Priority returns int32, set in DeviceVlan.
	Priority() int32
	// SetPriority assigns int32 provided by user to DeviceVlan
	SetPriority(value int32) DeviceVlan
	// HasPriority checks if Priority has been set in DeviceVlan
	HasPriority() bool
	// Id returns int32, set in DeviceVlan.
	Id() int32
	// SetId assigns int32 provided by user to DeviceVlan
	SetId(value int32) DeviceVlan
	// HasId checks if Id has been set in DeviceVlan
	HasId() bool
	// Name returns string, set in DeviceVlan.
	Name() string
	// SetName assigns string provided by user to DeviceVlan
	SetName(value string) DeviceVlan
	// contains filtered or unexported methods
}

DeviceVlan is emulated VLAN protocol.

func NewDeviceVlan added in v0.6.5

func NewDeviceVlan() DeviceVlan

type DeviceVlanTpidEnum

type DeviceVlanTpidEnum string

type DeviceVxlan added in v0.7.28

type DeviceVxlan interface {
	Validation
	// Msg marshals DeviceVxlan to protobuf object *otg.DeviceVxlan
	// and doesn't set defaults
	Msg() *otg.DeviceVxlan
	// SetMsg unmarshals DeviceVxlan from protobuf object *otg.DeviceVxlan
	// and doesn't set defaults
	SetMsg(*otg.DeviceVxlan) DeviceVxlan
	// ToProto marshals DeviceVxlan to protobuf object *otg.DeviceVxlan
	ToProto() (*otg.DeviceVxlan, error)
	// ToPbText marshals DeviceVxlan to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals DeviceVxlan to YAML text
	ToYaml() (string, error)
	// ToJson marshals DeviceVxlan to JSON text
	ToJson() (string, error)
	// FromProto unmarshals DeviceVxlan from protobuf object *otg.DeviceVxlan
	FromProto(msg *otg.DeviceVxlan) (DeviceVxlan, error)
	// FromPbText unmarshals DeviceVxlan from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals DeviceVxlan from YAML text
	FromYaml(value string) error
	// FromJson unmarshals DeviceVxlan from JSON text
	FromJson(value string) error
	// Validate validates DeviceVxlan
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (DeviceVxlan, error)

	// V4Tunnels returns DeviceVxlanVxlanV4TunnelIterIter, set in DeviceVxlan
	V4Tunnels() DeviceVxlanVxlanV4TunnelIter
	// V6Tunnels returns DeviceVxlanVxlanV6TunnelIterIter, set in DeviceVxlan
	V6Tunnels() DeviceVxlanVxlanV6TunnelIter
	// contains filtered or unexported methods
}

DeviceVxlan is description is TBD

func NewDeviceVxlan added in v0.7.28

func NewDeviceVxlan() DeviceVxlan

type DeviceVxlanVxlanV4TunnelIter added in v0.7.28

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

type DeviceVxlanVxlanV6TunnelIter added in v0.7.28

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

type Error added in v0.11.5

type Error interface {
	Validation
	// Msg marshals Error to protobuf object *otg.Error
	// and doesn't set defaults
	Msg() *otg.Error
	// SetMsg unmarshals Error from protobuf object *otg.Error
	// and doesn't set defaults
	SetMsg(*otg.Error) Error
	// ToProto marshals Error to protobuf object *otg.Error
	ToProto() (*otg.Error, error)
	// ToPbText marshals Error to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Error to YAML text
	ToYaml() (string, error)
	// ToJson marshals Error to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Error from protobuf object *otg.Error
	FromProto(msg *otg.Error) (Error, error)
	// FromPbText unmarshals Error from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Error from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Error from JSON text
	FromJson(value string) error
	// Validate validates Error
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Error, error)

	// Code returns int32, set in Error.
	Code() int32
	// SetCode assigns int32 provided by user to Error
	SetCode(value int32) Error
	// Kind returns ErrorKindEnum, set in Error
	Kind() ErrorKindEnum
	// SetKind assigns ErrorKindEnum provided by user to Error
	SetKind(value ErrorKindEnum) Error
	// HasKind checks if Kind has been set in Error
	HasKind() bool
	// Errors returns []string, set in Error.
	Errors() []string
	// SetErrors assigns []string provided by user to Error
	SetErrors(value []string) Error
	// implement Error function for implementingnative Error Interface.
	Error() string
	// contains filtered or unexported methods
}

Error is error response generated while serving API request.

func NewError added in v0.11.5

func NewError() Error

type ErrorKindEnum added in v0.11.5

type ErrorKindEnum string

type EthernetConnection added in v0.7.26

type EthernetConnection interface {
	Validation
	// Msg marshals EthernetConnection to protobuf object *otg.EthernetConnection
	// and doesn't set defaults
	Msg() *otg.EthernetConnection
	// SetMsg unmarshals EthernetConnection from protobuf object *otg.EthernetConnection
	// and doesn't set defaults
	SetMsg(*otg.EthernetConnection) EthernetConnection
	// ToProto marshals EthernetConnection to protobuf object *otg.EthernetConnection
	ToProto() (*otg.EthernetConnection, error)
	// ToPbText marshals EthernetConnection to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals EthernetConnection to YAML text
	ToYaml() (string, error)
	// ToJson marshals EthernetConnection to JSON text
	ToJson() (string, error)
	// FromProto unmarshals EthernetConnection from protobuf object *otg.EthernetConnection
	FromProto(msg *otg.EthernetConnection) (EthernetConnection, error)
	// FromPbText unmarshals EthernetConnection from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals EthernetConnection from YAML text
	FromYaml(value string) error
	// FromJson unmarshals EthernetConnection from JSON text
	FromJson(value string) error
	// Validate validates EthernetConnection
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (EthernetConnection, error)

	// Choice returns EthernetConnectionChoiceEnum, set in EthernetConnection
	Choice() EthernetConnectionChoiceEnum
	// SetChoice assigns EthernetConnectionChoiceEnum provided by user to EthernetConnection
	SetChoice(value EthernetConnectionChoiceEnum) EthernetConnection
	// HasChoice checks if Choice has been set in EthernetConnection
	HasChoice() bool
	// PortName returns string, set in EthernetConnection.
	PortName() string
	// SetPortName assigns string provided by user to EthernetConnection
	SetPortName(value string) EthernetConnection
	// HasPortName checks if PortName has been set in EthernetConnection
	HasPortName() bool
	// LagName returns string, set in EthernetConnection.
	LagName() string
	// SetLagName assigns string provided by user to EthernetConnection
	SetLagName(value string) EthernetConnection
	// HasLagName checks if LagName has been set in EthernetConnection
	HasLagName() bool
	// VxlanName returns string, set in EthernetConnection.
	VxlanName() string
	// SetVxlanName assigns string provided by user to EthernetConnection
	SetVxlanName(value string) EthernetConnection
	// HasVxlanName checks if VxlanName has been set in EthernetConnection
	HasVxlanName() bool
	// contains filtered or unexported methods
}

EthernetConnection is ethernet interface connection to a port, LAG or VXLAN tunnel.

func NewEthernetConnection added in v0.7.26

func NewEthernetConnection() EthernetConnection

type EthernetConnectionChoiceEnum added in v0.7.26

type EthernetConnectionChoiceEnum string

type Event

type Event interface {
	Validation
	// Msg marshals Event to protobuf object *otg.Event
	// and doesn't set defaults
	Msg() *otg.Event
	// SetMsg unmarshals Event from protobuf object *otg.Event
	// and doesn't set defaults
	SetMsg(*otg.Event) Event
	// ToProto marshals Event to protobuf object *otg.Event
	ToProto() (*otg.Event, error)
	// ToPbText marshals Event to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Event to YAML text
	ToYaml() (string, error)
	// ToJson marshals Event to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Event from protobuf object *otg.Event
	FromProto(msg *otg.Event) (Event, error)
	// FromPbText unmarshals Event from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Event from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Event from JSON text
	FromJson(value string) error
	// Validate validates Event
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Event, error)

	// Enable returns bool, set in Event.
	Enable() bool
	// SetEnable assigns bool provided by user to Event
	SetEnable(value bool) Event
	// HasEnable checks if Enable has been set in Event
	HasEnable() bool
	// Link returns EventLink, set in Event.
	// EventLink is the optional container for link up/down event configuration.
	Link() EventLink
	// SetLink assigns EventLink provided by user to Event.
	// EventLink is the optional container for link up/down event configuration.
	SetLink(value EventLink) Event
	// HasLink checks if Link has been set in Event
	HasLink() bool
	// RxRateThreshold returns EventRxRateThreshold, set in Event.
	// EventRxRateThreshold is the optional container for rx rate threshold event configuration.
	RxRateThreshold() EventRxRateThreshold
	// SetRxRateThreshold assigns EventRxRateThreshold provided by user to Event.
	// EventRxRateThreshold is the optional container for rx rate threshold event configuration.
	SetRxRateThreshold(value EventRxRateThreshold) Event
	// HasRxRateThreshold checks if RxRateThreshold has been set in Event
	HasRxRateThreshold() bool
	// RouteAdvertiseWithdraw returns EventRouteAdvertiseWithdraw, set in Event.
	// EventRouteAdvertiseWithdraw is the optional container for route advertise/withdraw event configuration.
	RouteAdvertiseWithdraw() EventRouteAdvertiseWithdraw
	// SetRouteAdvertiseWithdraw assigns EventRouteAdvertiseWithdraw provided by user to Event.
	// EventRouteAdvertiseWithdraw is the optional container for route advertise/withdraw event configuration.
	SetRouteAdvertiseWithdraw(value EventRouteAdvertiseWithdraw) Event
	// HasRouteAdvertiseWithdraw checks if RouteAdvertiseWithdraw has been set in Event
	HasRouteAdvertiseWithdraw() bool
	// contains filtered or unexported methods
}

Event is the optional container for event configuration.

func NewEvent added in v0.6.5

func NewEvent() Event
type EventLink interface {
	Validation
	// Msg marshals EventLink to protobuf object *otg.EventLink
	// and doesn't set defaults
	Msg() *otg.EventLink
	// SetMsg unmarshals EventLink from protobuf object *otg.EventLink
	// and doesn't set defaults
	SetMsg(*otg.EventLink) EventLink
	// ToProto marshals EventLink to protobuf object *otg.EventLink
	ToProto() (*otg.EventLink, error)
	// ToPbText marshals EventLink to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals EventLink to YAML text
	ToYaml() (string, error)
	// ToJson marshals EventLink to JSON text
	ToJson() (string, error)
	// FromProto unmarshals EventLink from protobuf object *otg.EventLink
	FromProto(msg *otg.EventLink) (EventLink, error)
	// FromPbText unmarshals EventLink from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals EventLink from YAML text
	FromYaml(value string) error
	// FromJson unmarshals EventLink from JSON text
	FromJson(value string) error
	// Validate validates EventLink
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (EventLink, error)

	// Enable returns bool, set in EventLink.
	Enable() bool
	// SetEnable assigns bool provided by user to EventLink
	SetEnable(value bool) EventLink
	// HasEnable checks if Enable has been set in EventLink
	HasEnable() bool
	// contains filtered or unexported methods
}

EventLink is the optional container for link up/down event configuration.

func NewEventLink() EventLink

type EventRouteAdvertiseWithdraw

type EventRouteAdvertiseWithdraw interface {
	Validation
	// Msg marshals EventRouteAdvertiseWithdraw to protobuf object *otg.EventRouteAdvertiseWithdraw
	// and doesn't set defaults
	Msg() *otg.EventRouteAdvertiseWithdraw
	// SetMsg unmarshals EventRouteAdvertiseWithdraw from protobuf object *otg.EventRouteAdvertiseWithdraw
	// and doesn't set defaults
	SetMsg(*otg.EventRouteAdvertiseWithdraw) EventRouteAdvertiseWithdraw
	// ToProto marshals EventRouteAdvertiseWithdraw to protobuf object *otg.EventRouteAdvertiseWithdraw
	ToProto() (*otg.EventRouteAdvertiseWithdraw, error)
	// ToPbText marshals EventRouteAdvertiseWithdraw to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals EventRouteAdvertiseWithdraw to YAML text
	ToYaml() (string, error)
	// ToJson marshals EventRouteAdvertiseWithdraw to JSON text
	ToJson() (string, error)
	// FromProto unmarshals EventRouteAdvertiseWithdraw from protobuf object *otg.EventRouteAdvertiseWithdraw
	FromProto(msg *otg.EventRouteAdvertiseWithdraw) (EventRouteAdvertiseWithdraw, error)
	// FromPbText unmarshals EventRouteAdvertiseWithdraw from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals EventRouteAdvertiseWithdraw from YAML text
	FromYaml(value string) error
	// FromJson unmarshals EventRouteAdvertiseWithdraw from JSON text
	FromJson(value string) error
	// Validate validates EventRouteAdvertiseWithdraw
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (EventRouteAdvertiseWithdraw, error)

	// Enable returns bool, set in EventRouteAdvertiseWithdraw.
	Enable() bool
	// SetEnable assigns bool provided by user to EventRouteAdvertiseWithdraw
	SetEnable(value bool) EventRouteAdvertiseWithdraw
	// HasEnable checks if Enable has been set in EventRouteAdvertiseWithdraw
	HasEnable() bool
	// contains filtered or unexported methods
}

EventRouteAdvertiseWithdraw is the optional container for route advertise/withdraw event configuration.

func NewEventRouteAdvertiseWithdraw added in v0.6.5

func NewEventRouteAdvertiseWithdraw() EventRouteAdvertiseWithdraw

type EventRxRateThreshold

type EventRxRateThreshold interface {
	Validation
	// Msg marshals EventRxRateThreshold to protobuf object *otg.EventRxRateThreshold
	// and doesn't set defaults
	Msg() *otg.EventRxRateThreshold
	// SetMsg unmarshals EventRxRateThreshold from protobuf object *otg.EventRxRateThreshold
	// and doesn't set defaults
	SetMsg(*otg.EventRxRateThreshold) EventRxRateThreshold
	// ToProto marshals EventRxRateThreshold to protobuf object *otg.EventRxRateThreshold
	ToProto() (*otg.EventRxRateThreshold, error)
	// ToPbText marshals EventRxRateThreshold to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals EventRxRateThreshold to YAML text
	ToYaml() (string, error)
	// ToJson marshals EventRxRateThreshold to JSON text
	ToJson() (string, error)
	// FromProto unmarshals EventRxRateThreshold from protobuf object *otg.EventRxRateThreshold
	FromProto(msg *otg.EventRxRateThreshold) (EventRxRateThreshold, error)
	// FromPbText unmarshals EventRxRateThreshold from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals EventRxRateThreshold from YAML text
	FromYaml(value string) error
	// FromJson unmarshals EventRxRateThreshold from JSON text
	FromJson(value string) error
	// Validate validates EventRxRateThreshold
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (EventRxRateThreshold, error)

	// Enable returns bool, set in EventRxRateThreshold.
	Enable() bool
	// SetEnable assigns bool provided by user to EventRxRateThreshold
	SetEnable(value bool) EventRxRateThreshold
	// HasEnable checks if Enable has been set in EventRxRateThreshold
	HasEnable() bool
	// Threshold returns float32, set in EventRxRateThreshold.
	Threshold() float32
	// SetThreshold assigns float32 provided by user to EventRxRateThreshold
	SetThreshold(value float32) EventRxRateThreshold
	// HasThreshold checks if Threshold has been set in EventRxRateThreshold
	HasThreshold() bool
	// contains filtered or unexported methods
}

EventRxRateThreshold is the optional container for rx rate threshold event configuration.

func NewEventRxRateThreshold added in v0.6.5

func NewEventRxRateThreshold() EventRxRateThreshold

type Flow

type Flow interface {
	Validation
	// Msg marshals Flow to protobuf object *otg.Flow
	// and doesn't set defaults
	Msg() *otg.Flow
	// SetMsg unmarshals Flow from protobuf object *otg.Flow
	// and doesn't set defaults
	SetMsg(*otg.Flow) Flow
	// ToProto marshals Flow to protobuf object *otg.Flow
	ToProto() (*otg.Flow, error)
	// ToPbText marshals Flow to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Flow to YAML text
	ToYaml() (string, error)
	// ToJson marshals Flow to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Flow from protobuf object *otg.Flow
	FromProto(msg *otg.Flow) (Flow, error)
	// FromPbText unmarshals Flow from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Flow from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Flow from JSON text
	FromJson(value string) error
	// Validate validates Flow
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Flow, error)

	// TxRx returns FlowTxRx, set in Flow.
	// FlowTxRx is a container for different types of transmit and receive
	// endpoint containers.
	TxRx() FlowTxRx
	// SetTxRx assigns FlowTxRx provided by user to Flow.
	// FlowTxRx is a container for different types of transmit and receive
	// endpoint containers.
	SetTxRx(value FlowTxRx) Flow
	// Packet returns FlowFlowHeaderIterIter, set in Flow
	Packet() FlowFlowHeaderIter
	// EgressPacket returns FlowFlowHeaderIterIter, set in Flow
	EgressPacket() FlowFlowHeaderIter
	// Size returns FlowSize, set in Flow.
	// FlowSize is the frame size which overrides the total length of the packet
	Size() FlowSize
	// SetSize assigns FlowSize provided by user to Flow.
	// FlowSize is the frame size which overrides the total length of the packet
	SetSize(value FlowSize) Flow
	// HasSize checks if Size has been set in Flow
	HasSize() bool
	// Rate returns FlowRate, set in Flow.
	// FlowRate is the rate of packet transmission
	Rate() FlowRate
	// SetRate assigns FlowRate provided by user to Flow.
	// FlowRate is the rate of packet transmission
	SetRate(value FlowRate) Flow
	// HasRate checks if Rate has been set in Flow
	HasRate() bool
	// Duration returns FlowDuration, set in Flow.
	// FlowDuration is a container for different transmit durations.
	Duration() FlowDuration
	// SetDuration assigns FlowDuration provided by user to Flow.
	// FlowDuration is a container for different transmit durations.
	SetDuration(value FlowDuration) Flow
	// HasDuration checks if Duration has been set in Flow
	HasDuration() bool
	// Metrics returns FlowMetrics, set in Flow.
	// FlowMetrics is the optional container for configuring flow metrics.
	Metrics() FlowMetrics
	// SetMetrics assigns FlowMetrics provided by user to Flow.
	// FlowMetrics is the optional container for configuring flow metrics.
	SetMetrics(value FlowMetrics) Flow
	// HasMetrics checks if Metrics has been set in Flow
	HasMetrics() bool
	// Name returns string, set in Flow.
	Name() string
	// SetName assigns string provided by user to Flow
	SetName(value string) Flow
	// contains filtered or unexported methods
}

Flow is a high level data plane traffic flow.

func NewFlow added in v0.6.5

func NewFlow() Flow

type FlowArp

type FlowArp interface {
	Validation
	// Msg marshals FlowArp to protobuf object *otg.FlowArp
	// and doesn't set defaults
	Msg() *otg.FlowArp
	// SetMsg unmarshals FlowArp from protobuf object *otg.FlowArp
	// and doesn't set defaults
	SetMsg(*otg.FlowArp) FlowArp
	// ToProto marshals FlowArp to protobuf object *otg.FlowArp
	ToProto() (*otg.FlowArp, error)
	// ToPbText marshals FlowArp to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowArp to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowArp to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowArp from protobuf object *otg.FlowArp
	FromProto(msg *otg.FlowArp) (FlowArp, error)
	// FromPbText unmarshals FlowArp from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowArp from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowArp from JSON text
	FromJson(value string) error
	// Validate validates FlowArp
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowArp, error)

	// HardwareType returns PatternFlowArpHardwareType, set in FlowArp.
	// PatternFlowArpHardwareType is network link protocol type
	HardwareType() PatternFlowArpHardwareType
	// SetHardwareType assigns PatternFlowArpHardwareType provided by user to FlowArp.
	// PatternFlowArpHardwareType is network link protocol type
	SetHardwareType(value PatternFlowArpHardwareType) FlowArp
	// HasHardwareType checks if HardwareType has been set in FlowArp
	HasHardwareType() bool
	// ProtocolType returns PatternFlowArpProtocolType, set in FlowArp.
	// PatternFlowArpProtocolType is the internetwork protocol for which the ARP request is intended
	ProtocolType() PatternFlowArpProtocolType
	// SetProtocolType assigns PatternFlowArpProtocolType provided by user to FlowArp.
	// PatternFlowArpProtocolType is the internetwork protocol for which the ARP request is intended
	SetProtocolType(value PatternFlowArpProtocolType) FlowArp
	// HasProtocolType checks if ProtocolType has been set in FlowArp
	HasProtocolType() bool
	// HardwareLength returns PatternFlowArpHardwareLength, set in FlowArp.
	// PatternFlowArpHardwareLength is length (in octets) of a hardware address
	HardwareLength() PatternFlowArpHardwareLength
	// SetHardwareLength assigns PatternFlowArpHardwareLength provided by user to FlowArp.
	// PatternFlowArpHardwareLength is length (in octets) of a hardware address
	SetHardwareLength(value PatternFlowArpHardwareLength) FlowArp
	// HasHardwareLength checks if HardwareLength has been set in FlowArp
	HasHardwareLength() bool
	// ProtocolLength returns PatternFlowArpProtocolLength, set in FlowArp.
	// PatternFlowArpProtocolLength is length (in octets) of internetwork addresses
	ProtocolLength() PatternFlowArpProtocolLength
	// SetProtocolLength assigns PatternFlowArpProtocolLength provided by user to FlowArp.
	// PatternFlowArpProtocolLength is length (in octets) of internetwork addresses
	SetProtocolLength(value PatternFlowArpProtocolLength) FlowArp
	// HasProtocolLength checks if ProtocolLength has been set in FlowArp
	HasProtocolLength() bool
	// Operation returns PatternFlowArpOperation, set in FlowArp.
	// PatternFlowArpOperation is the operation that the sender is performing
	Operation() PatternFlowArpOperation
	// SetOperation assigns PatternFlowArpOperation provided by user to FlowArp.
	// PatternFlowArpOperation is the operation that the sender is performing
	SetOperation(value PatternFlowArpOperation) FlowArp
	// HasOperation checks if Operation has been set in FlowArp
	HasOperation() bool
	// SenderHardwareAddr returns PatternFlowArpSenderHardwareAddr, set in FlowArp.
	// PatternFlowArpSenderHardwareAddr is media address of the sender
	SenderHardwareAddr() PatternFlowArpSenderHardwareAddr
	// SetSenderHardwareAddr assigns PatternFlowArpSenderHardwareAddr provided by user to FlowArp.
	// PatternFlowArpSenderHardwareAddr is media address of the sender
	SetSenderHardwareAddr(value PatternFlowArpSenderHardwareAddr) FlowArp
	// HasSenderHardwareAddr checks if SenderHardwareAddr has been set in FlowArp
	HasSenderHardwareAddr() bool
	// SenderProtocolAddr returns PatternFlowArpSenderProtocolAddr, set in FlowArp.
	// PatternFlowArpSenderProtocolAddr is internetwork address of the sender
	SenderProtocolAddr() PatternFlowArpSenderProtocolAddr
	// SetSenderProtocolAddr assigns PatternFlowArpSenderProtocolAddr provided by user to FlowArp.
	// PatternFlowArpSenderProtocolAddr is internetwork address of the sender
	SetSenderProtocolAddr(value PatternFlowArpSenderProtocolAddr) FlowArp
	// HasSenderProtocolAddr checks if SenderProtocolAddr has been set in FlowArp
	HasSenderProtocolAddr() bool
	// TargetHardwareAddr returns PatternFlowArpTargetHardwareAddr, set in FlowArp.
	// PatternFlowArpTargetHardwareAddr is media address of the target
	TargetHardwareAddr() PatternFlowArpTargetHardwareAddr
	// SetTargetHardwareAddr assigns PatternFlowArpTargetHardwareAddr provided by user to FlowArp.
	// PatternFlowArpTargetHardwareAddr is media address of the target
	SetTargetHardwareAddr(value PatternFlowArpTargetHardwareAddr) FlowArp
	// HasTargetHardwareAddr checks if TargetHardwareAddr has been set in FlowArp
	HasTargetHardwareAddr() bool
	// TargetProtocolAddr returns PatternFlowArpTargetProtocolAddr, set in FlowArp.
	// PatternFlowArpTargetProtocolAddr is internetwork address of the target
	TargetProtocolAddr() PatternFlowArpTargetProtocolAddr
	// SetTargetProtocolAddr assigns PatternFlowArpTargetProtocolAddr provided by user to FlowArp.
	// PatternFlowArpTargetProtocolAddr is internetwork address of the target
	SetTargetProtocolAddr(value PatternFlowArpTargetProtocolAddr) FlowArp
	// HasTargetProtocolAddr checks if TargetProtocolAddr has been set in FlowArp
	HasTargetProtocolAddr() bool
	// contains filtered or unexported methods
}

FlowArp is aRP packet header

func NewFlowArp added in v0.6.5

func NewFlowArp() FlowArp

type FlowBurst

type FlowBurst interface {
	Validation
	// Msg marshals FlowBurst to protobuf object *otg.FlowBurst
	// and doesn't set defaults
	Msg() *otg.FlowBurst
	// SetMsg unmarshals FlowBurst from protobuf object *otg.FlowBurst
	// and doesn't set defaults
	SetMsg(*otg.FlowBurst) FlowBurst
	// ToProto marshals FlowBurst to protobuf object *otg.FlowBurst
	ToProto() (*otg.FlowBurst, error)
	// ToPbText marshals FlowBurst to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowBurst to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowBurst to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowBurst from protobuf object *otg.FlowBurst
	FromProto(msg *otg.FlowBurst) (FlowBurst, error)
	// FromPbText unmarshals FlowBurst from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowBurst from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowBurst from JSON text
	FromJson(value string) error
	// Validate validates FlowBurst
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowBurst, error)

	// Bursts returns int32, set in FlowBurst.
	Bursts() int32
	// SetBursts assigns int32 provided by user to FlowBurst
	SetBursts(value int32) FlowBurst
	// HasBursts checks if Bursts has been set in FlowBurst
	HasBursts() bool
	// Packets returns int32, set in FlowBurst.
	Packets() int32
	// SetPackets assigns int32 provided by user to FlowBurst
	SetPackets(value int32) FlowBurst
	// HasPackets checks if Packets has been set in FlowBurst
	HasPackets() bool
	// Gap returns int32, set in FlowBurst.
	Gap() int32
	// SetGap assigns int32 provided by user to FlowBurst
	SetGap(value int32) FlowBurst
	// HasGap checks if Gap has been set in FlowBurst
	HasGap() bool
	// InterBurstGap returns FlowDurationInterBurstGap, set in FlowBurst.
	// FlowDurationInterBurstGap is the optional container for specifying a gap between bursts.
	InterBurstGap() FlowDurationInterBurstGap
	// SetInterBurstGap assigns FlowDurationInterBurstGap provided by user to FlowBurst.
	// FlowDurationInterBurstGap is the optional container for specifying a gap between bursts.
	SetInterBurstGap(value FlowDurationInterBurstGap) FlowBurst
	// HasInterBurstGap checks if InterBurstGap has been set in FlowBurst
	HasInterBurstGap() bool
	// contains filtered or unexported methods
}

FlowBurst is transmits continuous or fixed burst of packets. For continuous burst of packets, it will not automatically stop. For fixed burst of packets, it will stop after transmitting fixed number of bursts.

func NewFlowBurst added in v0.6.5

func NewFlowBurst() FlowBurst

type FlowContinuous

type FlowContinuous interface {
	Validation
	// Msg marshals FlowContinuous to protobuf object *otg.FlowContinuous
	// and doesn't set defaults
	Msg() *otg.FlowContinuous
	// SetMsg unmarshals FlowContinuous from protobuf object *otg.FlowContinuous
	// and doesn't set defaults
	SetMsg(*otg.FlowContinuous) FlowContinuous
	// ToProto marshals FlowContinuous to protobuf object *otg.FlowContinuous
	ToProto() (*otg.FlowContinuous, error)
	// ToPbText marshals FlowContinuous to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowContinuous to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowContinuous to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowContinuous from protobuf object *otg.FlowContinuous
	FromProto(msg *otg.FlowContinuous) (FlowContinuous, error)
	// FromPbText unmarshals FlowContinuous from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowContinuous from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowContinuous from JSON text
	FromJson(value string) error
	// Validate validates FlowContinuous
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowContinuous, error)

	// Gap returns int32, set in FlowContinuous.
	Gap() int32
	// SetGap assigns int32 provided by user to FlowContinuous
	SetGap(value int32) FlowContinuous
	// HasGap checks if Gap has been set in FlowContinuous
	HasGap() bool
	// Delay returns FlowDelay, set in FlowContinuous.
	// FlowDelay is the optional container to specify the delay before starting
	// transmission of packets.
	Delay() FlowDelay
	// SetDelay assigns FlowDelay provided by user to FlowContinuous.
	// FlowDelay is the optional container to specify the delay before starting
	// transmission of packets.
	SetDelay(value FlowDelay) FlowContinuous
	// HasDelay checks if Delay has been set in FlowContinuous
	HasDelay() bool
	// contains filtered or unexported methods
}

FlowContinuous is transmit will be continuous and will not stop automatically.

func NewFlowContinuous added in v0.6.5

func NewFlowContinuous() FlowContinuous

type FlowCustom

type FlowCustom interface {
	Validation
	// Msg marshals FlowCustom to protobuf object *otg.FlowCustom
	// and doesn't set defaults
	Msg() *otg.FlowCustom
	// SetMsg unmarshals FlowCustom from protobuf object *otg.FlowCustom
	// and doesn't set defaults
	SetMsg(*otg.FlowCustom) FlowCustom
	// ToProto marshals FlowCustom to protobuf object *otg.FlowCustom
	ToProto() (*otg.FlowCustom, error)
	// ToPbText marshals FlowCustom to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowCustom to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowCustom to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowCustom from protobuf object *otg.FlowCustom
	FromProto(msg *otg.FlowCustom) (FlowCustom, error)
	// FromPbText unmarshals FlowCustom from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowCustom from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowCustom from JSON text
	FromJson(value string) error
	// Validate validates FlowCustom
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowCustom, error)

	// Bytes returns string, set in FlowCustom.
	Bytes() string
	// SetBytes assigns string provided by user to FlowCustom
	SetBytes(value string) FlowCustom
	// MetricTags returns FlowCustomFlowCustomMetricTagIterIter, set in FlowCustom
	MetricTags() FlowCustomFlowCustomMetricTagIter
	// contains filtered or unexported methods
}

FlowCustom is custom packet header

func NewFlowCustom added in v0.6.5

func NewFlowCustom() FlowCustom

type FlowCustomFlowCustomMetricTagIter added in v0.11.13

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

type FlowCustomMetricTag added in v0.11.13

type FlowCustomMetricTag interface {
	Validation
	// Msg marshals FlowCustomMetricTag to protobuf object *otg.FlowCustomMetricTag
	// and doesn't set defaults
	Msg() *otg.FlowCustomMetricTag
	// SetMsg unmarshals FlowCustomMetricTag from protobuf object *otg.FlowCustomMetricTag
	// and doesn't set defaults
	SetMsg(*otg.FlowCustomMetricTag) FlowCustomMetricTag
	// ToProto marshals FlowCustomMetricTag to protobuf object *otg.FlowCustomMetricTag
	ToProto() (*otg.FlowCustomMetricTag, error)
	// ToPbText marshals FlowCustomMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowCustomMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowCustomMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowCustomMetricTag from protobuf object *otg.FlowCustomMetricTag
	FromProto(msg *otg.FlowCustomMetricTag) (FlowCustomMetricTag, error)
	// FromPbText unmarshals FlowCustomMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowCustomMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowCustomMetricTag from JSON text
	FromJson(value string) error
	// Validate validates FlowCustomMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowCustomMetricTag, error)

	// Name returns string, set in FlowCustomMetricTag.
	Name() string
	// SetName assigns string provided by user to FlowCustomMetricTag
	SetName(value string) FlowCustomMetricTag
	// Offset returns int32, set in FlowCustomMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to FlowCustomMetricTag
	SetOffset(value int32) FlowCustomMetricTag
	// HasOffset checks if Offset has been set in FlowCustomMetricTag
	HasOffset() bool
	// Length returns int32, set in FlowCustomMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to FlowCustomMetricTag
	SetLength(value int32) FlowCustomMetricTag
	// HasLength checks if Length has been set in FlowCustomMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

FlowCustomMetricTag is metric Tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewFlowCustomMetricTag added in v0.11.13

func NewFlowCustomMetricTag() FlowCustomMetricTag

type FlowDelay

type FlowDelay interface {
	Validation
	// Msg marshals FlowDelay to protobuf object *otg.FlowDelay
	// and doesn't set defaults
	Msg() *otg.FlowDelay
	// SetMsg unmarshals FlowDelay from protobuf object *otg.FlowDelay
	// and doesn't set defaults
	SetMsg(*otg.FlowDelay) FlowDelay
	// ToProto marshals FlowDelay to protobuf object *otg.FlowDelay
	ToProto() (*otg.FlowDelay, error)
	// ToPbText marshals FlowDelay to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowDelay to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowDelay to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowDelay from protobuf object *otg.FlowDelay
	FromProto(msg *otg.FlowDelay) (FlowDelay, error)
	// FromPbText unmarshals FlowDelay from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowDelay from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowDelay from JSON text
	FromJson(value string) error
	// Validate validates FlowDelay
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowDelay, error)

	// Choice returns FlowDelayChoiceEnum, set in FlowDelay
	Choice() FlowDelayChoiceEnum
	// SetChoice assigns FlowDelayChoiceEnum provided by user to FlowDelay
	SetChoice(value FlowDelayChoiceEnum) FlowDelay
	// HasChoice checks if Choice has been set in FlowDelay
	HasChoice() bool
	// Bytes returns float32, set in FlowDelay.
	Bytes() float32
	// SetBytes assigns float32 provided by user to FlowDelay
	SetBytes(value float32) FlowDelay
	// HasBytes checks if Bytes has been set in FlowDelay
	HasBytes() bool
	// Nanoseconds returns float32, set in FlowDelay.
	Nanoseconds() float32
	// SetNanoseconds assigns float32 provided by user to FlowDelay
	SetNanoseconds(value float32) FlowDelay
	// HasNanoseconds checks if Nanoseconds has been set in FlowDelay
	HasNanoseconds() bool
	// Microseconds returns float32, set in FlowDelay.
	Microseconds() float32
	// SetMicroseconds assigns float32 provided by user to FlowDelay
	SetMicroseconds(value float32) FlowDelay
	// HasMicroseconds checks if Microseconds has been set in FlowDelay
	HasMicroseconds() bool
	// contains filtered or unexported methods
}

FlowDelay is the optional container to specify the delay before starting transmission of packets.

func NewFlowDelay added in v0.6.5

func NewFlowDelay() FlowDelay

type FlowDelayChoiceEnum

type FlowDelayChoiceEnum string

type FlowDuration

type FlowDuration interface {
	Validation
	// Msg marshals FlowDuration to protobuf object *otg.FlowDuration
	// and doesn't set defaults
	Msg() *otg.FlowDuration
	// SetMsg unmarshals FlowDuration from protobuf object *otg.FlowDuration
	// and doesn't set defaults
	SetMsg(*otg.FlowDuration) FlowDuration
	// ToProto marshals FlowDuration to protobuf object *otg.FlowDuration
	ToProto() (*otg.FlowDuration, error)
	// ToPbText marshals FlowDuration to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowDuration to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowDuration to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowDuration from protobuf object *otg.FlowDuration
	FromProto(msg *otg.FlowDuration) (FlowDuration, error)
	// FromPbText unmarshals FlowDuration from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowDuration from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowDuration from JSON text
	FromJson(value string) error
	// Validate validates FlowDuration
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowDuration, error)

	// Choice returns FlowDurationChoiceEnum, set in FlowDuration
	Choice() FlowDurationChoiceEnum
	// SetChoice assigns FlowDurationChoiceEnum provided by user to FlowDuration
	SetChoice(value FlowDurationChoiceEnum) FlowDuration
	// HasChoice checks if Choice has been set in FlowDuration
	HasChoice() bool
	// FixedPackets returns FlowFixedPackets, set in FlowDuration.
	// FlowFixedPackets is transmit a fixed number of packets after which the flow will stop.
	FixedPackets() FlowFixedPackets
	// SetFixedPackets assigns FlowFixedPackets provided by user to FlowDuration.
	// FlowFixedPackets is transmit a fixed number of packets after which the flow will stop.
	SetFixedPackets(value FlowFixedPackets) FlowDuration
	// HasFixedPackets checks if FixedPackets has been set in FlowDuration
	HasFixedPackets() bool
	// FixedSeconds returns FlowFixedSeconds, set in FlowDuration.
	// FlowFixedSeconds is transmit for a fixed number of seconds after which the flow will stop.
	FixedSeconds() FlowFixedSeconds
	// SetFixedSeconds assigns FlowFixedSeconds provided by user to FlowDuration.
	// FlowFixedSeconds is transmit for a fixed number of seconds after which the flow will stop.
	SetFixedSeconds(value FlowFixedSeconds) FlowDuration
	// HasFixedSeconds checks if FixedSeconds has been set in FlowDuration
	HasFixedSeconds() bool
	// Burst returns FlowBurst, set in FlowDuration.
	// FlowBurst is transmits continuous or fixed burst of packets.
	// For continuous burst of packets, it will not automatically stop.
	// For fixed burst of packets, it will stop after transmitting fixed number of bursts.
	Burst() FlowBurst
	// SetBurst assigns FlowBurst provided by user to FlowDuration.
	// FlowBurst is transmits continuous or fixed burst of packets.
	// For continuous burst of packets, it will not automatically stop.
	// For fixed burst of packets, it will stop after transmitting fixed number of bursts.
	SetBurst(value FlowBurst) FlowDuration
	// HasBurst checks if Burst has been set in FlowDuration
	HasBurst() bool
	// Continuous returns FlowContinuous, set in FlowDuration.
	// FlowContinuous is transmit will be continuous and will not stop automatically.
	Continuous() FlowContinuous
	// SetContinuous assigns FlowContinuous provided by user to FlowDuration.
	// FlowContinuous is transmit will be continuous and will not stop automatically.
	SetContinuous(value FlowContinuous) FlowDuration
	// HasContinuous checks if Continuous has been set in FlowDuration
	HasContinuous() bool
	// contains filtered or unexported methods
}

FlowDuration is a container for different transmit durations.

func NewFlowDuration added in v0.6.5

func NewFlowDuration() FlowDuration

type FlowDurationChoiceEnum

type FlowDurationChoiceEnum string

type FlowDurationInterBurstGap

type FlowDurationInterBurstGap interface {
	Validation
	// Msg marshals FlowDurationInterBurstGap to protobuf object *otg.FlowDurationInterBurstGap
	// and doesn't set defaults
	Msg() *otg.FlowDurationInterBurstGap
	// SetMsg unmarshals FlowDurationInterBurstGap from protobuf object *otg.FlowDurationInterBurstGap
	// and doesn't set defaults
	SetMsg(*otg.FlowDurationInterBurstGap) FlowDurationInterBurstGap
	// ToProto marshals FlowDurationInterBurstGap to protobuf object *otg.FlowDurationInterBurstGap
	ToProto() (*otg.FlowDurationInterBurstGap, error)
	// ToPbText marshals FlowDurationInterBurstGap to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowDurationInterBurstGap to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowDurationInterBurstGap to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowDurationInterBurstGap from protobuf object *otg.FlowDurationInterBurstGap
	FromProto(msg *otg.FlowDurationInterBurstGap) (FlowDurationInterBurstGap, error)
	// FromPbText unmarshals FlowDurationInterBurstGap from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowDurationInterBurstGap from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowDurationInterBurstGap from JSON text
	FromJson(value string) error
	// Validate validates FlowDurationInterBurstGap
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowDurationInterBurstGap, error)

	// Choice returns FlowDurationInterBurstGapChoiceEnum, set in FlowDurationInterBurstGap
	Choice() FlowDurationInterBurstGapChoiceEnum
	// SetChoice assigns FlowDurationInterBurstGapChoiceEnum provided by user to FlowDurationInterBurstGap
	SetChoice(value FlowDurationInterBurstGapChoiceEnum) FlowDurationInterBurstGap
	// HasChoice checks if Choice has been set in FlowDurationInterBurstGap
	HasChoice() bool
	// Bytes returns float64, set in FlowDurationInterBurstGap.
	Bytes() float64
	// SetBytes assigns float64 provided by user to FlowDurationInterBurstGap
	SetBytes(value float64) FlowDurationInterBurstGap
	// HasBytes checks if Bytes has been set in FlowDurationInterBurstGap
	HasBytes() bool
	// Nanoseconds returns float64, set in FlowDurationInterBurstGap.
	Nanoseconds() float64
	// SetNanoseconds assigns float64 provided by user to FlowDurationInterBurstGap
	SetNanoseconds(value float64) FlowDurationInterBurstGap
	// HasNanoseconds checks if Nanoseconds has been set in FlowDurationInterBurstGap
	HasNanoseconds() bool
	// Microseconds returns float64, set in FlowDurationInterBurstGap.
	Microseconds() float64
	// SetMicroseconds assigns float64 provided by user to FlowDurationInterBurstGap
	SetMicroseconds(value float64) FlowDurationInterBurstGap
	// HasMicroseconds checks if Microseconds has been set in FlowDurationInterBurstGap
	HasMicroseconds() bool
	// contains filtered or unexported methods
}

FlowDurationInterBurstGap is the optional container for specifying a gap between bursts.

func NewFlowDurationInterBurstGap added in v0.6.5

func NewFlowDurationInterBurstGap() FlowDurationInterBurstGap

type FlowDurationInterBurstGapChoiceEnum

type FlowDurationInterBurstGapChoiceEnum string

type FlowEthernet

type FlowEthernet interface {
	Validation
	// Msg marshals FlowEthernet to protobuf object *otg.FlowEthernet
	// and doesn't set defaults
	Msg() *otg.FlowEthernet
	// SetMsg unmarshals FlowEthernet from protobuf object *otg.FlowEthernet
	// and doesn't set defaults
	SetMsg(*otg.FlowEthernet) FlowEthernet
	// ToProto marshals FlowEthernet to protobuf object *otg.FlowEthernet
	ToProto() (*otg.FlowEthernet, error)
	// ToPbText marshals FlowEthernet to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowEthernet to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowEthernet to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowEthernet from protobuf object *otg.FlowEthernet
	FromProto(msg *otg.FlowEthernet) (FlowEthernet, error)
	// FromPbText unmarshals FlowEthernet from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowEthernet from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowEthernet from JSON text
	FromJson(value string) error
	// Validate validates FlowEthernet
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowEthernet, error)

	// Dst returns PatternFlowEthernetDst, set in FlowEthernet.
	// PatternFlowEthernetDst is destination MAC address
	Dst() PatternFlowEthernetDst
	// SetDst assigns PatternFlowEthernetDst provided by user to FlowEthernet.
	// PatternFlowEthernetDst is destination MAC address
	SetDst(value PatternFlowEthernetDst) FlowEthernet
	// HasDst checks if Dst has been set in FlowEthernet
	HasDst() bool
	// Src returns PatternFlowEthernetSrc, set in FlowEthernet.
	// PatternFlowEthernetSrc is source MAC address
	Src() PatternFlowEthernetSrc
	// SetSrc assigns PatternFlowEthernetSrc provided by user to FlowEthernet.
	// PatternFlowEthernetSrc is source MAC address
	SetSrc(value PatternFlowEthernetSrc) FlowEthernet
	// HasSrc checks if Src has been set in FlowEthernet
	HasSrc() bool
	// EtherType returns PatternFlowEthernetEtherType, set in FlowEthernet.
	// PatternFlowEthernetEtherType is ethernet type
	EtherType() PatternFlowEthernetEtherType
	// SetEtherType assigns PatternFlowEthernetEtherType provided by user to FlowEthernet.
	// PatternFlowEthernetEtherType is ethernet type
	SetEtherType(value PatternFlowEthernetEtherType) FlowEthernet
	// HasEtherType checks if EtherType has been set in FlowEthernet
	HasEtherType() bool
	// PfcQueue returns PatternFlowEthernetPfcQueue, set in FlowEthernet.
	// PatternFlowEthernetPfcQueue is priority flow control queue
	PfcQueue() PatternFlowEthernetPfcQueue
	// SetPfcQueue assigns PatternFlowEthernetPfcQueue provided by user to FlowEthernet.
	// PatternFlowEthernetPfcQueue is priority flow control queue
	SetPfcQueue(value PatternFlowEthernetPfcQueue) FlowEthernet
	// HasPfcQueue checks if PfcQueue has been set in FlowEthernet
	HasPfcQueue() bool
	// contains filtered or unexported methods
}

FlowEthernet is ethernet packet header

func NewFlowEthernet added in v0.6.5

func NewFlowEthernet() FlowEthernet

type FlowEthernetPause

type FlowEthernetPause interface {
	Validation
	// Msg marshals FlowEthernetPause to protobuf object *otg.FlowEthernetPause
	// and doesn't set defaults
	Msg() *otg.FlowEthernetPause
	// SetMsg unmarshals FlowEthernetPause from protobuf object *otg.FlowEthernetPause
	// and doesn't set defaults
	SetMsg(*otg.FlowEthernetPause) FlowEthernetPause
	// ToProto marshals FlowEthernetPause to protobuf object *otg.FlowEthernetPause
	ToProto() (*otg.FlowEthernetPause, error)
	// ToPbText marshals FlowEthernetPause to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowEthernetPause to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowEthernetPause to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowEthernetPause from protobuf object *otg.FlowEthernetPause
	FromProto(msg *otg.FlowEthernetPause) (FlowEthernetPause, error)
	// FromPbText unmarshals FlowEthernetPause from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowEthernetPause from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowEthernetPause from JSON text
	FromJson(value string) error
	// Validate validates FlowEthernetPause
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowEthernetPause, error)

	// Dst returns PatternFlowEthernetPauseDst, set in FlowEthernetPause.
	// PatternFlowEthernetPauseDst is destination MAC address
	Dst() PatternFlowEthernetPauseDst
	// SetDst assigns PatternFlowEthernetPauseDst provided by user to FlowEthernetPause.
	// PatternFlowEthernetPauseDst is destination MAC address
	SetDst(value PatternFlowEthernetPauseDst) FlowEthernetPause
	// HasDst checks if Dst has been set in FlowEthernetPause
	HasDst() bool
	// Src returns PatternFlowEthernetPauseSrc, set in FlowEthernetPause.
	// PatternFlowEthernetPauseSrc is source MAC address
	Src() PatternFlowEthernetPauseSrc
	// SetSrc assigns PatternFlowEthernetPauseSrc provided by user to FlowEthernetPause.
	// PatternFlowEthernetPauseSrc is source MAC address
	SetSrc(value PatternFlowEthernetPauseSrc) FlowEthernetPause
	// HasSrc checks if Src has been set in FlowEthernetPause
	HasSrc() bool
	// EtherType returns PatternFlowEthernetPauseEtherType, set in FlowEthernetPause.
	// PatternFlowEthernetPauseEtherType is ethernet type
	EtherType() PatternFlowEthernetPauseEtherType
	// SetEtherType assigns PatternFlowEthernetPauseEtherType provided by user to FlowEthernetPause.
	// PatternFlowEthernetPauseEtherType is ethernet type
	SetEtherType(value PatternFlowEthernetPauseEtherType) FlowEthernetPause
	// HasEtherType checks if EtherType has been set in FlowEthernetPause
	HasEtherType() bool
	// ControlOpCode returns PatternFlowEthernetPauseControlOpCode, set in FlowEthernetPause.
	// PatternFlowEthernetPauseControlOpCode is control operation code
	ControlOpCode() PatternFlowEthernetPauseControlOpCode
	// SetControlOpCode assigns PatternFlowEthernetPauseControlOpCode provided by user to FlowEthernetPause.
	// PatternFlowEthernetPauseControlOpCode is control operation code
	SetControlOpCode(value PatternFlowEthernetPauseControlOpCode) FlowEthernetPause
	// HasControlOpCode checks if ControlOpCode has been set in FlowEthernetPause
	HasControlOpCode() bool
	// Time returns PatternFlowEthernetPauseTime, set in FlowEthernetPause.
	// PatternFlowEthernetPauseTime is time
	Time() PatternFlowEthernetPauseTime
	// SetTime assigns PatternFlowEthernetPauseTime provided by user to FlowEthernetPause.
	// PatternFlowEthernetPauseTime is time
	SetTime(value PatternFlowEthernetPauseTime) FlowEthernetPause
	// HasTime checks if Time has been set in FlowEthernetPause
	HasTime() bool
	// contains filtered or unexported methods
}

FlowEthernetPause is iEEE 802.3x global ethernet pause packet header

func NewFlowEthernetPause added in v0.6.5

func NewFlowEthernetPause() FlowEthernetPause

type FlowFixedPackets

type FlowFixedPackets interface {
	Validation
	// Msg marshals FlowFixedPackets to protobuf object *otg.FlowFixedPackets
	// and doesn't set defaults
	Msg() *otg.FlowFixedPackets
	// SetMsg unmarshals FlowFixedPackets from protobuf object *otg.FlowFixedPackets
	// and doesn't set defaults
	SetMsg(*otg.FlowFixedPackets) FlowFixedPackets
	// ToProto marshals FlowFixedPackets to protobuf object *otg.FlowFixedPackets
	ToProto() (*otg.FlowFixedPackets, error)
	// ToPbText marshals FlowFixedPackets to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowFixedPackets to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowFixedPackets to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowFixedPackets from protobuf object *otg.FlowFixedPackets
	FromProto(msg *otg.FlowFixedPackets) (FlowFixedPackets, error)
	// FromPbText unmarshals FlowFixedPackets from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowFixedPackets from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowFixedPackets from JSON text
	FromJson(value string) error
	// Validate validates FlowFixedPackets
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowFixedPackets, error)

	// Packets returns int32, set in FlowFixedPackets.
	Packets() int32
	// SetPackets assigns int32 provided by user to FlowFixedPackets
	SetPackets(value int32) FlowFixedPackets
	// HasPackets checks if Packets has been set in FlowFixedPackets
	HasPackets() bool
	// Gap returns int32, set in FlowFixedPackets.
	Gap() int32
	// SetGap assigns int32 provided by user to FlowFixedPackets
	SetGap(value int32) FlowFixedPackets
	// HasGap checks if Gap has been set in FlowFixedPackets
	HasGap() bool
	// Delay returns FlowDelay, set in FlowFixedPackets.
	// FlowDelay is the optional container to specify the delay before starting
	// transmission of packets.
	Delay() FlowDelay
	// SetDelay assigns FlowDelay provided by user to FlowFixedPackets.
	// FlowDelay is the optional container to specify the delay before starting
	// transmission of packets.
	SetDelay(value FlowDelay) FlowFixedPackets
	// HasDelay checks if Delay has been set in FlowFixedPackets
	HasDelay() bool
	// contains filtered or unexported methods
}

FlowFixedPackets is transmit a fixed number of packets after which the flow will stop.

func NewFlowFixedPackets added in v0.6.5

func NewFlowFixedPackets() FlowFixedPackets

type FlowFixedSeconds

type FlowFixedSeconds interface {
	Validation
	// Msg marshals FlowFixedSeconds to protobuf object *otg.FlowFixedSeconds
	// and doesn't set defaults
	Msg() *otg.FlowFixedSeconds
	// SetMsg unmarshals FlowFixedSeconds from protobuf object *otg.FlowFixedSeconds
	// and doesn't set defaults
	SetMsg(*otg.FlowFixedSeconds) FlowFixedSeconds
	// ToProto marshals FlowFixedSeconds to protobuf object *otg.FlowFixedSeconds
	ToProto() (*otg.FlowFixedSeconds, error)
	// ToPbText marshals FlowFixedSeconds to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowFixedSeconds to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowFixedSeconds to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowFixedSeconds from protobuf object *otg.FlowFixedSeconds
	FromProto(msg *otg.FlowFixedSeconds) (FlowFixedSeconds, error)
	// FromPbText unmarshals FlowFixedSeconds from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowFixedSeconds from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowFixedSeconds from JSON text
	FromJson(value string) error
	// Validate validates FlowFixedSeconds
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowFixedSeconds, error)

	// Seconds returns float32, set in FlowFixedSeconds.
	Seconds() float32
	// SetSeconds assigns float32 provided by user to FlowFixedSeconds
	SetSeconds(value float32) FlowFixedSeconds
	// HasSeconds checks if Seconds has been set in FlowFixedSeconds
	HasSeconds() bool
	// Gap returns int32, set in FlowFixedSeconds.
	Gap() int32
	// SetGap assigns int32 provided by user to FlowFixedSeconds
	SetGap(value int32) FlowFixedSeconds
	// HasGap checks if Gap has been set in FlowFixedSeconds
	HasGap() bool
	// Delay returns FlowDelay, set in FlowFixedSeconds.
	// FlowDelay is the optional container to specify the delay before starting
	// transmission of packets.
	Delay() FlowDelay
	// SetDelay assigns FlowDelay provided by user to FlowFixedSeconds.
	// FlowDelay is the optional container to specify the delay before starting
	// transmission of packets.
	SetDelay(value FlowDelay) FlowFixedSeconds
	// HasDelay checks if Delay has been set in FlowFixedSeconds
	HasDelay() bool
	// contains filtered or unexported methods
}

FlowFixedSeconds is transmit for a fixed number of seconds after which the flow will stop.

func NewFlowFixedSeconds added in v0.6.5

func NewFlowFixedSeconds() FlowFixedSeconds

type FlowFlowHeaderIter

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

type FlowGre

type FlowGre interface {
	Validation
	// Msg marshals FlowGre to protobuf object *otg.FlowGre
	// and doesn't set defaults
	Msg() *otg.FlowGre
	// SetMsg unmarshals FlowGre from protobuf object *otg.FlowGre
	// and doesn't set defaults
	SetMsg(*otg.FlowGre) FlowGre
	// ToProto marshals FlowGre to protobuf object *otg.FlowGre
	ToProto() (*otg.FlowGre, error)
	// ToPbText marshals FlowGre to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowGre to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowGre to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowGre from protobuf object *otg.FlowGre
	FromProto(msg *otg.FlowGre) (FlowGre, error)
	// FromPbText unmarshals FlowGre from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowGre from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowGre from JSON text
	FromJson(value string) error
	// Validate validates FlowGre
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowGre, error)

	// ChecksumPresent returns PatternFlowGreChecksumPresent, set in FlowGre.
	// PatternFlowGreChecksumPresent is checksum present bit
	ChecksumPresent() PatternFlowGreChecksumPresent
	// SetChecksumPresent assigns PatternFlowGreChecksumPresent provided by user to FlowGre.
	// PatternFlowGreChecksumPresent is checksum present bit
	SetChecksumPresent(value PatternFlowGreChecksumPresent) FlowGre
	// HasChecksumPresent checks if ChecksumPresent has been set in FlowGre
	HasChecksumPresent() bool
	// Reserved0 returns PatternFlowGreReserved0, set in FlowGre.
	// PatternFlowGreReserved0 is reserved bits
	Reserved0() PatternFlowGreReserved0
	// SetReserved0 assigns PatternFlowGreReserved0 provided by user to FlowGre.
	// PatternFlowGreReserved0 is reserved bits
	SetReserved0(value PatternFlowGreReserved0) FlowGre
	// HasReserved0 checks if Reserved0 has been set in FlowGre
	HasReserved0() bool
	// Version returns PatternFlowGreVersion, set in FlowGre.
	// PatternFlowGreVersion is gRE version number
	Version() PatternFlowGreVersion
	// SetVersion assigns PatternFlowGreVersion provided by user to FlowGre.
	// PatternFlowGreVersion is gRE version number
	SetVersion(value PatternFlowGreVersion) FlowGre
	// HasVersion checks if Version has been set in FlowGre
	HasVersion() bool
	// Protocol returns PatternFlowGreProtocol, set in FlowGre.
	// PatternFlowGreProtocol is protocol type of encapsulated payload
	Protocol() PatternFlowGreProtocol
	// SetProtocol assigns PatternFlowGreProtocol provided by user to FlowGre.
	// PatternFlowGreProtocol is protocol type of encapsulated payload
	SetProtocol(value PatternFlowGreProtocol) FlowGre
	// HasProtocol checks if Protocol has been set in FlowGre
	HasProtocol() bool
	// Checksum returns PatternFlowGreChecksum, set in FlowGre.
	// PatternFlowGreChecksum is optional checksum of GRE header and payload. Only present if the checksum_present bit is set.
	Checksum() PatternFlowGreChecksum
	// SetChecksum assigns PatternFlowGreChecksum provided by user to FlowGre.
	// PatternFlowGreChecksum is optional checksum of GRE header and payload. Only present if the checksum_present bit is set.
	SetChecksum(value PatternFlowGreChecksum) FlowGre
	// HasChecksum checks if Checksum has been set in FlowGre
	HasChecksum() bool
	// Reserved1 returns PatternFlowGreReserved1, set in FlowGre.
	// PatternFlowGreReserved1 is optional reserved field. Only present if the checksum_present bit is set.
	Reserved1() PatternFlowGreReserved1
	// SetReserved1 assigns PatternFlowGreReserved1 provided by user to FlowGre.
	// PatternFlowGreReserved1 is optional reserved field. Only present if the checksum_present bit is set.
	SetReserved1(value PatternFlowGreReserved1) FlowGre
	// HasReserved1 checks if Reserved1 has been set in FlowGre
	HasReserved1() bool
	// contains filtered or unexported methods
}

FlowGre is standard GRE packet header (RFC2784)

func NewFlowGre added in v0.6.5

func NewFlowGre() FlowGre

type FlowGtpExtension

type FlowGtpExtension interface {
	Validation
	// Msg marshals FlowGtpExtension to protobuf object *otg.FlowGtpExtension
	// and doesn't set defaults
	Msg() *otg.FlowGtpExtension
	// SetMsg unmarshals FlowGtpExtension from protobuf object *otg.FlowGtpExtension
	// and doesn't set defaults
	SetMsg(*otg.FlowGtpExtension) FlowGtpExtension
	// ToProto marshals FlowGtpExtension to protobuf object *otg.FlowGtpExtension
	ToProto() (*otg.FlowGtpExtension, error)
	// ToPbText marshals FlowGtpExtension to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowGtpExtension to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowGtpExtension to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowGtpExtension from protobuf object *otg.FlowGtpExtension
	FromProto(msg *otg.FlowGtpExtension) (FlowGtpExtension, error)
	// FromPbText unmarshals FlowGtpExtension from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowGtpExtension from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowGtpExtension from JSON text
	FromJson(value string) error
	// Validate validates FlowGtpExtension
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowGtpExtension, error)

	// ExtensionLength returns PatternFlowGtpExtensionExtensionLength, set in FlowGtpExtension.
	// PatternFlowGtpExtensionExtensionLength is this field states the length of this extension header,  including the length, the contents, and the next extension header field, in 4-octet units, so the length of the extension must  always be a multiple of 4.
	ExtensionLength() PatternFlowGtpExtensionExtensionLength
	// SetExtensionLength assigns PatternFlowGtpExtensionExtensionLength provided by user to FlowGtpExtension.
	// PatternFlowGtpExtensionExtensionLength is this field states the length of this extension header,  including the length, the contents, and the next extension header field, in 4-octet units, so the length of the extension must  always be a multiple of 4.
	SetExtensionLength(value PatternFlowGtpExtensionExtensionLength) FlowGtpExtension
	// HasExtensionLength checks if ExtensionLength has been set in FlowGtpExtension
	HasExtensionLength() bool
	// Contents returns PatternFlowGtpExtensionContents, set in FlowGtpExtension.
	// PatternFlowGtpExtensionContents is the extension header contents
	Contents() PatternFlowGtpExtensionContents
	// SetContents assigns PatternFlowGtpExtensionContents provided by user to FlowGtpExtension.
	// PatternFlowGtpExtensionContents is the extension header contents
	SetContents(value PatternFlowGtpExtensionContents) FlowGtpExtension
	// HasContents checks if Contents has been set in FlowGtpExtension
	HasContents() bool
	// NextExtensionHeader returns PatternFlowGtpExtensionNextExtensionHeader, set in FlowGtpExtension.
	// PatternFlowGtpExtensionNextExtensionHeader is it states the type of the next extension, or 0 if no next  extension exists.  This permits chaining several next extension headers.
	NextExtensionHeader() PatternFlowGtpExtensionNextExtensionHeader
	// SetNextExtensionHeader assigns PatternFlowGtpExtensionNextExtensionHeader provided by user to FlowGtpExtension.
	// PatternFlowGtpExtensionNextExtensionHeader is it states the type of the next extension, or 0 if no next  extension exists.  This permits chaining several next extension headers.
	SetNextExtensionHeader(value PatternFlowGtpExtensionNextExtensionHeader) FlowGtpExtension
	// HasNextExtensionHeader checks if NextExtensionHeader has been set in FlowGtpExtension
	HasNextExtensionHeader() bool
	// contains filtered or unexported methods
}

FlowGtpExtension is description is TBD

func NewFlowGtpExtension added in v0.6.5

func NewFlowGtpExtension() FlowGtpExtension

type FlowGtpv1

type FlowGtpv1 interface {
	Validation
	// Msg marshals FlowGtpv1 to protobuf object *otg.FlowGtpv1
	// and doesn't set defaults
	Msg() *otg.FlowGtpv1
	// SetMsg unmarshals FlowGtpv1 from protobuf object *otg.FlowGtpv1
	// and doesn't set defaults
	SetMsg(*otg.FlowGtpv1) FlowGtpv1
	// ToProto marshals FlowGtpv1 to protobuf object *otg.FlowGtpv1
	ToProto() (*otg.FlowGtpv1, error)
	// ToPbText marshals FlowGtpv1 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowGtpv1 to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowGtpv1 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowGtpv1 from protobuf object *otg.FlowGtpv1
	FromProto(msg *otg.FlowGtpv1) (FlowGtpv1, error)
	// FromPbText unmarshals FlowGtpv1 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowGtpv1 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowGtpv1 from JSON text
	FromJson(value string) error
	// Validate validates FlowGtpv1
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowGtpv1, error)

	// Version returns PatternFlowGtpv1Version, set in FlowGtpv1.
	// PatternFlowGtpv1Version is gTPv1 version
	Version() PatternFlowGtpv1Version
	// SetVersion assigns PatternFlowGtpv1Version provided by user to FlowGtpv1.
	// PatternFlowGtpv1Version is gTPv1 version
	SetVersion(value PatternFlowGtpv1Version) FlowGtpv1
	// HasVersion checks if Version has been set in FlowGtpv1
	HasVersion() bool
	// ProtocolType returns PatternFlowGtpv1ProtocolType, set in FlowGtpv1.
	// PatternFlowGtpv1ProtocolType is protocol type, GTP is 1, GTP' is 0
	ProtocolType() PatternFlowGtpv1ProtocolType
	// SetProtocolType assigns PatternFlowGtpv1ProtocolType provided by user to FlowGtpv1.
	// PatternFlowGtpv1ProtocolType is protocol type, GTP is 1, GTP' is 0
	SetProtocolType(value PatternFlowGtpv1ProtocolType) FlowGtpv1
	// HasProtocolType checks if ProtocolType has been set in FlowGtpv1
	HasProtocolType() bool
	// Reserved returns PatternFlowGtpv1Reserved, set in FlowGtpv1.
	// PatternFlowGtpv1Reserved is reserved field
	Reserved() PatternFlowGtpv1Reserved
	// SetReserved assigns PatternFlowGtpv1Reserved provided by user to FlowGtpv1.
	// PatternFlowGtpv1Reserved is reserved field
	SetReserved(value PatternFlowGtpv1Reserved) FlowGtpv1
	// HasReserved checks if Reserved has been set in FlowGtpv1
	HasReserved() bool
	// EFlag returns PatternFlowGtpv1EFlag, set in FlowGtpv1.
	// PatternFlowGtpv1EFlag is extension header field present
	EFlag() PatternFlowGtpv1EFlag
	// SetEFlag assigns PatternFlowGtpv1EFlag provided by user to FlowGtpv1.
	// PatternFlowGtpv1EFlag is extension header field present
	SetEFlag(value PatternFlowGtpv1EFlag) FlowGtpv1
	// HasEFlag checks if EFlag has been set in FlowGtpv1
	HasEFlag() bool
	// SFlag returns PatternFlowGtpv1SFlag, set in FlowGtpv1.
	// PatternFlowGtpv1SFlag is sequence number field present
	SFlag() PatternFlowGtpv1SFlag
	// SetSFlag assigns PatternFlowGtpv1SFlag provided by user to FlowGtpv1.
	// PatternFlowGtpv1SFlag is sequence number field present
	SetSFlag(value PatternFlowGtpv1SFlag) FlowGtpv1
	// HasSFlag checks if SFlag has been set in FlowGtpv1
	HasSFlag() bool
	// PnFlag returns PatternFlowGtpv1PnFlag, set in FlowGtpv1.
	// PatternFlowGtpv1PnFlag is n-PDU field present
	PnFlag() PatternFlowGtpv1PnFlag
	// SetPnFlag assigns PatternFlowGtpv1PnFlag provided by user to FlowGtpv1.
	// PatternFlowGtpv1PnFlag is n-PDU field present
	SetPnFlag(value PatternFlowGtpv1PnFlag) FlowGtpv1
	// HasPnFlag checks if PnFlag has been set in FlowGtpv1
	HasPnFlag() bool
	// MessageType returns PatternFlowGtpv1MessageType, set in FlowGtpv1.
	// PatternFlowGtpv1MessageType is the type of GTP message Different types of messages are defined in 3GPP TS 29.060 section 7.1
	MessageType() PatternFlowGtpv1MessageType
	// SetMessageType assigns PatternFlowGtpv1MessageType provided by user to FlowGtpv1.
	// PatternFlowGtpv1MessageType is the type of GTP message Different types of messages are defined in 3GPP TS 29.060 section 7.1
	SetMessageType(value PatternFlowGtpv1MessageType) FlowGtpv1
	// HasMessageType checks if MessageType has been set in FlowGtpv1
	HasMessageType() bool
	// MessageLength returns PatternFlowGtpv1MessageLength, set in FlowGtpv1.
	// PatternFlowGtpv1MessageLength is the length of the payload (the bytes following the mandatory 8-byte GTP header) in bytes that includes any optional fields
	MessageLength() PatternFlowGtpv1MessageLength
	// SetMessageLength assigns PatternFlowGtpv1MessageLength provided by user to FlowGtpv1.
	// PatternFlowGtpv1MessageLength is the length of the payload (the bytes following the mandatory 8-byte GTP header) in bytes that includes any optional fields
	SetMessageLength(value PatternFlowGtpv1MessageLength) FlowGtpv1
	// HasMessageLength checks if MessageLength has been set in FlowGtpv1
	HasMessageLength() bool
	// Teid returns PatternFlowGtpv1Teid, set in FlowGtpv1.
	// PatternFlowGtpv1Teid is tunnel endpoint identifier (TEID) used to multiplex connections in the same GTP tunnel
	Teid() PatternFlowGtpv1Teid
	// SetTeid assigns PatternFlowGtpv1Teid provided by user to FlowGtpv1.
	// PatternFlowGtpv1Teid is tunnel endpoint identifier (TEID) used to multiplex connections in the same GTP tunnel
	SetTeid(value PatternFlowGtpv1Teid) FlowGtpv1
	// HasTeid checks if Teid has been set in FlowGtpv1
	HasTeid() bool
	// SquenceNumber returns PatternFlowGtpv1SquenceNumber, set in FlowGtpv1.
	// PatternFlowGtpv1SquenceNumber is sequence number. Exists if any of the e_flag, s_flag, or pn_flag bits are on.  Must be interpreted only if the s_flag bit is on.
	SquenceNumber() PatternFlowGtpv1SquenceNumber
	// SetSquenceNumber assigns PatternFlowGtpv1SquenceNumber provided by user to FlowGtpv1.
	// PatternFlowGtpv1SquenceNumber is sequence number. Exists if any of the e_flag, s_flag, or pn_flag bits are on.  Must be interpreted only if the s_flag bit is on.
	SetSquenceNumber(value PatternFlowGtpv1SquenceNumber) FlowGtpv1
	// HasSquenceNumber checks if SquenceNumber has been set in FlowGtpv1
	HasSquenceNumber() bool
	// NPduNumber returns PatternFlowGtpv1NPduNumber, set in FlowGtpv1.
	// PatternFlowGtpv1NPduNumber is n-PDU number. Exists if any of the e_flag, s_flag, or pn_flag bits are on.  Must be interpreted only if the pn_flag bit is on.
	NPduNumber() PatternFlowGtpv1NPduNumber
	// SetNPduNumber assigns PatternFlowGtpv1NPduNumber provided by user to FlowGtpv1.
	// PatternFlowGtpv1NPduNumber is n-PDU number. Exists if any of the e_flag, s_flag, or pn_flag bits are on.  Must be interpreted only if the pn_flag bit is on.
	SetNPduNumber(value PatternFlowGtpv1NPduNumber) FlowGtpv1
	// HasNPduNumber checks if NPduNumber has been set in FlowGtpv1
	HasNPduNumber() bool
	// NextExtensionHeaderType returns PatternFlowGtpv1NextExtensionHeaderType, set in FlowGtpv1.
	// PatternFlowGtpv1NextExtensionHeaderType is next extension header. Exists if any of the e_flag, s_flag, or pn_flag bits are on.  Must be interpreted only if the e_flag bit is on.
	NextExtensionHeaderType() PatternFlowGtpv1NextExtensionHeaderType
	// SetNextExtensionHeaderType assigns PatternFlowGtpv1NextExtensionHeaderType provided by user to FlowGtpv1.
	// PatternFlowGtpv1NextExtensionHeaderType is next extension header. Exists if any of the e_flag, s_flag, or pn_flag bits are on.  Must be interpreted only if the e_flag bit is on.
	SetNextExtensionHeaderType(value PatternFlowGtpv1NextExtensionHeaderType) FlowGtpv1
	// HasNextExtensionHeaderType checks if NextExtensionHeaderType has been set in FlowGtpv1
	HasNextExtensionHeaderType() bool
	// ExtensionHeaders returns FlowGtpv1FlowGtpExtensionIterIter, set in FlowGtpv1
	ExtensionHeaders() FlowGtpv1FlowGtpExtensionIter
	// contains filtered or unexported methods
}

FlowGtpv1 is gTPv1 packet header

func NewFlowGtpv1 added in v0.6.5

func NewFlowGtpv1() FlowGtpv1

type FlowGtpv1FlowGtpExtensionIter

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

type FlowGtpv2

type FlowGtpv2 interface {
	Validation
	// Msg marshals FlowGtpv2 to protobuf object *otg.FlowGtpv2
	// and doesn't set defaults
	Msg() *otg.FlowGtpv2
	// SetMsg unmarshals FlowGtpv2 from protobuf object *otg.FlowGtpv2
	// and doesn't set defaults
	SetMsg(*otg.FlowGtpv2) FlowGtpv2
	// ToProto marshals FlowGtpv2 to protobuf object *otg.FlowGtpv2
	ToProto() (*otg.FlowGtpv2, error)
	// ToPbText marshals FlowGtpv2 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowGtpv2 to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowGtpv2 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowGtpv2 from protobuf object *otg.FlowGtpv2
	FromProto(msg *otg.FlowGtpv2) (FlowGtpv2, error)
	// FromPbText unmarshals FlowGtpv2 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowGtpv2 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowGtpv2 from JSON text
	FromJson(value string) error
	// Validate validates FlowGtpv2
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowGtpv2, error)

	// Version returns PatternFlowGtpv2Version, set in FlowGtpv2.
	// PatternFlowGtpv2Version is version number
	Version() PatternFlowGtpv2Version
	// SetVersion assigns PatternFlowGtpv2Version provided by user to FlowGtpv2.
	// PatternFlowGtpv2Version is version number
	SetVersion(value PatternFlowGtpv2Version) FlowGtpv2
	// HasVersion checks if Version has been set in FlowGtpv2
	HasVersion() bool
	// PiggybackingFlag returns PatternFlowGtpv2PiggybackingFlag, set in FlowGtpv2.
	// PatternFlowGtpv2PiggybackingFlag is if piggybacking_flag is set to 1 then another GTP-C message with its own header shall be present at the end of the current message
	PiggybackingFlag() PatternFlowGtpv2PiggybackingFlag
	// SetPiggybackingFlag assigns PatternFlowGtpv2PiggybackingFlag provided by user to FlowGtpv2.
	// PatternFlowGtpv2PiggybackingFlag is if piggybacking_flag is set to 1 then another GTP-C message with its own header shall be present at the end of the current message
	SetPiggybackingFlag(value PatternFlowGtpv2PiggybackingFlag) FlowGtpv2
	// HasPiggybackingFlag checks if PiggybackingFlag has been set in FlowGtpv2
	HasPiggybackingFlag() bool
	// TeidFlag returns PatternFlowGtpv2TeidFlag, set in FlowGtpv2.
	// PatternFlowGtpv2TeidFlag is if teid_flag is set to 1 then the TEID field will be present  between the message length and the sequence number. All messages except Echo and Echo reply require TEID to be present
	TeidFlag() PatternFlowGtpv2TeidFlag
	// SetTeidFlag assigns PatternFlowGtpv2TeidFlag provided by user to FlowGtpv2.
	// PatternFlowGtpv2TeidFlag is if teid_flag is set to 1 then the TEID field will be present  between the message length and the sequence number. All messages except Echo and Echo reply require TEID to be present
	SetTeidFlag(value PatternFlowGtpv2TeidFlag) FlowGtpv2
	// HasTeidFlag checks if TeidFlag has been set in FlowGtpv2
	HasTeidFlag() bool
	// Spare1 returns PatternFlowGtpv2Spare1, set in FlowGtpv2.
	// PatternFlowGtpv2Spare1 is a 3-bit reserved field (must be 0).
	Spare1() PatternFlowGtpv2Spare1
	// SetSpare1 assigns PatternFlowGtpv2Spare1 provided by user to FlowGtpv2.
	// PatternFlowGtpv2Spare1 is a 3-bit reserved field (must be 0).
	SetSpare1(value PatternFlowGtpv2Spare1) FlowGtpv2
	// HasSpare1 checks if Spare1 has been set in FlowGtpv2
	HasSpare1() bool
	// MessageType returns PatternFlowGtpv2MessageType, set in FlowGtpv2.
	// PatternFlowGtpv2MessageType is an 8-bit field that indicates the type of GTP message. Different types of messages are defined in 3GPP TS 29.060 section 7.1
	MessageType() PatternFlowGtpv2MessageType
	// SetMessageType assigns PatternFlowGtpv2MessageType provided by user to FlowGtpv2.
	// PatternFlowGtpv2MessageType is an 8-bit field that indicates the type of GTP message. Different types of messages are defined in 3GPP TS 29.060 section 7.1
	SetMessageType(value PatternFlowGtpv2MessageType) FlowGtpv2
	// HasMessageType checks if MessageType has been set in FlowGtpv2
	HasMessageType() bool
	// MessageLength returns PatternFlowGtpv2MessageLength, set in FlowGtpv2.
	// PatternFlowGtpv2MessageLength is a 16-bit field that indicates the length of the payload in bytes, excluding the mandatory GTP-c header (first 4 bytes). Includes the TEID and sequence_number if they are present.
	MessageLength() PatternFlowGtpv2MessageLength
	// SetMessageLength assigns PatternFlowGtpv2MessageLength provided by user to FlowGtpv2.
	// PatternFlowGtpv2MessageLength is a 16-bit field that indicates the length of the payload in bytes, excluding the mandatory GTP-c header (first 4 bytes). Includes the TEID and sequence_number if they are present.
	SetMessageLength(value PatternFlowGtpv2MessageLength) FlowGtpv2
	// HasMessageLength checks if MessageLength has been set in FlowGtpv2
	HasMessageLength() bool
	// Teid returns PatternFlowGtpv2Teid, set in FlowGtpv2.
	// PatternFlowGtpv2Teid is tunnel endpoint identifier. A 32-bit (4-octet) field used to multiplex different connections in the same GTP tunnel. Is present only if the teid_flag is set.
	Teid() PatternFlowGtpv2Teid
	// SetTeid assigns PatternFlowGtpv2Teid provided by user to FlowGtpv2.
	// PatternFlowGtpv2Teid is tunnel endpoint identifier. A 32-bit (4-octet) field used to multiplex different connections in the same GTP tunnel. Is present only if the teid_flag is set.
	SetTeid(value PatternFlowGtpv2Teid) FlowGtpv2
	// HasTeid checks if Teid has been set in FlowGtpv2
	HasTeid() bool
	// SequenceNumber returns PatternFlowGtpv2SequenceNumber, set in FlowGtpv2.
	// PatternFlowGtpv2SequenceNumber is the sequence number
	SequenceNumber() PatternFlowGtpv2SequenceNumber
	// SetSequenceNumber assigns PatternFlowGtpv2SequenceNumber provided by user to FlowGtpv2.
	// PatternFlowGtpv2SequenceNumber is the sequence number
	SetSequenceNumber(value PatternFlowGtpv2SequenceNumber) FlowGtpv2
	// HasSequenceNumber checks if SequenceNumber has been set in FlowGtpv2
	HasSequenceNumber() bool
	// Spare2 returns PatternFlowGtpv2Spare2, set in FlowGtpv2.
	// PatternFlowGtpv2Spare2 is reserved field
	Spare2() PatternFlowGtpv2Spare2
	// SetSpare2 assigns PatternFlowGtpv2Spare2 provided by user to FlowGtpv2.
	// PatternFlowGtpv2Spare2 is reserved field
	SetSpare2(value PatternFlowGtpv2Spare2) FlowGtpv2
	// HasSpare2 checks if Spare2 has been set in FlowGtpv2
	HasSpare2() bool
	// contains filtered or unexported methods
}

FlowGtpv2 is gTPv2 packet header

func NewFlowGtpv2 added in v0.6.5

func NewFlowGtpv2() FlowGtpv2

type FlowHeader

type FlowHeader interface {
	Validation
	// Msg marshals FlowHeader to protobuf object *otg.FlowHeader
	// and doesn't set defaults
	Msg() *otg.FlowHeader
	// SetMsg unmarshals FlowHeader from protobuf object *otg.FlowHeader
	// and doesn't set defaults
	SetMsg(*otg.FlowHeader) FlowHeader
	// ToProto marshals FlowHeader to protobuf object *otg.FlowHeader
	ToProto() (*otg.FlowHeader, error)
	// ToPbText marshals FlowHeader to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowHeader to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowHeader to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowHeader from protobuf object *otg.FlowHeader
	FromProto(msg *otg.FlowHeader) (FlowHeader, error)
	// FromPbText unmarshals FlowHeader from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowHeader from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowHeader from JSON text
	FromJson(value string) error
	// Validate validates FlowHeader
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowHeader, error)

	// Choice returns FlowHeaderChoiceEnum, set in FlowHeader
	Choice() FlowHeaderChoiceEnum
	// SetChoice assigns FlowHeaderChoiceEnum provided by user to FlowHeader
	SetChoice(value FlowHeaderChoiceEnum) FlowHeader
	// HasChoice checks if Choice has been set in FlowHeader
	HasChoice() bool
	// Custom returns FlowCustom, set in FlowHeader.
	// FlowCustom is custom packet header
	Custom() FlowCustom
	// SetCustom assigns FlowCustom provided by user to FlowHeader.
	// FlowCustom is custom packet header
	SetCustom(value FlowCustom) FlowHeader
	// HasCustom checks if Custom has been set in FlowHeader
	HasCustom() bool
	// Ethernet returns FlowEthernet, set in FlowHeader.
	// FlowEthernet is ethernet packet header
	Ethernet() FlowEthernet
	// SetEthernet assigns FlowEthernet provided by user to FlowHeader.
	// FlowEthernet is ethernet packet header
	SetEthernet(value FlowEthernet) FlowHeader
	// HasEthernet checks if Ethernet has been set in FlowHeader
	HasEthernet() bool
	// Vlan returns FlowVlan, set in FlowHeader.
	// FlowVlan is vLAN packet header
	Vlan() FlowVlan
	// SetVlan assigns FlowVlan provided by user to FlowHeader.
	// FlowVlan is vLAN packet header
	SetVlan(value FlowVlan) FlowHeader
	// HasVlan checks if Vlan has been set in FlowHeader
	HasVlan() bool
	// Vxlan returns FlowVxlan, set in FlowHeader.
	// FlowVxlan is vXLAN packet header
	Vxlan() FlowVxlan
	// SetVxlan assigns FlowVxlan provided by user to FlowHeader.
	// FlowVxlan is vXLAN packet header
	SetVxlan(value FlowVxlan) FlowHeader
	// HasVxlan checks if Vxlan has been set in FlowHeader
	HasVxlan() bool
	// Ipv4 returns FlowIpv4, set in FlowHeader.
	// FlowIpv4 is iPv4 packet header
	Ipv4() FlowIpv4
	// SetIpv4 assigns FlowIpv4 provided by user to FlowHeader.
	// FlowIpv4 is iPv4 packet header
	SetIpv4(value FlowIpv4) FlowHeader
	// HasIpv4 checks if Ipv4 has been set in FlowHeader
	HasIpv4() bool
	// Ipv6 returns FlowIpv6, set in FlowHeader.
	// FlowIpv6 is iPv6 packet header
	Ipv6() FlowIpv6
	// SetIpv6 assigns FlowIpv6 provided by user to FlowHeader.
	// FlowIpv6 is iPv6 packet header
	SetIpv6(value FlowIpv6) FlowHeader
	// HasIpv6 checks if Ipv6 has been set in FlowHeader
	HasIpv6() bool
	// Pfcpause returns FlowPfcPause, set in FlowHeader.
	// FlowPfcPause is iEEE 802.1Qbb PFC Pause packet header.
	Pfcpause() FlowPfcPause
	// SetPfcpause assigns FlowPfcPause provided by user to FlowHeader.
	// FlowPfcPause is iEEE 802.1Qbb PFC Pause packet header.
	SetPfcpause(value FlowPfcPause) FlowHeader
	// HasPfcpause checks if Pfcpause has been set in FlowHeader
	HasPfcpause() bool
	// Ethernetpause returns FlowEthernetPause, set in FlowHeader.
	// FlowEthernetPause is iEEE 802.3x global ethernet pause packet header
	Ethernetpause() FlowEthernetPause
	// SetEthernetpause assigns FlowEthernetPause provided by user to FlowHeader.
	// FlowEthernetPause is iEEE 802.3x global ethernet pause packet header
	SetEthernetpause(value FlowEthernetPause) FlowHeader
	// HasEthernetpause checks if Ethernetpause has been set in FlowHeader
	HasEthernetpause() bool
	// Tcp returns FlowTcp, set in FlowHeader.
	// FlowTcp is tCP packet header
	Tcp() FlowTcp
	// SetTcp assigns FlowTcp provided by user to FlowHeader.
	// FlowTcp is tCP packet header
	SetTcp(value FlowTcp) FlowHeader
	// HasTcp checks if Tcp has been set in FlowHeader
	HasTcp() bool
	// Udp returns FlowUdp, set in FlowHeader.
	// FlowUdp is uDP packet header
	Udp() FlowUdp
	// SetUdp assigns FlowUdp provided by user to FlowHeader.
	// FlowUdp is uDP packet header
	SetUdp(value FlowUdp) FlowHeader
	// HasUdp checks if Udp has been set in FlowHeader
	HasUdp() bool
	// Gre returns FlowGre, set in FlowHeader.
	// FlowGre is standard GRE packet header (RFC2784)
	Gre() FlowGre
	// SetGre assigns FlowGre provided by user to FlowHeader.
	// FlowGre is standard GRE packet header (RFC2784)
	SetGre(value FlowGre) FlowHeader
	// HasGre checks if Gre has been set in FlowHeader
	HasGre() bool
	// Gtpv1 returns FlowGtpv1, set in FlowHeader.
	// FlowGtpv1 is gTPv1 packet header
	Gtpv1() FlowGtpv1
	// SetGtpv1 assigns FlowGtpv1 provided by user to FlowHeader.
	// FlowGtpv1 is gTPv1 packet header
	SetGtpv1(value FlowGtpv1) FlowHeader
	// HasGtpv1 checks if Gtpv1 has been set in FlowHeader
	HasGtpv1() bool
	// Gtpv2 returns FlowGtpv2, set in FlowHeader.
	// FlowGtpv2 is gTPv2 packet header
	Gtpv2() FlowGtpv2
	// SetGtpv2 assigns FlowGtpv2 provided by user to FlowHeader.
	// FlowGtpv2 is gTPv2 packet header
	SetGtpv2(value FlowGtpv2) FlowHeader
	// HasGtpv2 checks if Gtpv2 has been set in FlowHeader
	HasGtpv2() bool
	// Arp returns FlowArp, set in FlowHeader.
	// FlowArp is aRP packet header
	Arp() FlowArp
	// SetArp assigns FlowArp provided by user to FlowHeader.
	// FlowArp is aRP packet header
	SetArp(value FlowArp) FlowHeader
	// HasArp checks if Arp has been set in FlowHeader
	HasArp() bool
	// Icmp returns FlowIcmp, set in FlowHeader.
	// FlowIcmp is iCMP packet header
	Icmp() FlowIcmp
	// SetIcmp assigns FlowIcmp provided by user to FlowHeader.
	// FlowIcmp is iCMP packet header
	SetIcmp(value FlowIcmp) FlowHeader
	// HasIcmp checks if Icmp has been set in FlowHeader
	HasIcmp() bool
	// Icmpv6 returns FlowIcmpv6, set in FlowHeader.
	// FlowIcmpv6 is iCMPv6 packet header
	Icmpv6() FlowIcmpv6
	// SetIcmpv6 assigns FlowIcmpv6 provided by user to FlowHeader.
	// FlowIcmpv6 is iCMPv6 packet header
	SetIcmpv6(value FlowIcmpv6) FlowHeader
	// HasIcmpv6 checks if Icmpv6 has been set in FlowHeader
	HasIcmpv6() bool
	// Ppp returns FlowPpp, set in FlowHeader.
	// FlowPpp is pPP packet header
	Ppp() FlowPpp
	// SetPpp assigns FlowPpp provided by user to FlowHeader.
	// FlowPpp is pPP packet header
	SetPpp(value FlowPpp) FlowHeader
	// HasPpp checks if Ppp has been set in FlowHeader
	HasPpp() bool
	// Igmpv1 returns FlowIgmpv1, set in FlowHeader.
	// FlowIgmpv1 is iGMPv1 packet header
	Igmpv1() FlowIgmpv1
	// SetIgmpv1 assigns FlowIgmpv1 provided by user to FlowHeader.
	// FlowIgmpv1 is iGMPv1 packet header
	SetIgmpv1(value FlowIgmpv1) FlowHeader
	// HasIgmpv1 checks if Igmpv1 has been set in FlowHeader
	HasIgmpv1() bool
	// Mpls returns FlowMpls, set in FlowHeader.
	// FlowMpls is mPLS packet header; When configuring multiple such headers, the count shall not exceed 20.
	Mpls() FlowMpls
	// SetMpls assigns FlowMpls provided by user to FlowHeader.
	// FlowMpls is mPLS packet header; When configuring multiple such headers, the count shall not exceed 20.
	SetMpls(value FlowMpls) FlowHeader
	// HasMpls checks if Mpls has been set in FlowHeader
	HasMpls() bool
	// contains filtered or unexported methods
}

FlowHeader is configuration for all traffic packet headers

func NewFlowHeader added in v0.6.5

func NewFlowHeader() FlowHeader

type FlowHeaderChoiceEnum

type FlowHeaderChoiceEnum string

type FlowIcmp

type FlowIcmp interface {
	Validation
	// Msg marshals FlowIcmp to protobuf object *otg.FlowIcmp
	// and doesn't set defaults
	Msg() *otg.FlowIcmp
	// SetMsg unmarshals FlowIcmp from protobuf object *otg.FlowIcmp
	// and doesn't set defaults
	SetMsg(*otg.FlowIcmp) FlowIcmp
	// ToProto marshals FlowIcmp to protobuf object *otg.FlowIcmp
	ToProto() (*otg.FlowIcmp, error)
	// ToPbText marshals FlowIcmp to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowIcmp to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowIcmp to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowIcmp from protobuf object *otg.FlowIcmp
	FromProto(msg *otg.FlowIcmp) (FlowIcmp, error)
	// FromPbText unmarshals FlowIcmp from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowIcmp from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowIcmp from JSON text
	FromJson(value string) error
	// Validate validates FlowIcmp
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowIcmp, error)

	// Choice returns FlowIcmpChoiceEnum, set in FlowIcmp
	Choice() FlowIcmpChoiceEnum
	// SetChoice assigns FlowIcmpChoiceEnum provided by user to FlowIcmp
	SetChoice(value FlowIcmpChoiceEnum) FlowIcmp
	// HasChoice checks if Choice has been set in FlowIcmp
	HasChoice() bool
	// Echo returns FlowIcmpEcho, set in FlowIcmp.
	// FlowIcmpEcho is packet Header for ICMP echo request
	Echo() FlowIcmpEcho
	// SetEcho assigns FlowIcmpEcho provided by user to FlowIcmp.
	// FlowIcmpEcho is packet Header for ICMP echo request
	SetEcho(value FlowIcmpEcho) FlowIcmp
	// HasEcho checks if Echo has been set in FlowIcmp
	HasEcho() bool
	// contains filtered or unexported methods
}

FlowIcmp is iCMP packet header

func NewFlowIcmp added in v0.6.5

func NewFlowIcmp() FlowIcmp

type FlowIcmpChoiceEnum

type FlowIcmpChoiceEnum string

type FlowIcmpEcho

type FlowIcmpEcho interface {
	Validation
	// Msg marshals FlowIcmpEcho to protobuf object *otg.FlowIcmpEcho
	// and doesn't set defaults
	Msg() *otg.FlowIcmpEcho
	// SetMsg unmarshals FlowIcmpEcho from protobuf object *otg.FlowIcmpEcho
	// and doesn't set defaults
	SetMsg(*otg.FlowIcmpEcho) FlowIcmpEcho
	// ToProto marshals FlowIcmpEcho to protobuf object *otg.FlowIcmpEcho
	ToProto() (*otg.FlowIcmpEcho, error)
	// ToPbText marshals FlowIcmpEcho to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowIcmpEcho to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowIcmpEcho to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowIcmpEcho from protobuf object *otg.FlowIcmpEcho
	FromProto(msg *otg.FlowIcmpEcho) (FlowIcmpEcho, error)
	// FromPbText unmarshals FlowIcmpEcho from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowIcmpEcho from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowIcmpEcho from JSON text
	FromJson(value string) error
	// Validate validates FlowIcmpEcho
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowIcmpEcho, error)

	// Type returns PatternFlowIcmpEchoType, set in FlowIcmpEcho.
	// PatternFlowIcmpEchoType is the type of ICMP echo packet
	Type() PatternFlowIcmpEchoType
	// SetType assigns PatternFlowIcmpEchoType provided by user to FlowIcmpEcho.
	// PatternFlowIcmpEchoType is the type of ICMP echo packet
	SetType(value PatternFlowIcmpEchoType) FlowIcmpEcho
	// HasType checks if Type has been set in FlowIcmpEcho
	HasType() bool
	// Code returns PatternFlowIcmpEchoCode, set in FlowIcmpEcho.
	// PatternFlowIcmpEchoCode is the ICMP subtype.  The default code for ICMP echo request and reply is 0.
	Code() PatternFlowIcmpEchoCode
	// SetCode assigns PatternFlowIcmpEchoCode provided by user to FlowIcmpEcho.
	// PatternFlowIcmpEchoCode is the ICMP subtype.  The default code for ICMP echo request and reply is 0.
	SetCode(value PatternFlowIcmpEchoCode) FlowIcmpEcho
	// HasCode checks if Code has been set in FlowIcmpEcho
	HasCode() bool
	// Checksum returns PatternFlowIcmpEchoChecksum, set in FlowIcmpEcho.
	// PatternFlowIcmpEchoChecksum is iCMP checksum
	Checksum() PatternFlowIcmpEchoChecksum
	// SetChecksum assigns PatternFlowIcmpEchoChecksum provided by user to FlowIcmpEcho.
	// PatternFlowIcmpEchoChecksum is iCMP checksum
	SetChecksum(value PatternFlowIcmpEchoChecksum) FlowIcmpEcho
	// HasChecksum checks if Checksum has been set in FlowIcmpEcho
	HasChecksum() bool
	// Identifier returns PatternFlowIcmpEchoIdentifier, set in FlowIcmpEcho.
	// PatternFlowIcmpEchoIdentifier is iCMP identifier
	Identifier() PatternFlowIcmpEchoIdentifier
	// SetIdentifier assigns PatternFlowIcmpEchoIdentifier provided by user to FlowIcmpEcho.
	// PatternFlowIcmpEchoIdentifier is iCMP identifier
	SetIdentifier(value PatternFlowIcmpEchoIdentifier) FlowIcmpEcho
	// HasIdentifier checks if Identifier has been set in FlowIcmpEcho
	HasIdentifier() bool
	// SequenceNumber returns PatternFlowIcmpEchoSequenceNumber, set in FlowIcmpEcho.
	// PatternFlowIcmpEchoSequenceNumber is iCMP sequence number
	SequenceNumber() PatternFlowIcmpEchoSequenceNumber
	// SetSequenceNumber assigns PatternFlowIcmpEchoSequenceNumber provided by user to FlowIcmpEcho.
	// PatternFlowIcmpEchoSequenceNumber is iCMP sequence number
	SetSequenceNumber(value PatternFlowIcmpEchoSequenceNumber) FlowIcmpEcho
	// HasSequenceNumber checks if SequenceNumber has been set in FlowIcmpEcho
	HasSequenceNumber() bool
	// contains filtered or unexported methods
}

FlowIcmpEcho is packet Header for ICMP echo request

func NewFlowIcmpEcho added in v0.6.5

func NewFlowIcmpEcho() FlowIcmpEcho

type FlowIcmpv6

type FlowIcmpv6 interface {
	Validation
	// Msg marshals FlowIcmpv6 to protobuf object *otg.FlowIcmpv6
	// and doesn't set defaults
	Msg() *otg.FlowIcmpv6
	// SetMsg unmarshals FlowIcmpv6 from protobuf object *otg.FlowIcmpv6
	// and doesn't set defaults
	SetMsg(*otg.FlowIcmpv6) FlowIcmpv6
	// ToProto marshals FlowIcmpv6 to protobuf object *otg.FlowIcmpv6
	ToProto() (*otg.FlowIcmpv6, error)
	// ToPbText marshals FlowIcmpv6 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowIcmpv6 to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowIcmpv6 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowIcmpv6 from protobuf object *otg.FlowIcmpv6
	FromProto(msg *otg.FlowIcmpv6) (FlowIcmpv6, error)
	// FromPbText unmarshals FlowIcmpv6 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowIcmpv6 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowIcmpv6 from JSON text
	FromJson(value string) error
	// Validate validates FlowIcmpv6
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowIcmpv6, error)

	// Choice returns FlowIcmpv6ChoiceEnum, set in FlowIcmpv6
	Choice() FlowIcmpv6ChoiceEnum
	// SetChoice assigns FlowIcmpv6ChoiceEnum provided by user to FlowIcmpv6
	SetChoice(value FlowIcmpv6ChoiceEnum) FlowIcmpv6
	// HasChoice checks if Choice has been set in FlowIcmpv6
	HasChoice() bool
	// Echo returns FlowIcmpv6Echo, set in FlowIcmpv6.
	// FlowIcmpv6Echo is packet Header for ICMPv6 Echo
	Echo() FlowIcmpv6Echo
	// SetEcho assigns FlowIcmpv6Echo provided by user to FlowIcmpv6.
	// FlowIcmpv6Echo is packet Header for ICMPv6 Echo
	SetEcho(value FlowIcmpv6Echo) FlowIcmpv6
	// HasEcho checks if Echo has been set in FlowIcmpv6
	HasEcho() bool
	// contains filtered or unexported methods
}

FlowIcmpv6 is iCMPv6 packet header

func NewFlowIcmpv6 added in v0.6.5

func NewFlowIcmpv6() FlowIcmpv6

type FlowIcmpv6ChoiceEnum

type FlowIcmpv6ChoiceEnum string

type FlowIcmpv6Echo

type FlowIcmpv6Echo interface {
	Validation
	// Msg marshals FlowIcmpv6Echo to protobuf object *otg.FlowIcmpv6Echo
	// and doesn't set defaults
	Msg() *otg.FlowIcmpv6Echo
	// SetMsg unmarshals FlowIcmpv6Echo from protobuf object *otg.FlowIcmpv6Echo
	// and doesn't set defaults
	SetMsg(*otg.FlowIcmpv6Echo) FlowIcmpv6Echo
	// ToProto marshals FlowIcmpv6Echo to protobuf object *otg.FlowIcmpv6Echo
	ToProto() (*otg.FlowIcmpv6Echo, error)
	// ToPbText marshals FlowIcmpv6Echo to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowIcmpv6Echo to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowIcmpv6Echo to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowIcmpv6Echo from protobuf object *otg.FlowIcmpv6Echo
	FromProto(msg *otg.FlowIcmpv6Echo) (FlowIcmpv6Echo, error)
	// FromPbText unmarshals FlowIcmpv6Echo from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowIcmpv6Echo from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowIcmpv6Echo from JSON text
	FromJson(value string) error
	// Validate validates FlowIcmpv6Echo
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowIcmpv6Echo, error)

	// Type returns PatternFlowIcmpv6EchoType, set in FlowIcmpv6Echo.
	// PatternFlowIcmpv6EchoType is iCMPv6 echo type
	Type() PatternFlowIcmpv6EchoType
	// SetType assigns PatternFlowIcmpv6EchoType provided by user to FlowIcmpv6Echo.
	// PatternFlowIcmpv6EchoType is iCMPv6 echo type
	SetType(value PatternFlowIcmpv6EchoType) FlowIcmpv6Echo
	// HasType checks if Type has been set in FlowIcmpv6Echo
	HasType() bool
	// Code returns PatternFlowIcmpv6EchoCode, set in FlowIcmpv6Echo.
	// PatternFlowIcmpv6EchoCode is iCMPv6 echo sub type
	Code() PatternFlowIcmpv6EchoCode
	// SetCode assigns PatternFlowIcmpv6EchoCode provided by user to FlowIcmpv6Echo.
	// PatternFlowIcmpv6EchoCode is iCMPv6 echo sub type
	SetCode(value PatternFlowIcmpv6EchoCode) FlowIcmpv6Echo
	// HasCode checks if Code has been set in FlowIcmpv6Echo
	HasCode() bool
	// Identifier returns PatternFlowIcmpv6EchoIdentifier, set in FlowIcmpv6Echo.
	// PatternFlowIcmpv6EchoIdentifier is iCMPv6 echo identifier
	Identifier() PatternFlowIcmpv6EchoIdentifier
	// SetIdentifier assigns PatternFlowIcmpv6EchoIdentifier provided by user to FlowIcmpv6Echo.
	// PatternFlowIcmpv6EchoIdentifier is iCMPv6 echo identifier
	SetIdentifier(value PatternFlowIcmpv6EchoIdentifier) FlowIcmpv6Echo
	// HasIdentifier checks if Identifier has been set in FlowIcmpv6Echo
	HasIdentifier() bool
	// SequenceNumber returns PatternFlowIcmpv6EchoSequenceNumber, set in FlowIcmpv6Echo.
	// PatternFlowIcmpv6EchoSequenceNumber is iCMPv6 echo sequence number
	SequenceNumber() PatternFlowIcmpv6EchoSequenceNumber
	// SetSequenceNumber assigns PatternFlowIcmpv6EchoSequenceNumber provided by user to FlowIcmpv6Echo.
	// PatternFlowIcmpv6EchoSequenceNumber is iCMPv6 echo sequence number
	SetSequenceNumber(value PatternFlowIcmpv6EchoSequenceNumber) FlowIcmpv6Echo
	// HasSequenceNumber checks if SequenceNumber has been set in FlowIcmpv6Echo
	HasSequenceNumber() bool
	// Checksum returns PatternFlowIcmpv6EchoChecksum, set in FlowIcmpv6Echo.
	// PatternFlowIcmpv6EchoChecksum is iCMPv6 checksum
	Checksum() PatternFlowIcmpv6EchoChecksum
	// SetChecksum assigns PatternFlowIcmpv6EchoChecksum provided by user to FlowIcmpv6Echo.
	// PatternFlowIcmpv6EchoChecksum is iCMPv6 checksum
	SetChecksum(value PatternFlowIcmpv6EchoChecksum) FlowIcmpv6Echo
	// HasChecksum checks if Checksum has been set in FlowIcmpv6Echo
	HasChecksum() bool
	// contains filtered or unexported methods
}

FlowIcmpv6Echo is packet Header for ICMPv6 Echo

func NewFlowIcmpv6Echo added in v0.6.5

func NewFlowIcmpv6Echo() FlowIcmpv6Echo

type FlowIgmpv1

type FlowIgmpv1 interface {
	Validation
	// Msg marshals FlowIgmpv1 to protobuf object *otg.FlowIgmpv1
	// and doesn't set defaults
	Msg() *otg.FlowIgmpv1
	// SetMsg unmarshals FlowIgmpv1 from protobuf object *otg.FlowIgmpv1
	// and doesn't set defaults
	SetMsg(*otg.FlowIgmpv1) FlowIgmpv1
	// ToProto marshals FlowIgmpv1 to protobuf object *otg.FlowIgmpv1
	ToProto() (*otg.FlowIgmpv1, error)
	// ToPbText marshals FlowIgmpv1 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowIgmpv1 to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowIgmpv1 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowIgmpv1 from protobuf object *otg.FlowIgmpv1
	FromProto(msg *otg.FlowIgmpv1) (FlowIgmpv1, error)
	// FromPbText unmarshals FlowIgmpv1 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowIgmpv1 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowIgmpv1 from JSON text
	FromJson(value string) error
	// Validate validates FlowIgmpv1
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowIgmpv1, error)

	// Version returns PatternFlowIgmpv1Version, set in FlowIgmpv1.
	// PatternFlowIgmpv1Version is version number
	Version() PatternFlowIgmpv1Version
	// SetVersion assigns PatternFlowIgmpv1Version provided by user to FlowIgmpv1.
	// PatternFlowIgmpv1Version is version number
	SetVersion(value PatternFlowIgmpv1Version) FlowIgmpv1
	// HasVersion checks if Version has been set in FlowIgmpv1
	HasVersion() bool
	// Type returns PatternFlowIgmpv1Type, set in FlowIgmpv1.
	// PatternFlowIgmpv1Type is type of message
	Type() PatternFlowIgmpv1Type
	// SetType assigns PatternFlowIgmpv1Type provided by user to FlowIgmpv1.
	// PatternFlowIgmpv1Type is type of message
	SetType(value PatternFlowIgmpv1Type) FlowIgmpv1
	// HasType checks if Type has been set in FlowIgmpv1
	HasType() bool
	// Unused returns PatternFlowIgmpv1Unused, set in FlowIgmpv1.
	// PatternFlowIgmpv1Unused is unused
	Unused() PatternFlowIgmpv1Unused
	// SetUnused assigns PatternFlowIgmpv1Unused provided by user to FlowIgmpv1.
	// PatternFlowIgmpv1Unused is unused
	SetUnused(value PatternFlowIgmpv1Unused) FlowIgmpv1
	// HasUnused checks if Unused has been set in FlowIgmpv1
	HasUnused() bool
	// Checksum returns PatternFlowIgmpv1Checksum, set in FlowIgmpv1.
	// PatternFlowIgmpv1Checksum is checksum
	Checksum() PatternFlowIgmpv1Checksum
	// SetChecksum assigns PatternFlowIgmpv1Checksum provided by user to FlowIgmpv1.
	// PatternFlowIgmpv1Checksum is checksum
	SetChecksum(value PatternFlowIgmpv1Checksum) FlowIgmpv1
	// HasChecksum checks if Checksum has been set in FlowIgmpv1
	HasChecksum() bool
	// GroupAddress returns PatternFlowIgmpv1GroupAddress, set in FlowIgmpv1.
	// PatternFlowIgmpv1GroupAddress is group address
	GroupAddress() PatternFlowIgmpv1GroupAddress
	// SetGroupAddress assigns PatternFlowIgmpv1GroupAddress provided by user to FlowIgmpv1.
	// PatternFlowIgmpv1GroupAddress is group address
	SetGroupAddress(value PatternFlowIgmpv1GroupAddress) FlowIgmpv1
	// HasGroupAddress checks if GroupAddress has been set in FlowIgmpv1
	HasGroupAddress() bool
	// contains filtered or unexported methods
}

FlowIgmpv1 is iGMPv1 packet header

func NewFlowIgmpv1 added in v0.6.5

func NewFlowIgmpv1() FlowIgmpv1

type FlowIpv4

type FlowIpv4 interface {
	Validation
	// Msg marshals FlowIpv4 to protobuf object *otg.FlowIpv4
	// and doesn't set defaults
	Msg() *otg.FlowIpv4
	// SetMsg unmarshals FlowIpv4 from protobuf object *otg.FlowIpv4
	// and doesn't set defaults
	SetMsg(*otg.FlowIpv4) FlowIpv4
	// ToProto marshals FlowIpv4 to protobuf object *otg.FlowIpv4
	ToProto() (*otg.FlowIpv4, error)
	// ToPbText marshals FlowIpv4 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowIpv4 to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowIpv4 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowIpv4 from protobuf object *otg.FlowIpv4
	FromProto(msg *otg.FlowIpv4) (FlowIpv4, error)
	// FromPbText unmarshals FlowIpv4 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowIpv4 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowIpv4 from JSON text
	FromJson(value string) error
	// Validate validates FlowIpv4
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowIpv4, error)

	// Version returns PatternFlowIpv4Version, set in FlowIpv4.
	// PatternFlowIpv4Version is version
	Version() PatternFlowIpv4Version
	// SetVersion assigns PatternFlowIpv4Version provided by user to FlowIpv4.
	// PatternFlowIpv4Version is version
	SetVersion(value PatternFlowIpv4Version) FlowIpv4
	// HasVersion checks if Version has been set in FlowIpv4
	HasVersion() bool
	// HeaderLength returns PatternFlowIpv4HeaderLength, set in FlowIpv4.
	// PatternFlowIpv4HeaderLength is header length
	HeaderLength() PatternFlowIpv4HeaderLength
	// SetHeaderLength assigns PatternFlowIpv4HeaderLength provided by user to FlowIpv4.
	// PatternFlowIpv4HeaderLength is header length
	SetHeaderLength(value PatternFlowIpv4HeaderLength) FlowIpv4
	// HasHeaderLength checks if HeaderLength has been set in FlowIpv4
	HasHeaderLength() bool
	// Priority returns FlowIpv4Priority, set in FlowIpv4.
	// FlowIpv4Priority is a container for ipv4 raw, tos, dscp ip priorities.
	Priority() FlowIpv4Priority
	// SetPriority assigns FlowIpv4Priority provided by user to FlowIpv4.
	// FlowIpv4Priority is a container for ipv4 raw, tos, dscp ip priorities.
	SetPriority(value FlowIpv4Priority) FlowIpv4
	// HasPriority checks if Priority has been set in FlowIpv4
	HasPriority() bool
	// TotalLength returns PatternFlowIpv4TotalLength, set in FlowIpv4.
	// PatternFlowIpv4TotalLength is total length
	TotalLength() PatternFlowIpv4TotalLength
	// SetTotalLength assigns PatternFlowIpv4TotalLength provided by user to FlowIpv4.
	// PatternFlowIpv4TotalLength is total length
	SetTotalLength(value PatternFlowIpv4TotalLength) FlowIpv4
	// HasTotalLength checks if TotalLength has been set in FlowIpv4
	HasTotalLength() bool
	// Identification returns PatternFlowIpv4Identification, set in FlowIpv4.
	// PatternFlowIpv4Identification is identification
	Identification() PatternFlowIpv4Identification
	// SetIdentification assigns PatternFlowIpv4Identification provided by user to FlowIpv4.
	// PatternFlowIpv4Identification is identification
	SetIdentification(value PatternFlowIpv4Identification) FlowIpv4
	// HasIdentification checks if Identification has been set in FlowIpv4
	HasIdentification() bool
	// Reserved returns PatternFlowIpv4Reserved, set in FlowIpv4.
	// PatternFlowIpv4Reserved is reserved flag.
	Reserved() PatternFlowIpv4Reserved
	// SetReserved assigns PatternFlowIpv4Reserved provided by user to FlowIpv4.
	// PatternFlowIpv4Reserved is reserved flag.
	SetReserved(value PatternFlowIpv4Reserved) FlowIpv4
	// HasReserved checks if Reserved has been set in FlowIpv4
	HasReserved() bool
	// DontFragment returns PatternFlowIpv4DontFragment, set in FlowIpv4.
	// PatternFlowIpv4DontFragment is dont fragment flag If the dont_fragment flag is set and fragmentation is required to route the packet then the packet is dropped.
	DontFragment() PatternFlowIpv4DontFragment
	// SetDontFragment assigns PatternFlowIpv4DontFragment provided by user to FlowIpv4.
	// PatternFlowIpv4DontFragment is dont fragment flag If the dont_fragment flag is set and fragmentation is required to route the packet then the packet is dropped.
	SetDontFragment(value PatternFlowIpv4DontFragment) FlowIpv4
	// HasDontFragment checks if DontFragment has been set in FlowIpv4
	HasDontFragment() bool
	// MoreFragments returns PatternFlowIpv4MoreFragments, set in FlowIpv4.
	// PatternFlowIpv4MoreFragments is more fragments flag
	MoreFragments() PatternFlowIpv4MoreFragments
	// SetMoreFragments assigns PatternFlowIpv4MoreFragments provided by user to FlowIpv4.
	// PatternFlowIpv4MoreFragments is more fragments flag
	SetMoreFragments(value PatternFlowIpv4MoreFragments) FlowIpv4
	// HasMoreFragments checks if MoreFragments has been set in FlowIpv4
	HasMoreFragments() bool
	// FragmentOffset returns PatternFlowIpv4FragmentOffset, set in FlowIpv4.
	// PatternFlowIpv4FragmentOffset is fragment offset
	FragmentOffset() PatternFlowIpv4FragmentOffset
	// SetFragmentOffset assigns PatternFlowIpv4FragmentOffset provided by user to FlowIpv4.
	// PatternFlowIpv4FragmentOffset is fragment offset
	SetFragmentOffset(value PatternFlowIpv4FragmentOffset) FlowIpv4
	// HasFragmentOffset checks if FragmentOffset has been set in FlowIpv4
	HasFragmentOffset() bool
	// TimeToLive returns PatternFlowIpv4TimeToLive, set in FlowIpv4.
	// PatternFlowIpv4TimeToLive is time to live
	TimeToLive() PatternFlowIpv4TimeToLive
	// SetTimeToLive assigns PatternFlowIpv4TimeToLive provided by user to FlowIpv4.
	// PatternFlowIpv4TimeToLive is time to live
	SetTimeToLive(value PatternFlowIpv4TimeToLive) FlowIpv4
	// HasTimeToLive checks if TimeToLive has been set in FlowIpv4
	HasTimeToLive() bool
	// Protocol returns PatternFlowIpv4Protocol, set in FlowIpv4.
	// PatternFlowIpv4Protocol is protocol, default is 61 any host internal protocol
	Protocol() PatternFlowIpv4Protocol
	// SetProtocol assigns PatternFlowIpv4Protocol provided by user to FlowIpv4.
	// PatternFlowIpv4Protocol is protocol, default is 61 any host internal protocol
	SetProtocol(value PatternFlowIpv4Protocol) FlowIpv4
	// HasProtocol checks if Protocol has been set in FlowIpv4
	HasProtocol() bool
	// HeaderChecksum returns PatternFlowIpv4HeaderChecksum, set in FlowIpv4.
	// PatternFlowIpv4HeaderChecksum is header checksum
	HeaderChecksum() PatternFlowIpv4HeaderChecksum
	// SetHeaderChecksum assigns PatternFlowIpv4HeaderChecksum provided by user to FlowIpv4.
	// PatternFlowIpv4HeaderChecksum is header checksum
	SetHeaderChecksum(value PatternFlowIpv4HeaderChecksum) FlowIpv4
	// HasHeaderChecksum checks if HeaderChecksum has been set in FlowIpv4
	HasHeaderChecksum() bool
	// Src returns PatternFlowIpv4Src, set in FlowIpv4.
	// PatternFlowIpv4Src is source address
	Src() PatternFlowIpv4Src
	// SetSrc assigns PatternFlowIpv4Src provided by user to FlowIpv4.
	// PatternFlowIpv4Src is source address
	SetSrc(value PatternFlowIpv4Src) FlowIpv4
	// HasSrc checks if Src has been set in FlowIpv4
	HasSrc() bool
	// Dst returns PatternFlowIpv4Dst, set in FlowIpv4.
	// PatternFlowIpv4Dst is destination address
	Dst() PatternFlowIpv4Dst
	// SetDst assigns PatternFlowIpv4Dst provided by user to FlowIpv4.
	// PatternFlowIpv4Dst is destination address
	SetDst(value PatternFlowIpv4Dst) FlowIpv4
	// HasDst checks if Dst has been set in FlowIpv4
	HasDst() bool
	// contains filtered or unexported methods
}

FlowIpv4 is iPv4 packet header

func NewFlowIpv4 added in v0.6.5

func NewFlowIpv4() FlowIpv4

type FlowIpv4Dscp

type FlowIpv4Dscp interface {
	Validation
	// Msg marshals FlowIpv4Dscp to protobuf object *otg.FlowIpv4Dscp
	// and doesn't set defaults
	Msg() *otg.FlowIpv4Dscp
	// SetMsg unmarshals FlowIpv4Dscp from protobuf object *otg.FlowIpv4Dscp
	// and doesn't set defaults
	SetMsg(*otg.FlowIpv4Dscp) FlowIpv4Dscp
	// ToProto marshals FlowIpv4Dscp to protobuf object *otg.FlowIpv4Dscp
	ToProto() (*otg.FlowIpv4Dscp, error)
	// ToPbText marshals FlowIpv4Dscp to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowIpv4Dscp to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowIpv4Dscp to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowIpv4Dscp from protobuf object *otg.FlowIpv4Dscp
	FromProto(msg *otg.FlowIpv4Dscp) (FlowIpv4Dscp, error)
	// FromPbText unmarshals FlowIpv4Dscp from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowIpv4Dscp from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowIpv4Dscp from JSON text
	FromJson(value string) error
	// Validate validates FlowIpv4Dscp
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowIpv4Dscp, error)

	// Phb returns PatternFlowIpv4DscpPhb, set in FlowIpv4Dscp.
	// PatternFlowIpv4DscpPhb is per hop behavior
	Phb() PatternFlowIpv4DscpPhb
	// SetPhb assigns PatternFlowIpv4DscpPhb provided by user to FlowIpv4Dscp.
	// PatternFlowIpv4DscpPhb is per hop behavior
	SetPhb(value PatternFlowIpv4DscpPhb) FlowIpv4Dscp
	// HasPhb checks if Phb has been set in FlowIpv4Dscp
	HasPhb() bool
	// Ecn returns PatternFlowIpv4DscpEcn, set in FlowIpv4Dscp.
	// PatternFlowIpv4DscpEcn is explicit congestion notification
	Ecn() PatternFlowIpv4DscpEcn
	// SetEcn assigns PatternFlowIpv4DscpEcn provided by user to FlowIpv4Dscp.
	// PatternFlowIpv4DscpEcn is explicit congestion notification
	SetEcn(value PatternFlowIpv4DscpEcn) FlowIpv4Dscp
	// HasEcn checks if Ecn has been set in FlowIpv4Dscp
	HasEcn() bool
	// contains filtered or unexported methods
}

FlowIpv4Dscp is differentiated services code point (DSCP) packet field.

func NewFlowIpv4Dscp added in v0.6.5

func NewFlowIpv4Dscp() FlowIpv4Dscp

type FlowIpv4Priority

type FlowIpv4Priority interface {
	Validation
	// Msg marshals FlowIpv4Priority to protobuf object *otg.FlowIpv4Priority
	// and doesn't set defaults
	Msg() *otg.FlowIpv4Priority
	// SetMsg unmarshals FlowIpv4Priority from protobuf object *otg.FlowIpv4Priority
	// and doesn't set defaults
	SetMsg(*otg.FlowIpv4Priority) FlowIpv4Priority
	// ToProto marshals FlowIpv4Priority to protobuf object *otg.FlowIpv4Priority
	ToProto() (*otg.FlowIpv4Priority, error)
	// ToPbText marshals FlowIpv4Priority to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowIpv4Priority to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowIpv4Priority to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowIpv4Priority from protobuf object *otg.FlowIpv4Priority
	FromProto(msg *otg.FlowIpv4Priority) (FlowIpv4Priority, error)
	// FromPbText unmarshals FlowIpv4Priority from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowIpv4Priority from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowIpv4Priority from JSON text
	FromJson(value string) error
	// Validate validates FlowIpv4Priority
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowIpv4Priority, error)

	// Choice returns FlowIpv4PriorityChoiceEnum, set in FlowIpv4Priority
	Choice() FlowIpv4PriorityChoiceEnum
	// SetChoice assigns FlowIpv4PriorityChoiceEnum provided by user to FlowIpv4Priority
	SetChoice(value FlowIpv4PriorityChoiceEnum) FlowIpv4Priority
	// HasChoice checks if Choice has been set in FlowIpv4Priority
	HasChoice() bool
	// Raw returns PatternFlowIpv4PriorityRaw, set in FlowIpv4Priority.
	// PatternFlowIpv4PriorityRaw is raw priority
	Raw() PatternFlowIpv4PriorityRaw
	// SetRaw assigns PatternFlowIpv4PriorityRaw provided by user to FlowIpv4Priority.
	// PatternFlowIpv4PriorityRaw is raw priority
	SetRaw(value PatternFlowIpv4PriorityRaw) FlowIpv4Priority
	// HasRaw checks if Raw has been set in FlowIpv4Priority
	HasRaw() bool
	// Tos returns FlowIpv4Tos, set in FlowIpv4Priority.
	// FlowIpv4Tos is type of service (TOS) packet field.
	Tos() FlowIpv4Tos
	// SetTos assigns FlowIpv4Tos provided by user to FlowIpv4Priority.
	// FlowIpv4Tos is type of service (TOS) packet field.
	SetTos(value FlowIpv4Tos) FlowIpv4Priority
	// HasTos checks if Tos has been set in FlowIpv4Priority
	HasTos() bool
	// Dscp returns FlowIpv4Dscp, set in FlowIpv4Priority.
	// FlowIpv4Dscp is differentiated services code point (DSCP) packet field.
	Dscp() FlowIpv4Dscp
	// SetDscp assigns FlowIpv4Dscp provided by user to FlowIpv4Priority.
	// FlowIpv4Dscp is differentiated services code point (DSCP) packet field.
	SetDscp(value FlowIpv4Dscp) FlowIpv4Priority
	// HasDscp checks if Dscp has been set in FlowIpv4Priority
	HasDscp() bool
	// contains filtered or unexported methods
}

FlowIpv4Priority is a container for ipv4 raw, tos, dscp ip priorities.

func NewFlowIpv4Priority added in v0.6.5

func NewFlowIpv4Priority() FlowIpv4Priority

type FlowIpv4PriorityChoiceEnum

type FlowIpv4PriorityChoiceEnum string

type FlowIpv4Tos

type FlowIpv4Tos interface {
	Validation
	// Msg marshals FlowIpv4Tos to protobuf object *otg.FlowIpv4Tos
	// and doesn't set defaults
	Msg() *otg.FlowIpv4Tos
	// SetMsg unmarshals FlowIpv4Tos from protobuf object *otg.FlowIpv4Tos
	// and doesn't set defaults
	SetMsg(*otg.FlowIpv4Tos) FlowIpv4Tos
	// ToProto marshals FlowIpv4Tos to protobuf object *otg.FlowIpv4Tos
	ToProto() (*otg.FlowIpv4Tos, error)
	// ToPbText marshals FlowIpv4Tos to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowIpv4Tos to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowIpv4Tos to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowIpv4Tos from protobuf object *otg.FlowIpv4Tos
	FromProto(msg *otg.FlowIpv4Tos) (FlowIpv4Tos, error)
	// FromPbText unmarshals FlowIpv4Tos from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowIpv4Tos from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowIpv4Tos from JSON text
	FromJson(value string) error
	// Validate validates FlowIpv4Tos
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowIpv4Tos, error)

	// Precedence returns PatternFlowIpv4TosPrecedence, set in FlowIpv4Tos.
	// PatternFlowIpv4TosPrecedence is precedence
	Precedence() PatternFlowIpv4TosPrecedence
	// SetPrecedence assigns PatternFlowIpv4TosPrecedence provided by user to FlowIpv4Tos.
	// PatternFlowIpv4TosPrecedence is precedence
	SetPrecedence(value PatternFlowIpv4TosPrecedence) FlowIpv4Tos
	// HasPrecedence checks if Precedence has been set in FlowIpv4Tos
	HasPrecedence() bool
	// Delay returns PatternFlowIpv4TosDelay, set in FlowIpv4Tos.
	// PatternFlowIpv4TosDelay is delay
	Delay() PatternFlowIpv4TosDelay
	// SetDelay assigns PatternFlowIpv4TosDelay provided by user to FlowIpv4Tos.
	// PatternFlowIpv4TosDelay is delay
	SetDelay(value PatternFlowIpv4TosDelay) FlowIpv4Tos
	// HasDelay checks if Delay has been set in FlowIpv4Tos
	HasDelay() bool
	// Throughput returns PatternFlowIpv4TosThroughput, set in FlowIpv4Tos.
	// PatternFlowIpv4TosThroughput is throughput
	Throughput() PatternFlowIpv4TosThroughput
	// SetThroughput assigns PatternFlowIpv4TosThroughput provided by user to FlowIpv4Tos.
	// PatternFlowIpv4TosThroughput is throughput
	SetThroughput(value PatternFlowIpv4TosThroughput) FlowIpv4Tos
	// HasThroughput checks if Throughput has been set in FlowIpv4Tos
	HasThroughput() bool
	// Reliability returns PatternFlowIpv4TosReliability, set in FlowIpv4Tos.
	// PatternFlowIpv4TosReliability is reliability
	Reliability() PatternFlowIpv4TosReliability
	// SetReliability assigns PatternFlowIpv4TosReliability provided by user to FlowIpv4Tos.
	// PatternFlowIpv4TosReliability is reliability
	SetReliability(value PatternFlowIpv4TosReliability) FlowIpv4Tos
	// HasReliability checks if Reliability has been set in FlowIpv4Tos
	HasReliability() bool
	// Monetary returns PatternFlowIpv4TosMonetary, set in FlowIpv4Tos.
	// PatternFlowIpv4TosMonetary is monetary
	Monetary() PatternFlowIpv4TosMonetary
	// SetMonetary assigns PatternFlowIpv4TosMonetary provided by user to FlowIpv4Tos.
	// PatternFlowIpv4TosMonetary is monetary
	SetMonetary(value PatternFlowIpv4TosMonetary) FlowIpv4Tos
	// HasMonetary checks if Monetary has been set in FlowIpv4Tos
	HasMonetary() bool
	// Unused returns PatternFlowIpv4TosUnused, set in FlowIpv4Tos.
	// PatternFlowIpv4TosUnused is unused
	Unused() PatternFlowIpv4TosUnused
	// SetUnused assigns PatternFlowIpv4TosUnused provided by user to FlowIpv4Tos.
	// PatternFlowIpv4TosUnused is unused
	SetUnused(value PatternFlowIpv4TosUnused) FlowIpv4Tos
	// HasUnused checks if Unused has been set in FlowIpv4Tos
	HasUnused() bool
	// contains filtered or unexported methods
}

FlowIpv4Tos is type of service (TOS) packet field.

func NewFlowIpv4Tos added in v0.6.5

func NewFlowIpv4Tos() FlowIpv4Tos

type FlowIpv6

type FlowIpv6 interface {
	Validation
	// Msg marshals FlowIpv6 to protobuf object *otg.FlowIpv6
	// and doesn't set defaults
	Msg() *otg.FlowIpv6
	// SetMsg unmarshals FlowIpv6 from protobuf object *otg.FlowIpv6
	// and doesn't set defaults
	SetMsg(*otg.FlowIpv6) FlowIpv6
	// ToProto marshals FlowIpv6 to protobuf object *otg.FlowIpv6
	ToProto() (*otg.FlowIpv6, error)
	// ToPbText marshals FlowIpv6 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowIpv6 to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowIpv6 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowIpv6 from protobuf object *otg.FlowIpv6
	FromProto(msg *otg.FlowIpv6) (FlowIpv6, error)
	// FromPbText unmarshals FlowIpv6 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowIpv6 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowIpv6 from JSON text
	FromJson(value string) error
	// Validate validates FlowIpv6
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowIpv6, error)

	// Version returns PatternFlowIpv6Version, set in FlowIpv6.
	// PatternFlowIpv6Version is version number
	Version() PatternFlowIpv6Version
	// SetVersion assigns PatternFlowIpv6Version provided by user to FlowIpv6.
	// PatternFlowIpv6Version is version number
	SetVersion(value PatternFlowIpv6Version) FlowIpv6
	// HasVersion checks if Version has been set in FlowIpv6
	HasVersion() bool
	// TrafficClass returns PatternFlowIpv6TrafficClass, set in FlowIpv6.
	// PatternFlowIpv6TrafficClass is traffic class
	TrafficClass() PatternFlowIpv6TrafficClass
	// SetTrafficClass assigns PatternFlowIpv6TrafficClass provided by user to FlowIpv6.
	// PatternFlowIpv6TrafficClass is traffic class
	SetTrafficClass(value PatternFlowIpv6TrafficClass) FlowIpv6
	// HasTrafficClass checks if TrafficClass has been set in FlowIpv6
	HasTrafficClass() bool
	// FlowLabel returns PatternFlowIpv6FlowLabel, set in FlowIpv6.
	// PatternFlowIpv6FlowLabel is flow label
	FlowLabel() PatternFlowIpv6FlowLabel
	// SetFlowLabel assigns PatternFlowIpv6FlowLabel provided by user to FlowIpv6.
	// PatternFlowIpv6FlowLabel is flow label
	SetFlowLabel(value PatternFlowIpv6FlowLabel) FlowIpv6
	// HasFlowLabel checks if FlowLabel has been set in FlowIpv6
	HasFlowLabel() bool
	// PayloadLength returns PatternFlowIpv6PayloadLength, set in FlowIpv6.
	// PatternFlowIpv6PayloadLength is payload length
	PayloadLength() PatternFlowIpv6PayloadLength
	// SetPayloadLength assigns PatternFlowIpv6PayloadLength provided by user to FlowIpv6.
	// PatternFlowIpv6PayloadLength is payload length
	SetPayloadLength(value PatternFlowIpv6PayloadLength) FlowIpv6
	// HasPayloadLength checks if PayloadLength has been set in FlowIpv6
	HasPayloadLength() bool
	// NextHeader returns PatternFlowIpv6NextHeader, set in FlowIpv6.
	// PatternFlowIpv6NextHeader is next header
	NextHeader() PatternFlowIpv6NextHeader
	// SetNextHeader assigns PatternFlowIpv6NextHeader provided by user to FlowIpv6.
	// PatternFlowIpv6NextHeader is next header
	SetNextHeader(value PatternFlowIpv6NextHeader) FlowIpv6
	// HasNextHeader checks if NextHeader has been set in FlowIpv6
	HasNextHeader() bool
	// HopLimit returns PatternFlowIpv6HopLimit, set in FlowIpv6.
	// PatternFlowIpv6HopLimit is hop limit
	HopLimit() PatternFlowIpv6HopLimit
	// SetHopLimit assigns PatternFlowIpv6HopLimit provided by user to FlowIpv6.
	// PatternFlowIpv6HopLimit is hop limit
	SetHopLimit(value PatternFlowIpv6HopLimit) FlowIpv6
	// HasHopLimit checks if HopLimit has been set in FlowIpv6
	HasHopLimit() bool
	// Src returns PatternFlowIpv6Src, set in FlowIpv6.
	// PatternFlowIpv6Src is source address
	Src() PatternFlowIpv6Src
	// SetSrc assigns PatternFlowIpv6Src provided by user to FlowIpv6.
	// PatternFlowIpv6Src is source address
	SetSrc(value PatternFlowIpv6Src) FlowIpv6
	// HasSrc checks if Src has been set in FlowIpv6
	HasSrc() bool
	// Dst returns PatternFlowIpv6Dst, set in FlowIpv6.
	// PatternFlowIpv6Dst is destination address
	Dst() PatternFlowIpv6Dst
	// SetDst assigns PatternFlowIpv6Dst provided by user to FlowIpv6.
	// PatternFlowIpv6Dst is destination address
	SetDst(value PatternFlowIpv6Dst) FlowIpv6
	// HasDst checks if Dst has been set in FlowIpv6
	HasDst() bool
	// contains filtered or unexported methods
}

FlowIpv6 is iPv6 packet header

func NewFlowIpv6 added in v0.6.5

func NewFlowIpv6() FlowIpv6

type FlowLatencyMetrics

type FlowLatencyMetrics interface {
	Validation
	// Msg marshals FlowLatencyMetrics to protobuf object *otg.FlowLatencyMetrics
	// and doesn't set defaults
	Msg() *otg.FlowLatencyMetrics
	// SetMsg unmarshals FlowLatencyMetrics from protobuf object *otg.FlowLatencyMetrics
	// and doesn't set defaults
	SetMsg(*otg.FlowLatencyMetrics) FlowLatencyMetrics
	// ToProto marshals FlowLatencyMetrics to protobuf object *otg.FlowLatencyMetrics
	ToProto() (*otg.FlowLatencyMetrics, error)
	// ToPbText marshals FlowLatencyMetrics to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowLatencyMetrics to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowLatencyMetrics to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowLatencyMetrics from protobuf object *otg.FlowLatencyMetrics
	FromProto(msg *otg.FlowLatencyMetrics) (FlowLatencyMetrics, error)
	// FromPbText unmarshals FlowLatencyMetrics from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowLatencyMetrics from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowLatencyMetrics from JSON text
	FromJson(value string) error
	// Validate validates FlowLatencyMetrics
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowLatencyMetrics, error)

	// Enable returns bool, set in FlowLatencyMetrics.
	Enable() bool
	// SetEnable assigns bool provided by user to FlowLatencyMetrics
	SetEnable(value bool) FlowLatencyMetrics
	// HasEnable checks if Enable has been set in FlowLatencyMetrics
	HasEnable() bool
	// Mode returns FlowLatencyMetricsModeEnum, set in FlowLatencyMetrics
	Mode() FlowLatencyMetricsModeEnum
	// SetMode assigns FlowLatencyMetricsModeEnum provided by user to FlowLatencyMetrics
	SetMode(value FlowLatencyMetricsModeEnum) FlowLatencyMetrics
	// HasMode checks if Mode has been set in FlowLatencyMetrics
	HasMode() bool
	// contains filtered or unexported methods
}

FlowLatencyMetrics is the optional container for per flow latency metric configuration.

func NewFlowLatencyMetrics added in v0.6.5

func NewFlowLatencyMetrics() FlowLatencyMetrics

type FlowLatencyMetricsModeEnum

type FlowLatencyMetricsModeEnum string

type FlowMetric

type FlowMetric interface {
	Validation
	// Msg marshals FlowMetric to protobuf object *otg.FlowMetric
	// and doesn't set defaults
	Msg() *otg.FlowMetric
	// SetMsg unmarshals FlowMetric from protobuf object *otg.FlowMetric
	// and doesn't set defaults
	SetMsg(*otg.FlowMetric) FlowMetric
	// ToProto marshals FlowMetric to protobuf object *otg.FlowMetric
	ToProto() (*otg.FlowMetric, error)
	// ToPbText marshals FlowMetric to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowMetric to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowMetric to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowMetric from protobuf object *otg.FlowMetric
	FromProto(msg *otg.FlowMetric) (FlowMetric, error)
	// FromPbText unmarshals FlowMetric from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowMetric from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowMetric from JSON text
	FromJson(value string) error
	// Validate validates FlowMetric
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowMetric, error)

	// Name returns string, set in FlowMetric.
	Name() string
	// SetName assigns string provided by user to FlowMetric
	SetName(value string) FlowMetric
	// HasName checks if Name has been set in FlowMetric
	HasName() bool
	// PortTx returns string, set in FlowMetric.
	PortTx() string
	// SetPortTx assigns string provided by user to FlowMetric
	SetPortTx(value string) FlowMetric
	// HasPortTx checks if PortTx has been set in FlowMetric
	HasPortTx() bool
	// PortRx returns string, set in FlowMetric.
	PortRx() string
	// SetPortRx assigns string provided by user to FlowMetric
	SetPortRx(value string) FlowMetric
	// HasPortRx checks if PortRx has been set in FlowMetric
	HasPortRx() bool
	// Transmit returns FlowMetricTransmitEnum, set in FlowMetric
	Transmit() FlowMetricTransmitEnum
	// SetTransmit assigns FlowMetricTransmitEnum provided by user to FlowMetric
	SetTransmit(value FlowMetricTransmitEnum) FlowMetric
	// HasTransmit checks if Transmit has been set in FlowMetric
	HasTransmit() bool
	// FramesTx returns int64, set in FlowMetric.
	FramesTx() int64
	// SetFramesTx assigns int64 provided by user to FlowMetric
	SetFramesTx(value int64) FlowMetric
	// HasFramesTx checks if FramesTx has been set in FlowMetric
	HasFramesTx() bool
	// FramesRx returns int64, set in FlowMetric.
	FramesRx() int64
	// SetFramesRx assigns int64 provided by user to FlowMetric
	SetFramesRx(value int64) FlowMetric
	// HasFramesRx checks if FramesRx has been set in FlowMetric
	HasFramesRx() bool
	// BytesTx returns int64, set in FlowMetric.
	BytesTx() int64
	// SetBytesTx assigns int64 provided by user to FlowMetric
	SetBytesTx(value int64) FlowMetric
	// HasBytesTx checks if BytesTx has been set in FlowMetric
	HasBytesTx() bool
	// BytesRx returns int64, set in FlowMetric.
	BytesRx() int64
	// SetBytesRx assigns int64 provided by user to FlowMetric
	SetBytesRx(value int64) FlowMetric
	// HasBytesRx checks if BytesRx has been set in FlowMetric
	HasBytesRx() bool
	// FramesTxRate returns float32, set in FlowMetric.
	FramesTxRate() float32
	// SetFramesTxRate assigns float32 provided by user to FlowMetric
	SetFramesTxRate(value float32) FlowMetric
	// HasFramesTxRate checks if FramesTxRate has been set in FlowMetric
	HasFramesTxRate() bool
	// FramesRxRate returns float32, set in FlowMetric.
	FramesRxRate() float32
	// SetFramesRxRate assigns float32 provided by user to FlowMetric
	SetFramesRxRate(value float32) FlowMetric
	// HasFramesRxRate checks if FramesRxRate has been set in FlowMetric
	HasFramesRxRate() bool
	// Loss returns float32, set in FlowMetric.
	Loss() float32
	// SetLoss assigns float32 provided by user to FlowMetric
	SetLoss(value float32) FlowMetric
	// HasLoss checks if Loss has been set in FlowMetric
	HasLoss() bool
	// Timestamps returns MetricTimestamp, set in FlowMetric.
	// MetricTimestamp is the container for timestamp metrics.
	// The container will be empty if the timestamp has not been configured for
	// the flow.
	Timestamps() MetricTimestamp
	// SetTimestamps assigns MetricTimestamp provided by user to FlowMetric.
	// MetricTimestamp is the container for timestamp metrics.
	// The container will be empty if the timestamp has not been configured for
	// the flow.
	SetTimestamps(value MetricTimestamp) FlowMetric
	// HasTimestamps checks if Timestamps has been set in FlowMetric
	HasTimestamps() bool
	// Latency returns MetricLatency, set in FlowMetric.
	// MetricLatency is the container for latency metrics.
	// The min/max/avg values are dependent on the type of latency measurement
	// mode that is configured.
	// The container will be empty if the latency has not been configured for
	// the flow.
	Latency() MetricLatency
	// SetLatency assigns MetricLatency provided by user to FlowMetric.
	// MetricLatency is the container for latency metrics.
	// The min/max/avg values are dependent on the type of latency measurement
	// mode that is configured.
	// The container will be empty if the latency has not been configured for
	// the flow.
	SetLatency(value MetricLatency) FlowMetric
	// HasLatency checks if Latency has been set in FlowMetric
	HasLatency() bool
	// TaggedMetrics returns FlowMetricFlowTaggedMetricIterIter, set in FlowMetric
	TaggedMetrics() FlowMetricFlowTaggedMetricIter
	// contains filtered or unexported methods
}

FlowMetric is a container for flow metrics. The container is keyed by the name, port_tx and port_rx.

func NewFlowMetric added in v0.6.5

func NewFlowMetric() FlowMetric

type FlowMetricFlowTaggedMetricIter added in v0.11.13

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

type FlowMetricTag added in v0.11.13

type FlowMetricTag interface {
	Validation
	// Msg marshals FlowMetricTag to protobuf object *otg.FlowMetricTag
	// and doesn't set defaults
	Msg() *otg.FlowMetricTag
	// SetMsg unmarshals FlowMetricTag from protobuf object *otg.FlowMetricTag
	// and doesn't set defaults
	SetMsg(*otg.FlowMetricTag) FlowMetricTag
	// ToProto marshals FlowMetricTag to protobuf object *otg.FlowMetricTag
	ToProto() (*otg.FlowMetricTag, error)
	// ToPbText marshals FlowMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowMetricTag from protobuf object *otg.FlowMetricTag
	FromProto(msg *otg.FlowMetricTag) (FlowMetricTag, error)
	// FromPbText unmarshals FlowMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowMetricTag from JSON text
	FromJson(value string) error
	// Validate validates FlowMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowMetricTag, error)

	// Name returns string, set in FlowMetricTag.
	Name() string
	// SetName assigns string provided by user to FlowMetricTag
	SetName(value string) FlowMetricTag
	// HasName checks if Name has been set in FlowMetricTag
	HasName() bool
	// Value returns FlowMetricTagValue, set in FlowMetricTag.
	// FlowMetricTagValue is a container for metric tag value
	Value() FlowMetricTagValue
	// SetValue assigns FlowMetricTagValue provided by user to FlowMetricTag.
	// FlowMetricTagValue is a container for metric tag value
	SetValue(value FlowMetricTagValue) FlowMetricTag
	// HasValue checks if Value has been set in FlowMetricTag
	HasValue() bool
	// contains filtered or unexported methods
}

FlowMetricTag is description is TBD

func NewFlowMetricTag added in v0.11.13

func NewFlowMetricTag() FlowMetricTag

type FlowMetricTagFilter added in v0.11.13

type FlowMetricTagFilter interface {
	Validation
	// Msg marshals FlowMetricTagFilter to protobuf object *otg.FlowMetricTagFilter
	// and doesn't set defaults
	Msg() *otg.FlowMetricTagFilter
	// SetMsg unmarshals FlowMetricTagFilter from protobuf object *otg.FlowMetricTagFilter
	// and doesn't set defaults
	SetMsg(*otg.FlowMetricTagFilter) FlowMetricTagFilter
	// ToProto marshals FlowMetricTagFilter to protobuf object *otg.FlowMetricTagFilter
	ToProto() (*otg.FlowMetricTagFilter, error)
	// ToPbText marshals FlowMetricTagFilter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowMetricTagFilter to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowMetricTagFilter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowMetricTagFilter from protobuf object *otg.FlowMetricTagFilter
	FromProto(msg *otg.FlowMetricTagFilter) (FlowMetricTagFilter, error)
	// FromPbText unmarshals FlowMetricTagFilter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowMetricTagFilter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowMetricTagFilter from JSON text
	FromJson(value string) error
	// Validate validates FlowMetricTagFilter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowMetricTagFilter, error)

	// Name returns string, set in FlowMetricTagFilter.
	Name() string
	// SetName assigns string provided by user to FlowMetricTagFilter
	SetName(value string) FlowMetricTagFilter
	// HasName checks if Name has been set in FlowMetricTagFilter
	HasName() bool
	// Values returns []string, set in FlowMetricTagFilter.
	Values() []string
	// SetValues assigns []string provided by user to FlowMetricTagFilter
	SetValues(value []string) FlowMetricTagFilter
	// contains filtered or unexported methods
}

FlowMetricTagFilter is a container for filtering ingress and/or egress metric tags. The Tx stats may not be applicable in both the request and response filter.

func NewFlowMetricTagFilter added in v0.11.13

func NewFlowMetricTagFilter() FlowMetricTagFilter

type FlowMetricTagValue added in v0.11.13

type FlowMetricTagValue interface {
	Validation
	// Msg marshals FlowMetricTagValue to protobuf object *otg.FlowMetricTagValue
	// and doesn't set defaults
	Msg() *otg.FlowMetricTagValue
	// SetMsg unmarshals FlowMetricTagValue from protobuf object *otg.FlowMetricTagValue
	// and doesn't set defaults
	SetMsg(*otg.FlowMetricTagValue) FlowMetricTagValue
	// ToProto marshals FlowMetricTagValue to protobuf object *otg.FlowMetricTagValue
	ToProto() (*otg.FlowMetricTagValue, error)
	// ToPbText marshals FlowMetricTagValue to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowMetricTagValue to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowMetricTagValue to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowMetricTagValue from protobuf object *otg.FlowMetricTagValue
	FromProto(msg *otg.FlowMetricTagValue) (FlowMetricTagValue, error)
	// FromPbText unmarshals FlowMetricTagValue from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowMetricTagValue from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowMetricTagValue from JSON text
	FromJson(value string) error
	// Validate validates FlowMetricTagValue
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowMetricTagValue, error)

	// Choice returns FlowMetricTagValueChoiceEnum, set in FlowMetricTagValue
	Choice() FlowMetricTagValueChoiceEnum
	// SetChoice assigns FlowMetricTagValueChoiceEnum provided by user to FlowMetricTagValue
	SetChoice(value FlowMetricTagValueChoiceEnum) FlowMetricTagValue
	// HasChoice checks if Choice has been set in FlowMetricTagValue
	HasChoice() bool
	// Hex returns string, set in FlowMetricTagValue.
	Hex() string
	// SetHex assigns string provided by user to FlowMetricTagValue
	SetHex(value string) FlowMetricTagValue
	// HasHex checks if Hex has been set in FlowMetricTagValue
	HasHex() bool
	// Str returns string, set in FlowMetricTagValue.
	Str() string
	// SetStr assigns string provided by user to FlowMetricTagValue
	SetStr(value string) FlowMetricTagValue
	// HasStr checks if Str has been set in FlowMetricTagValue
	HasStr() bool
	// contains filtered or unexported methods
}

FlowMetricTagValue is a container for metric tag value

func NewFlowMetricTagValue added in v0.11.13

func NewFlowMetricTagValue() FlowMetricTagValue

type FlowMetricTagValueChoiceEnum added in v0.11.13

type FlowMetricTagValueChoiceEnum string

type FlowMetricTransmitEnum

type FlowMetricTransmitEnum string

type FlowMetrics

type FlowMetrics interface {
	Validation
	// Msg marshals FlowMetrics to protobuf object *otg.FlowMetrics
	// and doesn't set defaults
	Msg() *otg.FlowMetrics
	// SetMsg unmarshals FlowMetrics from protobuf object *otg.FlowMetrics
	// and doesn't set defaults
	SetMsg(*otg.FlowMetrics) FlowMetrics
	// ToProto marshals FlowMetrics to protobuf object *otg.FlowMetrics
	ToProto() (*otg.FlowMetrics, error)
	// ToPbText marshals FlowMetrics to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowMetrics to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowMetrics to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowMetrics from protobuf object *otg.FlowMetrics
	FromProto(msg *otg.FlowMetrics) (FlowMetrics, error)
	// FromPbText unmarshals FlowMetrics from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowMetrics from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowMetrics from JSON text
	FromJson(value string) error
	// Validate validates FlowMetrics
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowMetrics, error)

	// Enable returns bool, set in FlowMetrics.
	Enable() bool
	// SetEnable assigns bool provided by user to FlowMetrics
	SetEnable(value bool) FlowMetrics
	// HasEnable checks if Enable has been set in FlowMetrics
	HasEnable() bool
	// Loss returns bool, set in FlowMetrics.
	Loss() bool
	// SetLoss assigns bool provided by user to FlowMetrics
	SetLoss(value bool) FlowMetrics
	// HasLoss checks if Loss has been set in FlowMetrics
	HasLoss() bool
	// RxTxRatio returns FlowRxTxRatio, set in FlowMetrics.
	// FlowRxTxRatio is rx Tx ratio is the ratio of expected number of Rx packets across all Rx ports to the Tx packets
	// for the configured flow. It is a factor by which the Tx packet count is multiplied to calculate
	// the sum of expected Rx packet count, across all Rx ports. This will be used to calculate loss
	// percentage of flow at aggregate level.
	RxTxRatio() FlowRxTxRatio
	// SetRxTxRatio assigns FlowRxTxRatio provided by user to FlowMetrics.
	// FlowRxTxRatio is rx Tx ratio is the ratio of expected number of Rx packets across all Rx ports to the Tx packets
	// for the configured flow. It is a factor by which the Tx packet count is multiplied to calculate
	// the sum of expected Rx packet count, across all Rx ports. This will be used to calculate loss
	// percentage of flow at aggregate level.
	SetRxTxRatio(value FlowRxTxRatio) FlowMetrics
	// HasRxTxRatio checks if RxTxRatio has been set in FlowMetrics
	HasRxTxRatio() bool
	// Timestamps returns bool, set in FlowMetrics.
	Timestamps() bool
	// SetTimestamps assigns bool provided by user to FlowMetrics
	SetTimestamps(value bool) FlowMetrics
	// HasTimestamps checks if Timestamps has been set in FlowMetrics
	HasTimestamps() bool
	// Latency returns FlowLatencyMetrics, set in FlowMetrics.
	// FlowLatencyMetrics is the optional container for per flow latency metric configuration.
	Latency() FlowLatencyMetrics
	// SetLatency assigns FlowLatencyMetrics provided by user to FlowMetrics.
	// FlowLatencyMetrics is the optional container for per flow latency metric configuration.
	SetLatency(value FlowLatencyMetrics) FlowMetrics
	// HasLatency checks if Latency has been set in FlowMetrics
	HasLatency() bool
	// PredefinedMetricTags returns FlowPredefinedTags, set in FlowMetrics.
	// FlowPredefinedTags is list of predefined flow tracking options, outside packet fields, that can be enabled.
	PredefinedMetricTags() FlowPredefinedTags
	// SetPredefinedMetricTags assigns FlowPredefinedTags provided by user to FlowMetrics.
	// FlowPredefinedTags is list of predefined flow tracking options, outside packet fields, that can be enabled.
	SetPredefinedMetricTags(value FlowPredefinedTags) FlowMetrics
	// HasPredefinedMetricTags checks if PredefinedMetricTags has been set in FlowMetrics
	HasPredefinedMetricTags() bool
	// contains filtered or unexported methods
}

FlowMetrics is the optional container for configuring flow metrics.

func NewFlowMetrics added in v0.6.5

func NewFlowMetrics() FlowMetrics

type FlowMetricsRequest

type FlowMetricsRequest interface {
	Validation
	// Msg marshals FlowMetricsRequest to protobuf object *otg.FlowMetricsRequest
	// and doesn't set defaults
	Msg() *otg.FlowMetricsRequest
	// SetMsg unmarshals FlowMetricsRequest from protobuf object *otg.FlowMetricsRequest
	// and doesn't set defaults
	SetMsg(*otg.FlowMetricsRequest) FlowMetricsRequest
	// ToProto marshals FlowMetricsRequest to protobuf object *otg.FlowMetricsRequest
	ToProto() (*otg.FlowMetricsRequest, error)
	// ToPbText marshals FlowMetricsRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowMetricsRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowMetricsRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowMetricsRequest from protobuf object *otg.FlowMetricsRequest
	FromProto(msg *otg.FlowMetricsRequest) (FlowMetricsRequest, error)
	// FromPbText unmarshals FlowMetricsRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowMetricsRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowMetricsRequest from JSON text
	FromJson(value string) error
	// Validate validates FlowMetricsRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowMetricsRequest, error)

	// FlowNames returns []string, set in FlowMetricsRequest.
	FlowNames() []string
	// SetFlowNames assigns []string provided by user to FlowMetricsRequest
	SetFlowNames(value []string) FlowMetricsRequest
	// MetricNames returns []FlowMetricsRequestMetricNamesEnum, set in FlowMetricsRequest
	MetricNames() []FlowMetricsRequestMetricNamesEnum
	// SetMetricNames assigns []FlowMetricsRequestMetricNamesEnum provided by user to FlowMetricsRequest
	SetMetricNames(value []FlowMetricsRequestMetricNamesEnum) FlowMetricsRequest
	// TaggedMetrics returns FlowTaggedMetricsFilter, set in FlowMetricsRequest.
	// FlowTaggedMetricsFilter is filter for tagged metrics
	TaggedMetrics() FlowTaggedMetricsFilter
	// SetTaggedMetrics assigns FlowTaggedMetricsFilter provided by user to FlowMetricsRequest.
	// FlowTaggedMetricsFilter is filter for tagged metrics
	SetTaggedMetrics(value FlowTaggedMetricsFilter) FlowMetricsRequest
	// HasTaggedMetrics checks if TaggedMetrics has been set in FlowMetricsRequest
	HasTaggedMetrics() bool
	// contains filtered or unexported methods
}

FlowMetricsRequest is the container for a flow metric request.

func NewFlowMetricsRequest added in v0.6.5

func NewFlowMetricsRequest() FlowMetricsRequest

type FlowMetricsRequestMetricNamesEnum

type FlowMetricsRequestMetricNamesEnum string

type FlowMpls added in v0.7.15

type FlowMpls interface {
	Validation
	// Msg marshals FlowMpls to protobuf object *otg.FlowMpls
	// and doesn't set defaults
	Msg() *otg.FlowMpls
	// SetMsg unmarshals FlowMpls from protobuf object *otg.FlowMpls
	// and doesn't set defaults
	SetMsg(*otg.FlowMpls) FlowMpls
	// ToProto marshals FlowMpls to protobuf object *otg.FlowMpls
	ToProto() (*otg.FlowMpls, error)
	// ToPbText marshals FlowMpls to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowMpls to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowMpls to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowMpls from protobuf object *otg.FlowMpls
	FromProto(msg *otg.FlowMpls) (FlowMpls, error)
	// FromPbText unmarshals FlowMpls from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowMpls from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowMpls from JSON text
	FromJson(value string) error
	// Validate validates FlowMpls
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowMpls, error)

	// Label returns PatternFlowMplsLabel, set in FlowMpls.
	// PatternFlowMplsLabel is label of routers
	Label() PatternFlowMplsLabel
	// SetLabel assigns PatternFlowMplsLabel provided by user to FlowMpls.
	// PatternFlowMplsLabel is label of routers
	SetLabel(value PatternFlowMplsLabel) FlowMpls
	// HasLabel checks if Label has been set in FlowMpls
	HasLabel() bool
	// TrafficClass returns PatternFlowMplsTrafficClass, set in FlowMpls.
	// PatternFlowMplsTrafficClass is traffic class
	TrafficClass() PatternFlowMplsTrafficClass
	// SetTrafficClass assigns PatternFlowMplsTrafficClass provided by user to FlowMpls.
	// PatternFlowMplsTrafficClass is traffic class
	SetTrafficClass(value PatternFlowMplsTrafficClass) FlowMpls
	// HasTrafficClass checks if TrafficClass has been set in FlowMpls
	HasTrafficClass() bool
	// BottomOfStack returns PatternFlowMplsBottomOfStack, set in FlowMpls.
	// PatternFlowMplsBottomOfStack is bottom of stack
	BottomOfStack() PatternFlowMplsBottomOfStack
	// SetBottomOfStack assigns PatternFlowMplsBottomOfStack provided by user to FlowMpls.
	// PatternFlowMplsBottomOfStack is bottom of stack
	SetBottomOfStack(value PatternFlowMplsBottomOfStack) FlowMpls
	// HasBottomOfStack checks if BottomOfStack has been set in FlowMpls
	HasBottomOfStack() bool
	// TimeToLive returns PatternFlowMplsTimeToLive, set in FlowMpls.
	// PatternFlowMplsTimeToLive is time to live
	TimeToLive() PatternFlowMplsTimeToLive
	// SetTimeToLive assigns PatternFlowMplsTimeToLive provided by user to FlowMpls.
	// PatternFlowMplsTimeToLive is time to live
	SetTimeToLive(value PatternFlowMplsTimeToLive) FlowMpls
	// HasTimeToLive checks if TimeToLive has been set in FlowMpls
	HasTimeToLive() bool
	// contains filtered or unexported methods
}

FlowMpls is mPLS packet header; When configuring multiple such headers, the count shall not exceed 20.

func NewFlowMpls added in v0.7.15

func NewFlowMpls() FlowMpls

type FlowPfcPause

type FlowPfcPause interface {
	Validation
	// Msg marshals FlowPfcPause to protobuf object *otg.FlowPfcPause
	// and doesn't set defaults
	Msg() *otg.FlowPfcPause
	// SetMsg unmarshals FlowPfcPause from protobuf object *otg.FlowPfcPause
	// and doesn't set defaults
	SetMsg(*otg.FlowPfcPause) FlowPfcPause
	// ToProto marshals FlowPfcPause to protobuf object *otg.FlowPfcPause
	ToProto() (*otg.FlowPfcPause, error)
	// ToPbText marshals FlowPfcPause to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowPfcPause to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowPfcPause to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowPfcPause from protobuf object *otg.FlowPfcPause
	FromProto(msg *otg.FlowPfcPause) (FlowPfcPause, error)
	// FromPbText unmarshals FlowPfcPause from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowPfcPause from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowPfcPause from JSON text
	FromJson(value string) error
	// Validate validates FlowPfcPause
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowPfcPause, error)

	// Dst returns PatternFlowPfcPauseDst, set in FlowPfcPause.
	// PatternFlowPfcPauseDst is destination MAC address
	Dst() PatternFlowPfcPauseDst
	// SetDst assigns PatternFlowPfcPauseDst provided by user to FlowPfcPause.
	// PatternFlowPfcPauseDst is destination MAC address
	SetDst(value PatternFlowPfcPauseDst) FlowPfcPause
	// HasDst checks if Dst has been set in FlowPfcPause
	HasDst() bool
	// Src returns PatternFlowPfcPauseSrc, set in FlowPfcPause.
	// PatternFlowPfcPauseSrc is source MAC address
	Src() PatternFlowPfcPauseSrc
	// SetSrc assigns PatternFlowPfcPauseSrc provided by user to FlowPfcPause.
	// PatternFlowPfcPauseSrc is source MAC address
	SetSrc(value PatternFlowPfcPauseSrc) FlowPfcPause
	// HasSrc checks if Src has been set in FlowPfcPause
	HasSrc() bool
	// EtherType returns PatternFlowPfcPauseEtherType, set in FlowPfcPause.
	// PatternFlowPfcPauseEtherType is ethernet type
	EtherType() PatternFlowPfcPauseEtherType
	// SetEtherType assigns PatternFlowPfcPauseEtherType provided by user to FlowPfcPause.
	// PatternFlowPfcPauseEtherType is ethernet type
	SetEtherType(value PatternFlowPfcPauseEtherType) FlowPfcPause
	// HasEtherType checks if EtherType has been set in FlowPfcPause
	HasEtherType() bool
	// ControlOpCode returns PatternFlowPfcPauseControlOpCode, set in FlowPfcPause.
	// PatternFlowPfcPauseControlOpCode is control operation code
	ControlOpCode() PatternFlowPfcPauseControlOpCode
	// SetControlOpCode assigns PatternFlowPfcPauseControlOpCode provided by user to FlowPfcPause.
	// PatternFlowPfcPauseControlOpCode is control operation code
	SetControlOpCode(value PatternFlowPfcPauseControlOpCode) FlowPfcPause
	// HasControlOpCode checks if ControlOpCode has been set in FlowPfcPause
	HasControlOpCode() bool
	// ClassEnableVector returns PatternFlowPfcPauseClassEnableVector, set in FlowPfcPause.
	// PatternFlowPfcPauseClassEnableVector is destination
	ClassEnableVector() PatternFlowPfcPauseClassEnableVector
	// SetClassEnableVector assigns PatternFlowPfcPauseClassEnableVector provided by user to FlowPfcPause.
	// PatternFlowPfcPauseClassEnableVector is destination
	SetClassEnableVector(value PatternFlowPfcPauseClassEnableVector) FlowPfcPause
	// HasClassEnableVector checks if ClassEnableVector has been set in FlowPfcPause
	HasClassEnableVector() bool
	// PauseClass0 returns PatternFlowPfcPausePauseClass0, set in FlowPfcPause.
	// PatternFlowPfcPausePauseClass0 is pause class 0
	PauseClass0() PatternFlowPfcPausePauseClass0
	// SetPauseClass0 assigns PatternFlowPfcPausePauseClass0 provided by user to FlowPfcPause.
	// PatternFlowPfcPausePauseClass0 is pause class 0
	SetPauseClass0(value PatternFlowPfcPausePauseClass0) FlowPfcPause
	// HasPauseClass0 checks if PauseClass0 has been set in FlowPfcPause
	HasPauseClass0() bool
	// PauseClass1 returns PatternFlowPfcPausePauseClass1, set in FlowPfcPause.
	// PatternFlowPfcPausePauseClass1 is pause class 1
	PauseClass1() PatternFlowPfcPausePauseClass1
	// SetPauseClass1 assigns PatternFlowPfcPausePauseClass1 provided by user to FlowPfcPause.
	// PatternFlowPfcPausePauseClass1 is pause class 1
	SetPauseClass1(value PatternFlowPfcPausePauseClass1) FlowPfcPause
	// HasPauseClass1 checks if PauseClass1 has been set in FlowPfcPause
	HasPauseClass1() bool
	// PauseClass2 returns PatternFlowPfcPausePauseClass2, set in FlowPfcPause.
	// PatternFlowPfcPausePauseClass2 is pause class 2
	PauseClass2() PatternFlowPfcPausePauseClass2
	// SetPauseClass2 assigns PatternFlowPfcPausePauseClass2 provided by user to FlowPfcPause.
	// PatternFlowPfcPausePauseClass2 is pause class 2
	SetPauseClass2(value PatternFlowPfcPausePauseClass2) FlowPfcPause
	// HasPauseClass2 checks if PauseClass2 has been set in FlowPfcPause
	HasPauseClass2() bool
	// PauseClass3 returns PatternFlowPfcPausePauseClass3, set in FlowPfcPause.
	// PatternFlowPfcPausePauseClass3 is pause class 3
	PauseClass3() PatternFlowPfcPausePauseClass3
	// SetPauseClass3 assigns PatternFlowPfcPausePauseClass3 provided by user to FlowPfcPause.
	// PatternFlowPfcPausePauseClass3 is pause class 3
	SetPauseClass3(value PatternFlowPfcPausePauseClass3) FlowPfcPause
	// HasPauseClass3 checks if PauseClass3 has been set in FlowPfcPause
	HasPauseClass3() bool
	// PauseClass4 returns PatternFlowPfcPausePauseClass4, set in FlowPfcPause.
	// PatternFlowPfcPausePauseClass4 is pause class 4
	PauseClass4() PatternFlowPfcPausePauseClass4
	// SetPauseClass4 assigns PatternFlowPfcPausePauseClass4 provided by user to FlowPfcPause.
	// PatternFlowPfcPausePauseClass4 is pause class 4
	SetPauseClass4(value PatternFlowPfcPausePauseClass4) FlowPfcPause
	// HasPauseClass4 checks if PauseClass4 has been set in FlowPfcPause
	HasPauseClass4() bool
	// PauseClass5 returns PatternFlowPfcPausePauseClass5, set in FlowPfcPause.
	// PatternFlowPfcPausePauseClass5 is pause class 5
	PauseClass5() PatternFlowPfcPausePauseClass5
	// SetPauseClass5 assigns PatternFlowPfcPausePauseClass5 provided by user to FlowPfcPause.
	// PatternFlowPfcPausePauseClass5 is pause class 5
	SetPauseClass5(value PatternFlowPfcPausePauseClass5) FlowPfcPause
	// HasPauseClass5 checks if PauseClass5 has been set in FlowPfcPause
	HasPauseClass5() bool
	// PauseClass6 returns PatternFlowPfcPausePauseClass6, set in FlowPfcPause.
	// PatternFlowPfcPausePauseClass6 is pause class 6
	PauseClass6() PatternFlowPfcPausePauseClass6
	// SetPauseClass6 assigns PatternFlowPfcPausePauseClass6 provided by user to FlowPfcPause.
	// PatternFlowPfcPausePauseClass6 is pause class 6
	SetPauseClass6(value PatternFlowPfcPausePauseClass6) FlowPfcPause
	// HasPauseClass6 checks if PauseClass6 has been set in FlowPfcPause
	HasPauseClass6() bool
	// PauseClass7 returns PatternFlowPfcPausePauseClass7, set in FlowPfcPause.
	// PatternFlowPfcPausePauseClass7 is pause class 7
	PauseClass7() PatternFlowPfcPausePauseClass7
	// SetPauseClass7 assigns PatternFlowPfcPausePauseClass7 provided by user to FlowPfcPause.
	// PatternFlowPfcPausePauseClass7 is pause class 7
	SetPauseClass7(value PatternFlowPfcPausePauseClass7) FlowPfcPause
	// HasPauseClass7 checks if PauseClass7 has been set in FlowPfcPause
	HasPauseClass7() bool
	// contains filtered or unexported methods
}

FlowPfcPause is iEEE 802.1Qbb PFC Pause packet header.

func NewFlowPfcPause added in v0.6.5

func NewFlowPfcPause() FlowPfcPause

type FlowPort

type FlowPort interface {
	Validation
	// Msg marshals FlowPort to protobuf object *otg.FlowPort
	// and doesn't set defaults
	Msg() *otg.FlowPort
	// SetMsg unmarshals FlowPort from protobuf object *otg.FlowPort
	// and doesn't set defaults
	SetMsg(*otg.FlowPort) FlowPort
	// ToProto marshals FlowPort to protobuf object *otg.FlowPort
	ToProto() (*otg.FlowPort, error)
	// ToPbText marshals FlowPort to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowPort to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowPort to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowPort from protobuf object *otg.FlowPort
	FromProto(msg *otg.FlowPort) (FlowPort, error)
	// FromPbText unmarshals FlowPort from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowPort from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowPort from JSON text
	FromJson(value string) error
	// Validate validates FlowPort
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowPort, error)

	// TxName returns string, set in FlowPort.
	TxName() string
	// SetTxName assigns string provided by user to FlowPort
	SetTxName(value string) FlowPort
	// RxName returns string, set in FlowPort.
	RxName() string
	// SetRxName assigns string provided by user to FlowPort
	SetRxName(value string) FlowPort
	// HasRxName checks if RxName has been set in FlowPort
	HasRxName() bool
	// RxNames returns []string, set in FlowPort.
	RxNames() []string
	// SetRxNames assigns []string provided by user to FlowPort
	SetRxNames(value []string) FlowPort
	// contains filtered or unexported methods
}

FlowPort is a container for a transmit port and 0..n intended receive ports. When assigning this container to a flow the flows's packet headers will not be populated with any address resolution information such as source and/or destination addresses. For example Flow.Ethernet dst mac address values will be defaulted to 0. For full control over the Flow.properties.packet header contents use this container.

func NewFlowPort added in v0.6.5

func NewFlowPort() FlowPort

type FlowPpp

type FlowPpp interface {
	Validation
	// Msg marshals FlowPpp to protobuf object *otg.FlowPpp
	// and doesn't set defaults
	Msg() *otg.FlowPpp
	// SetMsg unmarshals FlowPpp from protobuf object *otg.FlowPpp
	// and doesn't set defaults
	SetMsg(*otg.FlowPpp) FlowPpp
	// ToProto marshals FlowPpp to protobuf object *otg.FlowPpp
	ToProto() (*otg.FlowPpp, error)
	// ToPbText marshals FlowPpp to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowPpp to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowPpp to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowPpp from protobuf object *otg.FlowPpp
	FromProto(msg *otg.FlowPpp) (FlowPpp, error)
	// FromPbText unmarshals FlowPpp from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowPpp from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowPpp from JSON text
	FromJson(value string) error
	// Validate validates FlowPpp
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowPpp, error)

	// Address returns PatternFlowPppAddress, set in FlowPpp.
	// PatternFlowPppAddress is pPP address
	Address() PatternFlowPppAddress
	// SetAddress assigns PatternFlowPppAddress provided by user to FlowPpp.
	// PatternFlowPppAddress is pPP address
	SetAddress(value PatternFlowPppAddress) FlowPpp
	// HasAddress checks if Address has been set in FlowPpp
	HasAddress() bool
	// Control returns PatternFlowPppControl, set in FlowPpp.
	// PatternFlowPppControl is pPP control
	Control() PatternFlowPppControl
	// SetControl assigns PatternFlowPppControl provided by user to FlowPpp.
	// PatternFlowPppControl is pPP control
	SetControl(value PatternFlowPppControl) FlowPpp
	// HasControl checks if Control has been set in FlowPpp
	HasControl() bool
	// ProtocolType returns PatternFlowPppProtocolType, set in FlowPpp.
	// PatternFlowPppProtocolType is pPP protocol type
	ProtocolType() PatternFlowPppProtocolType
	// SetProtocolType assigns PatternFlowPppProtocolType provided by user to FlowPpp.
	// PatternFlowPppProtocolType is pPP protocol type
	SetProtocolType(value PatternFlowPppProtocolType) FlowPpp
	// HasProtocolType checks if ProtocolType has been set in FlowPpp
	HasProtocolType() bool
	// contains filtered or unexported methods
}

FlowPpp is pPP packet header

func NewFlowPpp added in v0.6.5

func NewFlowPpp() FlowPpp

type FlowPredefinedTags added in v0.11.16

type FlowPredefinedTags interface {
	Validation
	// Msg marshals FlowPredefinedTags to protobuf object *otg.FlowPredefinedTags
	// and doesn't set defaults
	Msg() *otg.FlowPredefinedTags
	// SetMsg unmarshals FlowPredefinedTags from protobuf object *otg.FlowPredefinedTags
	// and doesn't set defaults
	SetMsg(*otg.FlowPredefinedTags) FlowPredefinedTags
	// ToProto marshals FlowPredefinedTags to protobuf object *otg.FlowPredefinedTags
	ToProto() (*otg.FlowPredefinedTags, error)
	// ToPbText marshals FlowPredefinedTags to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowPredefinedTags to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowPredefinedTags to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowPredefinedTags from protobuf object *otg.FlowPredefinedTags
	FromProto(msg *otg.FlowPredefinedTags) (FlowPredefinedTags, error)
	// FromPbText unmarshals FlowPredefinedTags from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowPredefinedTags from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowPredefinedTags from JSON text
	FromJson(value string) error
	// Validate validates FlowPredefinedTags
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowPredefinedTags, error)

	// RxName returns bool, set in FlowPredefinedTags.
	RxName() bool
	// SetRxName assigns bool provided by user to FlowPredefinedTags
	SetRxName(value bool) FlowPredefinedTags
	// HasRxName checks if RxName has been set in FlowPredefinedTags
	HasRxName() bool
	// contains filtered or unexported methods
}

FlowPredefinedTags is list of predefined flow tracking options, outside packet fields, that can be enabled.

func NewFlowPredefinedTags added in v0.11.16

func NewFlowPredefinedTags() FlowPredefinedTags

type FlowRate

type FlowRate interface {
	Validation
	// Msg marshals FlowRate to protobuf object *otg.FlowRate
	// and doesn't set defaults
	Msg() *otg.FlowRate
	// SetMsg unmarshals FlowRate from protobuf object *otg.FlowRate
	// and doesn't set defaults
	SetMsg(*otg.FlowRate) FlowRate
	// ToProto marshals FlowRate to protobuf object *otg.FlowRate
	ToProto() (*otg.FlowRate, error)
	// ToPbText marshals FlowRate to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowRate to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowRate to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowRate from protobuf object *otg.FlowRate
	FromProto(msg *otg.FlowRate) (FlowRate, error)
	// FromPbText unmarshals FlowRate from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowRate from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowRate from JSON text
	FromJson(value string) error
	// Validate validates FlowRate
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowRate, error)

	// Choice returns FlowRateChoiceEnum, set in FlowRate
	Choice() FlowRateChoiceEnum
	// SetChoice assigns FlowRateChoiceEnum provided by user to FlowRate
	SetChoice(value FlowRateChoiceEnum) FlowRate
	// HasChoice checks if Choice has been set in FlowRate
	HasChoice() bool
	// Pps returns int64, set in FlowRate.
	Pps() int64
	// SetPps assigns int64 provided by user to FlowRate
	SetPps(value int64) FlowRate
	// HasPps checks if Pps has been set in FlowRate
	HasPps() bool
	// Bps returns int64, set in FlowRate.
	Bps() int64
	// SetBps assigns int64 provided by user to FlowRate
	SetBps(value int64) FlowRate
	// HasBps checks if Bps has been set in FlowRate
	HasBps() bool
	// Kbps returns int64, set in FlowRate.
	Kbps() int64
	// SetKbps assigns int64 provided by user to FlowRate
	SetKbps(value int64) FlowRate
	// HasKbps checks if Kbps has been set in FlowRate
	HasKbps() bool
	// Mbps returns int64, set in FlowRate.
	Mbps() int64
	// SetMbps assigns int64 provided by user to FlowRate
	SetMbps(value int64) FlowRate
	// HasMbps checks if Mbps has been set in FlowRate
	HasMbps() bool
	// Gbps returns int32, set in FlowRate.
	Gbps() int32
	// SetGbps assigns int32 provided by user to FlowRate
	SetGbps(value int32) FlowRate
	// HasGbps checks if Gbps has been set in FlowRate
	HasGbps() bool
	// Percentage returns float32, set in FlowRate.
	Percentage() float32
	// SetPercentage assigns float32 provided by user to FlowRate
	SetPercentage(value float32) FlowRate
	// HasPercentage checks if Percentage has been set in FlowRate
	HasPercentage() bool
	// contains filtered or unexported methods
}

FlowRate is the rate of packet transmission

func NewFlowRate added in v0.6.5

func NewFlowRate() FlowRate

type FlowRateChoiceEnum

type FlowRateChoiceEnum string

type FlowRouter added in v0.6.1

type FlowRouter interface {
	Validation
	// Msg marshals FlowRouter to protobuf object *otg.FlowRouter
	// and doesn't set defaults
	Msg() *otg.FlowRouter
	// SetMsg unmarshals FlowRouter from protobuf object *otg.FlowRouter
	// and doesn't set defaults
	SetMsg(*otg.FlowRouter) FlowRouter
	// ToProto marshals FlowRouter to protobuf object *otg.FlowRouter
	ToProto() (*otg.FlowRouter, error)
	// ToPbText marshals FlowRouter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowRouter to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowRouter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowRouter from protobuf object *otg.FlowRouter
	FromProto(msg *otg.FlowRouter) (FlowRouter, error)
	// FromPbText unmarshals FlowRouter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowRouter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowRouter from JSON text
	FromJson(value string) error
	// Validate validates FlowRouter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowRouter, error)

	// Mode returns FlowRouterModeEnum, set in FlowRouter
	Mode() FlowRouterModeEnum
	// SetMode assigns FlowRouterModeEnum provided by user to FlowRouter
	SetMode(value FlowRouterModeEnum) FlowRouter
	// HasMode checks if Mode has been set in FlowRouter
	HasMode() bool
	// TxNames returns []string, set in FlowRouter.
	TxNames() []string
	// SetTxNames assigns []string provided by user to FlowRouter
	SetTxNames(value []string) FlowRouter
	// RxNames returns []string, set in FlowRouter.
	RxNames() []string
	// SetRxNames assigns []string provided by user to FlowRouter
	SetRxNames(value []string) FlowRouter
	// contains filtered or unexported methods
}

FlowRouter is a container for declaring a map of 1..n transmit devices to 1..n receive devices. This allows for a single flow to have different tx to rx device flows such as a single one to one map or a many to many map.

func NewFlowRouter added in v0.6.5

func NewFlowRouter() FlowRouter

type FlowRouterModeEnum added in v0.6.1

type FlowRouterModeEnum string

type FlowRxTxRatio added in v0.11.16

type FlowRxTxRatio interface {
	Validation
	// Msg marshals FlowRxTxRatio to protobuf object *otg.FlowRxTxRatio
	// and doesn't set defaults
	Msg() *otg.FlowRxTxRatio
	// SetMsg unmarshals FlowRxTxRatio from protobuf object *otg.FlowRxTxRatio
	// and doesn't set defaults
	SetMsg(*otg.FlowRxTxRatio) FlowRxTxRatio
	// ToProto marshals FlowRxTxRatio to protobuf object *otg.FlowRxTxRatio
	ToProto() (*otg.FlowRxTxRatio, error)
	// ToPbText marshals FlowRxTxRatio to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowRxTxRatio to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowRxTxRatio to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowRxTxRatio from protobuf object *otg.FlowRxTxRatio
	FromProto(msg *otg.FlowRxTxRatio) (FlowRxTxRatio, error)
	// FromPbText unmarshals FlowRxTxRatio from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowRxTxRatio from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowRxTxRatio from JSON text
	FromJson(value string) error
	// Validate validates FlowRxTxRatio
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowRxTxRatio, error)

	// Choice returns FlowRxTxRatioChoiceEnum, set in FlowRxTxRatio
	Choice() FlowRxTxRatioChoiceEnum
	// SetChoice assigns FlowRxTxRatioChoiceEnum provided by user to FlowRxTxRatio
	SetChoice(value FlowRxTxRatioChoiceEnum) FlowRxTxRatio
	// HasChoice checks if Choice has been set in FlowRxTxRatio
	HasChoice() bool
	// RxCount returns FlowRxTxRatioRxCount, set in FlowRxTxRatio.
	// FlowRxTxRatioRxCount is this is for cases where one copy of Tx packet is received on all Rx ports and so the sum total of Rx packets
	// received across all Rx ports is a multiple of Rx port count and Tx packets.
	RxCount() FlowRxTxRatioRxCount
	// SetRxCount assigns FlowRxTxRatioRxCount provided by user to FlowRxTxRatio.
	// FlowRxTxRatioRxCount is this is for cases where one copy of Tx packet is received on all Rx ports and so the sum total of Rx packets
	// received across all Rx ports is a multiple of Rx port count and Tx packets.
	SetRxCount(value FlowRxTxRatioRxCount) FlowRxTxRatio
	// HasRxCount checks if RxCount has been set in FlowRxTxRatio
	HasRxCount() bool
	// Value returns float32, set in FlowRxTxRatio.
	Value() float32
	// SetValue assigns float32 provided by user to FlowRxTxRatio
	SetValue(value float32) FlowRxTxRatio
	// HasValue checks if Value has been set in FlowRxTxRatio
	HasValue() bool
	// contains filtered or unexported methods
}

FlowRxTxRatio is rx Tx ratio is the ratio of expected number of Rx packets across all Rx ports to the Tx packets for the configured flow. It is a factor by which the Tx packet count is multiplied to calculate the sum of expected Rx packet count, across all Rx ports. This will be used to calculate loss percentage of flow at aggregate level.

func NewFlowRxTxRatio added in v0.11.16

func NewFlowRxTxRatio() FlowRxTxRatio

type FlowRxTxRatioChoiceEnum added in v0.11.16

type FlowRxTxRatioChoiceEnum string

type FlowRxTxRatioRxCount added in v0.11.16

type FlowRxTxRatioRxCount interface {
	Validation
	// Msg marshals FlowRxTxRatioRxCount to protobuf object *otg.FlowRxTxRatioRxCount
	// and doesn't set defaults
	Msg() *otg.FlowRxTxRatioRxCount
	// SetMsg unmarshals FlowRxTxRatioRxCount from protobuf object *otg.FlowRxTxRatioRxCount
	// and doesn't set defaults
	SetMsg(*otg.FlowRxTxRatioRxCount) FlowRxTxRatioRxCount
	// ToProto marshals FlowRxTxRatioRxCount to protobuf object *otg.FlowRxTxRatioRxCount
	ToProto() (*otg.FlowRxTxRatioRxCount, error)
	// ToPbText marshals FlowRxTxRatioRxCount to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowRxTxRatioRxCount to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowRxTxRatioRxCount to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowRxTxRatioRxCount from protobuf object *otg.FlowRxTxRatioRxCount
	FromProto(msg *otg.FlowRxTxRatioRxCount) (FlowRxTxRatioRxCount, error)
	// FromPbText unmarshals FlowRxTxRatioRxCount from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowRxTxRatioRxCount from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowRxTxRatioRxCount from JSON text
	FromJson(value string) error
	// Validate validates FlowRxTxRatioRxCount
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowRxTxRatioRxCount, error)
	// contains filtered or unexported methods
}

FlowRxTxRatioRxCount is this is for cases where one copy of Tx packet is received on all Rx ports and so the sum total of Rx packets received across all Rx ports is a multiple of Rx port count and Tx packets.

func NewFlowRxTxRatioRxCount added in v0.11.16

func NewFlowRxTxRatioRxCount() FlowRxTxRatioRxCount

type FlowSize

type FlowSize interface {
	Validation
	// Msg marshals FlowSize to protobuf object *otg.FlowSize
	// and doesn't set defaults
	Msg() *otg.FlowSize
	// SetMsg unmarshals FlowSize from protobuf object *otg.FlowSize
	// and doesn't set defaults
	SetMsg(*otg.FlowSize) FlowSize
	// ToProto marshals FlowSize to protobuf object *otg.FlowSize
	ToProto() (*otg.FlowSize, error)
	// ToPbText marshals FlowSize to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowSize to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowSize to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowSize from protobuf object *otg.FlowSize
	FromProto(msg *otg.FlowSize) (FlowSize, error)
	// FromPbText unmarshals FlowSize from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowSize from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowSize from JSON text
	FromJson(value string) error
	// Validate validates FlowSize
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowSize, error)

	// Choice returns FlowSizeChoiceEnum, set in FlowSize
	Choice() FlowSizeChoiceEnum
	// SetChoice assigns FlowSizeChoiceEnum provided by user to FlowSize
	SetChoice(value FlowSizeChoiceEnum) FlowSize
	// HasChoice checks if Choice has been set in FlowSize
	HasChoice() bool
	// Fixed returns int32, set in FlowSize.
	Fixed() int32
	// SetFixed assigns int32 provided by user to FlowSize
	SetFixed(value int32) FlowSize
	// HasFixed checks if Fixed has been set in FlowSize
	HasFixed() bool
	// Increment returns FlowSizeIncrement, set in FlowSize.
	// FlowSizeIncrement is frame size that increments from a starting size to
	// an ending size incrementing by a step size.
	Increment() FlowSizeIncrement
	// SetIncrement assigns FlowSizeIncrement provided by user to FlowSize.
	// FlowSizeIncrement is frame size that increments from a starting size to
	// an ending size incrementing by a step size.
	SetIncrement(value FlowSizeIncrement) FlowSize
	// HasIncrement checks if Increment has been set in FlowSize
	HasIncrement() bool
	// Random returns FlowSizeRandom, set in FlowSize.
	// FlowSizeRandom is random frame size from a min value to a max value.
	Random() FlowSizeRandom
	// SetRandom assigns FlowSizeRandom provided by user to FlowSize.
	// FlowSizeRandom is random frame size from a min value to a max value.
	SetRandom(value FlowSizeRandom) FlowSize
	// HasRandom checks if Random has been set in FlowSize
	HasRandom() bool
	// WeightPairs returns FlowSizeWeightPairs, set in FlowSize.
	// FlowSizeWeightPairs is frame size distribution, defined as <size, weight> pairs (including IMIX distribution).
	// Frames are randomly generated such that the proportion of each frame size out of the total number of frames
	// are matching with the weight value of the <size, weight> pair. However, as with any other probability
	// distribution, the sample distribution is close to theoretical value only if the size of the sample is reasonably large.
	// When the number of frames is very low the transmitted frames may not come close to the ratio described in the weight.
	WeightPairs() FlowSizeWeightPairs
	// SetWeightPairs assigns FlowSizeWeightPairs provided by user to FlowSize.
	// FlowSizeWeightPairs is frame size distribution, defined as <size, weight> pairs (including IMIX distribution).
	// Frames are randomly generated such that the proportion of each frame size out of the total number of frames
	// are matching with the weight value of the <size, weight> pair. However, as with any other probability
	// distribution, the sample distribution is close to theoretical value only if the size of the sample is reasonably large.
	// When the number of frames is very low the transmitted frames may not come close to the ratio described in the weight.
	SetWeightPairs(value FlowSizeWeightPairs) FlowSize
	// HasWeightPairs checks if WeightPairs has been set in FlowSize
	HasWeightPairs() bool
	// contains filtered or unexported methods
}

FlowSize is the frame size which overrides the total length of the packet

func NewFlowSize added in v0.6.5

func NewFlowSize() FlowSize

type FlowSizeChoiceEnum

type FlowSizeChoiceEnum string

type FlowSizeIncrement

type FlowSizeIncrement interface {
	Validation
	// Msg marshals FlowSizeIncrement to protobuf object *otg.FlowSizeIncrement
	// and doesn't set defaults
	Msg() *otg.FlowSizeIncrement
	// SetMsg unmarshals FlowSizeIncrement from protobuf object *otg.FlowSizeIncrement
	// and doesn't set defaults
	SetMsg(*otg.FlowSizeIncrement) FlowSizeIncrement
	// ToProto marshals FlowSizeIncrement to protobuf object *otg.FlowSizeIncrement
	ToProto() (*otg.FlowSizeIncrement, error)
	// ToPbText marshals FlowSizeIncrement to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowSizeIncrement to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowSizeIncrement to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowSizeIncrement from protobuf object *otg.FlowSizeIncrement
	FromProto(msg *otg.FlowSizeIncrement) (FlowSizeIncrement, error)
	// FromPbText unmarshals FlowSizeIncrement from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowSizeIncrement from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowSizeIncrement from JSON text
	FromJson(value string) error
	// Validate validates FlowSizeIncrement
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowSizeIncrement, error)

	// Start returns int32, set in FlowSizeIncrement.
	Start() int32
	// SetStart assigns int32 provided by user to FlowSizeIncrement
	SetStart(value int32) FlowSizeIncrement
	// HasStart checks if Start has been set in FlowSizeIncrement
	HasStart() bool
	// End returns int32, set in FlowSizeIncrement.
	End() int32
	// SetEnd assigns int32 provided by user to FlowSizeIncrement
	SetEnd(value int32) FlowSizeIncrement
	// HasEnd checks if End has been set in FlowSizeIncrement
	HasEnd() bool
	// Step returns int32, set in FlowSizeIncrement.
	Step() int32
	// SetStep assigns int32 provided by user to FlowSizeIncrement
	SetStep(value int32) FlowSizeIncrement
	// HasStep checks if Step has been set in FlowSizeIncrement
	HasStep() bool
	// contains filtered or unexported methods
}

FlowSizeIncrement is frame size that increments from a starting size to an ending size incrementing by a step size.

func NewFlowSizeIncrement added in v0.6.5

func NewFlowSizeIncrement() FlowSizeIncrement

type FlowSizeRandom

type FlowSizeRandom interface {
	Validation
	// Msg marshals FlowSizeRandom to protobuf object *otg.FlowSizeRandom
	// and doesn't set defaults
	Msg() *otg.FlowSizeRandom
	// SetMsg unmarshals FlowSizeRandom from protobuf object *otg.FlowSizeRandom
	// and doesn't set defaults
	SetMsg(*otg.FlowSizeRandom) FlowSizeRandom
	// ToProto marshals FlowSizeRandom to protobuf object *otg.FlowSizeRandom
	ToProto() (*otg.FlowSizeRandom, error)
	// ToPbText marshals FlowSizeRandom to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowSizeRandom to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowSizeRandom to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowSizeRandom from protobuf object *otg.FlowSizeRandom
	FromProto(msg *otg.FlowSizeRandom) (FlowSizeRandom, error)
	// FromPbText unmarshals FlowSizeRandom from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowSizeRandom from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowSizeRandom from JSON text
	FromJson(value string) error
	// Validate validates FlowSizeRandom
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowSizeRandom, error)

	// Min returns int32, set in FlowSizeRandom.
	Min() int32
	// SetMin assigns int32 provided by user to FlowSizeRandom
	SetMin(value int32) FlowSizeRandom
	// HasMin checks if Min has been set in FlowSizeRandom
	HasMin() bool
	// Max returns int32, set in FlowSizeRandom.
	Max() int32
	// SetMax assigns int32 provided by user to FlowSizeRandom
	SetMax(value int32) FlowSizeRandom
	// HasMax checks if Max has been set in FlowSizeRandom
	HasMax() bool
	// contains filtered or unexported methods
}

FlowSizeRandom is random frame size from a min value to a max value.

func NewFlowSizeRandom added in v0.6.5

func NewFlowSizeRandom() FlowSizeRandom

type FlowSizeWeightPairs added in v0.11.15

type FlowSizeWeightPairs interface {
	Validation
	// Msg marshals FlowSizeWeightPairs to protobuf object *otg.FlowSizeWeightPairs
	// and doesn't set defaults
	Msg() *otg.FlowSizeWeightPairs
	// SetMsg unmarshals FlowSizeWeightPairs from protobuf object *otg.FlowSizeWeightPairs
	// and doesn't set defaults
	SetMsg(*otg.FlowSizeWeightPairs) FlowSizeWeightPairs
	// ToProto marshals FlowSizeWeightPairs to protobuf object *otg.FlowSizeWeightPairs
	ToProto() (*otg.FlowSizeWeightPairs, error)
	// ToPbText marshals FlowSizeWeightPairs to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowSizeWeightPairs to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowSizeWeightPairs to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowSizeWeightPairs from protobuf object *otg.FlowSizeWeightPairs
	FromProto(msg *otg.FlowSizeWeightPairs) (FlowSizeWeightPairs, error)
	// FromPbText unmarshals FlowSizeWeightPairs from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowSizeWeightPairs from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowSizeWeightPairs from JSON text
	FromJson(value string) error
	// Validate validates FlowSizeWeightPairs
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowSizeWeightPairs, error)

	// Choice returns FlowSizeWeightPairsChoiceEnum, set in FlowSizeWeightPairs
	Choice() FlowSizeWeightPairsChoiceEnum
	// SetChoice assigns FlowSizeWeightPairsChoiceEnum provided by user to FlowSizeWeightPairs
	SetChoice(value FlowSizeWeightPairsChoiceEnum) FlowSizeWeightPairs
	// HasChoice checks if Choice has been set in FlowSizeWeightPairs
	HasChoice() bool
	// Predefined returns FlowSizeWeightPairsPredefinedEnum, set in FlowSizeWeightPairs
	Predefined() FlowSizeWeightPairsPredefinedEnum
	// SetPredefined assigns FlowSizeWeightPairsPredefinedEnum provided by user to FlowSizeWeightPairs
	SetPredefined(value FlowSizeWeightPairsPredefinedEnum) FlowSizeWeightPairs
	// HasPredefined checks if Predefined has been set in FlowSizeWeightPairs
	HasPredefined() bool
	// Custom returns FlowSizeWeightPairsFlowSizeWeightPairsCustomIterIter, set in FlowSizeWeightPairs
	Custom() FlowSizeWeightPairsFlowSizeWeightPairsCustomIter
	// contains filtered or unexported methods
}

FlowSizeWeightPairs is frame size distribution, defined as <size, weight> pairs (including IMIX distribution). Frames are randomly generated such that the proportion of each frame size out of the total number of frames are matching with the weight value of the <size, weight> pair. However, as with any other probability distribution, the sample distribution is close to theoretical value only if the size of the sample is reasonably large. When the number of frames is very low the transmitted frames may not come close to the ratio described in the weight.

func NewFlowSizeWeightPairs added in v0.11.15

func NewFlowSizeWeightPairs() FlowSizeWeightPairs

type FlowSizeWeightPairsChoiceEnum added in v0.11.15

type FlowSizeWeightPairsChoiceEnum string

type FlowSizeWeightPairsCustom added in v0.11.15

type FlowSizeWeightPairsCustom interface {
	Validation
	// Msg marshals FlowSizeWeightPairsCustom to protobuf object *otg.FlowSizeWeightPairsCustom
	// and doesn't set defaults
	Msg() *otg.FlowSizeWeightPairsCustom
	// SetMsg unmarshals FlowSizeWeightPairsCustom from protobuf object *otg.FlowSizeWeightPairsCustom
	// and doesn't set defaults
	SetMsg(*otg.FlowSizeWeightPairsCustom) FlowSizeWeightPairsCustom
	// ToProto marshals FlowSizeWeightPairsCustom to protobuf object *otg.FlowSizeWeightPairsCustom
	ToProto() (*otg.FlowSizeWeightPairsCustom, error)
	// ToPbText marshals FlowSizeWeightPairsCustom to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowSizeWeightPairsCustom to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowSizeWeightPairsCustom to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowSizeWeightPairsCustom from protobuf object *otg.FlowSizeWeightPairsCustom
	FromProto(msg *otg.FlowSizeWeightPairsCustom) (FlowSizeWeightPairsCustom, error)
	// FromPbText unmarshals FlowSizeWeightPairsCustom from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowSizeWeightPairsCustom from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowSizeWeightPairsCustom from JSON text
	FromJson(value string) error
	// Validate validates FlowSizeWeightPairsCustom
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowSizeWeightPairsCustom, error)

	// Size returns uint32, set in FlowSizeWeightPairsCustom.
	Size() uint32
	// SetSize assigns uint32 provided by user to FlowSizeWeightPairsCustom
	SetSize(value uint32) FlowSizeWeightPairsCustom
	// HasSize checks if Size has been set in FlowSizeWeightPairsCustom
	HasSize() bool
	// Weight returns float32, set in FlowSizeWeightPairsCustom.
	Weight() float32
	// SetWeight assigns float32 provided by user to FlowSizeWeightPairsCustom
	SetWeight(value float32) FlowSizeWeightPairsCustom
	// HasWeight checks if Weight has been set in FlowSizeWeightPairsCustom
	HasWeight() bool
	// contains filtered or unexported methods
}

FlowSizeWeightPairsCustom is custom frame size distribution <size, weight> pair.

func NewFlowSizeWeightPairsCustom added in v0.11.15

func NewFlowSizeWeightPairsCustom() FlowSizeWeightPairsCustom

type FlowSizeWeightPairsFlowSizeWeightPairsCustomIter added in v0.11.15

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

type FlowSizeWeightPairsPredefinedEnum added in v0.11.15

type FlowSizeWeightPairsPredefinedEnum string

type FlowTaggedMetric added in v0.11.13

type FlowTaggedMetric interface {
	Validation
	// Msg marshals FlowTaggedMetric to protobuf object *otg.FlowTaggedMetric
	// and doesn't set defaults
	Msg() *otg.FlowTaggedMetric
	// SetMsg unmarshals FlowTaggedMetric from protobuf object *otg.FlowTaggedMetric
	// and doesn't set defaults
	SetMsg(*otg.FlowTaggedMetric) FlowTaggedMetric
	// ToProto marshals FlowTaggedMetric to protobuf object *otg.FlowTaggedMetric
	ToProto() (*otg.FlowTaggedMetric, error)
	// ToPbText marshals FlowTaggedMetric to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowTaggedMetric to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowTaggedMetric to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowTaggedMetric from protobuf object *otg.FlowTaggedMetric
	FromProto(msg *otg.FlowTaggedMetric) (FlowTaggedMetric, error)
	// FromPbText unmarshals FlowTaggedMetric from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowTaggedMetric from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowTaggedMetric from JSON text
	FromJson(value string) error
	// Validate validates FlowTaggedMetric
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowTaggedMetric, error)

	// Tags returns FlowTaggedMetricFlowMetricTagIterIter, set in FlowTaggedMetric
	Tags() FlowTaggedMetricFlowMetricTagIter
	// FramesTx returns uint64, set in FlowTaggedMetric.
	FramesTx() uint64
	// SetFramesTx assigns uint64 provided by user to FlowTaggedMetric
	SetFramesTx(value uint64) FlowTaggedMetric
	// HasFramesTx checks if FramesTx has been set in FlowTaggedMetric
	HasFramesTx() bool
	// FramesRx returns uint64, set in FlowTaggedMetric.
	FramesRx() uint64
	// SetFramesRx assigns uint64 provided by user to FlowTaggedMetric
	SetFramesRx(value uint64) FlowTaggedMetric
	// HasFramesRx checks if FramesRx has been set in FlowTaggedMetric
	HasFramesRx() bool
	// BytesTx returns uint64, set in FlowTaggedMetric.
	BytesTx() uint64
	// SetBytesTx assigns uint64 provided by user to FlowTaggedMetric
	SetBytesTx(value uint64) FlowTaggedMetric
	// HasBytesTx checks if BytesTx has been set in FlowTaggedMetric
	HasBytesTx() bool
	// BytesRx returns uint64, set in FlowTaggedMetric.
	BytesRx() uint64
	// SetBytesRx assigns uint64 provided by user to FlowTaggedMetric
	SetBytesRx(value uint64) FlowTaggedMetric
	// HasBytesRx checks if BytesRx has been set in FlowTaggedMetric
	HasBytesRx() bool
	// FramesTxRate returns float32, set in FlowTaggedMetric.
	FramesTxRate() float32
	// SetFramesTxRate assigns float32 provided by user to FlowTaggedMetric
	SetFramesTxRate(value float32) FlowTaggedMetric
	// HasFramesTxRate checks if FramesTxRate has been set in FlowTaggedMetric
	HasFramesTxRate() bool
	// FramesRxRate returns float32, set in FlowTaggedMetric.
	FramesRxRate() float32
	// SetFramesRxRate assigns float32 provided by user to FlowTaggedMetric
	SetFramesRxRate(value float32) FlowTaggedMetric
	// HasFramesRxRate checks if FramesRxRate has been set in FlowTaggedMetric
	HasFramesRxRate() bool
	// Loss returns float32, set in FlowTaggedMetric.
	Loss() float32
	// SetLoss assigns float32 provided by user to FlowTaggedMetric
	SetLoss(value float32) FlowTaggedMetric
	// HasLoss checks if Loss has been set in FlowTaggedMetric
	HasLoss() bool
	// Timestamps returns MetricTimestamp, set in FlowTaggedMetric.
	// MetricTimestamp is the container for timestamp metrics.
	// The container will be empty if the timestamp has not been configured for
	// the flow.
	Timestamps() MetricTimestamp
	// SetTimestamps assigns MetricTimestamp provided by user to FlowTaggedMetric.
	// MetricTimestamp is the container for timestamp metrics.
	// The container will be empty if the timestamp has not been configured for
	// the flow.
	SetTimestamps(value MetricTimestamp) FlowTaggedMetric
	// HasTimestamps checks if Timestamps has been set in FlowTaggedMetric
	HasTimestamps() bool
	// Latency returns MetricLatency, set in FlowTaggedMetric.
	// MetricLatency is the container for latency metrics.
	// The min/max/avg values are dependent on the type of latency measurement
	// mode that is configured.
	// The container will be empty if the latency has not been configured for
	// the flow.
	Latency() MetricLatency
	// SetLatency assigns MetricLatency provided by user to FlowTaggedMetric.
	// MetricLatency is the container for latency metrics.
	// The min/max/avg values are dependent on the type of latency measurement
	// mode that is configured.
	// The container will be empty if the latency has not been configured for
	// the flow.
	SetLatency(value MetricLatency) FlowTaggedMetric
	// HasLatency checks if Latency has been set in FlowTaggedMetric
	HasLatency() bool
	// contains filtered or unexported methods
}

FlowTaggedMetric is metrics for each set of values applicable for configured metric tags in ingress or egress packet header fields of corresponding flow. The container is keyed by list of tag-value pairs.

func NewFlowTaggedMetric added in v0.11.13

func NewFlowTaggedMetric() FlowTaggedMetric

type FlowTaggedMetricFlowMetricTagIter added in v0.11.13

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

type FlowTaggedMetricsFilter added in v0.11.13

type FlowTaggedMetricsFilter interface {
	Validation
	// Msg marshals FlowTaggedMetricsFilter to protobuf object *otg.FlowTaggedMetricsFilter
	// and doesn't set defaults
	Msg() *otg.FlowTaggedMetricsFilter
	// SetMsg unmarshals FlowTaggedMetricsFilter from protobuf object *otg.FlowTaggedMetricsFilter
	// and doesn't set defaults
	SetMsg(*otg.FlowTaggedMetricsFilter) FlowTaggedMetricsFilter
	// ToProto marshals FlowTaggedMetricsFilter to protobuf object *otg.FlowTaggedMetricsFilter
	ToProto() (*otg.FlowTaggedMetricsFilter, error)
	// ToPbText marshals FlowTaggedMetricsFilter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowTaggedMetricsFilter to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowTaggedMetricsFilter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowTaggedMetricsFilter from protobuf object *otg.FlowTaggedMetricsFilter
	FromProto(msg *otg.FlowTaggedMetricsFilter) (FlowTaggedMetricsFilter, error)
	// FromPbText unmarshals FlowTaggedMetricsFilter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowTaggedMetricsFilter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowTaggedMetricsFilter from JSON text
	FromJson(value string) error
	// Validate validates FlowTaggedMetricsFilter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowTaggedMetricsFilter, error)

	// Include returns bool, set in FlowTaggedMetricsFilter.
	Include() bool
	// SetInclude assigns bool provided by user to FlowTaggedMetricsFilter
	SetInclude(value bool) FlowTaggedMetricsFilter
	// HasInclude checks if Include has been set in FlowTaggedMetricsFilter
	HasInclude() bool
	// IncludeEmptyMetrics returns bool, set in FlowTaggedMetricsFilter.
	IncludeEmptyMetrics() bool
	// SetIncludeEmptyMetrics assigns bool provided by user to FlowTaggedMetricsFilter
	SetIncludeEmptyMetrics(value bool) FlowTaggedMetricsFilter
	// HasIncludeEmptyMetrics checks if IncludeEmptyMetrics has been set in FlowTaggedMetricsFilter
	HasIncludeEmptyMetrics() bool
	// MetricNames returns []FlowTaggedMetricsFilterMetricNamesEnum, set in FlowTaggedMetricsFilter
	MetricNames() []FlowTaggedMetricsFilterMetricNamesEnum
	// SetMetricNames assigns []FlowTaggedMetricsFilterMetricNamesEnum provided by user to FlowTaggedMetricsFilter
	SetMetricNames(value []FlowTaggedMetricsFilterMetricNamesEnum) FlowTaggedMetricsFilter
	// Filters returns FlowTaggedMetricsFilterFlowMetricTagFilterIterIter, set in FlowTaggedMetricsFilter
	Filters() FlowTaggedMetricsFilterFlowMetricTagFilterIter
	// contains filtered or unexported methods
}

FlowTaggedMetricsFilter is filter for tagged metrics

func NewFlowTaggedMetricsFilter added in v0.11.13

func NewFlowTaggedMetricsFilter() FlowTaggedMetricsFilter

type FlowTaggedMetricsFilterFlowMetricTagFilterIter added in v0.11.13

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

type FlowTaggedMetricsFilterMetricNamesEnum added in v0.11.13

type FlowTaggedMetricsFilterMetricNamesEnum string

type FlowTcp

type FlowTcp interface {
	Validation
	// Msg marshals FlowTcp to protobuf object *otg.FlowTcp
	// and doesn't set defaults
	Msg() *otg.FlowTcp
	// SetMsg unmarshals FlowTcp from protobuf object *otg.FlowTcp
	// and doesn't set defaults
	SetMsg(*otg.FlowTcp) FlowTcp
	// ToProto marshals FlowTcp to protobuf object *otg.FlowTcp
	ToProto() (*otg.FlowTcp, error)
	// ToPbText marshals FlowTcp to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowTcp to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowTcp to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowTcp from protobuf object *otg.FlowTcp
	FromProto(msg *otg.FlowTcp) (FlowTcp, error)
	// FromPbText unmarshals FlowTcp from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowTcp from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowTcp from JSON text
	FromJson(value string) error
	// Validate validates FlowTcp
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowTcp, error)

	// SrcPort returns PatternFlowTcpSrcPort, set in FlowTcp.
	// PatternFlowTcpSrcPort is source port
	SrcPort() PatternFlowTcpSrcPort
	// SetSrcPort assigns PatternFlowTcpSrcPort provided by user to FlowTcp.
	// PatternFlowTcpSrcPort is source port
	SetSrcPort(value PatternFlowTcpSrcPort) FlowTcp
	// HasSrcPort checks if SrcPort has been set in FlowTcp
	HasSrcPort() bool
	// DstPort returns PatternFlowTcpDstPort, set in FlowTcp.
	// PatternFlowTcpDstPort is destination port
	DstPort() PatternFlowTcpDstPort
	// SetDstPort assigns PatternFlowTcpDstPort provided by user to FlowTcp.
	// PatternFlowTcpDstPort is destination port
	SetDstPort(value PatternFlowTcpDstPort) FlowTcp
	// HasDstPort checks if DstPort has been set in FlowTcp
	HasDstPort() bool
	// SeqNum returns PatternFlowTcpSeqNum, set in FlowTcp.
	// PatternFlowTcpSeqNum is sequence number
	SeqNum() PatternFlowTcpSeqNum
	// SetSeqNum assigns PatternFlowTcpSeqNum provided by user to FlowTcp.
	// PatternFlowTcpSeqNum is sequence number
	SetSeqNum(value PatternFlowTcpSeqNum) FlowTcp
	// HasSeqNum checks if SeqNum has been set in FlowTcp
	HasSeqNum() bool
	// AckNum returns PatternFlowTcpAckNum, set in FlowTcp.
	// PatternFlowTcpAckNum is acknowledgement number
	AckNum() PatternFlowTcpAckNum
	// SetAckNum assigns PatternFlowTcpAckNum provided by user to FlowTcp.
	// PatternFlowTcpAckNum is acknowledgement number
	SetAckNum(value PatternFlowTcpAckNum) FlowTcp
	// HasAckNum checks if AckNum has been set in FlowTcp
	HasAckNum() bool
	// DataOffset returns PatternFlowTcpDataOffset, set in FlowTcp.
	// PatternFlowTcpDataOffset is the number of 32 bit words in the TCP header. This indicates where the data begins.
	DataOffset() PatternFlowTcpDataOffset
	// SetDataOffset assigns PatternFlowTcpDataOffset provided by user to FlowTcp.
	// PatternFlowTcpDataOffset is the number of 32 bit words in the TCP header. This indicates where the data begins.
	SetDataOffset(value PatternFlowTcpDataOffset) FlowTcp
	// HasDataOffset checks if DataOffset has been set in FlowTcp
	HasDataOffset() bool
	// EcnNs returns PatternFlowTcpEcnNs, set in FlowTcp.
	// PatternFlowTcpEcnNs is explicit congestion notification, concealment protection.
	EcnNs() PatternFlowTcpEcnNs
	// SetEcnNs assigns PatternFlowTcpEcnNs provided by user to FlowTcp.
	// PatternFlowTcpEcnNs is explicit congestion notification, concealment protection.
	SetEcnNs(value PatternFlowTcpEcnNs) FlowTcp
	// HasEcnNs checks if EcnNs has been set in FlowTcp
	HasEcnNs() bool
	// EcnCwr returns PatternFlowTcpEcnCwr, set in FlowTcp.
	// PatternFlowTcpEcnCwr is explicit congestion notification, congestion window reduced.
	EcnCwr() PatternFlowTcpEcnCwr
	// SetEcnCwr assigns PatternFlowTcpEcnCwr provided by user to FlowTcp.
	// PatternFlowTcpEcnCwr is explicit congestion notification, congestion window reduced.
	SetEcnCwr(value PatternFlowTcpEcnCwr) FlowTcp
	// HasEcnCwr checks if EcnCwr has been set in FlowTcp
	HasEcnCwr() bool
	// EcnEcho returns PatternFlowTcpEcnEcho, set in FlowTcp.
	// PatternFlowTcpEcnEcho is explicit congestion notification, echo. 1 indicates the peer is ecn capable. 0 indicates that a packet with ipv4.ecn = 11 in the ip header was  received during normal transmission.
	EcnEcho() PatternFlowTcpEcnEcho
	// SetEcnEcho assigns PatternFlowTcpEcnEcho provided by user to FlowTcp.
	// PatternFlowTcpEcnEcho is explicit congestion notification, echo. 1 indicates the peer is ecn capable. 0 indicates that a packet with ipv4.ecn = 11 in the ip header was  received during normal transmission.
	SetEcnEcho(value PatternFlowTcpEcnEcho) FlowTcp
	// HasEcnEcho checks if EcnEcho has been set in FlowTcp
	HasEcnEcho() bool
	// CtlUrg returns PatternFlowTcpCtlUrg, set in FlowTcp.
	// PatternFlowTcpCtlUrg is a value of 1 indicates that the urgent pointer field is significant.
	CtlUrg() PatternFlowTcpCtlUrg
	// SetCtlUrg assigns PatternFlowTcpCtlUrg provided by user to FlowTcp.
	// PatternFlowTcpCtlUrg is a value of 1 indicates that the urgent pointer field is significant.
	SetCtlUrg(value PatternFlowTcpCtlUrg) FlowTcp
	// HasCtlUrg checks if CtlUrg has been set in FlowTcp
	HasCtlUrg() bool
	// CtlAck returns PatternFlowTcpCtlAck, set in FlowTcp.
	// PatternFlowTcpCtlAck is a value of 1 indicates that the ackknowledgment field is significant.
	CtlAck() PatternFlowTcpCtlAck
	// SetCtlAck assigns PatternFlowTcpCtlAck provided by user to FlowTcp.
	// PatternFlowTcpCtlAck is a value of 1 indicates that the ackknowledgment field is significant.
	SetCtlAck(value PatternFlowTcpCtlAck) FlowTcp
	// HasCtlAck checks if CtlAck has been set in FlowTcp
	HasCtlAck() bool
	// CtlPsh returns PatternFlowTcpCtlPsh, set in FlowTcp.
	// PatternFlowTcpCtlPsh is asks to push the buffered data to the receiving application.
	CtlPsh() PatternFlowTcpCtlPsh
	// SetCtlPsh assigns PatternFlowTcpCtlPsh provided by user to FlowTcp.
	// PatternFlowTcpCtlPsh is asks to push the buffered data to the receiving application.
	SetCtlPsh(value PatternFlowTcpCtlPsh) FlowTcp
	// HasCtlPsh checks if CtlPsh has been set in FlowTcp
	HasCtlPsh() bool
	// CtlRst returns PatternFlowTcpCtlRst, set in FlowTcp.
	// PatternFlowTcpCtlRst is reset the connection.
	CtlRst() PatternFlowTcpCtlRst
	// SetCtlRst assigns PatternFlowTcpCtlRst provided by user to FlowTcp.
	// PatternFlowTcpCtlRst is reset the connection.
	SetCtlRst(value PatternFlowTcpCtlRst) FlowTcp
	// HasCtlRst checks if CtlRst has been set in FlowTcp
	HasCtlRst() bool
	// CtlSyn returns PatternFlowTcpCtlSyn, set in FlowTcp.
	// PatternFlowTcpCtlSyn is synchronize sequenece numbers.
	CtlSyn() PatternFlowTcpCtlSyn
	// SetCtlSyn assigns PatternFlowTcpCtlSyn provided by user to FlowTcp.
	// PatternFlowTcpCtlSyn is synchronize sequenece numbers.
	SetCtlSyn(value PatternFlowTcpCtlSyn) FlowTcp
	// HasCtlSyn checks if CtlSyn has been set in FlowTcp
	HasCtlSyn() bool
	// CtlFin returns PatternFlowTcpCtlFin, set in FlowTcp.
	// PatternFlowTcpCtlFin is last packet from the sender.
	CtlFin() PatternFlowTcpCtlFin
	// SetCtlFin assigns PatternFlowTcpCtlFin provided by user to FlowTcp.
	// PatternFlowTcpCtlFin is last packet from the sender.
	SetCtlFin(value PatternFlowTcpCtlFin) FlowTcp
	// HasCtlFin checks if CtlFin has been set in FlowTcp
	HasCtlFin() bool
	// Window returns PatternFlowTcpWindow, set in FlowTcp.
	// PatternFlowTcpWindow is tcp connection window.
	Window() PatternFlowTcpWindow
	// SetWindow assigns PatternFlowTcpWindow provided by user to FlowTcp.
	// PatternFlowTcpWindow is tcp connection window.
	SetWindow(value PatternFlowTcpWindow) FlowTcp
	// HasWindow checks if Window has been set in FlowTcp
	HasWindow() bool
	// contains filtered or unexported methods
}

FlowTcp is tCP packet header

func NewFlowTcp added in v0.6.5

func NewFlowTcp() FlowTcp

type FlowTxRx

type FlowTxRx interface {
	Validation
	// Msg marshals FlowTxRx to protobuf object *otg.FlowTxRx
	// and doesn't set defaults
	Msg() *otg.FlowTxRx
	// SetMsg unmarshals FlowTxRx from protobuf object *otg.FlowTxRx
	// and doesn't set defaults
	SetMsg(*otg.FlowTxRx) FlowTxRx
	// ToProto marshals FlowTxRx to protobuf object *otg.FlowTxRx
	ToProto() (*otg.FlowTxRx, error)
	// ToPbText marshals FlowTxRx to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowTxRx to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowTxRx to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowTxRx from protobuf object *otg.FlowTxRx
	FromProto(msg *otg.FlowTxRx) (FlowTxRx, error)
	// FromPbText unmarshals FlowTxRx from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowTxRx from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowTxRx from JSON text
	FromJson(value string) error
	// Validate validates FlowTxRx
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowTxRx, error)

	// Choice returns FlowTxRxChoiceEnum, set in FlowTxRx
	Choice() FlowTxRxChoiceEnum
	// SetChoice assigns FlowTxRxChoiceEnum provided by user to FlowTxRx
	SetChoice(value FlowTxRxChoiceEnum) FlowTxRx
	// HasChoice checks if Choice has been set in FlowTxRx
	HasChoice() bool
	// Port returns FlowPort, set in FlowTxRx.
	// FlowPort is a container for a transmit port and 0..n intended receive ports.
	// When assigning this container to a flow the flows's
	// packet headers will not be populated with any address resolution
	// information such as source and/or destination addresses.
	// For example Flow.Ethernet dst mac address values will be defaulted to 0.
	// For full control over the Flow.properties.packet header contents use this
	// container.
	Port() FlowPort
	// SetPort assigns FlowPort provided by user to FlowTxRx.
	// FlowPort is a container for a transmit port and 0..n intended receive ports.
	// When assigning this container to a flow the flows's
	// packet headers will not be populated with any address resolution
	// information such as source and/or destination addresses.
	// For example Flow.Ethernet dst mac address values will be defaulted to 0.
	// For full control over the Flow.properties.packet header contents use this
	// container.
	SetPort(value FlowPort) FlowTxRx
	// HasPort checks if Port has been set in FlowTxRx
	HasPort() bool
	// Device returns FlowRouter, set in FlowTxRx.
	// FlowRouter is a container for declaring a map of 1..n transmit devices to 1..n receive devices. This allows for a single flow to have  different tx to rx device flows such as a single one to one map or a  many to many map.
	Device() FlowRouter
	// SetDevice assigns FlowRouter provided by user to FlowTxRx.
	// FlowRouter is a container for declaring a map of 1..n transmit devices to 1..n receive devices. This allows for a single flow to have  different tx to rx device flows such as a single one to one map or a  many to many map.
	SetDevice(value FlowRouter) FlowTxRx
	// HasDevice checks if Device has been set in FlowTxRx
	HasDevice() bool
	// contains filtered or unexported methods
}

FlowTxRx is a container for different types of transmit and receive endpoint containers.

func NewFlowTxRx added in v0.6.5

func NewFlowTxRx() FlowTxRx

type FlowTxRxChoiceEnum

type FlowTxRxChoiceEnum string

type FlowUdp

type FlowUdp interface {
	Validation
	// Msg marshals FlowUdp to protobuf object *otg.FlowUdp
	// and doesn't set defaults
	Msg() *otg.FlowUdp
	// SetMsg unmarshals FlowUdp from protobuf object *otg.FlowUdp
	// and doesn't set defaults
	SetMsg(*otg.FlowUdp) FlowUdp
	// ToProto marshals FlowUdp to protobuf object *otg.FlowUdp
	ToProto() (*otg.FlowUdp, error)
	// ToPbText marshals FlowUdp to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowUdp to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowUdp to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowUdp from protobuf object *otg.FlowUdp
	FromProto(msg *otg.FlowUdp) (FlowUdp, error)
	// FromPbText unmarshals FlowUdp from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowUdp from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowUdp from JSON text
	FromJson(value string) error
	// Validate validates FlowUdp
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowUdp, error)

	// SrcPort returns PatternFlowUdpSrcPort, set in FlowUdp.
	// PatternFlowUdpSrcPort is source port
	SrcPort() PatternFlowUdpSrcPort
	// SetSrcPort assigns PatternFlowUdpSrcPort provided by user to FlowUdp.
	// PatternFlowUdpSrcPort is source port
	SetSrcPort(value PatternFlowUdpSrcPort) FlowUdp
	// HasSrcPort checks if SrcPort has been set in FlowUdp
	HasSrcPort() bool
	// DstPort returns PatternFlowUdpDstPort, set in FlowUdp.
	// PatternFlowUdpDstPort is destination port
	DstPort() PatternFlowUdpDstPort
	// SetDstPort assigns PatternFlowUdpDstPort provided by user to FlowUdp.
	// PatternFlowUdpDstPort is destination port
	SetDstPort(value PatternFlowUdpDstPort) FlowUdp
	// HasDstPort checks if DstPort has been set in FlowUdp
	HasDstPort() bool
	// Length returns PatternFlowUdpLength, set in FlowUdp.
	// PatternFlowUdpLength is length
	Length() PatternFlowUdpLength
	// SetLength assigns PatternFlowUdpLength provided by user to FlowUdp.
	// PatternFlowUdpLength is length
	SetLength(value PatternFlowUdpLength) FlowUdp
	// HasLength checks if Length has been set in FlowUdp
	HasLength() bool
	// Checksum returns PatternFlowUdpChecksum, set in FlowUdp.
	// PatternFlowUdpChecksum is uDP checksum
	Checksum() PatternFlowUdpChecksum
	// SetChecksum assigns PatternFlowUdpChecksum provided by user to FlowUdp.
	// PatternFlowUdpChecksum is uDP checksum
	SetChecksum(value PatternFlowUdpChecksum) FlowUdp
	// HasChecksum checks if Checksum has been set in FlowUdp
	HasChecksum() bool
	// contains filtered or unexported methods
}

FlowUdp is uDP packet header

func NewFlowUdp added in v0.6.5

func NewFlowUdp() FlowUdp

type FlowVlan

type FlowVlan interface {
	Validation
	// Msg marshals FlowVlan to protobuf object *otg.FlowVlan
	// and doesn't set defaults
	Msg() *otg.FlowVlan
	// SetMsg unmarshals FlowVlan from protobuf object *otg.FlowVlan
	// and doesn't set defaults
	SetMsg(*otg.FlowVlan) FlowVlan
	// ToProto marshals FlowVlan to protobuf object *otg.FlowVlan
	ToProto() (*otg.FlowVlan, error)
	// ToPbText marshals FlowVlan to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowVlan to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowVlan to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowVlan from protobuf object *otg.FlowVlan
	FromProto(msg *otg.FlowVlan) (FlowVlan, error)
	// FromPbText unmarshals FlowVlan from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowVlan from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowVlan from JSON text
	FromJson(value string) error
	// Validate validates FlowVlan
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowVlan, error)

	// Priority returns PatternFlowVlanPriority, set in FlowVlan.
	// PatternFlowVlanPriority is priority code point
	Priority() PatternFlowVlanPriority
	// SetPriority assigns PatternFlowVlanPriority provided by user to FlowVlan.
	// PatternFlowVlanPriority is priority code point
	SetPriority(value PatternFlowVlanPriority) FlowVlan
	// HasPriority checks if Priority has been set in FlowVlan
	HasPriority() bool
	// Cfi returns PatternFlowVlanCfi, set in FlowVlan.
	// PatternFlowVlanCfi is canonical format indicator or drop elegible indicator
	Cfi() PatternFlowVlanCfi
	// SetCfi assigns PatternFlowVlanCfi provided by user to FlowVlan.
	// PatternFlowVlanCfi is canonical format indicator or drop elegible indicator
	SetCfi(value PatternFlowVlanCfi) FlowVlan
	// HasCfi checks if Cfi has been set in FlowVlan
	HasCfi() bool
	// Id returns PatternFlowVlanId, set in FlowVlan.
	// PatternFlowVlanId is vlan identifier
	Id() PatternFlowVlanId
	// SetId assigns PatternFlowVlanId provided by user to FlowVlan.
	// PatternFlowVlanId is vlan identifier
	SetId(value PatternFlowVlanId) FlowVlan
	// HasId checks if Id has been set in FlowVlan
	HasId() bool
	// Tpid returns PatternFlowVlanTpid, set in FlowVlan.
	// PatternFlowVlanTpid is protocol identifier
	Tpid() PatternFlowVlanTpid
	// SetTpid assigns PatternFlowVlanTpid provided by user to FlowVlan.
	// PatternFlowVlanTpid is protocol identifier
	SetTpid(value PatternFlowVlanTpid) FlowVlan
	// HasTpid checks if Tpid has been set in FlowVlan
	HasTpid() bool
	// contains filtered or unexported methods
}

FlowVlan is vLAN packet header

func NewFlowVlan added in v0.6.5

func NewFlowVlan() FlowVlan

type FlowVxlan

type FlowVxlan interface {
	Validation
	// Msg marshals FlowVxlan to protobuf object *otg.FlowVxlan
	// and doesn't set defaults
	Msg() *otg.FlowVxlan
	// SetMsg unmarshals FlowVxlan from protobuf object *otg.FlowVxlan
	// and doesn't set defaults
	SetMsg(*otg.FlowVxlan) FlowVxlan
	// ToProto marshals FlowVxlan to protobuf object *otg.FlowVxlan
	ToProto() (*otg.FlowVxlan, error)
	// ToPbText marshals FlowVxlan to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowVxlan to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowVxlan to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowVxlan from protobuf object *otg.FlowVxlan
	FromProto(msg *otg.FlowVxlan) (FlowVxlan, error)
	// FromPbText unmarshals FlowVxlan from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowVxlan from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowVxlan from JSON text
	FromJson(value string) error
	// Validate validates FlowVxlan
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowVxlan, error)

	// Flags returns PatternFlowVxlanFlags, set in FlowVxlan.
	// PatternFlowVxlanFlags is flags field with a bit format of RRRRIRRR. The I flag MUST be set to 1 for a valid vxlan network id (VNI).   The other 7 bits (designated "R") are reserved fields and MUST be  set to zero on transmission and ignored on receipt.
	Flags() PatternFlowVxlanFlags
	// SetFlags assigns PatternFlowVxlanFlags provided by user to FlowVxlan.
	// PatternFlowVxlanFlags is flags field with a bit format of RRRRIRRR. The I flag MUST be set to 1 for a valid vxlan network id (VNI).   The other 7 bits (designated "R") are reserved fields and MUST be  set to zero on transmission and ignored on receipt.
	SetFlags(value PatternFlowVxlanFlags) FlowVxlan
	// HasFlags checks if Flags has been set in FlowVxlan
	HasFlags() bool
	// Reserved0 returns PatternFlowVxlanReserved0, set in FlowVxlan.
	// PatternFlowVxlanReserved0 is reserved field
	Reserved0() PatternFlowVxlanReserved0
	// SetReserved0 assigns PatternFlowVxlanReserved0 provided by user to FlowVxlan.
	// PatternFlowVxlanReserved0 is reserved field
	SetReserved0(value PatternFlowVxlanReserved0) FlowVxlan
	// HasReserved0 checks if Reserved0 has been set in FlowVxlan
	HasReserved0() bool
	// Vni returns PatternFlowVxlanVni, set in FlowVxlan.
	// PatternFlowVxlanVni is vXLAN network id
	Vni() PatternFlowVxlanVni
	// SetVni assigns PatternFlowVxlanVni provided by user to FlowVxlan.
	// PatternFlowVxlanVni is vXLAN network id
	SetVni(value PatternFlowVxlanVni) FlowVxlan
	// HasVni checks if Vni has been set in FlowVxlan
	HasVni() bool
	// Reserved1 returns PatternFlowVxlanReserved1, set in FlowVxlan.
	// PatternFlowVxlanReserved1 is reserved field
	Reserved1() PatternFlowVxlanReserved1
	// SetReserved1 assigns PatternFlowVxlanReserved1 provided by user to FlowVxlan.
	// PatternFlowVxlanReserved1 is reserved field
	SetReserved1(value PatternFlowVxlanReserved1) FlowVxlan
	// HasReserved1 checks if Reserved1 has been set in FlowVxlan
	HasReserved1() bool
	// contains filtered or unexported methods
}

FlowVxlan is vXLAN packet header

func NewFlowVxlan added in v0.6.5

func NewFlowVxlan() FlowVxlan

type FlowsUpdate

type FlowsUpdate interface {
	Validation
	// Msg marshals FlowsUpdate to protobuf object *otg.FlowsUpdate
	// and doesn't set defaults
	Msg() *otg.FlowsUpdate
	// SetMsg unmarshals FlowsUpdate from protobuf object *otg.FlowsUpdate
	// and doesn't set defaults
	SetMsg(*otg.FlowsUpdate) FlowsUpdate
	// ToProto marshals FlowsUpdate to protobuf object *otg.FlowsUpdate
	ToProto() (*otg.FlowsUpdate, error)
	// ToPbText marshals FlowsUpdate to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals FlowsUpdate to YAML text
	ToYaml() (string, error)
	// ToJson marshals FlowsUpdate to JSON text
	ToJson() (string, error)
	// FromProto unmarshals FlowsUpdate from protobuf object *otg.FlowsUpdate
	FromProto(msg *otg.FlowsUpdate) (FlowsUpdate, error)
	// FromPbText unmarshals FlowsUpdate from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals FlowsUpdate from YAML text
	FromYaml(value string) error
	// FromJson unmarshals FlowsUpdate from JSON text
	FromJson(value string) error
	// Validate validates FlowsUpdate
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (FlowsUpdate, error)

	// PropertyNames returns []FlowsUpdatePropertyNamesEnum, set in FlowsUpdate
	PropertyNames() []FlowsUpdatePropertyNamesEnum
	// SetPropertyNames assigns []FlowsUpdatePropertyNamesEnum provided by user to FlowsUpdate
	SetPropertyNames(value []FlowsUpdatePropertyNamesEnum) FlowsUpdate
	// Flows returns FlowsUpdateFlowIterIter, set in FlowsUpdate
	Flows() FlowsUpdateFlowIter
	// contains filtered or unexported methods
}

FlowsUpdate is a container of flows with associated properties to be updated without affecting the flows current transmit state.

func NewFlowsUpdate added in v0.6.5

func NewFlowsUpdate() FlowsUpdate

type FlowsUpdateFlowIter

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

type FlowsUpdatePropertyNamesEnum

type FlowsUpdatePropertyNamesEnum string

type GetCaptureResponse

type GetCaptureResponse interface {
	Validation
	// Msg marshals GetCaptureResponse to protobuf object *otg.GetCaptureResponse
	// and doesn't set defaults
	Msg() *otg.GetCaptureResponse
	// SetMsg unmarshals GetCaptureResponse from protobuf object *otg.GetCaptureResponse
	// and doesn't set defaults
	SetMsg(*otg.GetCaptureResponse) GetCaptureResponse
	// ToProto marshals GetCaptureResponse to protobuf object *otg.GetCaptureResponse
	ToProto() (*otg.GetCaptureResponse, error)
	// ToPbText marshals GetCaptureResponse to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals GetCaptureResponse to YAML text
	ToYaml() (string, error)
	// ToJson marshals GetCaptureResponse to JSON text
	ToJson() (string, error)
	// FromProto unmarshals GetCaptureResponse from protobuf object *otg.GetCaptureResponse
	FromProto(msg *otg.GetCaptureResponse) (GetCaptureResponse, error)
	// FromPbText unmarshals GetCaptureResponse from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals GetCaptureResponse from YAML text
	FromYaml(value string) error
	// FromJson unmarshals GetCaptureResponse from JSON text
	FromJson(value string) error
	// Validate validates GetCaptureResponse
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (GetCaptureResponse, error)

	// ResponseBytes returns []byte, set in GetCaptureResponse.
	ResponseBytes() []byte
	// SetResponseBytes assigns []byte provided by user to GetCaptureResponse
	SetResponseBytes(value []byte) GetCaptureResponse
	// HasResponseBytes checks if ResponseBytes has been set in GetCaptureResponse
	HasResponseBytes() bool
	// contains filtered or unexported methods
}

GetCaptureResponse is description is TBD

func NewGetCaptureResponse added in v0.6.5

func NewGetCaptureResponse() GetCaptureResponse

type GetConfigResponse

type GetConfigResponse interface {
	Validation
	// Msg marshals GetConfigResponse to protobuf object *otg.GetConfigResponse
	// and doesn't set defaults
	Msg() *otg.GetConfigResponse
	// SetMsg unmarshals GetConfigResponse from protobuf object *otg.GetConfigResponse
	// and doesn't set defaults
	SetMsg(*otg.GetConfigResponse) GetConfigResponse
	// ToProto marshals GetConfigResponse to protobuf object *otg.GetConfigResponse
	ToProto() (*otg.GetConfigResponse, error)
	// ToPbText marshals GetConfigResponse to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals GetConfigResponse to YAML text
	ToYaml() (string, error)
	// ToJson marshals GetConfigResponse to JSON text
	ToJson() (string, error)
	// FromProto unmarshals GetConfigResponse from protobuf object *otg.GetConfigResponse
	FromProto(msg *otg.GetConfigResponse) (GetConfigResponse, error)
	// FromPbText unmarshals GetConfigResponse from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals GetConfigResponse from YAML text
	FromYaml(value string) error
	// FromJson unmarshals GetConfigResponse from JSON text
	FromJson(value string) error
	// Validate validates GetConfigResponse
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (GetConfigResponse, error)

	// Config returns Config, set in GetConfigResponse.
	// Config is a container for all models that are part of the configuration.
	Config() Config
	// SetConfig assigns Config provided by user to GetConfigResponse.
	// Config is a container for all models that are part of the configuration.
	SetConfig(value Config) GetConfigResponse
	// HasConfig checks if Config has been set in GetConfigResponse
	HasConfig() bool
	// contains filtered or unexported methods
}

GetConfigResponse is description is TBD

func NewGetConfigResponse added in v0.6.5

func NewGetConfigResponse() GetConfigResponse

type GetMetricsResponse

type GetMetricsResponse interface {
	Validation
	// Msg marshals GetMetricsResponse to protobuf object *otg.GetMetricsResponse
	// and doesn't set defaults
	Msg() *otg.GetMetricsResponse
	// SetMsg unmarshals GetMetricsResponse from protobuf object *otg.GetMetricsResponse
	// and doesn't set defaults
	SetMsg(*otg.GetMetricsResponse) GetMetricsResponse
	// ToProto marshals GetMetricsResponse to protobuf object *otg.GetMetricsResponse
	ToProto() (*otg.GetMetricsResponse, error)
	// ToPbText marshals GetMetricsResponse to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals GetMetricsResponse to YAML text
	ToYaml() (string, error)
	// ToJson marshals GetMetricsResponse to JSON text
	ToJson() (string, error)
	// FromProto unmarshals GetMetricsResponse from protobuf object *otg.GetMetricsResponse
	FromProto(msg *otg.GetMetricsResponse) (GetMetricsResponse, error)
	// FromPbText unmarshals GetMetricsResponse from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals GetMetricsResponse from YAML text
	FromYaml(value string) error
	// FromJson unmarshals GetMetricsResponse from JSON text
	FromJson(value string) error
	// Validate validates GetMetricsResponse
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (GetMetricsResponse, error)

	// MetricsResponse returns MetricsResponse, set in GetMetricsResponse.
	// MetricsResponse is response containing chosen traffic generator metrics.
	MetricsResponse() MetricsResponse
	// SetMetricsResponse assigns MetricsResponse provided by user to GetMetricsResponse.
	// MetricsResponse is response containing chosen traffic generator metrics.
	SetMetricsResponse(value MetricsResponse) GetMetricsResponse
	// HasMetricsResponse checks if MetricsResponse has been set in GetMetricsResponse
	HasMetricsResponse() bool
	// contains filtered or unexported methods
}

GetMetricsResponse is description is TBD

func NewGetMetricsResponse added in v0.6.5

func NewGetMetricsResponse() GetMetricsResponse

type GetStatesResponse added in v0.6.13

type GetStatesResponse interface {
	Validation
	// Msg marshals GetStatesResponse to protobuf object *otg.GetStatesResponse
	// and doesn't set defaults
	Msg() *otg.GetStatesResponse
	// SetMsg unmarshals GetStatesResponse from protobuf object *otg.GetStatesResponse
	// and doesn't set defaults
	SetMsg(*otg.GetStatesResponse) GetStatesResponse
	// ToProto marshals GetStatesResponse to protobuf object *otg.GetStatesResponse
	ToProto() (*otg.GetStatesResponse, error)
	// ToPbText marshals GetStatesResponse to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals GetStatesResponse to YAML text
	ToYaml() (string, error)
	// ToJson marshals GetStatesResponse to JSON text
	ToJson() (string, error)
	// FromProto unmarshals GetStatesResponse from protobuf object *otg.GetStatesResponse
	FromProto(msg *otg.GetStatesResponse) (GetStatesResponse, error)
	// FromPbText unmarshals GetStatesResponse from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals GetStatesResponse from YAML text
	FromYaml(value string) error
	// FromJson unmarshals GetStatesResponse from JSON text
	FromJson(value string) error
	// Validate validates GetStatesResponse
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (GetStatesResponse, error)

	// StatesResponse returns StatesResponse, set in GetStatesResponse.
	// StatesResponse is response containing chosen traffic generator states
	StatesResponse() StatesResponse
	// SetStatesResponse assigns StatesResponse provided by user to GetStatesResponse.
	// StatesResponse is response containing chosen traffic generator states
	SetStatesResponse(value StatesResponse) GetStatesResponse
	// HasStatesResponse checks if StatesResponse has been set in GetStatesResponse
	HasStatesResponse() bool
	// contains filtered or unexported methods
}

GetStatesResponse is description is TBD

func NewGetStatesResponse added in v0.6.13

func NewGetStatesResponse() GetStatesResponse

type GetVersionResponse added in v0.10.7

type GetVersionResponse interface {
	Validation
	// Msg marshals GetVersionResponse to protobuf object *otg.GetVersionResponse
	// and doesn't set defaults
	Msg() *otg.GetVersionResponse
	// SetMsg unmarshals GetVersionResponse from protobuf object *otg.GetVersionResponse
	// and doesn't set defaults
	SetMsg(*otg.GetVersionResponse) GetVersionResponse
	// ToProto marshals GetVersionResponse to protobuf object *otg.GetVersionResponse
	ToProto() (*otg.GetVersionResponse, error)
	// ToPbText marshals GetVersionResponse to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals GetVersionResponse to YAML text
	ToYaml() (string, error)
	// ToJson marshals GetVersionResponse to JSON text
	ToJson() (string, error)
	// FromProto unmarshals GetVersionResponse from protobuf object *otg.GetVersionResponse
	FromProto(msg *otg.GetVersionResponse) (GetVersionResponse, error)
	// FromPbText unmarshals GetVersionResponse from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals GetVersionResponse from YAML text
	FromYaml(value string) error
	// FromJson unmarshals GetVersionResponse from JSON text
	FromJson(value string) error
	// Validate validates GetVersionResponse
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (GetVersionResponse, error)

	// Version returns Version, set in GetVersionResponse.
	// Version is version details
	Version() Version
	// SetVersion assigns Version provided by user to GetVersionResponse.
	// Version is version details
	SetVersion(value Version) GetVersionResponse
	// HasVersion checks if Version has been set in GetVersionResponse
	HasVersion() bool
	// contains filtered or unexported methods
}

GetVersionResponse is description is TBD

func NewGetVersionResponse added in v0.10.7

func NewGetVersionResponse() GetVersionResponse

type GosnappiApi

type GosnappiApi interface {
	Api
	// Config is a container for all models that are part of the configuration.
	// NewConfig returns a new instance of Config.
	NewConfig() Config
	// ConfigUpdate is request for updating specific attributes of resources in traffic generator
	// NewConfigUpdate returns a new instance of ConfigUpdate.
	NewConfigUpdate() ConfigUpdate
	// ControlState is request for setting operational state of configured resources.
	// NewControlState returns a new instance of ControlState.
	NewControlState() ControlState
	// ControlAction is request for triggering action against configured resources.
	// NewControlAction returns a new instance of ControlAction.
	NewControlAction() ControlAction
	// TransmitState is deprecated: Please use `StateTrafficFlowTransmit` instead
	//
	// Deprecated: Please use `StateTrafficFlowTransmit` instead
	//
	// Flow transmit state.
	// NewTransmitState returns a new instance of TransmitState.
	NewTransmitState() TransmitState
	// LinkState is deprecated: Please use `StatePortLink` instead
	//
	// Deprecated: Please use `StatePortLink` instead
	//
	// Sets the link state of configured ports.
	// NewLinkState returns a new instance of LinkState.
	NewLinkState() LinkState
	// CaptureState is deprecated: Please use `StatePortCapture` instead
	//
	// Deprecated: Please use `StatePortCapture` instead
	//
	// Control port capture state
	// NewCaptureState returns a new instance of CaptureState.
	NewCaptureState() CaptureState
	// FlowsUpdate is a container of flows with associated properties to be updated without affecting the flows current transmit state.
	// NewFlowsUpdate returns a new instance of FlowsUpdate.
	NewFlowsUpdate() FlowsUpdate
	// RouteState is deprecated: Please use `StateProtocolRoute` instead
	//
	// Deprecated: Please use `StateProtocolRoute` instead
	//
	// Sets the device route state
	// NewRouteState returns a new instance of RouteState.
	NewRouteState() RouteState
	// PingRequest is ping request details
	// NewPingRequest returns a new instance of PingRequest.
	NewPingRequest() PingRequest
	// ProtocolState is deprecated: Please use `StateProtocolAll` instead
	//
	// Deprecated: Please use `StateProtocolAll` instead
	//
	// Sets all configured protocols to `start` or `stop` state. Setting protocol state to `start`  shall be a no-op if preceding `set_config` API call was made with  `config.options.protocol_options.auto_start_all` set to `true` or if all the configured protocols are already started.
	// NewProtocolState returns a new instance of ProtocolState.
	NewProtocolState() ProtocolState
	// DeviceState is deprecated: Please use `State.Protocol` instead
	//
	// Deprecated: Please use `State.Protocol` instead
	//
	// Sets attributes for the requested state/actions to be performed on device(s)
	// NewDeviceState returns a new instance of DeviceState.
	NewDeviceState() DeviceState
	// MetricsRequest is request to traffic generator for metrics of choice.
	// NewMetricsRequest returns a new instance of MetricsRequest.
	NewMetricsRequest() MetricsRequest
	// StatesRequest is request to traffic generator for states of choice
	// NewStatesRequest returns a new instance of StatesRequest.
	NewStatesRequest() StatesRequest
	// CaptureRequest is the capture result request to the traffic generator. Stops the port capture on the port_name and returns the capture.
	// NewCaptureRequest returns a new instance of CaptureRequest.
	NewCaptureRequest() CaptureRequest
	// SetConfigResponse is description is TBD
	// NewSetConfigResponse returns a new instance of SetConfigResponse.
	NewSetConfigResponse() SetConfigResponse
	// GetConfigResponse is description is TBD
	// NewGetConfigResponse returns a new instance of GetConfigResponse.
	NewGetConfigResponse() GetConfigResponse
	// UpdateConfigResponse is description is TBD
	// NewUpdateConfigResponse returns a new instance of UpdateConfigResponse.
	NewUpdateConfigResponse() UpdateConfigResponse
	// SetControlStateResponse is description is TBD
	// NewSetControlStateResponse returns a new instance of SetControlStateResponse.
	NewSetControlStateResponse() SetControlStateResponse
	// SetControlActionResponse is description is TBD
	// NewSetControlActionResponse returns a new instance of SetControlActionResponse.
	NewSetControlActionResponse() SetControlActionResponse
	// SetTransmitStateResponse is description is TBD
	// NewSetTransmitStateResponse returns a new instance of SetTransmitStateResponse.
	NewSetTransmitStateResponse() SetTransmitStateResponse
	// SetLinkStateResponse is description is TBD
	// NewSetLinkStateResponse returns a new instance of SetLinkStateResponse.
	NewSetLinkStateResponse() SetLinkStateResponse
	// SetCaptureStateResponse is description is TBD
	// NewSetCaptureStateResponse returns a new instance of SetCaptureStateResponse.
	NewSetCaptureStateResponse() SetCaptureStateResponse
	// UpdateFlowsResponse is description is TBD
	// NewUpdateFlowsResponse returns a new instance of UpdateFlowsResponse.
	NewUpdateFlowsResponse() UpdateFlowsResponse
	// SetRouteStateResponse is description is TBD
	// NewSetRouteStateResponse returns a new instance of SetRouteStateResponse.
	NewSetRouteStateResponse() SetRouteStateResponse
	// SendPingResponse is description is TBD
	// NewSendPingResponse returns a new instance of SendPingResponse.
	NewSendPingResponse() SendPingResponse
	// SetProtocolStateResponse is description is TBD
	// NewSetProtocolStateResponse returns a new instance of SetProtocolStateResponse.
	NewSetProtocolStateResponse() SetProtocolStateResponse
	// SetDeviceStateResponse is description is TBD
	// NewSetDeviceStateResponse returns a new instance of SetDeviceStateResponse.
	NewSetDeviceStateResponse() SetDeviceStateResponse
	// GetMetricsResponse is description is TBD
	// NewGetMetricsResponse returns a new instance of GetMetricsResponse.
	NewGetMetricsResponse() GetMetricsResponse
	// GetStatesResponse is description is TBD
	// NewGetStatesResponse returns a new instance of GetStatesResponse.
	NewGetStatesResponse() GetStatesResponse
	// GetCaptureResponse is description is TBD
	// NewGetCaptureResponse returns a new instance of GetCaptureResponse.
	NewGetCaptureResponse() GetCaptureResponse
	// GetVersionResponse is description is TBD
	// NewGetVersionResponse returns a new instance of GetVersionResponse.
	NewGetVersionResponse() GetVersionResponse
	// SetConfig sets configuration resources on the traffic generator.
	SetConfig(config Config) (Warning, error)
	// GetConfig description is TBD
	GetConfig() (Config, error)
	// UpdateConfig updates specific attributes of resources configured on the traffic generator. The fetched configuration shall reflect the updates applied successfully.
	// The Response.Warnings in the Success response is available for implementers to disclose additional information about a state change including any implicit changes that are outside the scope of the state change.
	UpdateConfig(configUpdate ConfigUpdate) (Warning, error)
	// SetControlState sets the operational state of configured resources.
	SetControlState(controlState ControlState) (Warning, error)
	// SetControlAction triggers actions against configured resources.
	SetControlAction(controlAction ControlAction) (ControlActionResponse, error)
	// SetTransmitState deprecated: Please use `set_control_state` with `traffic.flow_transmit` choice instead
	//
	// Deprecated: Please use `set_control_state` with `traffic.flow_transmit` choice instead
	//
	// Updates the state of configuration resources on the traffic generator.
	// The Response.Warnings in the Success response is available for implementers to disclose additional information about a state change including any implicit changes that are outside the scope of the state change.
	SetTransmitState(transmitState TransmitState) (Warning, error)
	// SetLinkState deprecated: Please use `set_control_state` with `port.link` choice instead
	//
	// Deprecated: Please use `set_control_state` with `port.link` choice instead
	//
	// Updates the state of configuration resources on the traffic generator.
	SetLinkState(linkState LinkState) (Warning, error)
	// SetCaptureState deprecated: Please use `set_control_state` with `port.capture` choice instead
	//
	// Deprecated: Please use `set_control_state` with `port.capture` choice instead
	//
	// Updates the state of configuration resources on the traffic generator.
	SetCaptureState(captureState CaptureState) (Warning, error)
	// UpdateFlows deprecated: Please use `update_config` with `flow` choice instead
	//
	// Deprecated: Please use `update_config` with `flow` choice instead
	//
	// Updates flow properties without disruption of transmit state.
	UpdateFlows(flowsUpdate FlowsUpdate) (Config, error)
	// SetRouteState deprecated: Please use `set_control_state` with `protocol.route` choice instead
	//
	// Deprecated: Please use `set_control_state` with `protocol.route` choice instead
	//
	// Updates the state of configuration resources on the traffic generator.
	SetRouteState(routeState RouteState) (Warning, error)
	// SendPing deprecated: Please use `set_control_action` with `protocol.ipv*.ping` choice instead
	//
	// Deprecated: Please use `set_control_action` with `protocol.ipv*.ping` choice instead
	//
	// API to send an IPv4 and/or IPv6 ICMP Echo Request(s) between endpoints. For each endpoint 1 ping packet will be sent and API shall wait for ping response to either be successful or timeout. The API wait timeout for each request is 300ms.
	SendPing(pingRequest PingRequest) (PingResponse, error)
	// SetProtocolState deprecated: Please use `set_control_state` with `protocol.all` choice instead
	//
	// Deprecated: Please use `set_control_state` with `protocol.all` choice instead
	//
	// Sets all configured protocols to `start` or `stop` state.
	SetProtocolState(protocolState ProtocolState) (Warning, error)
	// SetDeviceState deprecated: Please use `set_control_state` with `protocol` choice instead
	//
	// Deprecated: Please use `set_control_state` with `protocol` choice instead
	//
	// Set specific state/actions on device configuration resources on the traffic generator.
	SetDeviceState(deviceState DeviceState) (Warning, error)
	// GetMetrics description is TBD
	GetMetrics(metricsRequest MetricsRequest) (MetricsResponse, error)
	// GetStates description is TBD
	GetStates(statesRequest StatesRequest) (StatesResponse, error)
	// GetCapture description is TBD
	GetCapture(captureRequest CaptureRequest) ([]byte, error)
	// GetVersion description is TBD
	GetVersion() (Version, error)
	// GetLocalVersion provides version details of local client
	GetLocalVersion() Version
	// GetRemoteVersion provides version details received from remote server
	GetRemoteVersion() (Version, error)
	// SetVersionCompatibilityCheck allows enabling or disabling automatic version
	// compatibility check between client and server API spec version upon API call
	SetVersionCompatibilityCheck(bool)
	// CheckVersionCompatibility compares API spec version for local client and remote server,
	// and returns an error if they are not compatible according to Semantic Versioning 2.0.0
	CheckVersionCompatibility() error
}

GosnappiApi open Traffic Generator API defines a model-driven, vendor-neutral and standard interface for emulating layer 2-7 network devices and generating test traffic.

Contributions can be made in the following ways: - [open an issue](https://github.com/open-traffic-generator/models/issues) in the models repository - [fork the models repository](https://github.com/open-traffic-generator/models) and submit a PR

func NewApi

func NewApi() GosnappiApi

NewApi returns a new instance of the top level interface hierarchy

type GrpcTransport

type GrpcTransport interface {
	// SetLocation set client connection to the given grpc target
	SetLocation(value string) GrpcTransport
	// Location get grpc target
	Location() string
	// SetRequestTimeout set timeout in grpc request
	SetRequestTimeout(value time.Duration) GrpcTransport
	// RequestTimeout get timeout in grpc request
	RequestTimeout() time.Duration
	// SetDialTimeout set timeout in grpc dial
	SetDialTimeout(value time.Duration) GrpcTransport
	// DialTimeout get timeout in grpc dial
	DialTimeout() time.Duration
	// SetClientConnection set grpc DialContext
	// SetClientConnection and (SetLocation, SetDialTimeout) are mutually exclusive
	SetClientConnection(con *grpc.ClientConn) GrpcTransport
	// ClientConnection get grpc DialContext
	ClientConnection() *grpc.ClientConn
}

type HttpServer

type HttpServer struct {
	Api    GosnappiApi
	Config Config
	// contains filtered or unexported fields
}

type HttpTransport

type HttpTransport interface {
	SetLocation(value string) HttpTransport
	Location() string
	SetVerify(value bool) HttpTransport
	Verify() bool
}

type IsisAdvanced added in v0.6.1

type IsisAdvanced interface {
	Validation
	// Msg marshals IsisAdvanced to protobuf object *otg.IsisAdvanced
	// and doesn't set defaults
	Msg() *otg.IsisAdvanced
	// SetMsg unmarshals IsisAdvanced from protobuf object *otg.IsisAdvanced
	// and doesn't set defaults
	SetMsg(*otg.IsisAdvanced) IsisAdvanced
	// ToProto marshals IsisAdvanced to protobuf object *otg.IsisAdvanced
	ToProto() (*otg.IsisAdvanced, error)
	// ToPbText marshals IsisAdvanced to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisAdvanced to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisAdvanced to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisAdvanced from protobuf object *otg.IsisAdvanced
	FromProto(msg *otg.IsisAdvanced) (IsisAdvanced, error)
	// FromPbText unmarshals IsisAdvanced from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisAdvanced from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisAdvanced from JSON text
	FromJson(value string) error
	// Validate validates IsisAdvanced
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisAdvanced, error)

	// EnableHelloPadding returns bool, set in IsisAdvanced.
	EnableHelloPadding() bool
	// SetEnableHelloPadding assigns bool provided by user to IsisAdvanced
	SetEnableHelloPadding(value bool) IsisAdvanced
	// HasEnableHelloPadding checks if EnableHelloPadding has been set in IsisAdvanced
	HasEnableHelloPadding() bool
	// MaxAreaAddresses returns int32, set in IsisAdvanced.
	MaxAreaAddresses() int32
	// SetMaxAreaAddresses assigns int32 provided by user to IsisAdvanced
	SetMaxAreaAddresses(value int32) IsisAdvanced
	// HasMaxAreaAddresses checks if MaxAreaAddresses has been set in IsisAdvanced
	HasMaxAreaAddresses() bool
	// AreaAddresses returns []string, set in IsisAdvanced.
	AreaAddresses() []string
	// SetAreaAddresses assigns []string provided by user to IsisAdvanced
	SetAreaAddresses(value []string) IsisAdvanced
	// LspRefreshRate returns int32, set in IsisAdvanced.
	LspRefreshRate() int32
	// SetLspRefreshRate assigns int32 provided by user to IsisAdvanced
	SetLspRefreshRate(value int32) IsisAdvanced
	// HasLspRefreshRate checks if LspRefreshRate has been set in IsisAdvanced
	HasLspRefreshRate() bool
	// LspLifetime returns int32, set in IsisAdvanced.
	LspLifetime() int32
	// SetLspLifetime assigns int32 provided by user to IsisAdvanced
	SetLspLifetime(value int32) IsisAdvanced
	// HasLspLifetime checks if LspLifetime has been set in IsisAdvanced
	HasLspLifetime() bool
	// PsnpInterval returns int32, set in IsisAdvanced.
	PsnpInterval() int32
	// SetPsnpInterval assigns int32 provided by user to IsisAdvanced
	SetPsnpInterval(value int32) IsisAdvanced
	// HasPsnpInterval checks if PsnpInterval has been set in IsisAdvanced
	HasPsnpInterval() bool
	// CsnpInterval returns int32, set in IsisAdvanced.
	CsnpInterval() int32
	// SetCsnpInterval assigns int32 provided by user to IsisAdvanced
	SetCsnpInterval(value int32) IsisAdvanced
	// HasCsnpInterval checks if CsnpInterval has been set in IsisAdvanced
	HasCsnpInterval() bool
	// MaxLspSize returns int32, set in IsisAdvanced.
	MaxLspSize() int32
	// SetMaxLspSize assigns int32 provided by user to IsisAdvanced
	SetMaxLspSize(value int32) IsisAdvanced
	// HasMaxLspSize checks if MaxLspSize has been set in IsisAdvanced
	HasMaxLspSize() bool
	// LspMgroupMinTransInterval returns int32, set in IsisAdvanced.
	LspMgroupMinTransInterval() int32
	// SetLspMgroupMinTransInterval assigns int32 provided by user to IsisAdvanced
	SetLspMgroupMinTransInterval(value int32) IsisAdvanced
	// HasLspMgroupMinTransInterval checks if LspMgroupMinTransInterval has been set in IsisAdvanced
	HasLspMgroupMinTransInterval() bool
	// EnableAttachedBit returns bool, set in IsisAdvanced.
	EnableAttachedBit() bool
	// SetEnableAttachedBit assigns bool provided by user to IsisAdvanced
	SetEnableAttachedBit(value bool) IsisAdvanced
	// HasEnableAttachedBit checks if EnableAttachedBit has been set in IsisAdvanced
	HasEnableAttachedBit() bool
	// contains filtered or unexported methods
}

IsisAdvanced is contains ISIS router advanced properties.

func NewIsisAdvanced added in v0.6.5

func NewIsisAdvanced() IsisAdvanced

type IsisAuthentication added in v0.6.1

type IsisAuthentication interface {
	Validation
	// Msg marshals IsisAuthentication to protobuf object *otg.IsisAuthentication
	// and doesn't set defaults
	Msg() *otg.IsisAuthentication
	// SetMsg unmarshals IsisAuthentication from protobuf object *otg.IsisAuthentication
	// and doesn't set defaults
	SetMsg(*otg.IsisAuthentication) IsisAuthentication
	// ToProto marshals IsisAuthentication to protobuf object *otg.IsisAuthentication
	ToProto() (*otg.IsisAuthentication, error)
	// ToPbText marshals IsisAuthentication to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisAuthentication to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisAuthentication to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisAuthentication from protobuf object *otg.IsisAuthentication
	FromProto(msg *otg.IsisAuthentication) (IsisAuthentication, error)
	// FromPbText unmarshals IsisAuthentication from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisAuthentication from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisAuthentication from JSON text
	FromJson(value string) error
	// Validate validates IsisAuthentication
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisAuthentication, error)

	// IgnoreReceiveMd5 returns bool, set in IsisAuthentication.
	IgnoreReceiveMd5() bool
	// SetIgnoreReceiveMd5 assigns bool provided by user to IsisAuthentication
	SetIgnoreReceiveMd5(value bool) IsisAuthentication
	// HasIgnoreReceiveMd5 checks if IgnoreReceiveMd5 has been set in IsisAuthentication
	HasIgnoreReceiveMd5() bool
	// AreaAuth returns IsisAuthenticationBase, set in IsisAuthentication.
	// IsisAuthenticationBase is optional container for ISIS authentication properties.
	AreaAuth() IsisAuthenticationBase
	// SetAreaAuth assigns IsisAuthenticationBase provided by user to IsisAuthentication.
	// IsisAuthenticationBase is optional container for ISIS authentication properties.
	SetAreaAuth(value IsisAuthenticationBase) IsisAuthentication
	// HasAreaAuth checks if AreaAuth has been set in IsisAuthentication
	HasAreaAuth() bool
	// DomainAuth returns IsisAuthenticationBase, set in IsisAuthentication.
	// IsisAuthenticationBase is optional container for ISIS authentication properties.
	DomainAuth() IsisAuthenticationBase
	// SetDomainAuth assigns IsisAuthenticationBase provided by user to IsisAuthentication.
	// IsisAuthenticationBase is optional container for ISIS authentication properties.
	SetDomainAuth(value IsisAuthenticationBase) IsisAuthentication
	// HasDomainAuth checks if DomainAuth has been set in IsisAuthentication
	HasDomainAuth() bool
	// contains filtered or unexported methods
}

IsisAuthentication is this contains ISIS Area/Domain authentication properties.

func NewIsisAuthentication added in v0.6.5

func NewIsisAuthentication() IsisAuthentication

type IsisAuthenticationBase added in v0.6.1

type IsisAuthenticationBase interface {
	Validation
	// Msg marshals IsisAuthenticationBase to protobuf object *otg.IsisAuthenticationBase
	// and doesn't set defaults
	Msg() *otg.IsisAuthenticationBase
	// SetMsg unmarshals IsisAuthenticationBase from protobuf object *otg.IsisAuthenticationBase
	// and doesn't set defaults
	SetMsg(*otg.IsisAuthenticationBase) IsisAuthenticationBase
	// ToProto marshals IsisAuthenticationBase to protobuf object *otg.IsisAuthenticationBase
	ToProto() (*otg.IsisAuthenticationBase, error)
	// ToPbText marshals IsisAuthenticationBase to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisAuthenticationBase to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisAuthenticationBase to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisAuthenticationBase from protobuf object *otg.IsisAuthenticationBase
	FromProto(msg *otg.IsisAuthenticationBase) (IsisAuthenticationBase, error)
	// FromPbText unmarshals IsisAuthenticationBase from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisAuthenticationBase from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisAuthenticationBase from JSON text
	FromJson(value string) error
	// Validate validates IsisAuthenticationBase
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisAuthenticationBase, error)

	// AuthType returns IsisAuthenticationBaseAuthTypeEnum, set in IsisAuthenticationBase
	AuthType() IsisAuthenticationBaseAuthTypeEnum
	// SetAuthType assigns IsisAuthenticationBaseAuthTypeEnum provided by user to IsisAuthenticationBase
	SetAuthType(value IsisAuthenticationBaseAuthTypeEnum) IsisAuthenticationBase
	// Md5 returns string, set in IsisAuthenticationBase.
	Md5() string
	// SetMd5 assigns string provided by user to IsisAuthenticationBase
	SetMd5(value string) IsisAuthenticationBase
	// HasMd5 checks if Md5 has been set in IsisAuthenticationBase
	HasMd5() bool
	// Password returns string, set in IsisAuthenticationBase.
	Password() string
	// SetPassword assigns string provided by user to IsisAuthenticationBase
	SetPassword(value string) IsisAuthenticationBase
	// HasPassword checks if Password has been set in IsisAuthenticationBase
	HasPassword() bool
	// contains filtered or unexported methods
}

IsisAuthenticationBase is optional container for ISIS authentication properties.

func NewIsisAuthenticationBase added in v0.6.5

func NewIsisAuthenticationBase() IsisAuthenticationBase

type IsisAuthenticationBaseAuthTypeEnum added in v0.6.8

type IsisAuthenticationBaseAuthTypeEnum string

type IsisBasic added in v0.6.1

type IsisBasic interface {
	Validation
	// Msg marshals IsisBasic to protobuf object *otg.IsisBasic
	// and doesn't set defaults
	Msg() *otg.IsisBasic
	// SetMsg unmarshals IsisBasic from protobuf object *otg.IsisBasic
	// and doesn't set defaults
	SetMsg(*otg.IsisBasic) IsisBasic
	// ToProto marshals IsisBasic to protobuf object *otg.IsisBasic
	ToProto() (*otg.IsisBasic, error)
	// ToPbText marshals IsisBasic to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisBasic to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisBasic to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisBasic from protobuf object *otg.IsisBasic
	FromProto(msg *otg.IsisBasic) (IsisBasic, error)
	// FromPbText unmarshals IsisBasic from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisBasic from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisBasic from JSON text
	FromJson(value string) error
	// Validate validates IsisBasic
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisBasic, error)

	// Ipv4TeRouterId returns string, set in IsisBasic.
	Ipv4TeRouterId() string
	// SetIpv4TeRouterId assigns string provided by user to IsisBasic
	SetIpv4TeRouterId(value string) IsisBasic
	// HasIpv4TeRouterId checks if Ipv4TeRouterId has been set in IsisBasic
	HasIpv4TeRouterId() bool
	// Hostname returns string, set in IsisBasic.
	Hostname() string
	// SetHostname assigns string provided by user to IsisBasic
	SetHostname(value string) IsisBasic
	// HasHostname checks if Hostname has been set in IsisBasic
	HasHostname() bool
	// EnableWideMetric returns bool, set in IsisBasic.
	EnableWideMetric() bool
	// SetEnableWideMetric assigns bool provided by user to IsisBasic
	SetEnableWideMetric(value bool) IsisBasic
	// HasEnableWideMetric checks if EnableWideMetric has been set in IsisBasic
	HasEnableWideMetric() bool
	// LearnedLspFilter returns bool, set in IsisBasic.
	LearnedLspFilter() bool
	// SetLearnedLspFilter assigns bool provided by user to IsisBasic
	SetLearnedLspFilter(value bool) IsisBasic
	// HasLearnedLspFilter checks if LearnedLspFilter has been set in IsisBasic
	HasLearnedLspFilter() bool
	// contains filtered or unexported methods
}

IsisBasic is this contains ISIS router basic properties.

func NewIsisBasic added in v0.6.5

func NewIsisBasic() IsisBasic

type IsisInterface added in v0.6.1

type IsisInterface interface {
	Validation
	// Msg marshals IsisInterface to protobuf object *otg.IsisInterface
	// and doesn't set defaults
	Msg() *otg.IsisInterface
	// SetMsg unmarshals IsisInterface from protobuf object *otg.IsisInterface
	// and doesn't set defaults
	SetMsg(*otg.IsisInterface) IsisInterface
	// ToProto marshals IsisInterface to protobuf object *otg.IsisInterface
	ToProto() (*otg.IsisInterface, error)
	// ToPbText marshals IsisInterface to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisInterface to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisInterface to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisInterface from protobuf object *otg.IsisInterface
	FromProto(msg *otg.IsisInterface) (IsisInterface, error)
	// FromPbText unmarshals IsisInterface from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisInterface from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisInterface from JSON text
	FromJson(value string) error
	// Validate validates IsisInterface
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisInterface, error)

	// EthName returns string, set in IsisInterface.
	EthName() string
	// SetEthName assigns string provided by user to IsisInterface
	SetEthName(value string) IsisInterface
	// Metric returns int32, set in IsisInterface.
	Metric() int32
	// SetMetric assigns int32 provided by user to IsisInterface
	SetMetric(value int32) IsisInterface
	// HasMetric checks if Metric has been set in IsisInterface
	HasMetric() bool
	// NetworkType returns IsisInterfaceNetworkTypeEnum, set in IsisInterface
	NetworkType() IsisInterfaceNetworkTypeEnum
	// SetNetworkType assigns IsisInterfaceNetworkTypeEnum provided by user to IsisInterface
	SetNetworkType(value IsisInterfaceNetworkTypeEnum) IsisInterface
	// HasNetworkType checks if NetworkType has been set in IsisInterface
	HasNetworkType() bool
	// LevelType returns IsisInterfaceLevelTypeEnum, set in IsisInterface
	LevelType() IsisInterfaceLevelTypeEnum
	// SetLevelType assigns IsisInterfaceLevelTypeEnum provided by user to IsisInterface
	SetLevelType(value IsisInterfaceLevelTypeEnum) IsisInterface
	// HasLevelType checks if LevelType has been set in IsisInterface
	HasLevelType() bool
	// L1Settings returns IsisInterfaceLevel, set in IsisInterface.
	// IsisInterfaceLevel is configuration for the properties of Level 1 Hello.
	L1Settings() IsisInterfaceLevel
	// SetL1Settings assigns IsisInterfaceLevel provided by user to IsisInterface.
	// IsisInterfaceLevel is configuration for the properties of Level 1 Hello.
	SetL1Settings(value IsisInterfaceLevel) IsisInterface
	// HasL1Settings checks if L1Settings has been set in IsisInterface
	HasL1Settings() bool
	// L2Settings returns IsisInterfaceLevel, set in IsisInterface.
	// IsisInterfaceLevel is configuration for the properties of Level 1 Hello.
	L2Settings() IsisInterfaceLevel
	// SetL2Settings assigns IsisInterfaceLevel provided by user to IsisInterface.
	// IsisInterfaceLevel is configuration for the properties of Level 1 Hello.
	SetL2Settings(value IsisInterfaceLevel) IsisInterface
	// HasL2Settings checks if L2Settings has been set in IsisInterface
	HasL2Settings() bool
	// MultiTopologyIds returns IsisInterfaceIsisMTIterIter, set in IsisInterface
	MultiTopologyIds() IsisInterfaceIsisMTIter
	// TrafficEngineering returns IsisInterfaceLinkStateTEIterIter, set in IsisInterface
	TrafficEngineering() IsisInterfaceLinkStateTEIter
	// Authentication returns IsisInterfaceAuthentication, set in IsisInterface.
	// IsisInterfaceAuthentication is optional container for circuit authentication properties.
	Authentication() IsisInterfaceAuthentication
	// SetAuthentication assigns IsisInterfaceAuthentication provided by user to IsisInterface.
	// IsisInterfaceAuthentication is optional container for circuit authentication properties.
	SetAuthentication(value IsisInterfaceAuthentication) IsisInterface
	// HasAuthentication checks if Authentication has been set in IsisInterface
	HasAuthentication() bool
	// Advanced returns IsisInterfaceAdvanced, set in IsisInterface.
	// IsisInterfaceAdvanced is optional container for advanced interface properties.
	Advanced() IsisInterfaceAdvanced
	// SetAdvanced assigns IsisInterfaceAdvanced provided by user to IsisInterface.
	// IsisInterfaceAdvanced is optional container for advanced interface properties.
	SetAdvanced(value IsisInterfaceAdvanced) IsisInterface
	// HasAdvanced checks if Advanced has been set in IsisInterface
	HasAdvanced() bool
	// LinkProtection returns IsisInterfaceLinkProtection, set in IsisInterface.
	// IsisInterfaceLinkProtection is optional container for the link protection sub TLV (type 20).
	LinkProtection() IsisInterfaceLinkProtection
	// SetLinkProtection assigns IsisInterfaceLinkProtection provided by user to IsisInterface.
	// IsisInterfaceLinkProtection is optional container for the link protection sub TLV (type 20).
	SetLinkProtection(value IsisInterfaceLinkProtection) IsisInterface
	// HasLinkProtection checks if LinkProtection has been set in IsisInterface
	HasLinkProtection() bool
	// SrlgValues returns []int32, set in IsisInterface.
	SrlgValues() []int32
	// SetSrlgValues assigns []int32 provided by user to IsisInterface
	SetSrlgValues(value []int32) IsisInterface
	// Name returns string, set in IsisInterface.
	Name() string
	// SetName assigns string provided by user to IsisInterface
	SetName(value string) IsisInterface
	// contains filtered or unexported methods
}

IsisInterface is configuration for single ISIS interface.

func NewIsisInterface added in v0.6.5

func NewIsisInterface() IsisInterface

type IsisInterfaceAdvanced added in v0.6.1

type IsisInterfaceAdvanced interface {
	Validation
	// Msg marshals IsisInterfaceAdvanced to protobuf object *otg.IsisInterfaceAdvanced
	// and doesn't set defaults
	Msg() *otg.IsisInterfaceAdvanced
	// SetMsg unmarshals IsisInterfaceAdvanced from protobuf object *otg.IsisInterfaceAdvanced
	// and doesn't set defaults
	SetMsg(*otg.IsisInterfaceAdvanced) IsisInterfaceAdvanced
	// ToProto marshals IsisInterfaceAdvanced to protobuf object *otg.IsisInterfaceAdvanced
	ToProto() (*otg.IsisInterfaceAdvanced, error)
	// ToPbText marshals IsisInterfaceAdvanced to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisInterfaceAdvanced to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisInterfaceAdvanced to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisInterfaceAdvanced from protobuf object *otg.IsisInterfaceAdvanced
	FromProto(msg *otg.IsisInterfaceAdvanced) (IsisInterfaceAdvanced, error)
	// FromPbText unmarshals IsisInterfaceAdvanced from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisInterfaceAdvanced from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisInterfaceAdvanced from JSON text
	FromJson(value string) error
	// Validate validates IsisInterfaceAdvanced
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisInterfaceAdvanced, error)

	// AutoAdjustMtu returns bool, set in IsisInterfaceAdvanced.
	AutoAdjustMtu() bool
	// SetAutoAdjustMtu assigns bool provided by user to IsisInterfaceAdvanced
	SetAutoAdjustMtu(value bool) IsisInterfaceAdvanced
	// HasAutoAdjustMtu checks if AutoAdjustMtu has been set in IsisInterfaceAdvanced
	HasAutoAdjustMtu() bool
	// AutoAdjustArea returns bool, set in IsisInterfaceAdvanced.
	AutoAdjustArea() bool
	// SetAutoAdjustArea assigns bool provided by user to IsisInterfaceAdvanced
	SetAutoAdjustArea(value bool) IsisInterfaceAdvanced
	// HasAutoAdjustArea checks if AutoAdjustArea has been set in IsisInterfaceAdvanced
	HasAutoAdjustArea() bool
	// AutoAdjustSupportedProtocols returns bool, set in IsisInterfaceAdvanced.
	AutoAdjustSupportedProtocols() bool
	// SetAutoAdjustSupportedProtocols assigns bool provided by user to IsisInterfaceAdvanced
	SetAutoAdjustSupportedProtocols(value bool) IsisInterfaceAdvanced
	// HasAutoAdjustSupportedProtocols checks if AutoAdjustSupportedProtocols has been set in IsisInterfaceAdvanced
	HasAutoAdjustSupportedProtocols() bool
	// Enable3WayHandshake returns bool, set in IsisInterfaceAdvanced.
	Enable3WayHandshake() bool
	// SetEnable3WayHandshake assigns bool provided by user to IsisInterfaceAdvanced
	SetEnable3WayHandshake(value bool) IsisInterfaceAdvanced
	// HasEnable3WayHandshake checks if Enable3WayHandshake has been set in IsisInterfaceAdvanced
	HasEnable3WayHandshake() bool
	// P2PHellosToUnicastMac returns bool, set in IsisInterfaceAdvanced.
	P2PHellosToUnicastMac() bool
	// SetP2PHellosToUnicastMac assigns bool provided by user to IsisInterfaceAdvanced
	SetP2PHellosToUnicastMac(value bool) IsisInterfaceAdvanced
	// HasP2PHellosToUnicastMac checks if P2PHellosToUnicastMac has been set in IsisInterfaceAdvanced
	HasP2PHellosToUnicastMac() bool
	// contains filtered or unexported methods
}

IsisInterfaceAdvanced is optional container for advanced interface properties.

func NewIsisInterfaceAdvanced added in v0.6.5

func NewIsisInterfaceAdvanced() IsisInterfaceAdvanced

type IsisInterfaceAuthentication added in v0.6.1

type IsisInterfaceAuthentication interface {
	Validation
	// Msg marshals IsisInterfaceAuthentication to protobuf object *otg.IsisInterfaceAuthentication
	// and doesn't set defaults
	Msg() *otg.IsisInterfaceAuthentication
	// SetMsg unmarshals IsisInterfaceAuthentication from protobuf object *otg.IsisInterfaceAuthentication
	// and doesn't set defaults
	SetMsg(*otg.IsisInterfaceAuthentication) IsisInterfaceAuthentication
	// ToProto marshals IsisInterfaceAuthentication to protobuf object *otg.IsisInterfaceAuthentication
	ToProto() (*otg.IsisInterfaceAuthentication, error)
	// ToPbText marshals IsisInterfaceAuthentication to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisInterfaceAuthentication to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisInterfaceAuthentication to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisInterfaceAuthentication from protobuf object *otg.IsisInterfaceAuthentication
	FromProto(msg *otg.IsisInterfaceAuthentication) (IsisInterfaceAuthentication, error)
	// FromPbText unmarshals IsisInterfaceAuthentication from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisInterfaceAuthentication from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisInterfaceAuthentication from JSON text
	FromJson(value string) error
	// Validate validates IsisInterfaceAuthentication
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisInterfaceAuthentication, error)

	// AuthType returns IsisInterfaceAuthenticationAuthTypeEnum, set in IsisInterfaceAuthentication
	AuthType() IsisInterfaceAuthenticationAuthTypeEnum
	// SetAuthType assigns IsisInterfaceAuthenticationAuthTypeEnum provided by user to IsisInterfaceAuthentication
	SetAuthType(value IsisInterfaceAuthenticationAuthTypeEnum) IsisInterfaceAuthentication
	// Md5 returns string, set in IsisInterfaceAuthentication.
	Md5() string
	// SetMd5 assigns string provided by user to IsisInterfaceAuthentication
	SetMd5(value string) IsisInterfaceAuthentication
	// HasMd5 checks if Md5 has been set in IsisInterfaceAuthentication
	HasMd5() bool
	// Password returns string, set in IsisInterfaceAuthentication.
	Password() string
	// SetPassword assigns string provided by user to IsisInterfaceAuthentication
	SetPassword(value string) IsisInterfaceAuthentication
	// HasPassword checks if Password has been set in IsisInterfaceAuthentication
	HasPassword() bool
	// contains filtered or unexported methods
}

IsisInterfaceAuthentication is optional container for circuit authentication properties.

func NewIsisInterfaceAuthentication added in v0.6.5

func NewIsisInterfaceAuthentication() IsisInterfaceAuthentication

type IsisInterfaceAuthenticationAuthTypeEnum added in v0.6.8

type IsisInterfaceAuthenticationAuthTypeEnum string

type IsisInterfaceIsisMTIter added in v0.6.1

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

type IsisInterfaceLevel added in v0.6.1

type IsisInterfaceLevel interface {
	Validation
	// Msg marshals IsisInterfaceLevel to protobuf object *otg.IsisInterfaceLevel
	// and doesn't set defaults
	Msg() *otg.IsisInterfaceLevel
	// SetMsg unmarshals IsisInterfaceLevel from protobuf object *otg.IsisInterfaceLevel
	// and doesn't set defaults
	SetMsg(*otg.IsisInterfaceLevel) IsisInterfaceLevel
	// ToProto marshals IsisInterfaceLevel to protobuf object *otg.IsisInterfaceLevel
	ToProto() (*otg.IsisInterfaceLevel, error)
	// ToPbText marshals IsisInterfaceLevel to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisInterfaceLevel to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisInterfaceLevel to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisInterfaceLevel from protobuf object *otg.IsisInterfaceLevel
	FromProto(msg *otg.IsisInterfaceLevel) (IsisInterfaceLevel, error)
	// FromPbText unmarshals IsisInterfaceLevel from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisInterfaceLevel from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisInterfaceLevel from JSON text
	FromJson(value string) error
	// Validate validates IsisInterfaceLevel
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisInterfaceLevel, error)

	// Priority returns int32, set in IsisInterfaceLevel.
	Priority() int32
	// SetPriority assigns int32 provided by user to IsisInterfaceLevel
	SetPriority(value int32) IsisInterfaceLevel
	// HasPriority checks if Priority has been set in IsisInterfaceLevel
	HasPriority() bool
	// HelloInterval returns int32, set in IsisInterfaceLevel.
	HelloInterval() int32
	// SetHelloInterval assigns int32 provided by user to IsisInterfaceLevel
	SetHelloInterval(value int32) IsisInterfaceLevel
	// HasHelloInterval checks if HelloInterval has been set in IsisInterfaceLevel
	HasHelloInterval() bool
	// DeadInterval returns int32, set in IsisInterfaceLevel.
	DeadInterval() int32
	// SetDeadInterval assigns int32 provided by user to IsisInterfaceLevel
	SetDeadInterval(value int32) IsisInterfaceLevel
	// HasDeadInterval checks if DeadInterval has been set in IsisInterfaceLevel
	HasDeadInterval() bool
	// contains filtered or unexported methods
}

IsisInterfaceLevel is configuration for the properties of Level 1 Hello.

func NewIsisInterfaceLevel added in v0.6.5

func NewIsisInterfaceLevel() IsisInterfaceLevel

type IsisInterfaceLevelTypeEnum added in v0.6.1

type IsisInterfaceLevelTypeEnum string

type IsisInterfaceLinkProtection added in v0.6.1

type IsisInterfaceLinkProtection interface {
	Validation
	// Msg marshals IsisInterfaceLinkProtection to protobuf object *otg.IsisInterfaceLinkProtection
	// and doesn't set defaults
	Msg() *otg.IsisInterfaceLinkProtection
	// SetMsg unmarshals IsisInterfaceLinkProtection from protobuf object *otg.IsisInterfaceLinkProtection
	// and doesn't set defaults
	SetMsg(*otg.IsisInterfaceLinkProtection) IsisInterfaceLinkProtection
	// ToProto marshals IsisInterfaceLinkProtection to protobuf object *otg.IsisInterfaceLinkProtection
	ToProto() (*otg.IsisInterfaceLinkProtection, error)
	// ToPbText marshals IsisInterfaceLinkProtection to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisInterfaceLinkProtection to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisInterfaceLinkProtection to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisInterfaceLinkProtection from protobuf object *otg.IsisInterfaceLinkProtection
	FromProto(msg *otg.IsisInterfaceLinkProtection) (IsisInterfaceLinkProtection, error)
	// FromPbText unmarshals IsisInterfaceLinkProtection from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisInterfaceLinkProtection from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisInterfaceLinkProtection from JSON text
	FromJson(value string) error
	// Validate validates IsisInterfaceLinkProtection
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisInterfaceLinkProtection, error)

	// ExtraTraffic returns bool, set in IsisInterfaceLinkProtection.
	ExtraTraffic() bool
	// SetExtraTraffic assigns bool provided by user to IsisInterfaceLinkProtection
	SetExtraTraffic(value bool) IsisInterfaceLinkProtection
	// HasExtraTraffic checks if ExtraTraffic has been set in IsisInterfaceLinkProtection
	HasExtraTraffic() bool
	// Unprotected returns bool, set in IsisInterfaceLinkProtection.
	Unprotected() bool
	// SetUnprotected assigns bool provided by user to IsisInterfaceLinkProtection
	SetUnprotected(value bool) IsisInterfaceLinkProtection
	// HasUnprotected checks if Unprotected has been set in IsisInterfaceLinkProtection
	HasUnprotected() bool
	// Shared returns bool, set in IsisInterfaceLinkProtection.
	Shared() bool
	// SetShared assigns bool provided by user to IsisInterfaceLinkProtection
	SetShared(value bool) IsisInterfaceLinkProtection
	// HasShared checks if Shared has been set in IsisInterfaceLinkProtection
	HasShared() bool
	// Dedicated1To1 returns bool, set in IsisInterfaceLinkProtection.
	Dedicated1To1() bool
	// SetDedicated1To1 assigns bool provided by user to IsisInterfaceLinkProtection
	SetDedicated1To1(value bool) IsisInterfaceLinkProtection
	// HasDedicated1To1 checks if Dedicated1To1 has been set in IsisInterfaceLinkProtection
	HasDedicated1To1() bool
	// Dedicated1Plus1 returns bool, set in IsisInterfaceLinkProtection.
	Dedicated1Plus1() bool
	// SetDedicated1Plus1 assigns bool provided by user to IsisInterfaceLinkProtection
	SetDedicated1Plus1(value bool) IsisInterfaceLinkProtection
	// HasDedicated1Plus1 checks if Dedicated1Plus1 has been set in IsisInterfaceLinkProtection
	HasDedicated1Plus1() bool
	// Enhanced returns bool, set in IsisInterfaceLinkProtection.
	Enhanced() bool
	// SetEnhanced assigns bool provided by user to IsisInterfaceLinkProtection
	SetEnhanced(value bool) IsisInterfaceLinkProtection
	// HasEnhanced checks if Enhanced has been set in IsisInterfaceLinkProtection
	HasEnhanced() bool
	// Reserved40 returns bool, set in IsisInterfaceLinkProtection.
	Reserved40() bool
	// SetReserved40 assigns bool provided by user to IsisInterfaceLinkProtection
	SetReserved40(value bool) IsisInterfaceLinkProtection
	// HasReserved40 checks if Reserved40 has been set in IsisInterfaceLinkProtection
	HasReserved40() bool
	// Reserved80 returns bool, set in IsisInterfaceLinkProtection.
	Reserved80() bool
	// SetReserved80 assigns bool provided by user to IsisInterfaceLinkProtection
	SetReserved80(value bool) IsisInterfaceLinkProtection
	// HasReserved80 checks if Reserved80 has been set in IsisInterfaceLinkProtection
	HasReserved80() bool
	// contains filtered or unexported methods
}

IsisInterfaceLinkProtection is optional container for the link protection sub TLV (type 20).

func NewIsisInterfaceLinkProtection added in v0.6.5

func NewIsisInterfaceLinkProtection() IsisInterfaceLinkProtection

type IsisInterfaceLinkStateTEIter added in v0.6.1

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

type IsisInterfaceNetworkTypeEnum added in v0.6.1

type IsisInterfaceNetworkTypeEnum string

type IsisLspExtendedIpv4ReachabilityTlv added in v0.8.9

type IsisLspExtendedIpv4ReachabilityTlv interface {
	Validation
	// Msg marshals IsisLspExtendedIpv4ReachabilityTlv to protobuf object *otg.IsisLspExtendedIpv4ReachabilityTlv
	// and doesn't set defaults
	Msg() *otg.IsisLspExtendedIpv4ReachabilityTlv
	// SetMsg unmarshals IsisLspExtendedIpv4ReachabilityTlv from protobuf object *otg.IsisLspExtendedIpv4ReachabilityTlv
	// and doesn't set defaults
	SetMsg(*otg.IsisLspExtendedIpv4ReachabilityTlv) IsisLspExtendedIpv4ReachabilityTlv
	// ToProto marshals IsisLspExtendedIpv4ReachabilityTlv to protobuf object *otg.IsisLspExtendedIpv4ReachabilityTlv
	ToProto() (*otg.IsisLspExtendedIpv4ReachabilityTlv, error)
	// ToPbText marshals IsisLspExtendedIpv4ReachabilityTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspExtendedIpv4ReachabilityTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspExtendedIpv4ReachabilityTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspExtendedIpv4ReachabilityTlv from protobuf object *otg.IsisLspExtendedIpv4ReachabilityTlv
	FromProto(msg *otg.IsisLspExtendedIpv4ReachabilityTlv) (IsisLspExtendedIpv4ReachabilityTlv, error)
	// FromPbText unmarshals IsisLspExtendedIpv4ReachabilityTlv from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspExtendedIpv4ReachabilityTlv from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspExtendedIpv4ReachabilityTlv from JSON text
	FromJson(value string) error
	// Validate validates IsisLspExtendedIpv4ReachabilityTlv
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspExtendedIpv4ReachabilityTlv, error)

	// Prefixes returns IsisLspExtendedIpv4ReachabilityTlvIsisLspExtendedV4PrefixIterIter, set in IsisLspExtendedIpv4ReachabilityTlv
	Prefixes() IsisLspExtendedIpv4ReachabilityTlvIsisLspExtendedV4PrefixIter
	// contains filtered or unexported methods
}

IsisLspExtendedIpv4ReachabilityTlv is this container defines list of IPv4 extended reachability information in one Extended IPv4 External Reachability TLV. It is advertised when the 'wide metric' is enabled.

func NewIsisLspExtendedIpv4ReachabilityTlv added in v0.8.9

func NewIsisLspExtendedIpv4ReachabilityTlv() IsisLspExtendedIpv4ReachabilityTlv

type IsisLspExtendedIsReachabilityTlv added in v0.8.9

type IsisLspExtendedIsReachabilityTlv interface {
	Validation
	// Msg marshals IsisLspExtendedIsReachabilityTlv to protobuf object *otg.IsisLspExtendedIsReachabilityTlv
	// and doesn't set defaults
	Msg() *otg.IsisLspExtendedIsReachabilityTlv
	// SetMsg unmarshals IsisLspExtendedIsReachabilityTlv from protobuf object *otg.IsisLspExtendedIsReachabilityTlv
	// and doesn't set defaults
	SetMsg(*otg.IsisLspExtendedIsReachabilityTlv) IsisLspExtendedIsReachabilityTlv
	// ToProto marshals IsisLspExtendedIsReachabilityTlv to protobuf object *otg.IsisLspExtendedIsReachabilityTlv
	ToProto() (*otg.IsisLspExtendedIsReachabilityTlv, error)
	// ToPbText marshals IsisLspExtendedIsReachabilityTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspExtendedIsReachabilityTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspExtendedIsReachabilityTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspExtendedIsReachabilityTlv from protobuf object *otg.IsisLspExtendedIsReachabilityTlv
	FromProto(msg *otg.IsisLspExtendedIsReachabilityTlv) (IsisLspExtendedIsReachabilityTlv, error)
	// FromPbText unmarshals IsisLspExtendedIsReachabilityTlv from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspExtendedIsReachabilityTlv from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspExtendedIsReachabilityTlv from JSON text
	FromJson(value string) error
	// Validate validates IsisLspExtendedIsReachabilityTlv
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspExtendedIsReachabilityTlv, error)

	// Neighbors returns IsisLspExtendedIsReachabilityTlvIsisLspneighborIterIter, set in IsisLspExtendedIsReachabilityTlv
	Neighbors() IsisLspExtendedIsReachabilityTlvIsisLspneighborIter
	// contains filtered or unexported methods
}

IsisLspExtendedIsReachabilityTlv is this is list of ISIS neighbors and attributes in Extended-IS-Reachability TLV (type 22).

func NewIsisLspExtendedIsReachabilityTlv added in v0.8.9

func NewIsisLspExtendedIsReachabilityTlv() IsisLspExtendedIsReachabilityTlv

type IsisLspExtendedIsReachabilityTlvIsisLspneighborIter added in v0.8.9

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

type IsisLspExtendedV4Prefix added in v0.8.9

type IsisLspExtendedV4Prefix interface {
	Validation
	// Msg marshals IsisLspExtendedV4Prefix to protobuf object *otg.IsisLspExtendedV4Prefix
	// and doesn't set defaults
	Msg() *otg.IsisLspExtendedV4Prefix
	// SetMsg unmarshals IsisLspExtendedV4Prefix from protobuf object *otg.IsisLspExtendedV4Prefix
	// and doesn't set defaults
	SetMsg(*otg.IsisLspExtendedV4Prefix) IsisLspExtendedV4Prefix
	// ToProto marshals IsisLspExtendedV4Prefix to protobuf object *otg.IsisLspExtendedV4Prefix
	ToProto() (*otg.IsisLspExtendedV4Prefix, error)
	// ToPbText marshals IsisLspExtendedV4Prefix to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspExtendedV4Prefix to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspExtendedV4Prefix to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspExtendedV4Prefix from protobuf object *otg.IsisLspExtendedV4Prefix
	FromProto(msg *otg.IsisLspExtendedV4Prefix) (IsisLspExtendedV4Prefix, error)
	// FromPbText unmarshals IsisLspExtendedV4Prefix from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspExtendedV4Prefix from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspExtendedV4Prefix from JSON text
	FromJson(value string) error
	// Validate validates IsisLspExtendedV4Prefix
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspExtendedV4Prefix, error)

	// Ipv4Address returns string, set in IsisLspExtendedV4Prefix.
	Ipv4Address() string
	// SetIpv4Address assigns string provided by user to IsisLspExtendedV4Prefix
	SetIpv4Address(value string) IsisLspExtendedV4Prefix
	// HasIpv4Address checks if Ipv4Address has been set in IsisLspExtendedV4Prefix
	HasIpv4Address() bool
	// PrefixLength returns int32, set in IsisLspExtendedV4Prefix.
	PrefixLength() int32
	// SetPrefixLength assigns int32 provided by user to IsisLspExtendedV4Prefix
	SetPrefixLength(value int32) IsisLspExtendedV4Prefix
	// HasPrefixLength checks if PrefixLength has been set in IsisLspExtendedV4Prefix
	HasPrefixLength() bool
	// Metric returns int32, set in IsisLspExtendedV4Prefix.
	Metric() int32
	// SetMetric assigns int32 provided by user to IsisLspExtendedV4Prefix
	SetMetric(value int32) IsisLspExtendedV4Prefix
	// HasMetric checks if Metric has been set in IsisLspExtendedV4Prefix
	HasMetric() bool
	// RedistributionType returns IsisLspExtendedV4PrefixRedistributionTypeEnum, set in IsisLspExtendedV4Prefix
	RedistributionType() IsisLspExtendedV4PrefixRedistributionTypeEnum
	// SetRedistributionType assigns IsisLspExtendedV4PrefixRedistributionTypeEnum provided by user to IsisLspExtendedV4Prefix
	SetRedistributionType(value IsisLspExtendedV4PrefixRedistributionTypeEnum) IsisLspExtendedV4Prefix
	// HasRedistributionType checks if RedistributionType has been set in IsisLspExtendedV4Prefix
	HasRedistributionType() bool
	// PrefixAttributes returns IsisLspPrefixAttributes, set in IsisLspExtendedV4Prefix.
	// IsisLspPrefixAttributes is this contains the properties of ISIS Prefix attributes for  the extended IPv4 and IPv6 reachability. https://www.rfc-editor.org/rfc/rfc7794.html
	PrefixAttributes() IsisLspPrefixAttributes
	// SetPrefixAttributes assigns IsisLspPrefixAttributes provided by user to IsisLspExtendedV4Prefix.
	// IsisLspPrefixAttributes is this contains the properties of ISIS Prefix attributes for  the extended IPv4 and IPv6 reachability. https://www.rfc-editor.org/rfc/rfc7794.html
	SetPrefixAttributes(value IsisLspPrefixAttributes) IsisLspExtendedV4Prefix
	// HasPrefixAttributes checks if PrefixAttributes has been set in IsisLspExtendedV4Prefix
	HasPrefixAttributes() bool
	// contains filtered or unexported methods
}

IsisLspExtendedV4Prefix is this group defines attributes of an IPv4 standard prefix.

func NewIsisLspExtendedV4Prefix added in v0.8.9

func NewIsisLspExtendedV4Prefix() IsisLspExtendedV4Prefix

type IsisLspExtendedV4PrefixRedistributionTypeEnum added in v0.8.9

type IsisLspExtendedV4PrefixRedistributionTypeEnum string

type IsisLspFlags added in v0.8.9

type IsisLspFlags interface {
	Validation
	// Msg marshals IsisLspFlags to protobuf object *otg.IsisLspFlags
	// and doesn't set defaults
	Msg() *otg.IsisLspFlags
	// SetMsg unmarshals IsisLspFlags from protobuf object *otg.IsisLspFlags
	// and doesn't set defaults
	SetMsg(*otg.IsisLspFlags) IsisLspFlags
	// ToProto marshals IsisLspFlags to protobuf object *otg.IsisLspFlags
	ToProto() (*otg.IsisLspFlags, error)
	// ToPbText marshals IsisLspFlags to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspFlags to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspFlags to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspFlags from protobuf object *otg.IsisLspFlags
	FromProto(msg *otg.IsisLspFlags) (IsisLspFlags, error)
	// FromPbText unmarshals IsisLspFlags from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspFlags from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspFlags from JSON text
	FromJson(value string) error
	// Validate validates IsisLspFlags
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspFlags, error)

	// PartitionRepair returns bool, set in IsisLspFlags.
	PartitionRepair() bool
	// SetPartitionRepair assigns bool provided by user to IsisLspFlags
	SetPartitionRepair(value bool) IsisLspFlags
	// HasPartitionRepair checks if PartitionRepair has been set in IsisLspFlags
	HasPartitionRepair() bool
	// AttachedError returns bool, set in IsisLspFlags.
	AttachedError() bool
	// SetAttachedError assigns bool provided by user to IsisLspFlags
	SetAttachedError(value bool) IsisLspFlags
	// HasAttachedError checks if AttachedError has been set in IsisLspFlags
	HasAttachedError() bool
	// AttachedExpense returns bool, set in IsisLspFlags.
	AttachedExpense() bool
	// SetAttachedExpense assigns bool provided by user to IsisLspFlags
	SetAttachedExpense(value bool) IsisLspFlags
	// HasAttachedExpense checks if AttachedExpense has been set in IsisLspFlags
	HasAttachedExpense() bool
	// AttachedDelay returns bool, set in IsisLspFlags.
	AttachedDelay() bool
	// SetAttachedDelay assigns bool provided by user to IsisLspFlags
	SetAttachedDelay(value bool) IsisLspFlags
	// HasAttachedDelay checks if AttachedDelay has been set in IsisLspFlags
	HasAttachedDelay() bool
	// AttachedDefault returns bool, set in IsisLspFlags.
	AttachedDefault() bool
	// SetAttachedDefault assigns bool provided by user to IsisLspFlags
	SetAttachedDefault(value bool) IsisLspFlags
	// HasAttachedDefault checks if AttachedDefault has been set in IsisLspFlags
	HasAttachedDefault() bool
	// Overload returns bool, set in IsisLspFlags.
	Overload() bool
	// SetOverload assigns bool provided by user to IsisLspFlags
	SetOverload(value bool) IsisLspFlags
	// HasOverload checks if Overload has been set in IsisLspFlags
	HasOverload() bool
	// contains filtered or unexported methods
}

IsisLspFlags is lSP Type flags.

func NewIsisLspFlags added in v0.8.9

func NewIsisLspFlags() IsisLspFlags

type IsisLspHostname added in v0.8.9

type IsisLspHostname interface {
	Validation
	// Msg marshals IsisLspHostname to protobuf object *otg.IsisLspHostname
	// and doesn't set defaults
	Msg() *otg.IsisLspHostname
	// SetMsg unmarshals IsisLspHostname from protobuf object *otg.IsisLspHostname
	// and doesn't set defaults
	SetMsg(*otg.IsisLspHostname) IsisLspHostname
	// ToProto marshals IsisLspHostname to protobuf object *otg.IsisLspHostname
	ToProto() (*otg.IsisLspHostname, error)
	// ToPbText marshals IsisLspHostname to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspHostname to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspHostname to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspHostname from protobuf object *otg.IsisLspHostname
	FromProto(msg *otg.IsisLspHostname) (IsisLspHostname, error)
	// FromPbText unmarshals IsisLspHostname from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspHostname from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspHostname from JSON text
	FromJson(value string) error
	// Validate validates IsisLspHostname
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspHostname, error)

	// Hostname returns string, set in IsisLspHostname.
	Hostname() string
	// SetHostname assigns string provided by user to IsisLspHostname
	SetHostname(value string) IsisLspHostname
	// HasHostname checks if Hostname has been set in IsisLspHostname
	HasHostname() bool
	// contains filtered or unexported methods
}

IsisLspHostname is it contains Hostname for the TLV 137.

func NewIsisLspHostname added in v0.8.9

func NewIsisLspHostname() IsisLspHostname

type IsisLspIpv4ExternalReachabilityTlv added in v0.8.9

type IsisLspIpv4ExternalReachabilityTlv interface {
	Validation
	// Msg marshals IsisLspIpv4ExternalReachabilityTlv to protobuf object *otg.IsisLspIpv4ExternalReachabilityTlv
	// and doesn't set defaults
	Msg() *otg.IsisLspIpv4ExternalReachabilityTlv
	// SetMsg unmarshals IsisLspIpv4ExternalReachabilityTlv from protobuf object *otg.IsisLspIpv4ExternalReachabilityTlv
	// and doesn't set defaults
	SetMsg(*otg.IsisLspIpv4ExternalReachabilityTlv) IsisLspIpv4ExternalReachabilityTlv
	// ToProto marshals IsisLspIpv4ExternalReachabilityTlv to protobuf object *otg.IsisLspIpv4ExternalReachabilityTlv
	ToProto() (*otg.IsisLspIpv4ExternalReachabilityTlv, error)
	// ToPbText marshals IsisLspIpv4ExternalReachabilityTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspIpv4ExternalReachabilityTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspIpv4ExternalReachabilityTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspIpv4ExternalReachabilityTlv from protobuf object *otg.IsisLspIpv4ExternalReachabilityTlv
	FromProto(msg *otg.IsisLspIpv4ExternalReachabilityTlv) (IsisLspIpv4ExternalReachabilityTlv, error)
	// FromPbText unmarshals IsisLspIpv4ExternalReachabilityTlv from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspIpv4ExternalReachabilityTlv from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspIpv4ExternalReachabilityTlv from JSON text
	FromJson(value string) error
	// Validate validates IsisLspIpv4ExternalReachabilityTlv
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspIpv4ExternalReachabilityTlv, error)

	// Prefixes returns IsisLspIpv4ExternalReachabilityTlvIsisLspV4PrefixIterIter, set in IsisLspIpv4ExternalReachabilityTlv
	Prefixes() IsisLspIpv4ExternalReachabilityTlvIsisLspV4PrefixIter
	// contains filtered or unexported methods
}

IsisLspIpv4ExternalReachabilityTlv is this container defines list of IPv4 external reachability information in one IPv4 external reachability TLV. This is advertised when the origin-type is set 'external' in route range configurations.

func NewIsisLspIpv4ExternalReachabilityTlv added in v0.8.9

func NewIsisLspIpv4ExternalReachabilityTlv() IsisLspIpv4ExternalReachabilityTlv

type IsisLspIpv4ExternalReachabilityTlvIsisLspV4PrefixIter added in v0.8.9

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

type IsisLspIpv4InternalReachabilityTlv added in v0.8.9

type IsisLspIpv4InternalReachabilityTlv interface {
	Validation
	// Msg marshals IsisLspIpv4InternalReachabilityTlv to protobuf object *otg.IsisLspIpv4InternalReachabilityTlv
	// and doesn't set defaults
	Msg() *otg.IsisLspIpv4InternalReachabilityTlv
	// SetMsg unmarshals IsisLspIpv4InternalReachabilityTlv from protobuf object *otg.IsisLspIpv4InternalReachabilityTlv
	// and doesn't set defaults
	SetMsg(*otg.IsisLspIpv4InternalReachabilityTlv) IsisLspIpv4InternalReachabilityTlv
	// ToProto marshals IsisLspIpv4InternalReachabilityTlv to protobuf object *otg.IsisLspIpv4InternalReachabilityTlv
	ToProto() (*otg.IsisLspIpv4InternalReachabilityTlv, error)
	// ToPbText marshals IsisLspIpv4InternalReachabilityTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspIpv4InternalReachabilityTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspIpv4InternalReachabilityTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspIpv4InternalReachabilityTlv from protobuf object *otg.IsisLspIpv4InternalReachabilityTlv
	FromProto(msg *otg.IsisLspIpv4InternalReachabilityTlv) (IsisLspIpv4InternalReachabilityTlv, error)
	// FromPbText unmarshals IsisLspIpv4InternalReachabilityTlv from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspIpv4InternalReachabilityTlv from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspIpv4InternalReachabilityTlv from JSON text
	FromJson(value string) error
	// Validate validates IsisLspIpv4InternalReachabilityTlv
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspIpv4InternalReachabilityTlv, error)

	// Prefixes returns IsisLspIpv4InternalReachabilityTlvIsisLspV4PrefixIterIter, set in IsisLspIpv4InternalReachabilityTlv
	Prefixes() IsisLspIpv4InternalReachabilityTlvIsisLspV4PrefixIter
	// contains filtered or unexported methods
}

IsisLspIpv4InternalReachabilityTlv is this container defines list of IPv4 internal reachability information in one IPv4 internal reachability TLV. This is advertised when the origin-type is set 'internal' in route range configurations.

func NewIsisLspIpv4InternalReachabilityTlv added in v0.8.9

func NewIsisLspIpv4InternalReachabilityTlv() IsisLspIpv4InternalReachabilityTlv

type IsisLspIpv4InternalReachabilityTlvIsisLspV4PrefixIter added in v0.8.9

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

type IsisLspIpv6ReachabilityTlv added in v0.8.9

type IsisLspIpv6ReachabilityTlv interface {
	Validation
	// Msg marshals IsisLspIpv6ReachabilityTlv to protobuf object *otg.IsisLspIpv6ReachabilityTlv
	// and doesn't set defaults
	Msg() *otg.IsisLspIpv6ReachabilityTlv
	// SetMsg unmarshals IsisLspIpv6ReachabilityTlv from protobuf object *otg.IsisLspIpv6ReachabilityTlv
	// and doesn't set defaults
	SetMsg(*otg.IsisLspIpv6ReachabilityTlv) IsisLspIpv6ReachabilityTlv
	// ToProto marshals IsisLspIpv6ReachabilityTlv to protobuf object *otg.IsisLspIpv6ReachabilityTlv
	ToProto() (*otg.IsisLspIpv6ReachabilityTlv, error)
	// ToPbText marshals IsisLspIpv6ReachabilityTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspIpv6ReachabilityTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspIpv6ReachabilityTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspIpv6ReachabilityTlv from protobuf object *otg.IsisLspIpv6ReachabilityTlv
	FromProto(msg *otg.IsisLspIpv6ReachabilityTlv) (IsisLspIpv6ReachabilityTlv, error)
	// FromPbText unmarshals IsisLspIpv6ReachabilityTlv from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspIpv6ReachabilityTlv from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspIpv6ReachabilityTlv from JSON text
	FromJson(value string) error
	// Validate validates IsisLspIpv6ReachabilityTlv
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspIpv6ReachabilityTlv, error)

	// Prefixes returns IsisLspIpv6ReachabilityTlvIsisLspV6PrefixIterIter, set in IsisLspIpv6ReachabilityTlv
	Prefixes() IsisLspIpv6ReachabilityTlvIsisLspV6PrefixIter
	// contains filtered or unexported methods
}

IsisLspIpv6ReachabilityTlv is it defines list of IPv6 extended reachability information in one IPv6 Reachability TLV.

func NewIsisLspIpv6ReachabilityTlv added in v0.8.9

func NewIsisLspIpv6ReachabilityTlv() IsisLspIpv6ReachabilityTlv

type IsisLspIpv6ReachabilityTlvIsisLspV6PrefixIter added in v0.8.9

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

type IsisLspIsReachabilityTlv added in v0.8.9

type IsisLspIsReachabilityTlv interface {
	Validation
	// Msg marshals IsisLspIsReachabilityTlv to protobuf object *otg.IsisLspIsReachabilityTlv
	// and doesn't set defaults
	Msg() *otg.IsisLspIsReachabilityTlv
	// SetMsg unmarshals IsisLspIsReachabilityTlv from protobuf object *otg.IsisLspIsReachabilityTlv
	// and doesn't set defaults
	SetMsg(*otg.IsisLspIsReachabilityTlv) IsisLspIsReachabilityTlv
	// ToProto marshals IsisLspIsReachabilityTlv to protobuf object *otg.IsisLspIsReachabilityTlv
	ToProto() (*otg.IsisLspIsReachabilityTlv, error)
	// ToPbText marshals IsisLspIsReachabilityTlv to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspIsReachabilityTlv to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspIsReachabilityTlv to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspIsReachabilityTlv from protobuf object *otg.IsisLspIsReachabilityTlv
	FromProto(msg *otg.IsisLspIsReachabilityTlv) (IsisLspIsReachabilityTlv, error)
	// FromPbText unmarshals IsisLspIsReachabilityTlv from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspIsReachabilityTlv from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspIsReachabilityTlv from JSON text
	FromJson(value string) error
	// Validate validates IsisLspIsReachabilityTlv
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspIsReachabilityTlv, error)

	// Neighbors returns IsisLspIsReachabilityTlvIsisLspneighborIterIter, set in IsisLspIsReachabilityTlv
	Neighbors() IsisLspIsReachabilityTlvIsisLspneighborIter
	// contains filtered or unexported methods
}

IsisLspIsReachabilityTlv is this container describes list of ISIS neighbors and attributes in IS-Reachability TLV (type 2).

func NewIsisLspIsReachabilityTlv added in v0.8.9

func NewIsisLspIsReachabilityTlv() IsisLspIsReachabilityTlv

type IsisLspIsReachabilityTlvIsisLspneighborIter added in v0.8.9

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

type IsisLspPrefixAttributes added in v0.8.9

type IsisLspPrefixAttributes interface {
	Validation
	// Msg marshals IsisLspPrefixAttributes to protobuf object *otg.IsisLspPrefixAttributes
	// and doesn't set defaults
	Msg() *otg.IsisLspPrefixAttributes
	// SetMsg unmarshals IsisLspPrefixAttributes from protobuf object *otg.IsisLspPrefixAttributes
	// and doesn't set defaults
	SetMsg(*otg.IsisLspPrefixAttributes) IsisLspPrefixAttributes
	// ToProto marshals IsisLspPrefixAttributes to protobuf object *otg.IsisLspPrefixAttributes
	ToProto() (*otg.IsisLspPrefixAttributes, error)
	// ToPbText marshals IsisLspPrefixAttributes to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspPrefixAttributes to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspPrefixAttributes to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspPrefixAttributes from protobuf object *otg.IsisLspPrefixAttributes
	FromProto(msg *otg.IsisLspPrefixAttributes) (IsisLspPrefixAttributes, error)
	// FromPbText unmarshals IsisLspPrefixAttributes from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspPrefixAttributes from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspPrefixAttributes from JSON text
	FromJson(value string) error
	// Validate validates IsisLspPrefixAttributes
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspPrefixAttributes, error)

	// XFlag returns bool, set in IsisLspPrefixAttributes.
	XFlag() bool
	// SetXFlag assigns bool provided by user to IsisLspPrefixAttributes
	SetXFlag(value bool) IsisLspPrefixAttributes
	// HasXFlag checks if XFlag has been set in IsisLspPrefixAttributes
	HasXFlag() bool
	// RFlag returns bool, set in IsisLspPrefixAttributes.
	RFlag() bool
	// SetRFlag assigns bool provided by user to IsisLspPrefixAttributes
	SetRFlag(value bool) IsisLspPrefixAttributes
	// HasRFlag checks if RFlag has been set in IsisLspPrefixAttributes
	HasRFlag() bool
	// NFlag returns bool, set in IsisLspPrefixAttributes.
	NFlag() bool
	// SetNFlag assigns bool provided by user to IsisLspPrefixAttributes
	SetNFlag(value bool) IsisLspPrefixAttributes
	// HasNFlag checks if NFlag has been set in IsisLspPrefixAttributes
	HasNFlag() bool
	// contains filtered or unexported methods
}

IsisLspPrefixAttributes is this contains the properties of ISIS Prefix attributes for the extended IPv4 and IPv6 reachability. https://www.rfc-editor.org/rfc/rfc7794.html

func NewIsisLspPrefixAttributes added in v0.8.9

func NewIsisLspPrefixAttributes() IsisLspPrefixAttributes

type IsisLspState added in v0.8.9

type IsisLspState interface {
	Validation
	// Msg marshals IsisLspState to protobuf object *otg.IsisLspState
	// and doesn't set defaults
	Msg() *otg.IsisLspState
	// SetMsg unmarshals IsisLspState from protobuf object *otg.IsisLspState
	// and doesn't set defaults
	SetMsg(*otg.IsisLspState) IsisLspState
	// ToProto marshals IsisLspState to protobuf object *otg.IsisLspState
	ToProto() (*otg.IsisLspState, error)
	// ToPbText marshals IsisLspState to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspState to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspState to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspState from protobuf object *otg.IsisLspState
	FromProto(msg *otg.IsisLspState) (IsisLspState, error)
	// FromPbText unmarshals IsisLspState from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspState from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspState from JSON text
	FromJson(value string) error
	// Validate validates IsisLspState
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspState, error)

	// LspId returns string, set in IsisLspState.
	LspId() string
	// SetLspId assigns string provided by user to IsisLspState
	SetLspId(value string) IsisLspState
	// PduType returns IsisLspStatePduTypeEnum, set in IsisLspState
	PduType() IsisLspStatePduTypeEnum
	// SetPduType assigns IsisLspStatePduTypeEnum provided by user to IsisLspState
	SetPduType(value IsisLspStatePduTypeEnum) IsisLspState
	// HasPduType checks if PduType has been set in IsisLspState
	HasPduType() bool
	// RemainingLifetime returns int64, set in IsisLspState.
	RemainingLifetime() int64
	// SetRemainingLifetime assigns int64 provided by user to IsisLspState
	SetRemainingLifetime(value int64) IsisLspState
	// HasRemainingLifetime checks if RemainingLifetime has been set in IsisLspState
	HasRemainingLifetime() bool
	// SequenceNumber returns int64, set in IsisLspState.
	SequenceNumber() int64
	// SetSequenceNumber assigns int64 provided by user to IsisLspState
	SetSequenceNumber(value int64) IsisLspState
	// HasSequenceNumber checks if SequenceNumber has been set in IsisLspState
	HasSequenceNumber() bool
	// PduLength returns int32, set in IsisLspState.
	PduLength() int32
	// SetPduLength assigns int32 provided by user to IsisLspState
	SetPduLength(value int32) IsisLspState
	// HasPduLength checks if PduLength has been set in IsisLspState
	HasPduLength() bool
	// Flags returns IsisLspFlags, set in IsisLspState.
	// IsisLspFlags is lSP Type flags.
	Flags() IsisLspFlags
	// SetFlags assigns IsisLspFlags provided by user to IsisLspState.
	// IsisLspFlags is lSP Type flags.
	SetFlags(value IsisLspFlags) IsisLspState
	// HasFlags checks if Flags has been set in IsisLspState
	HasFlags() bool
	// IsType returns int32, set in IsisLspState.
	IsType() int32
	// SetIsType assigns int32 provided by user to IsisLspState
	SetIsType(value int32) IsisLspState
	// HasIsType checks if IsType has been set in IsisLspState
	HasIsType() bool
	// Tlvs returns IsisLspTlvs, set in IsisLspState.
	// IsisLspTlvs is this contains the list of TLVs present in one LSP.
	Tlvs() IsisLspTlvs
	// SetTlvs assigns IsisLspTlvs provided by user to IsisLspState.
	// IsisLspTlvs is this contains the list of TLVs present in one LSP.
	SetTlvs(value IsisLspTlvs) IsisLspState
	// HasTlvs checks if Tlvs has been set in IsisLspState
	HasTlvs() bool
	// contains filtered or unexported methods
}

IsisLspState is iSIS LSP.

func NewIsisLspState added in v0.8.9

func NewIsisLspState() IsisLspState

type IsisLspStatePduTypeEnum added in v0.8.9

type IsisLspStatePduTypeEnum string

type IsisLspTlvs added in v0.8.9

type IsisLspTlvs interface {
	Validation
	// Msg marshals IsisLspTlvs to protobuf object *otg.IsisLspTlvs
	// and doesn't set defaults
	Msg() *otg.IsisLspTlvs
	// SetMsg unmarshals IsisLspTlvs from protobuf object *otg.IsisLspTlvs
	// and doesn't set defaults
	SetMsg(*otg.IsisLspTlvs) IsisLspTlvs
	// ToProto marshals IsisLspTlvs to protobuf object *otg.IsisLspTlvs
	ToProto() (*otg.IsisLspTlvs, error)
	// ToPbText marshals IsisLspTlvs to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspTlvs to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspTlvs to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspTlvs from protobuf object *otg.IsisLspTlvs
	FromProto(msg *otg.IsisLspTlvs) (IsisLspTlvs, error)
	// FromPbText unmarshals IsisLspTlvs from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspTlvs from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspTlvs from JSON text
	FromJson(value string) error
	// Validate validates IsisLspTlvs
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspTlvs, error)

	// HostnameTlvs returns IsisLspTlvsIsisLspHostnameIterIter, set in IsisLspTlvs
	HostnameTlvs() IsisLspTlvsIsisLspHostnameIter
	// IsReachabilityTlvs returns IsisLspTlvsIsisLspIsReachabilityTlvIterIter, set in IsisLspTlvs
	IsReachabilityTlvs() IsisLspTlvsIsisLspIsReachabilityTlvIter
	// ExtendedIsReachabilityTlvs returns IsisLspTlvsIsisLspExtendedIsReachabilityTlvIterIter, set in IsisLspTlvs
	ExtendedIsReachabilityTlvs() IsisLspTlvsIsisLspExtendedIsReachabilityTlvIter
	// Ipv4InternalReachabilityTlvs returns IsisLspTlvsIsisLspIpv4InternalReachabilityTlvIterIter, set in IsisLspTlvs
	Ipv4InternalReachabilityTlvs() IsisLspTlvsIsisLspIpv4InternalReachabilityTlvIter
	// Ipv4ExternalReachabilityTlvs returns IsisLspTlvsIsisLspIpv4ExternalReachabilityTlvIterIter, set in IsisLspTlvs
	Ipv4ExternalReachabilityTlvs() IsisLspTlvsIsisLspIpv4ExternalReachabilityTlvIter
	// ExtendedIpv4ReachabilityTlvs returns IsisLspTlvsIsisLspExtendedIpv4ReachabilityTlvIterIter, set in IsisLspTlvs
	ExtendedIpv4ReachabilityTlvs() IsisLspTlvsIsisLspExtendedIpv4ReachabilityTlvIter
	// Ipv6ReachabilityTlvs returns IsisLspTlvsIsisLspIpv6ReachabilityTlvIterIter, set in IsisLspTlvs
	Ipv6ReachabilityTlvs() IsisLspTlvsIsisLspIpv6ReachabilityTlvIter
	// contains filtered or unexported methods
}

IsisLspTlvs is this contains the list of TLVs present in one LSP.

func NewIsisLspTlvs added in v0.8.9

func NewIsisLspTlvs() IsisLspTlvs

type IsisLspTlvsIsisLspHostnameIter added in v0.8.9

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

type IsisLspTlvsIsisLspIpv6ReachabilityTlvIter added in v0.8.9

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

type IsisLspTlvsIsisLspIsReachabilityTlvIter added in v0.8.9

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

type IsisLspV4Prefix added in v0.8.9

type IsisLspV4Prefix interface {
	Validation
	// Msg marshals IsisLspV4Prefix to protobuf object *otg.IsisLspV4Prefix
	// and doesn't set defaults
	Msg() *otg.IsisLspV4Prefix
	// SetMsg unmarshals IsisLspV4Prefix from protobuf object *otg.IsisLspV4Prefix
	// and doesn't set defaults
	SetMsg(*otg.IsisLspV4Prefix) IsisLspV4Prefix
	// ToProto marshals IsisLspV4Prefix to protobuf object *otg.IsisLspV4Prefix
	ToProto() (*otg.IsisLspV4Prefix, error)
	// ToPbText marshals IsisLspV4Prefix to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspV4Prefix to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspV4Prefix to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspV4Prefix from protobuf object *otg.IsisLspV4Prefix
	FromProto(msg *otg.IsisLspV4Prefix) (IsisLspV4Prefix, error)
	// FromPbText unmarshals IsisLspV4Prefix from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspV4Prefix from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspV4Prefix from JSON text
	FromJson(value string) error
	// Validate validates IsisLspV4Prefix
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspV4Prefix, error)

	// Ipv4Address returns string, set in IsisLspV4Prefix.
	Ipv4Address() string
	// SetIpv4Address assigns string provided by user to IsisLspV4Prefix
	SetIpv4Address(value string) IsisLspV4Prefix
	// HasIpv4Address checks if Ipv4Address has been set in IsisLspV4Prefix
	HasIpv4Address() bool
	// PrefixLength returns int32, set in IsisLspV4Prefix.
	PrefixLength() int32
	// SetPrefixLength assigns int32 provided by user to IsisLspV4Prefix
	SetPrefixLength(value int32) IsisLspV4Prefix
	// HasPrefixLength checks if PrefixLength has been set in IsisLspV4Prefix
	HasPrefixLength() bool
	// RedistributionType returns IsisLspV4PrefixRedistributionTypeEnum, set in IsisLspV4Prefix
	RedistributionType() IsisLspV4PrefixRedistributionTypeEnum
	// SetRedistributionType assigns IsisLspV4PrefixRedistributionTypeEnum provided by user to IsisLspV4Prefix
	SetRedistributionType(value IsisLspV4PrefixRedistributionTypeEnum) IsisLspV4Prefix
	// HasRedistributionType checks if RedistributionType has been set in IsisLspV4Prefix
	HasRedistributionType() bool
	// DefaultMetric returns int32, set in IsisLspV4Prefix.
	DefaultMetric() int32
	// SetDefaultMetric assigns int32 provided by user to IsisLspV4Prefix
	SetDefaultMetric(value int32) IsisLspV4Prefix
	// HasDefaultMetric checks if DefaultMetric has been set in IsisLspV4Prefix
	HasDefaultMetric() bool
	// OriginType returns IsisLspV4PrefixOriginTypeEnum, set in IsisLspV4Prefix
	OriginType() IsisLspV4PrefixOriginTypeEnum
	// SetOriginType assigns IsisLspV4PrefixOriginTypeEnum provided by user to IsisLspV4Prefix
	SetOriginType(value IsisLspV4PrefixOriginTypeEnum) IsisLspV4Prefix
	// HasOriginType checks if OriginType has been set in IsisLspV4Prefix
	HasOriginType() bool
	// contains filtered or unexported methods
}

IsisLspV4Prefix is this group defines attributes of an IPv4 standard prefix.

func NewIsisLspV4Prefix added in v0.8.9

func NewIsisLspV4Prefix() IsisLspV4Prefix

type IsisLspV4PrefixOriginTypeEnum added in v0.8.9

type IsisLspV4PrefixOriginTypeEnum string

type IsisLspV4PrefixRedistributionTypeEnum added in v0.8.9

type IsisLspV4PrefixRedistributionTypeEnum string

type IsisLspV6Prefix added in v0.8.9

type IsisLspV6Prefix interface {
	Validation
	// Msg marshals IsisLspV6Prefix to protobuf object *otg.IsisLspV6Prefix
	// and doesn't set defaults
	Msg() *otg.IsisLspV6Prefix
	// SetMsg unmarshals IsisLspV6Prefix from protobuf object *otg.IsisLspV6Prefix
	// and doesn't set defaults
	SetMsg(*otg.IsisLspV6Prefix) IsisLspV6Prefix
	// ToProto marshals IsisLspV6Prefix to protobuf object *otg.IsisLspV6Prefix
	ToProto() (*otg.IsisLspV6Prefix, error)
	// ToPbText marshals IsisLspV6Prefix to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspV6Prefix to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspV6Prefix to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspV6Prefix from protobuf object *otg.IsisLspV6Prefix
	FromProto(msg *otg.IsisLspV6Prefix) (IsisLspV6Prefix, error)
	// FromPbText unmarshals IsisLspV6Prefix from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspV6Prefix from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspV6Prefix from JSON text
	FromJson(value string) error
	// Validate validates IsisLspV6Prefix
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspV6Prefix, error)

	// Ipv6Address returns string, set in IsisLspV6Prefix.
	Ipv6Address() string
	// SetIpv6Address assigns string provided by user to IsisLspV6Prefix
	SetIpv6Address(value string) IsisLspV6Prefix
	// HasIpv6Address checks if Ipv6Address has been set in IsisLspV6Prefix
	HasIpv6Address() bool
	// PrefixLength returns int32, set in IsisLspV6Prefix.
	PrefixLength() int32
	// SetPrefixLength assigns int32 provided by user to IsisLspV6Prefix
	SetPrefixLength(value int32) IsisLspV6Prefix
	// HasPrefixLength checks if PrefixLength has been set in IsisLspV6Prefix
	HasPrefixLength() bool
	// Metric returns int32, set in IsisLspV6Prefix.
	Metric() int32
	// SetMetric assigns int32 provided by user to IsisLspV6Prefix
	SetMetric(value int32) IsisLspV6Prefix
	// HasMetric checks if Metric has been set in IsisLspV6Prefix
	HasMetric() bool
	// RedistributionType returns IsisLspV6PrefixRedistributionTypeEnum, set in IsisLspV6Prefix
	RedistributionType() IsisLspV6PrefixRedistributionTypeEnum
	// SetRedistributionType assigns IsisLspV6PrefixRedistributionTypeEnum provided by user to IsisLspV6Prefix
	SetRedistributionType(value IsisLspV6PrefixRedistributionTypeEnum) IsisLspV6Prefix
	// HasRedistributionType checks if RedistributionType has been set in IsisLspV6Prefix
	HasRedistributionType() bool
	// OriginType returns IsisLspV6PrefixOriginTypeEnum, set in IsisLspV6Prefix
	OriginType() IsisLspV6PrefixOriginTypeEnum
	// SetOriginType assigns IsisLspV6PrefixOriginTypeEnum provided by user to IsisLspV6Prefix
	SetOriginType(value IsisLspV6PrefixOriginTypeEnum) IsisLspV6Prefix
	// HasOriginType checks if OriginType has been set in IsisLspV6Prefix
	HasOriginType() bool
	// PrefixAttributes returns IsisLspPrefixAttributes, set in IsisLspV6Prefix.
	// IsisLspPrefixAttributes is this contains the properties of ISIS Prefix attributes for  the extended IPv4 and IPv6 reachability. https://www.rfc-editor.org/rfc/rfc7794.html
	PrefixAttributes() IsisLspPrefixAttributes
	// SetPrefixAttributes assigns IsisLspPrefixAttributes provided by user to IsisLspV6Prefix.
	// IsisLspPrefixAttributes is this contains the properties of ISIS Prefix attributes for  the extended IPv4 and IPv6 reachability. https://www.rfc-editor.org/rfc/rfc7794.html
	SetPrefixAttributes(value IsisLspPrefixAttributes) IsisLspV6Prefix
	// HasPrefixAttributes checks if PrefixAttributes has been set in IsisLspV6Prefix
	HasPrefixAttributes() bool
	// contains filtered or unexported methods
}

IsisLspV6Prefix is it defines attributes of an IPv6 standard prefix.

func NewIsisLspV6Prefix added in v0.8.9

func NewIsisLspV6Prefix() IsisLspV6Prefix

type IsisLspV6PrefixOriginTypeEnum added in v0.8.9

type IsisLspV6PrefixOriginTypeEnum string

type IsisLspV6PrefixRedistributionTypeEnum added in v0.8.9

type IsisLspV6PrefixRedistributionTypeEnum string

type IsisLspneighbor added in v0.8.9

type IsisLspneighbor interface {
	Validation
	// Msg marshals IsisLspneighbor to protobuf object *otg.IsisLspneighbor
	// and doesn't set defaults
	Msg() *otg.IsisLspneighbor
	// SetMsg unmarshals IsisLspneighbor from protobuf object *otg.IsisLspneighbor
	// and doesn't set defaults
	SetMsg(*otg.IsisLspneighbor) IsisLspneighbor
	// ToProto marshals IsisLspneighbor to protobuf object *otg.IsisLspneighbor
	ToProto() (*otg.IsisLspneighbor, error)
	// ToPbText marshals IsisLspneighbor to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspneighbor to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspneighbor to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspneighbor from protobuf object *otg.IsisLspneighbor
	FromProto(msg *otg.IsisLspneighbor) (IsisLspneighbor, error)
	// FromPbText unmarshals IsisLspneighbor from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspneighbor from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspneighbor from JSON text
	FromJson(value string) error
	// Validate validates IsisLspneighbor
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspneighbor, error)

	// SystemId returns string, set in IsisLspneighbor.
	SystemId() string
	// SetSystemId assigns string provided by user to IsisLspneighbor
	SetSystemId(value string) IsisLspneighbor
	// HasSystemId checks if SystemId has been set in IsisLspneighbor
	HasSystemId() bool
	// contains filtered or unexported methods
}

IsisLspneighbor is this contains IS neighbors.

func NewIsisLspneighbor added in v0.8.9

func NewIsisLspneighbor() IsisLspneighbor

type IsisLspsState added in v0.8.9

type IsisLspsState interface {
	Validation
	// Msg marshals IsisLspsState to protobuf object *otg.IsisLspsState
	// and doesn't set defaults
	Msg() *otg.IsisLspsState
	// SetMsg unmarshals IsisLspsState from protobuf object *otg.IsisLspsState
	// and doesn't set defaults
	SetMsg(*otg.IsisLspsState) IsisLspsState
	// ToProto marshals IsisLspsState to protobuf object *otg.IsisLspsState
	ToProto() (*otg.IsisLspsState, error)
	// ToPbText marshals IsisLspsState to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspsState to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspsState to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspsState from protobuf object *otg.IsisLspsState
	FromProto(msg *otg.IsisLspsState) (IsisLspsState, error)
	// FromPbText unmarshals IsisLspsState from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspsState from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspsState from JSON text
	FromJson(value string) error
	// Validate validates IsisLspsState
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspsState, error)

	// IsisRouterName returns string, set in IsisLspsState.
	IsisRouterName() string
	// SetIsisRouterName assigns string provided by user to IsisLspsState
	SetIsisRouterName(value string) IsisLspsState
	// HasIsisRouterName checks if IsisRouterName has been set in IsisLspsState
	HasIsisRouterName() bool
	// Lsps returns IsisLspsStateIsisLspStateIterIter, set in IsisLspsState
	Lsps() IsisLspsStateIsisLspStateIter
	// contains filtered or unexported methods
}

IsisLspsState is the result of ISIS LSP information that are retrieved.

func NewIsisLspsState added in v0.8.9

func NewIsisLspsState() IsisLspsState

type IsisLspsStateIsisLspStateIter added in v0.8.9

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

type IsisLspsStateRequest added in v0.8.9

type IsisLspsStateRequest interface {
	Validation
	// Msg marshals IsisLspsStateRequest to protobuf object *otg.IsisLspsStateRequest
	// and doesn't set defaults
	Msg() *otg.IsisLspsStateRequest
	// SetMsg unmarshals IsisLspsStateRequest from protobuf object *otg.IsisLspsStateRequest
	// and doesn't set defaults
	SetMsg(*otg.IsisLspsStateRequest) IsisLspsStateRequest
	// ToProto marshals IsisLspsStateRequest to protobuf object *otg.IsisLspsStateRequest
	ToProto() (*otg.IsisLspsStateRequest, error)
	// ToPbText marshals IsisLspsStateRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisLspsStateRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisLspsStateRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisLspsStateRequest from protobuf object *otg.IsisLspsStateRequest
	FromProto(msg *otg.IsisLspsStateRequest) (IsisLspsStateRequest, error)
	// FromPbText unmarshals IsisLspsStateRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisLspsStateRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisLspsStateRequest from JSON text
	FromJson(value string) error
	// Validate validates IsisLspsStateRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisLspsStateRequest, error)

	// IsisRouterNames returns []string, set in IsisLspsStateRequest.
	IsisRouterNames() []string
	// SetIsisRouterNames assigns []string provided by user to IsisLspsStateRequest
	SetIsisRouterNames(value []string) IsisLspsStateRequest
	// contains filtered or unexported methods
}

IsisLspsStateRequest is the request to retrieve ISIS Link State PDU (LSP) information learned by the router.

func NewIsisLspsStateRequest added in v0.8.9

func NewIsisLspsStateRequest() IsisLspsStateRequest

type IsisMT added in v0.6.1

type IsisMT interface {
	Validation
	// Msg marshals IsisMT to protobuf object *otg.IsisMT
	// and doesn't set defaults
	Msg() *otg.IsisMT
	// SetMsg unmarshals IsisMT from protobuf object *otg.IsisMT
	// and doesn't set defaults
	SetMsg(*otg.IsisMT) IsisMT
	// ToProto marshals IsisMT to protobuf object *otg.IsisMT
	ToProto() (*otg.IsisMT, error)
	// ToPbText marshals IsisMT to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisMT to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisMT to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisMT from protobuf object *otg.IsisMT
	FromProto(msg *otg.IsisMT) (IsisMT, error)
	// FromPbText unmarshals IsisMT from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisMT from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisMT from JSON text
	FromJson(value string) error
	// Validate validates IsisMT
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisMT, error)

	// MtId returns int32, set in IsisMT.
	MtId() int32
	// SetMtId assigns int32 provided by user to IsisMT
	SetMtId(value int32) IsisMT
	// HasMtId checks if MtId has been set in IsisMT
	HasMtId() bool
	// LinkMetric returns int32, set in IsisMT.
	LinkMetric() int32
	// SetLinkMetric assigns int32 provided by user to IsisMT
	SetLinkMetric(value int32) IsisMT
	// HasLinkMetric checks if LinkMetric has been set in IsisMT
	HasLinkMetric() bool
	// contains filtered or unexported methods
}

IsisMT is configuration of properties per interface per topology when multiple topologies are configured in an ISIS router. in a ISIS router.

func NewIsisMT added in v0.6.5

func NewIsisMT() IsisMT

type IsisMetric added in v0.6.8

type IsisMetric interface {
	Validation
	// Msg marshals IsisMetric to protobuf object *otg.IsisMetric
	// and doesn't set defaults
	Msg() *otg.IsisMetric
	// SetMsg unmarshals IsisMetric from protobuf object *otg.IsisMetric
	// and doesn't set defaults
	SetMsg(*otg.IsisMetric) IsisMetric
	// ToProto marshals IsisMetric to protobuf object *otg.IsisMetric
	ToProto() (*otg.IsisMetric, error)
	// ToPbText marshals IsisMetric to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisMetric to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisMetric to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisMetric from protobuf object *otg.IsisMetric
	FromProto(msg *otg.IsisMetric) (IsisMetric, error)
	// FromPbText unmarshals IsisMetric from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisMetric from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisMetric from JSON text
	FromJson(value string) error
	// Validate validates IsisMetric
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisMetric, error)

	// Name returns string, set in IsisMetric.
	Name() string
	// SetName assigns string provided by user to IsisMetric
	SetName(value string) IsisMetric
	// HasName checks if Name has been set in IsisMetric
	HasName() bool
	// L1SessionsUp returns int32, set in IsisMetric.
	L1SessionsUp() int32
	// SetL1SessionsUp assigns int32 provided by user to IsisMetric
	SetL1SessionsUp(value int32) IsisMetric
	// HasL1SessionsUp checks if L1SessionsUp has been set in IsisMetric
	HasL1SessionsUp() bool
	// L1SessionFlap returns int32, set in IsisMetric.
	L1SessionFlap() int32
	// SetL1SessionFlap assigns int32 provided by user to IsisMetric
	SetL1SessionFlap(value int32) IsisMetric
	// HasL1SessionFlap checks if L1SessionFlap has been set in IsisMetric
	HasL1SessionFlap() bool
	// L1BroadcastHellosSent returns int32, set in IsisMetric.
	L1BroadcastHellosSent() int32
	// SetL1BroadcastHellosSent assigns int32 provided by user to IsisMetric
	SetL1BroadcastHellosSent(value int32) IsisMetric
	// HasL1BroadcastHellosSent checks if L1BroadcastHellosSent has been set in IsisMetric
	HasL1BroadcastHellosSent() bool
	// L1BroadcastHellosReceived returns int32, set in IsisMetric.
	L1BroadcastHellosReceived() int32
	// SetL1BroadcastHellosReceived assigns int32 provided by user to IsisMetric
	SetL1BroadcastHellosReceived(value int32) IsisMetric
	// HasL1BroadcastHellosReceived checks if L1BroadcastHellosReceived has been set in IsisMetric
	HasL1BroadcastHellosReceived() bool
	// L1PointToPointHellosSent returns int32, set in IsisMetric.
	L1PointToPointHellosSent() int32
	// SetL1PointToPointHellosSent assigns int32 provided by user to IsisMetric
	SetL1PointToPointHellosSent(value int32) IsisMetric
	// HasL1PointToPointHellosSent checks if L1PointToPointHellosSent has been set in IsisMetric
	HasL1PointToPointHellosSent() bool
	// L1PointToPointHellosReceived returns int32, set in IsisMetric.
	L1PointToPointHellosReceived() int32
	// SetL1PointToPointHellosReceived assigns int32 provided by user to IsisMetric
	SetL1PointToPointHellosReceived(value int32) IsisMetric
	// HasL1PointToPointHellosReceived checks if L1PointToPointHellosReceived has been set in IsisMetric
	HasL1PointToPointHellosReceived() bool
	// L1DatabaseSize returns int32, set in IsisMetric.
	L1DatabaseSize() int32
	// SetL1DatabaseSize assigns int32 provided by user to IsisMetric
	SetL1DatabaseSize(value int32) IsisMetric
	// HasL1DatabaseSize checks if L1DatabaseSize has been set in IsisMetric
	HasL1DatabaseSize() bool
	// L1PsnpSent returns int32, set in IsisMetric.
	L1PsnpSent() int32
	// SetL1PsnpSent assigns int32 provided by user to IsisMetric
	SetL1PsnpSent(value int32) IsisMetric
	// HasL1PsnpSent checks if L1PsnpSent has been set in IsisMetric
	HasL1PsnpSent() bool
	// L1PsnpReceived returns int32, set in IsisMetric.
	L1PsnpReceived() int32
	// SetL1PsnpReceived assigns int32 provided by user to IsisMetric
	SetL1PsnpReceived(value int32) IsisMetric
	// HasL1PsnpReceived checks if L1PsnpReceived has been set in IsisMetric
	HasL1PsnpReceived() bool
	// L1CsnpSent returns int32, set in IsisMetric.
	L1CsnpSent() int32
	// SetL1CsnpSent assigns int32 provided by user to IsisMetric
	SetL1CsnpSent(value int32) IsisMetric
	// HasL1CsnpSent checks if L1CsnpSent has been set in IsisMetric
	HasL1CsnpSent() bool
	// L1CsnpReceived returns int32, set in IsisMetric.
	L1CsnpReceived() int32
	// SetL1CsnpReceived assigns int32 provided by user to IsisMetric
	SetL1CsnpReceived(value int32) IsisMetric
	// HasL1CsnpReceived checks if L1CsnpReceived has been set in IsisMetric
	HasL1CsnpReceived() bool
	// L1LspSent returns int32, set in IsisMetric.
	L1LspSent() int32
	// SetL1LspSent assigns int32 provided by user to IsisMetric
	SetL1LspSent(value int32) IsisMetric
	// HasL1LspSent checks if L1LspSent has been set in IsisMetric
	HasL1LspSent() bool
	// L1LspReceived returns int32, set in IsisMetric.
	L1LspReceived() int32
	// SetL1LspReceived assigns int32 provided by user to IsisMetric
	SetL1LspReceived(value int32) IsisMetric
	// HasL1LspReceived checks if L1LspReceived has been set in IsisMetric
	HasL1LspReceived() bool
	// L2SessionsUp returns int32, set in IsisMetric.
	L2SessionsUp() int32
	// SetL2SessionsUp assigns int32 provided by user to IsisMetric
	SetL2SessionsUp(value int32) IsisMetric
	// HasL2SessionsUp checks if L2SessionsUp has been set in IsisMetric
	HasL2SessionsUp() bool
	// L2SessionFlap returns int32, set in IsisMetric.
	L2SessionFlap() int32
	// SetL2SessionFlap assigns int32 provided by user to IsisMetric
	SetL2SessionFlap(value int32) IsisMetric
	// HasL2SessionFlap checks if L2SessionFlap has been set in IsisMetric
	HasL2SessionFlap() bool
	// L2BroadcastHellosSent returns int32, set in IsisMetric.
	L2BroadcastHellosSent() int32
	// SetL2BroadcastHellosSent assigns int32 provided by user to IsisMetric
	SetL2BroadcastHellosSent(value int32) IsisMetric
	// HasL2BroadcastHellosSent checks if L2BroadcastHellosSent has been set in IsisMetric
	HasL2BroadcastHellosSent() bool
	// L2BroadcastHellosReceived returns int32, set in IsisMetric.
	L2BroadcastHellosReceived() int32
	// SetL2BroadcastHellosReceived assigns int32 provided by user to IsisMetric
	SetL2BroadcastHellosReceived(value int32) IsisMetric
	// HasL2BroadcastHellosReceived checks if L2BroadcastHellosReceived has been set in IsisMetric
	HasL2BroadcastHellosReceived() bool
	// L2PointToPointHellosSent returns int32, set in IsisMetric.
	L2PointToPointHellosSent() int32
	// SetL2PointToPointHellosSent assigns int32 provided by user to IsisMetric
	SetL2PointToPointHellosSent(value int32) IsisMetric
	// HasL2PointToPointHellosSent checks if L2PointToPointHellosSent has been set in IsisMetric
	HasL2PointToPointHellosSent() bool
	// L2PointToPointHellosReceived returns int32, set in IsisMetric.
	L2PointToPointHellosReceived() int32
	// SetL2PointToPointHellosReceived assigns int32 provided by user to IsisMetric
	SetL2PointToPointHellosReceived(value int32) IsisMetric
	// HasL2PointToPointHellosReceived checks if L2PointToPointHellosReceived has been set in IsisMetric
	HasL2PointToPointHellosReceived() bool
	// L2DatabaseSize returns int32, set in IsisMetric.
	L2DatabaseSize() int32
	// SetL2DatabaseSize assigns int32 provided by user to IsisMetric
	SetL2DatabaseSize(value int32) IsisMetric
	// HasL2DatabaseSize checks if L2DatabaseSize has been set in IsisMetric
	HasL2DatabaseSize() bool
	// L2PsnpSent returns int32, set in IsisMetric.
	L2PsnpSent() int32
	// SetL2PsnpSent assigns int32 provided by user to IsisMetric
	SetL2PsnpSent(value int32) IsisMetric
	// HasL2PsnpSent checks if L2PsnpSent has been set in IsisMetric
	HasL2PsnpSent() bool
	// L2PsnpReceived returns int32, set in IsisMetric.
	L2PsnpReceived() int32
	// SetL2PsnpReceived assigns int32 provided by user to IsisMetric
	SetL2PsnpReceived(value int32) IsisMetric
	// HasL2PsnpReceived checks if L2PsnpReceived has been set in IsisMetric
	HasL2PsnpReceived() bool
	// L2CsnpSent returns int32, set in IsisMetric.
	L2CsnpSent() int32
	// SetL2CsnpSent assigns int32 provided by user to IsisMetric
	SetL2CsnpSent(value int32) IsisMetric
	// HasL2CsnpSent checks if L2CsnpSent has been set in IsisMetric
	HasL2CsnpSent() bool
	// L2CsnpReceived returns int32, set in IsisMetric.
	L2CsnpReceived() int32
	// SetL2CsnpReceived assigns int32 provided by user to IsisMetric
	SetL2CsnpReceived(value int32) IsisMetric
	// HasL2CsnpReceived checks if L2CsnpReceived has been set in IsisMetric
	HasL2CsnpReceived() bool
	// L2LspSent returns int32, set in IsisMetric.
	L2LspSent() int32
	// SetL2LspSent assigns int32 provided by user to IsisMetric
	SetL2LspSent(value int32) IsisMetric
	// HasL2LspSent checks if L2LspSent has been set in IsisMetric
	HasL2LspSent() bool
	// L2LspReceived returns int32, set in IsisMetric.
	L2LspReceived() int32
	// SetL2LspReceived assigns int32 provided by user to IsisMetric
	SetL2LspReceived(value int32) IsisMetric
	// HasL2LspReceived checks if L2LspReceived has been set in IsisMetric
	HasL2LspReceived() bool
	// contains filtered or unexported methods
}

IsisMetric is iSIS per router statistics information.

func NewIsisMetric added in v0.6.8

func NewIsisMetric() IsisMetric

type IsisMetricsRequest added in v0.6.8

type IsisMetricsRequest interface {
	Validation
	// Msg marshals IsisMetricsRequest to protobuf object *otg.IsisMetricsRequest
	// and doesn't set defaults
	Msg() *otg.IsisMetricsRequest
	// SetMsg unmarshals IsisMetricsRequest from protobuf object *otg.IsisMetricsRequest
	// and doesn't set defaults
	SetMsg(*otg.IsisMetricsRequest) IsisMetricsRequest
	// ToProto marshals IsisMetricsRequest to protobuf object *otg.IsisMetricsRequest
	ToProto() (*otg.IsisMetricsRequest, error)
	// ToPbText marshals IsisMetricsRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisMetricsRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisMetricsRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisMetricsRequest from protobuf object *otg.IsisMetricsRequest
	FromProto(msg *otg.IsisMetricsRequest) (IsisMetricsRequest, error)
	// FromPbText unmarshals IsisMetricsRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisMetricsRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisMetricsRequest from JSON text
	FromJson(value string) error
	// Validate validates IsisMetricsRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisMetricsRequest, error)

	// RouterNames returns []string, set in IsisMetricsRequest.
	RouterNames() []string
	// SetRouterNames assigns []string provided by user to IsisMetricsRequest
	SetRouterNames(value []string) IsisMetricsRequest
	// ColumnNames returns []IsisMetricsRequestColumnNamesEnum, set in IsisMetricsRequest
	ColumnNames() []IsisMetricsRequestColumnNamesEnum
	// SetColumnNames assigns []IsisMetricsRequestColumnNamesEnum provided by user to IsisMetricsRequest
	SetColumnNames(value []IsisMetricsRequestColumnNamesEnum) IsisMetricsRequest
	// contains filtered or unexported methods
}

IsisMetricsRequest is the request to retrieve ISIS per Router metrics/statistics.

func NewIsisMetricsRequest added in v0.6.8

func NewIsisMetricsRequest() IsisMetricsRequest

type IsisMetricsRequestColumnNamesEnum added in v0.6.8

type IsisMetricsRequestColumnNamesEnum string

type IsisV4RouteRange added in v0.6.1

type IsisV4RouteRange interface {
	Validation
	// Msg marshals IsisV4RouteRange to protobuf object *otg.IsisV4RouteRange
	// and doesn't set defaults
	Msg() *otg.IsisV4RouteRange
	// SetMsg unmarshals IsisV4RouteRange from protobuf object *otg.IsisV4RouteRange
	// and doesn't set defaults
	SetMsg(*otg.IsisV4RouteRange) IsisV4RouteRange
	// ToProto marshals IsisV4RouteRange to protobuf object *otg.IsisV4RouteRange
	ToProto() (*otg.IsisV4RouteRange, error)
	// ToPbText marshals IsisV4RouteRange to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisV4RouteRange to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisV4RouteRange to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisV4RouteRange from protobuf object *otg.IsisV4RouteRange
	FromProto(msg *otg.IsisV4RouteRange) (IsisV4RouteRange, error)
	// FromPbText unmarshals IsisV4RouteRange from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisV4RouteRange from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisV4RouteRange from JSON text
	FromJson(value string) error
	// Validate validates IsisV4RouteRange
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisV4RouteRange, error)

	// Addresses returns IsisV4RouteRangeV4RouteAddressIterIter, set in IsisV4RouteRange
	Addresses() IsisV4RouteRangeV4RouteAddressIter
	// LinkMetric returns int32, set in IsisV4RouteRange.
	LinkMetric() int32
	// SetLinkMetric assigns int32 provided by user to IsisV4RouteRange
	SetLinkMetric(value int32) IsisV4RouteRange
	// HasLinkMetric checks if LinkMetric has been set in IsisV4RouteRange
	HasLinkMetric() bool
	// OriginType returns IsisV4RouteRangeOriginTypeEnum, set in IsisV4RouteRange
	OriginType() IsisV4RouteRangeOriginTypeEnum
	// SetOriginType assigns IsisV4RouteRangeOriginTypeEnum provided by user to IsisV4RouteRange
	SetOriginType(value IsisV4RouteRangeOriginTypeEnum) IsisV4RouteRange
	// HasOriginType checks if OriginType has been set in IsisV4RouteRange
	HasOriginType() bool
	// RedistributionType returns IsisV4RouteRangeRedistributionTypeEnum, set in IsisV4RouteRange
	RedistributionType() IsisV4RouteRangeRedistributionTypeEnum
	// SetRedistributionType assigns IsisV4RouteRangeRedistributionTypeEnum provided by user to IsisV4RouteRange
	SetRedistributionType(value IsisV4RouteRangeRedistributionTypeEnum) IsisV4RouteRange
	// HasRedistributionType checks if RedistributionType has been set in IsisV4RouteRange
	HasRedistributionType() bool
	// Name returns string, set in IsisV4RouteRange.
	Name() string
	// SetName assigns string provided by user to IsisV4RouteRange
	SetName(value string) IsisV4RouteRange
	// PrefixAttrEnabled returns bool, set in IsisV4RouteRange.
	PrefixAttrEnabled() bool
	// SetPrefixAttrEnabled assigns bool provided by user to IsisV4RouteRange
	SetPrefixAttrEnabled(value bool) IsisV4RouteRange
	// HasPrefixAttrEnabled checks if PrefixAttrEnabled has been set in IsisV4RouteRange
	HasPrefixAttrEnabled() bool
	// XFlag returns bool, set in IsisV4RouteRange.
	XFlag() bool
	// SetXFlag assigns bool provided by user to IsisV4RouteRange
	SetXFlag(value bool) IsisV4RouteRange
	// HasXFlag checks if XFlag has been set in IsisV4RouteRange
	HasXFlag() bool
	// RFlag returns bool, set in IsisV4RouteRange.
	RFlag() bool
	// SetRFlag assigns bool provided by user to IsisV4RouteRange
	SetRFlag(value bool) IsisV4RouteRange
	// HasRFlag checks if RFlag has been set in IsisV4RouteRange
	HasRFlag() bool
	// NFlag returns bool, set in IsisV4RouteRange.
	NFlag() bool
	// SetNFlag assigns bool provided by user to IsisV4RouteRange
	SetNFlag(value bool) IsisV4RouteRange
	// HasNFlag checks if NFlag has been set in IsisV4RouteRange
	HasNFlag() bool
	// contains filtered or unexported methods
}

IsisV4RouteRange is emulated ISIS IPv4 routes.

func NewIsisV4RouteRange added in v0.6.5

func NewIsisV4RouteRange() IsisV4RouteRange

type IsisV4RouteRangeOriginTypeEnum added in v0.6.8

type IsisV4RouteRangeOriginTypeEnum string

type IsisV4RouteRangeRedistributionTypeEnum added in v0.6.8

type IsisV4RouteRangeRedistributionTypeEnum string

type IsisV4RouteRangeV4RouteAddressIter added in v0.6.1

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

type IsisV6RouteRange added in v0.6.1

type IsisV6RouteRange interface {
	Validation
	// Msg marshals IsisV6RouteRange to protobuf object *otg.IsisV6RouteRange
	// and doesn't set defaults
	Msg() *otg.IsisV6RouteRange
	// SetMsg unmarshals IsisV6RouteRange from protobuf object *otg.IsisV6RouteRange
	// and doesn't set defaults
	SetMsg(*otg.IsisV6RouteRange) IsisV6RouteRange
	// ToProto marshals IsisV6RouteRange to protobuf object *otg.IsisV6RouteRange
	ToProto() (*otg.IsisV6RouteRange, error)
	// ToPbText marshals IsisV6RouteRange to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals IsisV6RouteRange to YAML text
	ToYaml() (string, error)
	// ToJson marshals IsisV6RouteRange to JSON text
	ToJson() (string, error)
	// FromProto unmarshals IsisV6RouteRange from protobuf object *otg.IsisV6RouteRange
	FromProto(msg *otg.IsisV6RouteRange) (IsisV6RouteRange, error)
	// FromPbText unmarshals IsisV6RouteRange from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals IsisV6RouteRange from YAML text
	FromYaml(value string) error
	// FromJson unmarshals IsisV6RouteRange from JSON text
	FromJson(value string) error
	// Validate validates IsisV6RouteRange
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (IsisV6RouteRange, error)

	// Addresses returns IsisV6RouteRangeV6RouteAddressIterIter, set in IsisV6RouteRange
	Addresses() IsisV6RouteRangeV6RouteAddressIter
	// LinkMetric returns int32, set in IsisV6RouteRange.
	LinkMetric() int32
	// SetLinkMetric assigns int32 provided by user to IsisV6RouteRange
	SetLinkMetric(value int32) IsisV6RouteRange
	// HasLinkMetric checks if LinkMetric has been set in IsisV6RouteRange
	HasLinkMetric() bool
	// OriginType returns IsisV6RouteRangeOriginTypeEnum, set in IsisV6RouteRange
	OriginType() IsisV6RouteRangeOriginTypeEnum
	// SetOriginType assigns IsisV6RouteRangeOriginTypeEnum provided by user to IsisV6RouteRange
	SetOriginType(value IsisV6RouteRangeOriginTypeEnum) IsisV6RouteRange
	// HasOriginType checks if OriginType has been set in IsisV6RouteRange
	HasOriginType() bool
	// RedistributionType returns IsisV6RouteRangeRedistributionTypeEnum, set in IsisV6RouteRange
	RedistributionType() IsisV6RouteRangeRedistributionTypeEnum
	// SetRedistributionType assigns IsisV6RouteRangeRedistributionTypeEnum provided by user to IsisV6RouteRange
	SetRedistributionType(value IsisV6RouteRangeRedistributionTypeEnum) IsisV6RouteRange
	// HasRedistributionType checks if RedistributionType has been set in IsisV6RouteRange
	HasRedistributionType() bool
	// Name returns string, set in IsisV6RouteRange.
	Name() string
	// SetName assigns string provided by user to IsisV6RouteRange
	SetName(value string) IsisV6RouteRange
	// PrefixAttrEnabled returns bool, set in IsisV6RouteRange.
	PrefixAttrEnabled() bool
	// SetPrefixAttrEnabled assigns bool provided by user to IsisV6RouteRange
	SetPrefixAttrEnabled(value bool) IsisV6RouteRange
	// HasPrefixAttrEnabled checks if PrefixAttrEnabled has been set in IsisV6RouteRange
	HasPrefixAttrEnabled() bool
	// XFlag returns bool, set in IsisV6RouteRange.
	XFlag() bool
	// SetXFlag assigns bool provided by user to IsisV6RouteRange
	SetXFlag(value bool) IsisV6RouteRange
	// HasXFlag checks if XFlag has been set in IsisV6RouteRange
	HasXFlag() bool
	// RFlag returns bool, set in IsisV6RouteRange.
	RFlag() bool
	// SetRFlag assigns bool provided by user to IsisV6RouteRange
	SetRFlag(value bool) IsisV6RouteRange
	// HasRFlag checks if RFlag has been set in IsisV6RouteRange
	HasRFlag() bool
	// NFlag returns bool, set in IsisV6RouteRange.
	NFlag() bool
	// SetNFlag assigns bool provided by user to IsisV6RouteRange
	SetNFlag(value bool) IsisV6RouteRange
	// HasNFlag checks if NFlag has been set in IsisV6RouteRange
	HasNFlag() bool
	// contains filtered or unexported methods
}

IsisV6RouteRange is emulated ISIS IPv6 routes.

func NewIsisV6RouteRange added in v0.6.5

func NewIsisV6RouteRange() IsisV6RouteRange

type IsisV6RouteRangeOriginTypeEnum added in v0.6.8

type IsisV6RouteRangeOriginTypeEnum string

type IsisV6RouteRangeRedistributionTypeEnum added in v0.6.8

type IsisV6RouteRangeRedistributionTypeEnum string

type IsisV6RouteRangeV6RouteAddressIter added in v0.6.1

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

type LacpMemberState deprecated added in v0.8.1

type LacpMemberState interface {
	Validation
	// Msg marshals LacpMemberState to protobuf object *otg.LacpMemberState
	// and doesn't set defaults
	Msg() *otg.LacpMemberState
	// SetMsg unmarshals LacpMemberState from protobuf object *otg.LacpMemberState
	// and doesn't set defaults
	SetMsg(*otg.LacpMemberState) LacpMemberState
	// ToProto marshals LacpMemberState to protobuf object *otg.LacpMemberState
	ToProto() (*otg.LacpMemberState, error)
	// ToPbText marshals LacpMemberState to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LacpMemberState to YAML text
	ToYaml() (string, error)
	// ToJson marshals LacpMemberState to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LacpMemberState from protobuf object *otg.LacpMemberState
	FromProto(msg *otg.LacpMemberState) (LacpMemberState, error)
	// FromPbText unmarshals LacpMemberState from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LacpMemberState from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LacpMemberState from JSON text
	FromJson(value string) error
	// Validate validates LacpMemberState
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LacpMemberState, error)

	// LagMemberPortNames returns []string, set in LacpMemberState.
	LagMemberPortNames() []string
	// SetLagMemberPortNames assigns []string provided by user to LacpMemberState
	SetLagMemberPortNames(value []string) LacpMemberState
	// State returns LacpMemberStateStateEnum, set in LacpMemberState
	State() LacpMemberStateStateEnum
	// SetState assigns LacpMemberStateStateEnum provided by user to LacpMemberState
	SetState(value LacpMemberStateStateEnum) LacpMemberState
	// contains filtered or unexported methods
}

LacpMemberState is deprecated: Please use `StateProtocolLacpAdmin` instead

Deprecated: Please use `StateProtocolLacpAdmin` instead

Set LACP state for specified LAG Member Port(s).

func NewLacpMemberState added in v0.8.1

func NewLacpMemberState() LacpMemberState

type LacpMemberStateStateEnum added in v0.8.1

type LacpMemberStateStateEnum string

type LacpMetric added in v0.10.1

type LacpMetric interface {
	Validation
	// Msg marshals LacpMetric to protobuf object *otg.LacpMetric
	// and doesn't set defaults
	Msg() *otg.LacpMetric
	// SetMsg unmarshals LacpMetric from protobuf object *otg.LacpMetric
	// and doesn't set defaults
	SetMsg(*otg.LacpMetric) LacpMetric
	// ToProto marshals LacpMetric to protobuf object *otg.LacpMetric
	ToProto() (*otg.LacpMetric, error)
	// ToPbText marshals LacpMetric to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LacpMetric to YAML text
	ToYaml() (string, error)
	// ToJson marshals LacpMetric to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LacpMetric from protobuf object *otg.LacpMetric
	FromProto(msg *otg.LacpMetric) (LacpMetric, error)
	// FromPbText unmarshals LacpMetric from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LacpMetric from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LacpMetric from JSON text
	FromJson(value string) error
	// Validate validates LacpMetric
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LacpMetric, error)

	// LagName returns string, set in LacpMetric.
	LagName() string
	// SetLagName assigns string provided by user to LacpMetric
	SetLagName(value string) LacpMetric
	// HasLagName checks if LagName has been set in LacpMetric
	HasLagName() bool
	// LagMemberPortName returns string, set in LacpMetric.
	LagMemberPortName() string
	// SetLagMemberPortName assigns string provided by user to LacpMetric
	SetLagMemberPortName(value string) LacpMetric
	// HasLagMemberPortName checks if LagMemberPortName has been set in LacpMetric
	HasLagMemberPortName() bool
	// LacpPacketsRx returns int64, set in LacpMetric.
	LacpPacketsRx() int64
	// SetLacpPacketsRx assigns int64 provided by user to LacpMetric
	SetLacpPacketsRx(value int64) LacpMetric
	// HasLacpPacketsRx checks if LacpPacketsRx has been set in LacpMetric
	HasLacpPacketsRx() bool
	// LacpPacketsTx returns int64, set in LacpMetric.
	LacpPacketsTx() int64
	// SetLacpPacketsTx assigns int64 provided by user to LacpMetric
	SetLacpPacketsTx(value int64) LacpMetric
	// HasLacpPacketsTx checks if LacpPacketsTx has been set in LacpMetric
	HasLacpPacketsTx() bool
	// LacpRxErrors returns int64, set in LacpMetric.
	LacpRxErrors() int64
	// SetLacpRxErrors assigns int64 provided by user to LacpMetric
	SetLacpRxErrors(value int64) LacpMetric
	// HasLacpRxErrors checks if LacpRxErrors has been set in LacpMetric
	HasLacpRxErrors() bool
	// Activity returns LacpMetricActivityEnum, set in LacpMetric
	Activity() LacpMetricActivityEnum
	// SetActivity assigns LacpMetricActivityEnum provided by user to LacpMetric
	SetActivity(value LacpMetricActivityEnum) LacpMetric
	// HasActivity checks if Activity has been set in LacpMetric
	HasActivity() bool
	// Timeout returns LacpMetricTimeoutEnum, set in LacpMetric
	Timeout() LacpMetricTimeoutEnum
	// SetTimeout assigns LacpMetricTimeoutEnum provided by user to LacpMetric
	SetTimeout(value LacpMetricTimeoutEnum) LacpMetric
	// HasTimeout checks if Timeout has been set in LacpMetric
	HasTimeout() bool
	// Synchronization returns LacpMetricSynchronizationEnum, set in LacpMetric
	Synchronization() LacpMetricSynchronizationEnum
	// SetSynchronization assigns LacpMetricSynchronizationEnum provided by user to LacpMetric
	SetSynchronization(value LacpMetricSynchronizationEnum) LacpMetric
	// HasSynchronization checks if Synchronization has been set in LacpMetric
	HasSynchronization() bool
	// Aggregatable returns bool, set in LacpMetric.
	Aggregatable() bool
	// SetAggregatable assigns bool provided by user to LacpMetric
	SetAggregatable(value bool) LacpMetric
	// HasAggregatable checks if Aggregatable has been set in LacpMetric
	HasAggregatable() bool
	// Collecting returns bool, set in LacpMetric.
	Collecting() bool
	// SetCollecting assigns bool provided by user to LacpMetric
	SetCollecting(value bool) LacpMetric
	// HasCollecting checks if Collecting has been set in LacpMetric
	HasCollecting() bool
	// Distributing returns bool, set in LacpMetric.
	Distributing() bool
	// SetDistributing assigns bool provided by user to LacpMetric
	SetDistributing(value bool) LacpMetric
	// HasDistributing checks if Distributing has been set in LacpMetric
	HasDistributing() bool
	// SystemId returns string, set in LacpMetric.
	SystemId() string
	// SetSystemId assigns string provided by user to LacpMetric
	SetSystemId(value string) LacpMetric
	// HasSystemId checks if SystemId has been set in LacpMetric
	HasSystemId() bool
	// OperKey returns int32, set in LacpMetric.
	OperKey() int32
	// SetOperKey assigns int32 provided by user to LacpMetric
	SetOperKey(value int32) LacpMetric
	// HasOperKey checks if OperKey has been set in LacpMetric
	HasOperKey() bool
	// PartnerId returns string, set in LacpMetric.
	PartnerId() string
	// SetPartnerId assigns string provided by user to LacpMetric
	SetPartnerId(value string) LacpMetric
	// HasPartnerId checks if PartnerId has been set in LacpMetric
	HasPartnerId() bool
	// PartnerKey returns int32, set in LacpMetric.
	PartnerKey() int32
	// SetPartnerKey assigns int32 provided by user to LacpMetric
	SetPartnerKey(value int32) LacpMetric
	// HasPartnerKey checks if PartnerKey has been set in LacpMetric
	HasPartnerKey() bool
	// PortNum returns int32, set in LacpMetric.
	PortNum() int32
	// SetPortNum assigns int32 provided by user to LacpMetric
	SetPortNum(value int32) LacpMetric
	// HasPortNum checks if PortNum has been set in LacpMetric
	HasPortNum() bool
	// PartnerPortNum returns int32, set in LacpMetric.
	PartnerPortNum() int32
	// SetPartnerPortNum assigns int32 provided by user to LacpMetric
	SetPartnerPortNum(value int32) LacpMetric
	// HasPartnerPortNum checks if PartnerPortNum has been set in LacpMetric
	HasPartnerPortNum() bool
	// contains filtered or unexported methods
}

LacpMetric is lACP metrics (statistics) per LAG member.

func NewLacpMetric added in v0.10.1

func NewLacpMetric() LacpMetric

type LacpMetricActivityEnum added in v0.10.1

type LacpMetricActivityEnum string

type LacpMetricSynchronizationEnum added in v0.10.1

type LacpMetricSynchronizationEnum string

type LacpMetricTimeoutEnum added in v0.10.1

type LacpMetricTimeoutEnum string

type LacpMetricsRequest added in v0.10.1

type LacpMetricsRequest interface {
	Validation
	// Msg marshals LacpMetricsRequest to protobuf object *otg.LacpMetricsRequest
	// and doesn't set defaults
	Msg() *otg.LacpMetricsRequest
	// SetMsg unmarshals LacpMetricsRequest from protobuf object *otg.LacpMetricsRequest
	// and doesn't set defaults
	SetMsg(*otg.LacpMetricsRequest) LacpMetricsRequest
	// ToProto marshals LacpMetricsRequest to protobuf object *otg.LacpMetricsRequest
	ToProto() (*otg.LacpMetricsRequest, error)
	// ToPbText marshals LacpMetricsRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LacpMetricsRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals LacpMetricsRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LacpMetricsRequest from protobuf object *otg.LacpMetricsRequest
	FromProto(msg *otg.LacpMetricsRequest) (LacpMetricsRequest, error)
	// FromPbText unmarshals LacpMetricsRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LacpMetricsRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LacpMetricsRequest from JSON text
	FromJson(value string) error
	// Validate validates LacpMetricsRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LacpMetricsRequest, error)

	// LagNames returns []string, set in LacpMetricsRequest.
	LagNames() []string
	// SetLagNames assigns []string provided by user to LacpMetricsRequest
	SetLagNames(value []string) LacpMetricsRequest
	// LagMemberPortNames returns []string, set in LacpMetricsRequest.
	LagMemberPortNames() []string
	// SetLagMemberPortNames assigns []string provided by user to LacpMetricsRequest
	SetLagMemberPortNames(value []string) LacpMetricsRequest
	// ColumnNames returns []LacpMetricsRequestColumnNamesEnum, set in LacpMetricsRequest
	ColumnNames() []LacpMetricsRequestColumnNamesEnum
	// SetColumnNames assigns []LacpMetricsRequestColumnNamesEnum provided by user to LacpMetricsRequest
	SetColumnNames(value []LacpMetricsRequestColumnNamesEnum) LacpMetricsRequest
	// contains filtered or unexported methods
}

LacpMetricsRequest is the request to retrieve LACP per LAG member metrics/statistics.

func NewLacpMetricsRequest added in v0.10.1

func NewLacpMetricsRequest() LacpMetricsRequest

type LacpMetricsRequestColumnNamesEnum added in v0.10.1

type LacpMetricsRequestColumnNamesEnum string

type Lag

type Lag interface {
	Validation
	// Msg marshals Lag to protobuf object *otg.Lag
	// and doesn't set defaults
	Msg() *otg.Lag
	// SetMsg unmarshals Lag from protobuf object *otg.Lag
	// and doesn't set defaults
	SetMsg(*otg.Lag) Lag
	// ToProto marshals Lag to protobuf object *otg.Lag
	ToProto() (*otg.Lag, error)
	// ToPbText marshals Lag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Lag to YAML text
	ToYaml() (string, error)
	// ToJson marshals Lag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Lag from protobuf object *otg.Lag
	FromProto(msg *otg.Lag) (Lag, error)
	// FromPbText unmarshals Lag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Lag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Lag from JSON text
	FromJson(value string) error
	// Validate validates Lag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Lag, error)

	// Ports returns LagLagPortIterIter, set in Lag
	Ports() LagLagPortIter
	// Protocol returns LagProtocol, set in Lag.
	// LagProtocol is description is TBD
	Protocol() LagProtocol
	// SetProtocol assigns LagProtocol provided by user to Lag.
	// LagProtocol is description is TBD
	SetProtocol(value LagProtocol) Lag
	// HasProtocol checks if Protocol has been set in Lag
	HasProtocol() bool
	// MinLinks returns int32, set in Lag.
	MinLinks() int32
	// SetMinLinks assigns int32 provided by user to Lag
	SetMinLinks(value int32) Lag
	// HasMinLinks checks if MinLinks has been set in Lag
	HasMinLinks() bool
	// Name returns string, set in Lag.
	Name() string
	// SetName assigns string provided by user to Lag
	SetName(value string) Lag
	// contains filtered or unexported methods
}

Lag is the container for LAG (ports group) - aggregation of multiple LAG members (ports)

func NewLag added in v0.6.5

func NewLag() Lag

type LagLagPortIter

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

type LagMetric added in v0.8.1

type LagMetric interface {
	Validation
	// Msg marshals LagMetric to protobuf object *otg.LagMetric
	// and doesn't set defaults
	Msg() *otg.LagMetric
	// SetMsg unmarshals LagMetric from protobuf object *otg.LagMetric
	// and doesn't set defaults
	SetMsg(*otg.LagMetric) LagMetric
	// ToProto marshals LagMetric to protobuf object *otg.LagMetric
	ToProto() (*otg.LagMetric, error)
	// ToPbText marshals LagMetric to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LagMetric to YAML text
	ToYaml() (string, error)
	// ToJson marshals LagMetric to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LagMetric from protobuf object *otg.LagMetric
	FromProto(msg *otg.LagMetric) (LagMetric, error)
	// FromPbText unmarshals LagMetric from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LagMetric from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LagMetric from JSON text
	FromJson(value string) error
	// Validate validates LagMetric
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LagMetric, error)

	// Name returns string, set in LagMetric.
	Name() string
	// SetName assigns string provided by user to LagMetric
	SetName(value string) LagMetric
	// HasName checks if Name has been set in LagMetric
	HasName() bool
	// OperStatus returns LagMetricOperStatusEnum, set in LagMetric
	OperStatus() LagMetricOperStatusEnum
	// SetOperStatus assigns LagMetricOperStatusEnum provided by user to LagMetric
	SetOperStatus(value LagMetricOperStatusEnum) LagMetric
	// HasOperStatus checks if OperStatus has been set in LagMetric
	HasOperStatus() bool
	// MemberPortsUp returns int32, set in LagMetric.
	MemberPortsUp() int32
	// SetMemberPortsUp assigns int32 provided by user to LagMetric
	SetMemberPortsUp(value int32) LagMetric
	// HasMemberPortsUp checks if MemberPortsUp has been set in LagMetric
	HasMemberPortsUp() bool
	// FramesTx returns int64, set in LagMetric.
	FramesTx() int64
	// SetFramesTx assigns int64 provided by user to LagMetric
	SetFramesTx(value int64) LagMetric
	// HasFramesTx checks if FramesTx has been set in LagMetric
	HasFramesTx() bool
	// FramesRx returns int64, set in LagMetric.
	FramesRx() int64
	// SetFramesRx assigns int64 provided by user to LagMetric
	SetFramesRx(value int64) LagMetric
	// HasFramesRx checks if FramesRx has been set in LagMetric
	HasFramesRx() bool
	// BytesTx returns int64, set in LagMetric.
	BytesTx() int64
	// SetBytesTx assigns int64 provided by user to LagMetric
	SetBytesTx(value int64) LagMetric
	// HasBytesTx checks if BytesTx has been set in LagMetric
	HasBytesTx() bool
	// BytesRx returns int64, set in LagMetric.
	BytesRx() int64
	// SetBytesRx assigns int64 provided by user to LagMetric
	SetBytesRx(value int64) LagMetric
	// HasBytesRx checks if BytesRx has been set in LagMetric
	HasBytesRx() bool
	// FramesTxRate returns float32, set in LagMetric.
	FramesTxRate() float32
	// SetFramesTxRate assigns float32 provided by user to LagMetric
	SetFramesTxRate(value float32) LagMetric
	// HasFramesTxRate checks if FramesTxRate has been set in LagMetric
	HasFramesTxRate() bool
	// FramesRxRate returns float32, set in LagMetric.
	FramesRxRate() float32
	// SetFramesRxRate assigns float32 provided by user to LagMetric
	SetFramesRxRate(value float32) LagMetric
	// HasFramesRxRate checks if FramesRxRate has been set in LagMetric
	HasFramesRxRate() bool
	// BytesTxRate returns float32, set in LagMetric.
	BytesTxRate() float32
	// SetBytesTxRate assigns float32 provided by user to LagMetric
	SetBytesTxRate(value float32) LagMetric
	// HasBytesTxRate checks if BytesTxRate has been set in LagMetric
	HasBytesTxRate() bool
	// BytesRxRate returns float32, set in LagMetric.
	BytesRxRate() float32
	// SetBytesRxRate assigns float32 provided by user to LagMetric
	SetBytesRxRate(value float32) LagMetric
	// HasBytesRxRate checks if BytesRxRate has been set in LagMetric
	HasBytesRxRate() bool
	// contains filtered or unexported methods
}

LagMetric is description is TBD

func NewLagMetric added in v0.8.1

func NewLagMetric() LagMetric

type LagMetricOperStatusEnum added in v0.8.1

type LagMetricOperStatusEnum string

type LagMetricsRequest added in v0.8.1

type LagMetricsRequest interface {
	Validation
	// Msg marshals LagMetricsRequest to protobuf object *otg.LagMetricsRequest
	// and doesn't set defaults
	Msg() *otg.LagMetricsRequest
	// SetMsg unmarshals LagMetricsRequest from protobuf object *otg.LagMetricsRequest
	// and doesn't set defaults
	SetMsg(*otg.LagMetricsRequest) LagMetricsRequest
	// ToProto marshals LagMetricsRequest to protobuf object *otg.LagMetricsRequest
	ToProto() (*otg.LagMetricsRequest, error)
	// ToPbText marshals LagMetricsRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LagMetricsRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals LagMetricsRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LagMetricsRequest from protobuf object *otg.LagMetricsRequest
	FromProto(msg *otg.LagMetricsRequest) (LagMetricsRequest, error)
	// FromPbText unmarshals LagMetricsRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LagMetricsRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LagMetricsRequest from JSON text
	FromJson(value string) error
	// Validate validates LagMetricsRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LagMetricsRequest, error)

	// LagNames returns []string, set in LagMetricsRequest.
	LagNames() []string
	// SetLagNames assigns []string provided by user to LagMetricsRequest
	SetLagNames(value []string) LagMetricsRequest
	// ColumnNames returns []LagMetricsRequestColumnNamesEnum, set in LagMetricsRequest
	ColumnNames() []LagMetricsRequestColumnNamesEnum
	// SetColumnNames assigns []LagMetricsRequestColumnNamesEnum provided by user to LagMetricsRequest
	SetColumnNames(value []LagMetricsRequestColumnNamesEnum) LagMetricsRequest
	// contains filtered or unexported methods
}

LagMetricsRequest is the request to retrieve per LAG metrics/statistics.

func NewLagMetricsRequest added in v0.8.1

func NewLagMetricsRequest() LagMetricsRequest

type LagMetricsRequestColumnNamesEnum added in v0.8.1

type LagMetricsRequestColumnNamesEnum string

type LagPort

type LagPort interface {
	Validation
	// Msg marshals LagPort to protobuf object *otg.LagPort
	// and doesn't set defaults
	Msg() *otg.LagPort
	// SetMsg unmarshals LagPort from protobuf object *otg.LagPort
	// and doesn't set defaults
	SetMsg(*otg.LagPort) LagPort
	// ToProto marshals LagPort to protobuf object *otg.LagPort
	ToProto() (*otg.LagPort, error)
	// ToPbText marshals LagPort to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LagPort to YAML text
	ToYaml() (string, error)
	// ToJson marshals LagPort to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LagPort from protobuf object *otg.LagPort
	FromProto(msg *otg.LagPort) (LagPort, error)
	// FromPbText unmarshals LagPort from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LagPort from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LagPort from JSON text
	FromJson(value string) error
	// Validate validates LagPort
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LagPort, error)

	// PortName returns string, set in LagPort.
	PortName() string
	// SetPortName assigns string provided by user to LagPort
	SetPortName(value string) LagPort
	// Lacp returns LagPortLacp, set in LagPort.
	// LagPortLacp is the container for link aggregation control protocol settings of a LAG member (port).
	Lacp() LagPortLacp
	// SetLacp assigns LagPortLacp provided by user to LagPort.
	// LagPortLacp is the container for link aggregation control protocol settings of a LAG member (port).
	SetLacp(value LagPortLacp) LagPort
	// HasLacp checks if Lacp has been set in LagPort
	HasLacp() bool
	// Ethernet returns DeviceEthernetBase, set in LagPort.
	// DeviceEthernetBase is base Ethernet interface.
	Ethernet() DeviceEthernetBase
	// SetEthernet assigns DeviceEthernetBase provided by user to LagPort.
	// DeviceEthernetBase is base Ethernet interface.
	SetEthernet(value DeviceEthernetBase) LagPort
	// contains filtered or unexported methods
}

LagPort is the container for a port's ethernet interface and LAG protocol settings

func NewLagPort added in v0.6.5

func NewLagPort() LagPort

type LagPortLacp added in v0.8.1

type LagPortLacp interface {
	Validation
	// Msg marshals LagPortLacp to protobuf object *otg.LagPortLacp
	// and doesn't set defaults
	Msg() *otg.LagPortLacp
	// SetMsg unmarshals LagPortLacp from protobuf object *otg.LagPortLacp
	// and doesn't set defaults
	SetMsg(*otg.LagPortLacp) LagPortLacp
	// ToProto marshals LagPortLacp to protobuf object *otg.LagPortLacp
	ToProto() (*otg.LagPortLacp, error)
	// ToPbText marshals LagPortLacp to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LagPortLacp to YAML text
	ToYaml() (string, error)
	// ToJson marshals LagPortLacp to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LagPortLacp from protobuf object *otg.LagPortLacp
	FromProto(msg *otg.LagPortLacp) (LagPortLacp, error)
	// FromPbText unmarshals LagPortLacp from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LagPortLacp from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LagPortLacp from JSON text
	FromJson(value string) error
	// Validate validates LagPortLacp
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LagPortLacp, error)

	// ActorPortNumber returns int32, set in LagPortLacp.
	ActorPortNumber() int32
	// SetActorPortNumber assigns int32 provided by user to LagPortLacp
	SetActorPortNumber(value int32) LagPortLacp
	// HasActorPortNumber checks if ActorPortNumber has been set in LagPortLacp
	HasActorPortNumber() bool
	// ActorPortPriority returns int32, set in LagPortLacp.
	ActorPortPriority() int32
	// SetActorPortPriority assigns int32 provided by user to LagPortLacp
	SetActorPortPriority(value int32) LagPortLacp
	// HasActorPortPriority checks if ActorPortPriority has been set in LagPortLacp
	HasActorPortPriority() bool
	// ActorActivity returns LagPortLacpActorActivityEnum, set in LagPortLacp
	ActorActivity() LagPortLacpActorActivityEnum
	// SetActorActivity assigns LagPortLacpActorActivityEnum provided by user to LagPortLacp
	SetActorActivity(value LagPortLacpActorActivityEnum) LagPortLacp
	// HasActorActivity checks if ActorActivity has been set in LagPortLacp
	HasActorActivity() bool
	// LacpduPeriodicTimeInterval returns int32, set in LagPortLacp.
	LacpduPeriodicTimeInterval() int32
	// SetLacpduPeriodicTimeInterval assigns int32 provided by user to LagPortLacp
	SetLacpduPeriodicTimeInterval(value int32) LagPortLacp
	// HasLacpduPeriodicTimeInterval checks if LacpduPeriodicTimeInterval has been set in LagPortLacp
	HasLacpduPeriodicTimeInterval() bool
	// LacpduTimeout returns int32, set in LagPortLacp.
	LacpduTimeout() int32
	// SetLacpduTimeout assigns int32 provided by user to LagPortLacp
	SetLacpduTimeout(value int32) LagPortLacp
	// HasLacpduTimeout checks if LacpduTimeout has been set in LagPortLacp
	HasLacpduTimeout() bool
	// contains filtered or unexported methods
}

LagPortLacp is the container for link aggregation control protocol settings of a LAG member (port).

func NewLagPortLacp added in v0.8.1

func NewLagPortLacp() LagPortLacp

type LagPortLacpActorActivityEnum added in v0.8.1

type LagPortLacpActorActivityEnum string

type LagProtocol

type LagProtocol interface {
	Validation
	// Msg marshals LagProtocol to protobuf object *otg.LagProtocol
	// and doesn't set defaults
	Msg() *otg.LagProtocol
	// SetMsg unmarshals LagProtocol from protobuf object *otg.LagProtocol
	// and doesn't set defaults
	SetMsg(*otg.LagProtocol) LagProtocol
	// ToProto marshals LagProtocol to protobuf object *otg.LagProtocol
	ToProto() (*otg.LagProtocol, error)
	// ToPbText marshals LagProtocol to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LagProtocol to YAML text
	ToYaml() (string, error)
	// ToJson marshals LagProtocol to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LagProtocol from protobuf object *otg.LagProtocol
	FromProto(msg *otg.LagProtocol) (LagProtocol, error)
	// FromPbText unmarshals LagProtocol from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LagProtocol from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LagProtocol from JSON text
	FromJson(value string) error
	// Validate validates LagProtocol
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LagProtocol, error)

	// Choice returns LagProtocolChoiceEnum, set in LagProtocol
	Choice() LagProtocolChoiceEnum
	// SetChoice assigns LagProtocolChoiceEnum provided by user to LagProtocol
	SetChoice(value LagProtocolChoiceEnum) LagProtocol
	// HasChoice checks if Choice has been set in LagProtocol
	HasChoice() bool
	// Lacp returns LagProtocolLacp, set in LagProtocol.
	// LagProtocolLacp is the container for link aggregation control protocol settings of a LAG (ports group).
	Lacp() LagProtocolLacp
	// SetLacp assigns LagProtocolLacp provided by user to LagProtocol.
	// LagProtocolLacp is the container for link aggregation control protocol settings of a LAG (ports group).
	SetLacp(value LagProtocolLacp) LagProtocol
	// HasLacp checks if Lacp has been set in LagProtocol
	HasLacp() bool
	// Static returns LagProtocolStatic, set in LagProtocol.
	// LagProtocolStatic is the container for static link aggregation protocol settings.
	Static() LagProtocolStatic
	// SetStatic assigns LagProtocolStatic provided by user to LagProtocol.
	// LagProtocolStatic is the container for static link aggregation protocol settings.
	SetStatic(value LagProtocolStatic) LagProtocol
	// HasStatic checks if Static has been set in LagProtocol
	HasStatic() bool
	// contains filtered or unexported methods
}

LagProtocol is description is TBD

func NewLagProtocol added in v0.6.5

func NewLagProtocol() LagProtocol

type LagProtocolChoiceEnum

type LagProtocolChoiceEnum string

type LagProtocolLacp added in v0.8.1

type LagProtocolLacp interface {
	Validation
	// Msg marshals LagProtocolLacp to protobuf object *otg.LagProtocolLacp
	// and doesn't set defaults
	Msg() *otg.LagProtocolLacp
	// SetMsg unmarshals LagProtocolLacp from protobuf object *otg.LagProtocolLacp
	// and doesn't set defaults
	SetMsg(*otg.LagProtocolLacp) LagProtocolLacp
	// ToProto marshals LagProtocolLacp to protobuf object *otg.LagProtocolLacp
	ToProto() (*otg.LagProtocolLacp, error)
	// ToPbText marshals LagProtocolLacp to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LagProtocolLacp to YAML text
	ToYaml() (string, error)
	// ToJson marshals LagProtocolLacp to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LagProtocolLacp from protobuf object *otg.LagProtocolLacp
	FromProto(msg *otg.LagProtocolLacp) (LagProtocolLacp, error)
	// FromPbText unmarshals LagProtocolLacp from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LagProtocolLacp from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LagProtocolLacp from JSON text
	FromJson(value string) error
	// Validate validates LagProtocolLacp
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LagProtocolLacp, error)

	// ActorSystemId returns string, set in LagProtocolLacp.
	ActorSystemId() string
	// SetActorSystemId assigns string provided by user to LagProtocolLacp
	SetActorSystemId(value string) LagProtocolLacp
	// HasActorSystemId checks if ActorSystemId has been set in LagProtocolLacp
	HasActorSystemId() bool
	// ActorSystemPriority returns int32, set in LagProtocolLacp.
	ActorSystemPriority() int32
	// SetActorSystemPriority assigns int32 provided by user to LagProtocolLacp
	SetActorSystemPriority(value int32) LagProtocolLacp
	// HasActorSystemPriority checks if ActorSystemPriority has been set in LagProtocolLacp
	HasActorSystemPriority() bool
	// ActorKey returns int32, set in LagProtocolLacp.
	ActorKey() int32
	// SetActorKey assigns int32 provided by user to LagProtocolLacp
	SetActorKey(value int32) LagProtocolLacp
	// HasActorKey checks if ActorKey has been set in LagProtocolLacp
	HasActorKey() bool
	// contains filtered or unexported methods
}

LagProtocolLacp is the container for link aggregation control protocol settings of a LAG (ports group).

func NewLagProtocolLacp added in v0.8.1

func NewLagProtocolLacp() LagProtocolLacp

type LagProtocolStatic added in v0.8.1

type LagProtocolStatic interface {
	Validation
	// Msg marshals LagProtocolStatic to protobuf object *otg.LagProtocolStatic
	// and doesn't set defaults
	Msg() *otg.LagProtocolStatic
	// SetMsg unmarshals LagProtocolStatic from protobuf object *otg.LagProtocolStatic
	// and doesn't set defaults
	SetMsg(*otg.LagProtocolStatic) LagProtocolStatic
	// ToProto marshals LagProtocolStatic to protobuf object *otg.LagProtocolStatic
	ToProto() (*otg.LagProtocolStatic, error)
	// ToPbText marshals LagProtocolStatic to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LagProtocolStatic to YAML text
	ToYaml() (string, error)
	// ToJson marshals LagProtocolStatic to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LagProtocolStatic from protobuf object *otg.LagProtocolStatic
	FromProto(msg *otg.LagProtocolStatic) (LagProtocolStatic, error)
	// FromPbText unmarshals LagProtocolStatic from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LagProtocolStatic from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LagProtocolStatic from JSON text
	FromJson(value string) error
	// Validate validates LagProtocolStatic
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LagProtocolStatic, error)

	// LagId returns int32, set in LagProtocolStatic.
	LagId() int32
	// SetLagId assigns int32 provided by user to LagProtocolStatic
	SetLagId(value int32) LagProtocolStatic
	// HasLagId checks if LagId has been set in LagProtocolStatic
	HasLagId() bool
	// contains filtered or unexported methods
}

LagProtocolStatic is the container for static link aggregation protocol settings.

func NewLagProtocolStatic added in v0.8.1

func NewLagProtocolStatic() LagProtocolStatic

type Layer1

type Layer1 interface {
	Validation
	// Msg marshals Layer1 to protobuf object *otg.Layer1
	// and doesn't set defaults
	Msg() *otg.Layer1
	// SetMsg unmarshals Layer1 from protobuf object *otg.Layer1
	// and doesn't set defaults
	SetMsg(*otg.Layer1) Layer1
	// ToProto marshals Layer1 to protobuf object *otg.Layer1
	ToProto() (*otg.Layer1, error)
	// ToPbText marshals Layer1 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Layer1 to YAML text
	ToYaml() (string, error)
	// ToJson marshals Layer1 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Layer1 from protobuf object *otg.Layer1
	FromProto(msg *otg.Layer1) (Layer1, error)
	// FromPbText unmarshals Layer1 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Layer1 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Layer1 from JSON text
	FromJson(value string) error
	// Validate validates Layer1
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Layer1, error)

	// PortNames returns []string, set in Layer1.
	PortNames() []string
	// SetPortNames assigns []string provided by user to Layer1
	SetPortNames(value []string) Layer1
	// Speed returns Layer1SpeedEnum, set in Layer1
	Speed() Layer1SpeedEnum
	// SetSpeed assigns Layer1SpeedEnum provided by user to Layer1
	SetSpeed(value Layer1SpeedEnum) Layer1
	// HasSpeed checks if Speed has been set in Layer1
	HasSpeed() bool
	// Media returns Layer1MediaEnum, set in Layer1
	Media() Layer1MediaEnum
	// SetMedia assigns Layer1MediaEnum provided by user to Layer1
	SetMedia(value Layer1MediaEnum) Layer1
	// HasMedia checks if Media has been set in Layer1
	HasMedia() bool
	// Promiscuous returns bool, set in Layer1.
	Promiscuous() bool
	// SetPromiscuous assigns bool provided by user to Layer1
	SetPromiscuous(value bool) Layer1
	// HasPromiscuous checks if Promiscuous has been set in Layer1
	HasPromiscuous() bool
	// Mtu returns int32, set in Layer1.
	Mtu() int32
	// SetMtu assigns int32 provided by user to Layer1
	SetMtu(value int32) Layer1
	// HasMtu checks if Mtu has been set in Layer1
	HasMtu() bool
	// IeeeMediaDefaults returns bool, set in Layer1.
	IeeeMediaDefaults() bool
	// SetIeeeMediaDefaults assigns bool provided by user to Layer1
	SetIeeeMediaDefaults(value bool) Layer1
	// HasIeeeMediaDefaults checks if IeeeMediaDefaults has been set in Layer1
	HasIeeeMediaDefaults() bool
	// AutoNegotiate returns bool, set in Layer1.
	AutoNegotiate() bool
	// SetAutoNegotiate assigns bool provided by user to Layer1
	SetAutoNegotiate(value bool) Layer1
	// HasAutoNegotiate checks if AutoNegotiate has been set in Layer1
	HasAutoNegotiate() bool
	// AutoNegotiation returns Layer1AutoNegotiation, set in Layer1.
	// Layer1AutoNegotiation is configuration for auto negotiation settings
	AutoNegotiation() Layer1AutoNegotiation
	// SetAutoNegotiation assigns Layer1AutoNegotiation provided by user to Layer1.
	// Layer1AutoNegotiation is configuration for auto negotiation settings
	SetAutoNegotiation(value Layer1AutoNegotiation) Layer1
	// HasAutoNegotiation checks if AutoNegotiation has been set in Layer1
	HasAutoNegotiation() bool
	// FlowControl returns Layer1FlowControl, set in Layer1.
	// Layer1FlowControl is a container for layer1 receive flow control settings.
	// To enable flow control settings on ports this object must be a valid
	// object not a null value.
	FlowControl() Layer1FlowControl
	// SetFlowControl assigns Layer1FlowControl provided by user to Layer1.
	// Layer1FlowControl is a container for layer1 receive flow control settings.
	// To enable flow control settings on ports this object must be a valid
	// object not a null value.
	SetFlowControl(value Layer1FlowControl) Layer1
	// HasFlowControl checks if FlowControl has been set in Layer1
	HasFlowControl() bool
	// Name returns string, set in Layer1.
	Name() string
	// SetName assigns string provided by user to Layer1
	SetName(value string) Layer1
	// contains filtered or unexported methods
}

Layer1 is a container for layer1 settings.

func NewLayer1 added in v0.6.5

func NewLayer1() Layer1

type Layer1AutoNegotiation

type Layer1AutoNegotiation interface {
	Validation
	// Msg marshals Layer1AutoNegotiation to protobuf object *otg.Layer1AutoNegotiation
	// and doesn't set defaults
	Msg() *otg.Layer1AutoNegotiation
	// SetMsg unmarshals Layer1AutoNegotiation from protobuf object *otg.Layer1AutoNegotiation
	// and doesn't set defaults
	SetMsg(*otg.Layer1AutoNegotiation) Layer1AutoNegotiation
	// ToProto marshals Layer1AutoNegotiation to protobuf object *otg.Layer1AutoNegotiation
	ToProto() (*otg.Layer1AutoNegotiation, error)
	// ToPbText marshals Layer1AutoNegotiation to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Layer1AutoNegotiation to YAML text
	ToYaml() (string, error)
	// ToJson marshals Layer1AutoNegotiation to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Layer1AutoNegotiation from protobuf object *otg.Layer1AutoNegotiation
	FromProto(msg *otg.Layer1AutoNegotiation) (Layer1AutoNegotiation, error)
	// FromPbText unmarshals Layer1AutoNegotiation from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Layer1AutoNegotiation from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Layer1AutoNegotiation from JSON text
	FromJson(value string) error
	// Validate validates Layer1AutoNegotiation
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Layer1AutoNegotiation, error)

	// Advertise1000Mbps returns bool, set in Layer1AutoNegotiation.
	Advertise1000Mbps() bool
	// SetAdvertise1000Mbps assigns bool provided by user to Layer1AutoNegotiation
	SetAdvertise1000Mbps(value bool) Layer1AutoNegotiation
	// HasAdvertise1000Mbps checks if Advertise1000Mbps has been set in Layer1AutoNegotiation
	HasAdvertise1000Mbps() bool
	// Advertise100FdMbps returns bool, set in Layer1AutoNegotiation.
	Advertise100FdMbps() bool
	// SetAdvertise100FdMbps assigns bool provided by user to Layer1AutoNegotiation
	SetAdvertise100FdMbps(value bool) Layer1AutoNegotiation
	// HasAdvertise100FdMbps checks if Advertise100FdMbps has been set in Layer1AutoNegotiation
	HasAdvertise100FdMbps() bool
	// Advertise100HdMbps returns bool, set in Layer1AutoNegotiation.
	Advertise100HdMbps() bool
	// SetAdvertise100HdMbps assigns bool provided by user to Layer1AutoNegotiation
	SetAdvertise100HdMbps(value bool) Layer1AutoNegotiation
	// HasAdvertise100HdMbps checks if Advertise100HdMbps has been set in Layer1AutoNegotiation
	HasAdvertise100HdMbps() bool
	// Advertise10FdMbps returns bool, set in Layer1AutoNegotiation.
	Advertise10FdMbps() bool
	// SetAdvertise10FdMbps assigns bool provided by user to Layer1AutoNegotiation
	SetAdvertise10FdMbps(value bool) Layer1AutoNegotiation
	// HasAdvertise10FdMbps checks if Advertise10FdMbps has been set in Layer1AutoNegotiation
	HasAdvertise10FdMbps() bool
	// Advertise10HdMbps returns bool, set in Layer1AutoNegotiation.
	Advertise10HdMbps() bool
	// SetAdvertise10HdMbps assigns bool provided by user to Layer1AutoNegotiation
	SetAdvertise10HdMbps(value bool) Layer1AutoNegotiation
	// HasAdvertise10HdMbps checks if Advertise10HdMbps has been set in Layer1AutoNegotiation
	HasAdvertise10HdMbps() bool
	// LinkTraining returns bool, set in Layer1AutoNegotiation.
	LinkTraining() bool
	// SetLinkTraining assigns bool provided by user to Layer1AutoNegotiation
	SetLinkTraining(value bool) Layer1AutoNegotiation
	// HasLinkTraining checks if LinkTraining has been set in Layer1AutoNegotiation
	HasLinkTraining() bool
	// RsFec returns bool, set in Layer1AutoNegotiation.
	RsFec() bool
	// SetRsFec assigns bool provided by user to Layer1AutoNegotiation
	SetRsFec(value bool) Layer1AutoNegotiation
	// HasRsFec checks if RsFec has been set in Layer1AutoNegotiation
	HasRsFec() bool
	// contains filtered or unexported methods
}

Layer1AutoNegotiation is configuration for auto negotiation settings

func NewLayer1AutoNegotiation added in v0.6.5

func NewLayer1AutoNegotiation() Layer1AutoNegotiation

type Layer1FlowControl

type Layer1FlowControl interface {
	Validation
	// Msg marshals Layer1FlowControl to protobuf object *otg.Layer1FlowControl
	// and doesn't set defaults
	Msg() *otg.Layer1FlowControl
	// SetMsg unmarshals Layer1FlowControl from protobuf object *otg.Layer1FlowControl
	// and doesn't set defaults
	SetMsg(*otg.Layer1FlowControl) Layer1FlowControl
	// ToProto marshals Layer1FlowControl to protobuf object *otg.Layer1FlowControl
	ToProto() (*otg.Layer1FlowControl, error)
	// ToPbText marshals Layer1FlowControl to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Layer1FlowControl to YAML text
	ToYaml() (string, error)
	// ToJson marshals Layer1FlowControl to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Layer1FlowControl from protobuf object *otg.Layer1FlowControl
	FromProto(msg *otg.Layer1FlowControl) (Layer1FlowControl, error)
	// FromPbText unmarshals Layer1FlowControl from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Layer1FlowControl from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Layer1FlowControl from JSON text
	FromJson(value string) error
	// Validate validates Layer1FlowControl
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Layer1FlowControl, error)

	// DirectedAddress returns string, set in Layer1FlowControl.
	DirectedAddress() string
	// SetDirectedAddress assigns string provided by user to Layer1FlowControl
	SetDirectedAddress(value string) Layer1FlowControl
	// HasDirectedAddress checks if DirectedAddress has been set in Layer1FlowControl
	HasDirectedAddress() bool
	// Choice returns Layer1FlowControlChoiceEnum, set in Layer1FlowControl
	Choice() Layer1FlowControlChoiceEnum
	// SetChoice assigns Layer1FlowControlChoiceEnum provided by user to Layer1FlowControl
	SetChoice(value Layer1FlowControlChoiceEnum) Layer1FlowControl
	// HasChoice checks if Choice has been set in Layer1FlowControl
	HasChoice() bool
	// Ieee8021Qbb returns Layer1Ieee8021Qbb, set in Layer1FlowControl.
	Ieee8021Qbb() Layer1Ieee8021Qbb
	// SetIeee8021Qbb assigns Layer1Ieee8021Qbb provided by user to Layer1FlowControl.
	SetIeee8021Qbb(value Layer1Ieee8021Qbb) Layer1FlowControl
	// HasIeee8021Qbb checks if Ieee8021Qbb has been set in Layer1FlowControl
	HasIeee8021Qbb() bool
	// Ieee8023X returns Layer1Ieee8023X, set in Layer1FlowControl.
	Ieee8023X() Layer1Ieee8023X
	// SetIeee8023X assigns Layer1Ieee8023X provided by user to Layer1FlowControl.
	SetIeee8023X(value Layer1Ieee8023X) Layer1FlowControl
	// HasIeee8023X checks if Ieee8023X has been set in Layer1FlowControl
	HasIeee8023X() bool
	// contains filtered or unexported methods
}

Layer1FlowControl is a container for layer1 receive flow control settings. To enable flow control settings on ports this object must be a valid object not a null value.

func NewLayer1FlowControl added in v0.6.5

func NewLayer1FlowControl() Layer1FlowControl

type Layer1FlowControlChoiceEnum

type Layer1FlowControlChoiceEnum string

type Layer1Ieee8021Qbb

type Layer1Ieee8021Qbb interface {
	Validation
	// Msg marshals Layer1Ieee8021Qbb to protobuf object *otg.Layer1Ieee8021Qbb
	// and doesn't set defaults
	Msg() *otg.Layer1Ieee8021Qbb
	// SetMsg unmarshals Layer1Ieee8021Qbb from protobuf object *otg.Layer1Ieee8021Qbb
	// and doesn't set defaults
	SetMsg(*otg.Layer1Ieee8021Qbb) Layer1Ieee8021Qbb
	// ToProto marshals Layer1Ieee8021Qbb to protobuf object *otg.Layer1Ieee8021Qbb
	ToProto() (*otg.Layer1Ieee8021Qbb, error)
	// ToPbText marshals Layer1Ieee8021Qbb to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Layer1Ieee8021Qbb to YAML text
	ToYaml() (string, error)
	// ToJson marshals Layer1Ieee8021Qbb to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Layer1Ieee8021Qbb from protobuf object *otg.Layer1Ieee8021Qbb
	FromProto(msg *otg.Layer1Ieee8021Qbb) (Layer1Ieee8021Qbb, error)
	// FromPbText unmarshals Layer1Ieee8021Qbb from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Layer1Ieee8021Qbb from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Layer1Ieee8021Qbb from JSON text
	FromJson(value string) error
	// Validate validates Layer1Ieee8021Qbb
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Layer1Ieee8021Qbb, error)

	// PfcDelay returns int32, set in Layer1Ieee8021Qbb.
	PfcDelay() int32
	// SetPfcDelay assigns int32 provided by user to Layer1Ieee8021Qbb
	SetPfcDelay(value int32) Layer1Ieee8021Qbb
	// HasPfcDelay checks if PfcDelay has been set in Layer1Ieee8021Qbb
	HasPfcDelay() bool
	// PfcClass0 returns int32, set in Layer1Ieee8021Qbb.
	PfcClass0() int32
	// SetPfcClass0 assigns int32 provided by user to Layer1Ieee8021Qbb
	SetPfcClass0(value int32) Layer1Ieee8021Qbb
	// HasPfcClass0 checks if PfcClass0 has been set in Layer1Ieee8021Qbb
	HasPfcClass0() bool
	// PfcClass1 returns int32, set in Layer1Ieee8021Qbb.
	PfcClass1() int32
	// SetPfcClass1 assigns int32 provided by user to Layer1Ieee8021Qbb
	SetPfcClass1(value int32) Layer1Ieee8021Qbb
	// HasPfcClass1 checks if PfcClass1 has been set in Layer1Ieee8021Qbb
	HasPfcClass1() bool
	// PfcClass2 returns int32, set in Layer1Ieee8021Qbb.
	PfcClass2() int32
	// SetPfcClass2 assigns int32 provided by user to Layer1Ieee8021Qbb
	SetPfcClass2(value int32) Layer1Ieee8021Qbb
	// HasPfcClass2 checks if PfcClass2 has been set in Layer1Ieee8021Qbb
	HasPfcClass2() bool
	// PfcClass3 returns int32, set in Layer1Ieee8021Qbb.
	PfcClass3() int32
	// SetPfcClass3 assigns int32 provided by user to Layer1Ieee8021Qbb
	SetPfcClass3(value int32) Layer1Ieee8021Qbb
	// HasPfcClass3 checks if PfcClass3 has been set in Layer1Ieee8021Qbb
	HasPfcClass3() bool
	// PfcClass4 returns int32, set in Layer1Ieee8021Qbb.
	PfcClass4() int32
	// SetPfcClass4 assigns int32 provided by user to Layer1Ieee8021Qbb
	SetPfcClass4(value int32) Layer1Ieee8021Qbb
	// HasPfcClass4 checks if PfcClass4 has been set in Layer1Ieee8021Qbb
	HasPfcClass4() bool
	// PfcClass5 returns int32, set in Layer1Ieee8021Qbb.
	PfcClass5() int32
	// SetPfcClass5 assigns int32 provided by user to Layer1Ieee8021Qbb
	SetPfcClass5(value int32) Layer1Ieee8021Qbb
	// HasPfcClass5 checks if PfcClass5 has been set in Layer1Ieee8021Qbb
	HasPfcClass5() bool
	// PfcClass6 returns int32, set in Layer1Ieee8021Qbb.
	PfcClass6() int32
	// SetPfcClass6 assigns int32 provided by user to Layer1Ieee8021Qbb
	SetPfcClass6(value int32) Layer1Ieee8021Qbb
	// HasPfcClass6 checks if PfcClass6 has been set in Layer1Ieee8021Qbb
	HasPfcClass6() bool
	// PfcClass7 returns int32, set in Layer1Ieee8021Qbb.
	PfcClass7() int32
	// SetPfcClass7 assigns int32 provided by user to Layer1Ieee8021Qbb
	SetPfcClass7(value int32) Layer1Ieee8021Qbb
	// HasPfcClass7 checks if PfcClass7 has been set in Layer1Ieee8021Qbb
	HasPfcClass7() bool
	// contains filtered or unexported methods
}

Layer1Ieee8021Qbb is these settings enhance the existing 802.3x pause priority capabilities to enable flow control based on 802.1p priorities (classes of service).

func NewLayer1Ieee8021Qbb added in v0.6.5

func NewLayer1Ieee8021Qbb() Layer1Ieee8021Qbb

type Layer1Ieee8023X

type Layer1Ieee8023X interface {
	Validation
	// Msg marshals Layer1Ieee8023X to protobuf object *otg.Layer1Ieee8023X
	// and doesn't set defaults
	Msg() *otg.Layer1Ieee8023X
	// SetMsg unmarshals Layer1Ieee8023X from protobuf object *otg.Layer1Ieee8023X
	// and doesn't set defaults
	SetMsg(*otg.Layer1Ieee8023X) Layer1Ieee8023X
	// ToProto marshals Layer1Ieee8023X to protobuf object *otg.Layer1Ieee8023X
	ToProto() (*otg.Layer1Ieee8023X, error)
	// ToPbText marshals Layer1Ieee8023X to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Layer1Ieee8023X to YAML text
	ToYaml() (string, error)
	// ToJson marshals Layer1Ieee8023X to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Layer1Ieee8023X from protobuf object *otg.Layer1Ieee8023X
	FromProto(msg *otg.Layer1Ieee8023X) (Layer1Ieee8023X, error)
	// FromPbText unmarshals Layer1Ieee8023X from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Layer1Ieee8023X from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Layer1Ieee8023X from JSON text
	FromJson(value string) error
	// Validate validates Layer1Ieee8023X
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Layer1Ieee8023X, error)
	// contains filtered or unexported methods
}

Layer1Ieee8023X is a container for ieee 802.3x rx pause settings

func NewLayer1Ieee8023X added in v0.6.5

func NewLayer1Ieee8023X() Layer1Ieee8023X

type Layer1MediaEnum

type Layer1MediaEnum string

type Layer1SpeedEnum

type Layer1SpeedEnum string

type LinkState deprecated

type LinkState interface {
	Validation
	// Msg marshals LinkState to protobuf object *otg.LinkState
	// and doesn't set defaults
	Msg() *otg.LinkState
	// SetMsg unmarshals LinkState from protobuf object *otg.LinkState
	// and doesn't set defaults
	SetMsg(*otg.LinkState) LinkState
	// ToProto marshals LinkState to protobuf object *otg.LinkState
	ToProto() (*otg.LinkState, error)
	// ToPbText marshals LinkState to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LinkState to YAML text
	ToYaml() (string, error)
	// ToJson marshals LinkState to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LinkState from protobuf object *otg.LinkState
	FromProto(msg *otg.LinkState) (LinkState, error)
	// FromPbText unmarshals LinkState from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LinkState from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LinkState from JSON text
	FromJson(value string) error
	// Validate validates LinkState
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LinkState, error)

	// PortNames returns []string, set in LinkState.
	PortNames() []string
	// SetPortNames assigns []string provided by user to LinkState
	SetPortNames(value []string) LinkState
	// State returns LinkStateStateEnum, set in LinkState
	State() LinkStateStateEnum
	// SetState assigns LinkStateStateEnum provided by user to LinkState
	SetState(value LinkStateStateEnum) LinkState
	// contains filtered or unexported methods
}

LinkState is deprecated: Please use `StatePortLink` instead

Deprecated: Please use `StatePortLink` instead

Sets the link state of configured ports.

func NewLinkState added in v0.6.5

func NewLinkState() LinkState

type LinkStateStateEnum

type LinkStateStateEnum string

type LinkStateTE added in v0.6.1

type LinkStateTE interface {
	Validation
	// Msg marshals LinkStateTE to protobuf object *otg.LinkStateTE
	// and doesn't set defaults
	Msg() *otg.LinkStateTE
	// SetMsg unmarshals LinkStateTE from protobuf object *otg.LinkStateTE
	// and doesn't set defaults
	SetMsg(*otg.LinkStateTE) LinkStateTE
	// ToProto marshals LinkStateTE to protobuf object *otg.LinkStateTE
	ToProto() (*otg.LinkStateTE, error)
	// ToPbText marshals LinkStateTE to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LinkStateTE to YAML text
	ToYaml() (string, error)
	// ToJson marshals LinkStateTE to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LinkStateTE from protobuf object *otg.LinkStateTE
	FromProto(msg *otg.LinkStateTE) (LinkStateTE, error)
	// FromPbText unmarshals LinkStateTE from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LinkStateTE from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LinkStateTE from JSON text
	FromJson(value string) error
	// Validate validates LinkStateTE
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LinkStateTE, error)

	// AdministrativeGroup returns string, set in LinkStateTE.
	AdministrativeGroup() string
	// SetAdministrativeGroup assigns string provided by user to LinkStateTE
	SetAdministrativeGroup(value string) LinkStateTE
	// HasAdministrativeGroup checks if AdministrativeGroup has been set in LinkStateTE
	HasAdministrativeGroup() bool
	// MetricLevel returns int64, set in LinkStateTE.
	MetricLevel() int64
	// SetMetricLevel assigns int64 provided by user to LinkStateTE
	SetMetricLevel(value int64) LinkStateTE
	// HasMetricLevel checks if MetricLevel has been set in LinkStateTE
	HasMetricLevel() bool
	// MaxBandwith returns int64, set in LinkStateTE.
	MaxBandwith() int64
	// SetMaxBandwith assigns int64 provided by user to LinkStateTE
	SetMaxBandwith(value int64) LinkStateTE
	// HasMaxBandwith checks if MaxBandwith has been set in LinkStateTE
	HasMaxBandwith() bool
	// MaxReservableBandwidth returns int64, set in LinkStateTE.
	MaxReservableBandwidth() int64
	// SetMaxReservableBandwidth assigns int64 provided by user to LinkStateTE
	SetMaxReservableBandwidth(value int64) LinkStateTE
	// HasMaxReservableBandwidth checks if MaxReservableBandwidth has been set in LinkStateTE
	HasMaxReservableBandwidth() bool
	// PriorityBandwidths returns LinkStatepriorityBandwidths, set in LinkStateTE.
	// LinkStatepriorityBandwidths is specifies the amount of bandwidth that can be reserved with a setup priority of 0
	// through 7, arranged in increasing order with priority 0 having highest priority.
	// In ISIS, this is sent in sub-TLV (11) of Extended IS Reachability TLV.
	PriorityBandwidths() LinkStatepriorityBandwidths
	// SetPriorityBandwidths assigns LinkStatepriorityBandwidths provided by user to LinkStateTE.
	// LinkStatepriorityBandwidths is specifies the amount of bandwidth that can be reserved with a setup priority of 0
	// through 7, arranged in increasing order with priority 0 having highest priority.
	// In ISIS, this is sent in sub-TLV (11) of Extended IS Reachability TLV.
	SetPriorityBandwidths(value LinkStatepriorityBandwidths) LinkStateTE
	// HasPriorityBandwidths checks if PriorityBandwidths has been set in LinkStateTE
	HasPriorityBandwidths() bool
	// contains filtered or unexported methods
}

LinkStateTE is a container for Traffic Engineering properties on a interface.

func NewLinkStateTE added in v0.6.5

func NewLinkStateTE() LinkStateTE

type LinkStatepriorityBandwidths added in v0.6.1

type LinkStatepriorityBandwidths interface {
	Validation
	// Msg marshals LinkStatepriorityBandwidths to protobuf object *otg.LinkStatepriorityBandwidths
	// and doesn't set defaults
	Msg() *otg.LinkStatepriorityBandwidths
	// SetMsg unmarshals LinkStatepriorityBandwidths from protobuf object *otg.LinkStatepriorityBandwidths
	// and doesn't set defaults
	SetMsg(*otg.LinkStatepriorityBandwidths) LinkStatepriorityBandwidths
	// ToProto marshals LinkStatepriorityBandwidths to protobuf object *otg.LinkStatepriorityBandwidths
	ToProto() (*otg.LinkStatepriorityBandwidths, error)
	// ToPbText marshals LinkStatepriorityBandwidths to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LinkStatepriorityBandwidths to YAML text
	ToYaml() (string, error)
	// ToJson marshals LinkStatepriorityBandwidths to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LinkStatepriorityBandwidths from protobuf object *otg.LinkStatepriorityBandwidths
	FromProto(msg *otg.LinkStatepriorityBandwidths) (LinkStatepriorityBandwidths, error)
	// FromPbText unmarshals LinkStatepriorityBandwidths from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LinkStatepriorityBandwidths from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LinkStatepriorityBandwidths from JSON text
	FromJson(value string) error
	// Validate validates LinkStatepriorityBandwidths
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LinkStatepriorityBandwidths, error)

	// Pb0 returns int64, set in LinkStatepriorityBandwidths.
	Pb0() int64
	// SetPb0 assigns int64 provided by user to LinkStatepriorityBandwidths
	SetPb0(value int64) LinkStatepriorityBandwidths
	// HasPb0 checks if Pb0 has been set in LinkStatepriorityBandwidths
	HasPb0() bool
	// Pb1 returns int64, set in LinkStatepriorityBandwidths.
	Pb1() int64
	// SetPb1 assigns int64 provided by user to LinkStatepriorityBandwidths
	SetPb1(value int64) LinkStatepriorityBandwidths
	// HasPb1 checks if Pb1 has been set in LinkStatepriorityBandwidths
	HasPb1() bool
	// Pb2 returns int64, set in LinkStatepriorityBandwidths.
	Pb2() int64
	// SetPb2 assigns int64 provided by user to LinkStatepriorityBandwidths
	SetPb2(value int64) LinkStatepriorityBandwidths
	// HasPb2 checks if Pb2 has been set in LinkStatepriorityBandwidths
	HasPb2() bool
	// Pb3 returns int64, set in LinkStatepriorityBandwidths.
	Pb3() int64
	// SetPb3 assigns int64 provided by user to LinkStatepriorityBandwidths
	SetPb3(value int64) LinkStatepriorityBandwidths
	// HasPb3 checks if Pb3 has been set in LinkStatepriorityBandwidths
	HasPb3() bool
	// Pb4 returns int64, set in LinkStatepriorityBandwidths.
	Pb4() int64
	// SetPb4 assigns int64 provided by user to LinkStatepriorityBandwidths
	SetPb4(value int64) LinkStatepriorityBandwidths
	// HasPb4 checks if Pb4 has been set in LinkStatepriorityBandwidths
	HasPb4() bool
	// Pb5 returns int64, set in LinkStatepriorityBandwidths.
	Pb5() int64
	// SetPb5 assigns int64 provided by user to LinkStatepriorityBandwidths
	SetPb5(value int64) LinkStatepriorityBandwidths
	// HasPb5 checks if Pb5 has been set in LinkStatepriorityBandwidths
	HasPb5() bool
	// Pb6 returns int64, set in LinkStatepriorityBandwidths.
	Pb6() int64
	// SetPb6 assigns int64 provided by user to LinkStatepriorityBandwidths
	SetPb6(value int64) LinkStatepriorityBandwidths
	// HasPb6 checks if Pb6 has been set in LinkStatepriorityBandwidths
	HasPb6() bool
	// Pb7 returns int64, set in LinkStatepriorityBandwidths.
	Pb7() int64
	// SetPb7 assigns int64 provided by user to LinkStatepriorityBandwidths
	SetPb7(value int64) LinkStatepriorityBandwidths
	// HasPb7 checks if Pb7 has been set in LinkStatepriorityBandwidths
	HasPb7() bool
	// contains filtered or unexported methods
}

LinkStatepriorityBandwidths is specifies the amount of bandwidth that can be reserved with a setup priority of 0 through 7, arranged in increasing order with priority 0 having highest priority. In ISIS, this is sent in sub-TLV (11) of Extended IS Reachability TLV.

func NewLinkStatepriorityBandwidths added in v0.6.5

func NewLinkStatepriorityBandwidths() LinkStatepriorityBandwidths

type Lldp added in v0.9.6

type Lldp interface {
	Validation
	// Msg marshals Lldp to protobuf object *otg.Lldp
	// and doesn't set defaults
	Msg() *otg.Lldp
	// SetMsg unmarshals Lldp from protobuf object *otg.Lldp
	// and doesn't set defaults
	SetMsg(*otg.Lldp) Lldp
	// ToProto marshals Lldp to protobuf object *otg.Lldp
	ToProto() (*otg.Lldp, error)
	// ToPbText marshals Lldp to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Lldp to YAML text
	ToYaml() (string, error)
	// ToJson marshals Lldp to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Lldp from protobuf object *otg.Lldp
	FromProto(msg *otg.Lldp) (Lldp, error)
	// FromPbText unmarshals Lldp from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Lldp from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Lldp from JSON text
	FromJson(value string) error
	// Validate validates Lldp
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Lldp, error)

	// Connection returns LldpConnection, set in Lldp.
	// LldpConnection is lLDP connection to a test port. In future if more connection options arise  LLDP connection object will be enhanced.
	Connection() LldpConnection
	// SetConnection assigns LldpConnection provided by user to Lldp.
	// LldpConnection is lLDP connection to a test port. In future if more connection options arise  LLDP connection object will be enhanced.
	SetConnection(value LldpConnection) Lldp
	// ChassisId returns LldpChassisId, set in Lldp.
	// LldpChassisId is the Chassis ID is a mandatory TLV which identifies the chassis component of the endpoint identifier associated  with the transmitting LLDP agent. This field identifies the format and source of the chassis identifier string.  It is based on the enumerator defined by the LldpChassisIdSubtype object from IEEE 802.1AB MIB.
	ChassisId() LldpChassisId
	// SetChassisId assigns LldpChassisId provided by user to Lldp.
	// LldpChassisId is the Chassis ID is a mandatory TLV which identifies the chassis component of the endpoint identifier associated  with the transmitting LLDP agent. This field identifies the format and source of the chassis identifier string.  It is based on the enumerator defined by the LldpChassisIdSubtype object from IEEE 802.1AB MIB.
	SetChassisId(value LldpChassisId) Lldp
	// HasChassisId checks if ChassisId has been set in Lldp
	HasChassisId() bool
	// PortId returns LldpPortId, set in Lldp.
	// LldpPortId is the Port ID is a mandatory TLV which identifies the port component of the endpoint identifier associated with  the transmitting LLDP agent.This field identifies the format and source of the port identifier string. It is  based on the enumerator defined by the PtopoPortIdType object from RFC2922.
	PortId() LldpPortId
	// SetPortId assigns LldpPortId provided by user to Lldp.
	// LldpPortId is the Port ID is a mandatory TLV which identifies the port component of the endpoint identifier associated with  the transmitting LLDP agent.This field identifies the format and source of the port identifier string. It is  based on the enumerator defined by the PtopoPortIdType object from RFC2922.
	SetPortId(value LldpPortId) Lldp
	// HasPortId checks if PortId has been set in Lldp
	HasPortId() bool
	// SystemName returns LldpSystemName, set in Lldp.
	// LldpSystemName is the system Name configured in the System Name TLV.
	SystemName() LldpSystemName
	// SetSystemName assigns LldpSystemName provided by user to Lldp.
	// LldpSystemName is the system Name configured in the System Name TLV.
	SetSystemName(value LldpSystemName) Lldp
	// HasSystemName checks if SystemName has been set in Lldp
	HasSystemName() bool
	// HoldTime returns int32, set in Lldp.
	HoldTime() int32
	// SetHoldTime assigns int32 provided by user to Lldp
	SetHoldTime(value int32) Lldp
	// HasHoldTime checks if HoldTime has been set in Lldp
	HasHoldTime() bool
	// AdvertisementInterval returns int32, set in Lldp.
	AdvertisementInterval() int32
	// SetAdvertisementInterval assigns int32 provided by user to Lldp
	SetAdvertisementInterval(value int32) Lldp
	// HasAdvertisementInterval checks if AdvertisementInterval has been set in Lldp
	HasAdvertisementInterval() bool
	// Name returns string, set in Lldp.
	Name() string
	// SetName assigns string provided by user to Lldp
	SetName(value string) Lldp
	// contains filtered or unexported methods
}

Lldp is configuration of LLDP protocol IEEE Ref: https://www.ieee802.org/1/files/public/docs2002/lldp-protocol-00.pdf

func NewLldp added in v0.9.6

func NewLldp() Lldp

type LldpCapabilityState added in v0.9.6

type LldpCapabilityState interface {
	Validation
	// Msg marshals LldpCapabilityState to protobuf object *otg.LldpCapabilityState
	// and doesn't set defaults
	Msg() *otg.LldpCapabilityState
	// SetMsg unmarshals LldpCapabilityState from protobuf object *otg.LldpCapabilityState
	// and doesn't set defaults
	SetMsg(*otg.LldpCapabilityState) LldpCapabilityState
	// ToProto marshals LldpCapabilityState to protobuf object *otg.LldpCapabilityState
	ToProto() (*otg.LldpCapabilityState, error)
	// ToPbText marshals LldpCapabilityState to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LldpCapabilityState to YAML text
	ToYaml() (string, error)
	// ToJson marshals LldpCapabilityState to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LldpCapabilityState from protobuf object *otg.LldpCapabilityState
	FromProto(msg *otg.LldpCapabilityState) (LldpCapabilityState, error)
	// FromPbText unmarshals LldpCapabilityState from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LldpCapabilityState from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LldpCapabilityState from JSON text
	FromJson(value string) error
	// Validate validates LldpCapabilityState
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LldpCapabilityState, error)

	// CapabilityName returns LldpCapabilityStateCapabilityNameEnum, set in LldpCapabilityState
	CapabilityName() LldpCapabilityStateCapabilityNameEnum
	// SetCapabilityName assigns LldpCapabilityStateCapabilityNameEnum provided by user to LldpCapabilityState
	SetCapabilityName(value LldpCapabilityStateCapabilityNameEnum) LldpCapabilityState
	// HasCapabilityName checks if CapabilityName has been set in LldpCapabilityState
	HasCapabilityName() bool
	// CapabilityEnabled returns bool, set in LldpCapabilityState.
	CapabilityEnabled() bool
	// SetCapabilityEnabled assigns bool provided by user to LldpCapabilityState
	SetCapabilityEnabled(value bool) LldpCapabilityState
	// HasCapabilityEnabled checks if CapabilityEnabled has been set in LldpCapabilityState
	HasCapabilityEnabled() bool
	// contains filtered or unexported methods
}

LldpCapabilityState is lLDP system capability advertised by the neighbor

func NewLldpCapabilityState added in v0.9.6

func NewLldpCapabilityState() LldpCapabilityState

type LldpCapabilityStateCapabilityNameEnum added in v0.9.6

type LldpCapabilityStateCapabilityNameEnum string

type LldpChassisId added in v0.9.6

type LldpChassisId interface {
	Validation
	// Msg marshals LldpChassisId to protobuf object *otg.LldpChassisId
	// and doesn't set defaults
	Msg() *otg.LldpChassisId
	// SetMsg unmarshals LldpChassisId from protobuf object *otg.LldpChassisId
	// and doesn't set defaults
	SetMsg(*otg.LldpChassisId) LldpChassisId
	// ToProto marshals LldpChassisId to protobuf object *otg.LldpChassisId
	ToProto() (*otg.LldpChassisId, error)
	// ToPbText marshals LldpChassisId to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LldpChassisId to YAML text
	ToYaml() (string, error)
	// ToJson marshals LldpChassisId to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LldpChassisId from protobuf object *otg.LldpChassisId
	FromProto(msg *otg.LldpChassisId) (LldpChassisId, error)
	// FromPbText unmarshals LldpChassisId from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LldpChassisId from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LldpChassisId from JSON text
	FromJson(value string) error
	// Validate validates LldpChassisId
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LldpChassisId, error)

	// Choice returns LldpChassisIdChoiceEnum, set in LldpChassisId
	Choice() LldpChassisIdChoiceEnum
	// SetChoice assigns LldpChassisIdChoiceEnum provided by user to LldpChassisId
	SetChoice(value LldpChassisIdChoiceEnum) LldpChassisId
	// HasChoice checks if Choice has been set in LldpChassisId
	HasChoice() bool
	// MacAddressSubtype returns LldpChassisMacSubType, set in LldpChassisId.
	// LldpChassisMacSubType is the MAC address configured in the Chassis ID TLV.
	MacAddressSubtype() LldpChassisMacSubType
	// SetMacAddressSubtype assigns LldpChassisMacSubType provided by user to LldpChassisId.
	// LldpChassisMacSubType is the MAC address configured in the Chassis ID TLV.
	SetMacAddressSubtype(value LldpChassisMacSubType) LldpChassisId
	// HasMacAddressSubtype checks if MacAddressSubtype has been set in LldpChassisId
	HasMacAddressSubtype() bool
	// InterfaceNameSubtype returns string, set in LldpChassisId.
	InterfaceNameSubtype() string
	// SetInterfaceNameSubtype assigns string provided by user to LldpChassisId
	SetInterfaceNameSubtype(value string) LldpChassisId
	// HasInterfaceNameSubtype checks if InterfaceNameSubtype has been set in LldpChassisId
	HasInterfaceNameSubtype() bool
	// LocalSubtype returns string, set in LldpChassisId.
	LocalSubtype() string
	// SetLocalSubtype assigns string provided by user to LldpChassisId
	SetLocalSubtype(value string) LldpChassisId
	// HasLocalSubtype checks if LocalSubtype has been set in LldpChassisId
	HasLocalSubtype() bool
	// contains filtered or unexported methods
}

LldpChassisId is the Chassis ID is a mandatory TLV which identifies the chassis component of the endpoint identifier associated with the transmitting LLDP agent. This field identifies the format and source of the chassis identifier string. It is based on the enumerator defined by the LldpChassisIdSubtype object from IEEE 802.1AB MIB.

func NewLldpChassisId added in v0.9.6

func NewLldpChassisId() LldpChassisId

type LldpChassisIdChoiceEnum added in v0.9.6

type LldpChassisIdChoiceEnum string

type LldpChassisMacSubType added in v0.9.6

type LldpChassisMacSubType interface {
	Validation
	// Msg marshals LldpChassisMacSubType to protobuf object *otg.LldpChassisMacSubType
	// and doesn't set defaults
	Msg() *otg.LldpChassisMacSubType
	// SetMsg unmarshals LldpChassisMacSubType from protobuf object *otg.LldpChassisMacSubType
	// and doesn't set defaults
	SetMsg(*otg.LldpChassisMacSubType) LldpChassisMacSubType
	// ToProto marshals LldpChassisMacSubType to protobuf object *otg.LldpChassisMacSubType
	ToProto() (*otg.LldpChassisMacSubType, error)
	// ToPbText marshals LldpChassisMacSubType to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LldpChassisMacSubType to YAML text
	ToYaml() (string, error)
	// ToJson marshals LldpChassisMacSubType to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LldpChassisMacSubType from protobuf object *otg.LldpChassisMacSubType
	FromProto(msg *otg.LldpChassisMacSubType) (LldpChassisMacSubType, error)
	// FromPbText unmarshals LldpChassisMacSubType from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LldpChassisMacSubType from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LldpChassisMacSubType from JSON text
	FromJson(value string) error
	// Validate validates LldpChassisMacSubType
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LldpChassisMacSubType, error)

	// Choice returns LldpChassisMacSubTypeChoiceEnum, set in LldpChassisMacSubType
	Choice() LldpChassisMacSubTypeChoiceEnum
	// SetChoice assigns LldpChassisMacSubTypeChoiceEnum provided by user to LldpChassisMacSubType
	SetChoice(value LldpChassisMacSubTypeChoiceEnum) LldpChassisMacSubType
	// HasChoice checks if Choice has been set in LldpChassisMacSubType
	HasChoice() bool
	// Auto returns string, set in LldpChassisMacSubType.
	Auto() string
	// HasAuto checks if Auto has been set in LldpChassisMacSubType
	HasAuto() bool
	// Value returns string, set in LldpChassisMacSubType.
	Value() string
	// SetValue assigns string provided by user to LldpChassisMacSubType
	SetValue(value string) LldpChassisMacSubType
	// HasValue checks if Value has been set in LldpChassisMacSubType
	HasValue() bool
	// contains filtered or unexported methods
}

LldpChassisMacSubType is the MAC address configured in the Chassis ID TLV.

func NewLldpChassisMacSubType added in v0.9.6

func NewLldpChassisMacSubType() LldpChassisMacSubType

type LldpChassisMacSubTypeChoiceEnum added in v0.9.6

type LldpChassisMacSubTypeChoiceEnum string

type LldpConnection added in v0.9.6

type LldpConnection interface {
	Validation
	// Msg marshals LldpConnection to protobuf object *otg.LldpConnection
	// and doesn't set defaults
	Msg() *otg.LldpConnection
	// SetMsg unmarshals LldpConnection from protobuf object *otg.LldpConnection
	// and doesn't set defaults
	SetMsg(*otg.LldpConnection) LldpConnection
	// ToProto marshals LldpConnection to protobuf object *otg.LldpConnection
	ToProto() (*otg.LldpConnection, error)
	// ToPbText marshals LldpConnection to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LldpConnection to YAML text
	ToYaml() (string, error)
	// ToJson marshals LldpConnection to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LldpConnection from protobuf object *otg.LldpConnection
	FromProto(msg *otg.LldpConnection) (LldpConnection, error)
	// FromPbText unmarshals LldpConnection from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LldpConnection from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LldpConnection from JSON text
	FromJson(value string) error
	// Validate validates LldpConnection
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LldpConnection, error)

	// Choice returns LldpConnectionChoiceEnum, set in LldpConnection
	Choice() LldpConnectionChoiceEnum
	// SetChoice assigns LldpConnectionChoiceEnum provided by user to LldpConnection
	SetChoice(value LldpConnectionChoiceEnum) LldpConnection
	// HasChoice checks if Choice has been set in LldpConnection
	HasChoice() bool
	// PortName returns string, set in LldpConnection.
	PortName() string
	// SetPortName assigns string provided by user to LldpConnection
	SetPortName(value string) LldpConnection
	// HasPortName checks if PortName has been set in LldpConnection
	HasPortName() bool
	// contains filtered or unexported methods
}

LldpConnection is lLDP connection to a test port. In future if more connection options arise LLDP connection object will be enhanced.

func NewLldpConnection added in v0.9.6

func NewLldpConnection() LldpConnection

type LldpConnectionChoiceEnum added in v0.9.6

type LldpConnectionChoiceEnum string

type LldpCustomTLVState added in v0.9.6

type LldpCustomTLVState interface {
	Validation
	// Msg marshals LldpCustomTLVState to protobuf object *otg.LldpCustomTLVState
	// and doesn't set defaults
	Msg() *otg.LldpCustomTLVState
	// SetMsg unmarshals LldpCustomTLVState from protobuf object *otg.LldpCustomTLVState
	// and doesn't set defaults
	SetMsg(*otg.LldpCustomTLVState) LldpCustomTLVState
	// ToProto marshals LldpCustomTLVState to protobuf object *otg.LldpCustomTLVState
	ToProto() (*otg.LldpCustomTLVState, error)
	// ToPbText marshals LldpCustomTLVState to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LldpCustomTLVState to YAML text
	ToYaml() (string, error)
	// ToJson marshals LldpCustomTLVState to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LldpCustomTLVState from protobuf object *otg.LldpCustomTLVState
	FromProto(msg *otg.LldpCustomTLVState) (LldpCustomTLVState, error)
	// FromPbText unmarshals LldpCustomTLVState from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LldpCustomTLVState from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LldpCustomTLVState from JSON text
	FromJson(value string) error
	// Validate validates LldpCustomTLVState
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LldpCustomTLVState, error)

	// CustomType returns int32, set in LldpCustomTLVState.
	CustomType() int32
	// SetCustomType assigns int32 provided by user to LldpCustomTLVState
	SetCustomType(value int32) LldpCustomTLVState
	// HasCustomType checks if CustomType has been set in LldpCustomTLVState
	HasCustomType() bool
	// Oui returns string, set in LldpCustomTLVState.
	Oui() string
	// SetOui assigns string provided by user to LldpCustomTLVState
	SetOui(value string) LldpCustomTLVState
	// HasOui checks if Oui has been set in LldpCustomTLVState
	HasOui() bool
	// OuiSubtype returns string, set in LldpCustomTLVState.
	OuiSubtype() string
	// SetOuiSubtype assigns string provided by user to LldpCustomTLVState
	SetOuiSubtype(value string) LldpCustomTLVState
	// HasOuiSubtype checks if OuiSubtype has been set in LldpCustomTLVState
	HasOuiSubtype() bool
	// contains filtered or unexported methods
}

LldpCustomTLVState is custom TLV received from a neighbor.Custom TLVs are organization specific TLVs advertised with TLV type 127.

func NewLldpCustomTLVState added in v0.9.6

func NewLldpCustomTLVState() LldpCustomTLVState

type LldpMetric added in v0.9.6

type LldpMetric interface {
	Validation
	// Msg marshals LldpMetric to protobuf object *otg.LldpMetric
	// and doesn't set defaults
	Msg() *otg.LldpMetric
	// SetMsg unmarshals LldpMetric from protobuf object *otg.LldpMetric
	// and doesn't set defaults
	SetMsg(*otg.LldpMetric) LldpMetric
	// ToProto marshals LldpMetric to protobuf object *otg.LldpMetric
	ToProto() (*otg.LldpMetric, error)
	// ToPbText marshals LldpMetric to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LldpMetric to YAML text
	ToYaml() (string, error)
	// ToJson marshals LldpMetric to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LldpMetric from protobuf object *otg.LldpMetric
	FromProto(msg *otg.LldpMetric) (LldpMetric, error)
	// FromPbText unmarshals LldpMetric from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LldpMetric from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LldpMetric from JSON text
	FromJson(value string) error
	// Validate validates LldpMetric
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LldpMetric, error)

	// Name returns string, set in LldpMetric.
	Name() string
	// SetName assigns string provided by user to LldpMetric
	SetName(value string) LldpMetric
	// HasName checks if Name has been set in LldpMetric
	HasName() bool
	// FramesRx returns int64, set in LldpMetric.
	FramesRx() int64
	// SetFramesRx assigns int64 provided by user to LldpMetric
	SetFramesRx(value int64) LldpMetric
	// HasFramesRx checks if FramesRx has been set in LldpMetric
	HasFramesRx() bool
	// FramesTx returns int64, set in LldpMetric.
	FramesTx() int64
	// SetFramesTx assigns int64 provided by user to LldpMetric
	SetFramesTx(value int64) LldpMetric
	// HasFramesTx checks if FramesTx has been set in LldpMetric
	HasFramesTx() bool
	// FramesErrorRx returns int64, set in LldpMetric.
	FramesErrorRx() int64
	// SetFramesErrorRx assigns int64 provided by user to LldpMetric
	SetFramesErrorRx(value int64) LldpMetric
	// HasFramesErrorRx checks if FramesErrorRx has been set in LldpMetric
	HasFramesErrorRx() bool
	// FramesDiscard returns int64, set in LldpMetric.
	FramesDiscard() int64
	// SetFramesDiscard assigns int64 provided by user to LldpMetric
	SetFramesDiscard(value int64) LldpMetric
	// HasFramesDiscard checks if FramesDiscard has been set in LldpMetric
	HasFramesDiscard() bool
	// TlvsDiscard returns int64, set in LldpMetric.
	TlvsDiscard() int64
	// SetTlvsDiscard assigns int64 provided by user to LldpMetric
	SetTlvsDiscard(value int64) LldpMetric
	// HasTlvsDiscard checks if TlvsDiscard has been set in LldpMetric
	HasTlvsDiscard() bool
	// TlvsUnknown returns int64, set in LldpMetric.
	TlvsUnknown() int64
	// SetTlvsUnknown assigns int64 provided by user to LldpMetric
	SetTlvsUnknown(value int64) LldpMetric
	// HasTlvsUnknown checks if TlvsUnknown has been set in LldpMetric
	HasTlvsUnknown() bool
	// contains filtered or unexported methods
}

LldpMetric is lLDP per instance statistics information.

func NewLldpMetric added in v0.9.6

func NewLldpMetric() LldpMetric

type LldpMetricsRequest added in v0.9.6

type LldpMetricsRequest interface {
	Validation
	// Msg marshals LldpMetricsRequest to protobuf object *otg.LldpMetricsRequest
	// and doesn't set defaults
	Msg() *otg.LldpMetricsRequest
	// SetMsg unmarshals LldpMetricsRequest from protobuf object *otg.LldpMetricsRequest
	// and doesn't set defaults
	SetMsg(*otg.LldpMetricsRequest) LldpMetricsRequest
	// ToProto marshals LldpMetricsRequest to protobuf object *otg.LldpMetricsRequest
	ToProto() (*otg.LldpMetricsRequest, error)
	// ToPbText marshals LldpMetricsRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LldpMetricsRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals LldpMetricsRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LldpMetricsRequest from protobuf object *otg.LldpMetricsRequest
	FromProto(msg *otg.LldpMetricsRequest) (LldpMetricsRequest, error)
	// FromPbText unmarshals LldpMetricsRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LldpMetricsRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LldpMetricsRequest from JSON text
	FromJson(value string) error
	// Validate validates LldpMetricsRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LldpMetricsRequest, error)

	// LldpNames returns []string, set in LldpMetricsRequest.
	LldpNames() []string
	// SetLldpNames assigns []string provided by user to LldpMetricsRequest
	SetLldpNames(value []string) LldpMetricsRequest
	// ColumnNames returns []LldpMetricsRequestColumnNamesEnum, set in LldpMetricsRequest
	ColumnNames() []LldpMetricsRequestColumnNamesEnum
	// SetColumnNames assigns []LldpMetricsRequestColumnNamesEnum provided by user to LldpMetricsRequest
	SetColumnNames(value []LldpMetricsRequestColumnNamesEnum) LldpMetricsRequest
	// contains filtered or unexported methods
}

LldpMetricsRequest is the request to retrieve LLDP per instance metrics/statistics.

func NewLldpMetricsRequest added in v0.9.6

func NewLldpMetricsRequest() LldpMetricsRequest

type LldpMetricsRequestColumnNamesEnum added in v0.9.6

type LldpMetricsRequestColumnNamesEnum string

type LldpNeighborsState added in v0.9.6

type LldpNeighborsState interface {
	Validation
	// Msg marshals LldpNeighborsState to protobuf object *otg.LldpNeighborsState
	// and doesn't set defaults
	Msg() *otg.LldpNeighborsState
	// SetMsg unmarshals LldpNeighborsState from protobuf object *otg.LldpNeighborsState
	// and doesn't set defaults
	SetMsg(*otg.LldpNeighborsState) LldpNeighborsState
	// ToProto marshals LldpNeighborsState to protobuf object *otg.LldpNeighborsState
	ToProto() (*otg.LldpNeighborsState, error)
	// ToPbText marshals LldpNeighborsState to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LldpNeighborsState to YAML text
	ToYaml() (string, error)
	// ToJson marshals LldpNeighborsState to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LldpNeighborsState from protobuf object *otg.LldpNeighborsState
	FromProto(msg *otg.LldpNeighborsState) (LldpNeighborsState, error)
	// FromPbText unmarshals LldpNeighborsState from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LldpNeighborsState from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LldpNeighborsState from JSON text
	FromJson(value string) error
	// Validate validates LldpNeighborsState
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LldpNeighborsState, error)

	// LldpName returns string, set in LldpNeighborsState.
	LldpName() string
	// SetLldpName assigns string provided by user to LldpNeighborsState
	SetLldpName(value string) LldpNeighborsState
	// HasLldpName checks if LldpName has been set in LldpNeighborsState
	HasLldpName() bool
	// SystemName returns string, set in LldpNeighborsState.
	SystemName() string
	// SetSystemName assigns string provided by user to LldpNeighborsState
	SetSystemName(value string) LldpNeighborsState
	// HasSystemName checks if SystemName has been set in LldpNeighborsState
	HasSystemName() bool
	// SystemDescription returns string, set in LldpNeighborsState.
	SystemDescription() string
	// SetSystemDescription assigns string provided by user to LldpNeighborsState
	SetSystemDescription(value string) LldpNeighborsState
	// HasSystemDescription checks if SystemDescription has been set in LldpNeighborsState
	HasSystemDescription() bool
	// ChassisId returns string, set in LldpNeighborsState.
	ChassisId() string
	// SetChassisId assigns string provided by user to LldpNeighborsState
	SetChassisId(value string) LldpNeighborsState
	// HasChassisId checks if ChassisId has been set in LldpNeighborsState
	HasChassisId() bool
	// ChassisIdType returns LldpNeighborsStateChassisIdTypeEnum, set in LldpNeighborsState
	ChassisIdType() LldpNeighborsStateChassisIdTypeEnum
	// SetChassisIdType assigns LldpNeighborsStateChassisIdTypeEnum provided by user to LldpNeighborsState
	SetChassisIdType(value LldpNeighborsStateChassisIdTypeEnum) LldpNeighborsState
	// HasChassisIdType checks if ChassisIdType has been set in LldpNeighborsState
	HasChassisIdType() bool
	// NeighborId returns string, set in LldpNeighborsState.
	NeighborId() string
	// SetNeighborId assigns string provided by user to LldpNeighborsState
	SetNeighborId(value string) LldpNeighborsState
	// HasNeighborId checks if NeighborId has been set in LldpNeighborsState
	HasNeighborId() bool
	// Age returns int64, set in LldpNeighborsState.
	Age() int64
	// SetAge assigns int64 provided by user to LldpNeighborsState
	SetAge(value int64) LldpNeighborsState
	// HasAge checks if Age has been set in LldpNeighborsState
	HasAge() bool
	// LastUpdate returns int64, set in LldpNeighborsState.
	LastUpdate() int64
	// SetLastUpdate assigns int64 provided by user to LldpNeighborsState
	SetLastUpdate(value int64) LldpNeighborsState
	// HasLastUpdate checks if LastUpdate has been set in LldpNeighborsState
	HasLastUpdate() bool
	// Ttl returns int32, set in LldpNeighborsState.
	Ttl() int32
	// SetTtl assigns int32 provided by user to LldpNeighborsState
	SetTtl(value int32) LldpNeighborsState
	// HasTtl checks if Ttl has been set in LldpNeighborsState
	HasTtl() bool
	// PortId returns string, set in LldpNeighborsState.
	PortId() string
	// SetPortId assigns string provided by user to LldpNeighborsState
	SetPortId(value string) LldpNeighborsState
	// HasPortId checks if PortId has been set in LldpNeighborsState
	HasPortId() bool
	// PortIdType returns LldpNeighborsStatePortIdTypeEnum, set in LldpNeighborsState
	PortIdType() LldpNeighborsStatePortIdTypeEnum
	// SetPortIdType assigns LldpNeighborsStatePortIdTypeEnum provided by user to LldpNeighborsState
	SetPortIdType(value LldpNeighborsStatePortIdTypeEnum) LldpNeighborsState
	// HasPortIdType checks if PortIdType has been set in LldpNeighborsState
	HasPortIdType() bool
	// PortDescription returns string, set in LldpNeighborsState.
	PortDescription() string
	// SetPortDescription assigns string provided by user to LldpNeighborsState
	SetPortDescription(value string) LldpNeighborsState
	// HasPortDescription checks if PortDescription has been set in LldpNeighborsState
	HasPortDescription() bool
	// ManagementAddress returns string, set in LldpNeighborsState.
	ManagementAddress() string
	// SetManagementAddress assigns string provided by user to LldpNeighborsState
	SetManagementAddress(value string) LldpNeighborsState
	// HasManagementAddress checks if ManagementAddress has been set in LldpNeighborsState
	HasManagementAddress() bool
	// ManagementAddressType returns string, set in LldpNeighborsState.
	ManagementAddressType() string
	// SetManagementAddressType assigns string provided by user to LldpNeighborsState
	SetManagementAddressType(value string) LldpNeighborsState
	// HasManagementAddressType checks if ManagementAddressType has been set in LldpNeighborsState
	HasManagementAddressType() bool
	// CustomTlvs returns LldpNeighborsStateLldpCustomTLVStateIterIter, set in LldpNeighborsState
	CustomTlvs() LldpNeighborsStateLldpCustomTLVStateIter
	// Capabilities returns LldpNeighborsStateLldpCapabilityStateIterIter, set in LldpNeighborsState
	Capabilities() LldpNeighborsStateLldpCapabilityStateIter
	// contains filtered or unexported methods
}

LldpNeighborsState is lLDP neighbor information.

func NewLldpNeighborsState added in v0.9.6

func NewLldpNeighborsState() LldpNeighborsState

type LldpNeighborsStateChassisIdTypeEnum added in v0.9.6

type LldpNeighborsStateChassisIdTypeEnum string

type LldpNeighborsStateLldpCapabilityStateIter added in v0.9.6

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

type LldpNeighborsStateLldpCustomTLVStateIter added in v0.9.6

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

type LldpNeighborsStatePortIdTypeEnum added in v0.9.6

type LldpNeighborsStatePortIdTypeEnum string

type LldpNeighborsStateRequest added in v0.9.6

type LldpNeighborsStateRequest interface {
	Validation
	// Msg marshals LldpNeighborsStateRequest to protobuf object *otg.LldpNeighborsStateRequest
	// and doesn't set defaults
	Msg() *otg.LldpNeighborsStateRequest
	// SetMsg unmarshals LldpNeighborsStateRequest from protobuf object *otg.LldpNeighborsStateRequest
	// and doesn't set defaults
	SetMsg(*otg.LldpNeighborsStateRequest) LldpNeighborsStateRequest
	// ToProto marshals LldpNeighborsStateRequest to protobuf object *otg.LldpNeighborsStateRequest
	ToProto() (*otg.LldpNeighborsStateRequest, error)
	// ToPbText marshals LldpNeighborsStateRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LldpNeighborsStateRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals LldpNeighborsStateRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LldpNeighborsStateRequest from protobuf object *otg.LldpNeighborsStateRequest
	FromProto(msg *otg.LldpNeighborsStateRequest) (LldpNeighborsStateRequest, error)
	// FromPbText unmarshals LldpNeighborsStateRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LldpNeighborsStateRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LldpNeighborsStateRequest from JSON text
	FromJson(value string) error
	// Validate validates LldpNeighborsStateRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LldpNeighborsStateRequest, error)

	// LldpNames returns []string, set in LldpNeighborsStateRequest.
	LldpNames() []string
	// SetLldpNames assigns []string provided by user to LldpNeighborsStateRequest
	SetLldpNames(value []string) LldpNeighborsStateRequest
	// NeighborIdFilters returns []string, set in LldpNeighborsStateRequest.
	NeighborIdFilters() []string
	// SetNeighborIdFilters assigns []string provided by user to LldpNeighborsStateRequest
	SetNeighborIdFilters(value []string) LldpNeighborsStateRequest
	// contains filtered or unexported methods
}

LldpNeighborsStateRequest is the request to retrieve LLDP neighbor information for a given instance.

func NewLldpNeighborsStateRequest added in v0.9.6

func NewLldpNeighborsStateRequest() LldpNeighborsStateRequest

type LldpPortId added in v0.9.6

type LldpPortId interface {
	Validation
	// Msg marshals LldpPortId to protobuf object *otg.LldpPortId
	// and doesn't set defaults
	Msg() *otg.LldpPortId
	// SetMsg unmarshals LldpPortId from protobuf object *otg.LldpPortId
	// and doesn't set defaults
	SetMsg(*otg.LldpPortId) LldpPortId
	// ToProto marshals LldpPortId to protobuf object *otg.LldpPortId
	ToProto() (*otg.LldpPortId, error)
	// ToPbText marshals LldpPortId to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LldpPortId to YAML text
	ToYaml() (string, error)
	// ToJson marshals LldpPortId to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LldpPortId from protobuf object *otg.LldpPortId
	FromProto(msg *otg.LldpPortId) (LldpPortId, error)
	// FromPbText unmarshals LldpPortId from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LldpPortId from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LldpPortId from JSON text
	FromJson(value string) error
	// Validate validates LldpPortId
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LldpPortId, error)

	// Choice returns LldpPortIdChoiceEnum, set in LldpPortId
	Choice() LldpPortIdChoiceEnum
	// SetChoice assigns LldpPortIdChoiceEnum provided by user to LldpPortId
	SetChoice(value LldpPortIdChoiceEnum) LldpPortId
	// HasChoice checks if Choice has been set in LldpPortId
	HasChoice() bool
	// MacAddressSubtype returns string, set in LldpPortId.
	MacAddressSubtype() string
	// SetMacAddressSubtype assigns string provided by user to LldpPortId
	SetMacAddressSubtype(value string) LldpPortId
	// HasMacAddressSubtype checks if MacAddressSubtype has been set in LldpPortId
	HasMacAddressSubtype() bool
	// InterfaceNameSubtype returns LldpPortInterfaceNameSubType, set in LldpPortId.
	// LldpPortInterfaceNameSubType is the interface name configured in the Port ID TLV.
	InterfaceNameSubtype() LldpPortInterfaceNameSubType
	// SetInterfaceNameSubtype assigns LldpPortInterfaceNameSubType provided by user to LldpPortId.
	// LldpPortInterfaceNameSubType is the interface name configured in the Port ID TLV.
	SetInterfaceNameSubtype(value LldpPortInterfaceNameSubType) LldpPortId
	// HasInterfaceNameSubtype checks if InterfaceNameSubtype has been set in LldpPortId
	HasInterfaceNameSubtype() bool
	// LocalSubtype returns string, set in LldpPortId.
	LocalSubtype() string
	// SetLocalSubtype assigns string provided by user to LldpPortId
	SetLocalSubtype(value string) LldpPortId
	// HasLocalSubtype checks if LocalSubtype has been set in LldpPortId
	HasLocalSubtype() bool
	// contains filtered or unexported methods
}

LldpPortId is the Port ID is a mandatory TLV which identifies the port component of the endpoint identifier associated with the transmitting LLDP agent.This field identifies the format and source of the port identifier string. It is based on the enumerator defined by the PtopoPortIdType object from RFC2922.

func NewLldpPortId added in v0.9.6

func NewLldpPortId() LldpPortId

type LldpPortIdChoiceEnum added in v0.9.6

type LldpPortIdChoiceEnum string

type LldpPortInterfaceNameSubType added in v0.9.6

type LldpPortInterfaceNameSubType interface {
	Validation
	// Msg marshals LldpPortInterfaceNameSubType to protobuf object *otg.LldpPortInterfaceNameSubType
	// and doesn't set defaults
	Msg() *otg.LldpPortInterfaceNameSubType
	// SetMsg unmarshals LldpPortInterfaceNameSubType from protobuf object *otg.LldpPortInterfaceNameSubType
	// and doesn't set defaults
	SetMsg(*otg.LldpPortInterfaceNameSubType) LldpPortInterfaceNameSubType
	// ToProto marshals LldpPortInterfaceNameSubType to protobuf object *otg.LldpPortInterfaceNameSubType
	ToProto() (*otg.LldpPortInterfaceNameSubType, error)
	// ToPbText marshals LldpPortInterfaceNameSubType to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LldpPortInterfaceNameSubType to YAML text
	ToYaml() (string, error)
	// ToJson marshals LldpPortInterfaceNameSubType to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LldpPortInterfaceNameSubType from protobuf object *otg.LldpPortInterfaceNameSubType
	FromProto(msg *otg.LldpPortInterfaceNameSubType) (LldpPortInterfaceNameSubType, error)
	// FromPbText unmarshals LldpPortInterfaceNameSubType from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LldpPortInterfaceNameSubType from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LldpPortInterfaceNameSubType from JSON text
	FromJson(value string) error
	// Validate validates LldpPortInterfaceNameSubType
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LldpPortInterfaceNameSubType, error)

	// Choice returns LldpPortInterfaceNameSubTypeChoiceEnum, set in LldpPortInterfaceNameSubType
	Choice() LldpPortInterfaceNameSubTypeChoiceEnum
	// SetChoice assigns LldpPortInterfaceNameSubTypeChoiceEnum provided by user to LldpPortInterfaceNameSubType
	SetChoice(value LldpPortInterfaceNameSubTypeChoiceEnum) LldpPortInterfaceNameSubType
	// HasChoice checks if Choice has been set in LldpPortInterfaceNameSubType
	HasChoice() bool
	// Auto returns string, set in LldpPortInterfaceNameSubType.
	Auto() string
	// HasAuto checks if Auto has been set in LldpPortInterfaceNameSubType
	HasAuto() bool
	// Value returns string, set in LldpPortInterfaceNameSubType.
	Value() string
	// SetValue assigns string provided by user to LldpPortInterfaceNameSubType
	SetValue(value string) LldpPortInterfaceNameSubType
	// HasValue checks if Value has been set in LldpPortInterfaceNameSubType
	HasValue() bool
	// contains filtered or unexported methods
}

LldpPortInterfaceNameSubType is the interface name configured in the Port ID TLV.

func NewLldpPortInterfaceNameSubType added in v0.9.6

func NewLldpPortInterfaceNameSubType() LldpPortInterfaceNameSubType

type LldpPortInterfaceNameSubTypeChoiceEnum added in v0.9.6

type LldpPortInterfaceNameSubTypeChoiceEnum string

type LldpSystemName added in v0.9.6

type LldpSystemName interface {
	Validation
	// Msg marshals LldpSystemName to protobuf object *otg.LldpSystemName
	// and doesn't set defaults
	Msg() *otg.LldpSystemName
	// SetMsg unmarshals LldpSystemName from protobuf object *otg.LldpSystemName
	// and doesn't set defaults
	SetMsg(*otg.LldpSystemName) LldpSystemName
	// ToProto marshals LldpSystemName to protobuf object *otg.LldpSystemName
	ToProto() (*otg.LldpSystemName, error)
	// ToPbText marshals LldpSystemName to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals LldpSystemName to YAML text
	ToYaml() (string, error)
	// ToJson marshals LldpSystemName to JSON text
	ToJson() (string, error)
	// FromProto unmarshals LldpSystemName from protobuf object *otg.LldpSystemName
	FromProto(msg *otg.LldpSystemName) (LldpSystemName, error)
	// FromPbText unmarshals LldpSystemName from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals LldpSystemName from YAML text
	FromYaml(value string) error
	// FromJson unmarshals LldpSystemName from JSON text
	FromJson(value string) error
	// Validate validates LldpSystemName
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (LldpSystemName, error)

	// Choice returns LldpSystemNameChoiceEnum, set in LldpSystemName
	Choice() LldpSystemNameChoiceEnum
	// SetChoice assigns LldpSystemNameChoiceEnum provided by user to LldpSystemName
	SetChoice(value LldpSystemNameChoiceEnum) LldpSystemName
	// HasChoice checks if Choice has been set in LldpSystemName
	HasChoice() bool
	// Auto returns string, set in LldpSystemName.
	Auto() string
	// HasAuto checks if Auto has been set in LldpSystemName
	HasAuto() bool
	// Value returns string, set in LldpSystemName.
	Value() string
	// SetValue assigns string provided by user to LldpSystemName
	SetValue(value string) LldpSystemName
	// HasValue checks if Value has been set in LldpSystemName
	HasValue() bool
	// contains filtered or unexported methods
}

LldpSystemName is the system Name configured in the System Name TLV.

func NewLldpSystemName added in v0.9.6

func NewLldpSystemName() LldpSystemName

type LldpSystemNameChoiceEnum added in v0.9.6

type LldpSystemNameChoiceEnum string

type MACRouteAddress added in v0.7.34

type MACRouteAddress interface {
	Validation
	// Msg marshals MACRouteAddress to protobuf object *otg.MACRouteAddress
	// and doesn't set defaults
	Msg() *otg.MACRouteAddress
	// SetMsg unmarshals MACRouteAddress from protobuf object *otg.MACRouteAddress
	// and doesn't set defaults
	SetMsg(*otg.MACRouteAddress) MACRouteAddress
	// ToProto marshals MACRouteAddress to protobuf object *otg.MACRouteAddress
	ToProto() (*otg.MACRouteAddress, error)
	// ToPbText marshals MACRouteAddress to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals MACRouteAddress to YAML text
	ToYaml() (string, error)
	// ToJson marshals MACRouteAddress to JSON text
	ToJson() (string, error)
	// FromProto unmarshals MACRouteAddress from protobuf object *otg.MACRouteAddress
	FromProto(msg *otg.MACRouteAddress) (MACRouteAddress, error)
	// FromPbText unmarshals MACRouteAddress from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals MACRouteAddress from YAML text
	FromYaml(value string) error
	// FromJson unmarshals MACRouteAddress from JSON text
	FromJson(value string) error
	// Validate validates MACRouteAddress
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (MACRouteAddress, error)

	// Address returns string, set in MACRouteAddress.
	Address() string
	// SetAddress assigns string provided by user to MACRouteAddress
	SetAddress(value string) MACRouteAddress
	// Prefix returns int32, set in MACRouteAddress.
	Prefix() int32
	// SetPrefix assigns int32 provided by user to MACRouteAddress
	SetPrefix(value int32) MACRouteAddress
	// HasPrefix checks if Prefix has been set in MACRouteAddress
	HasPrefix() bool
	// Count returns int32, set in MACRouteAddress.
	Count() int32
	// SetCount assigns int32 provided by user to MACRouteAddress
	SetCount(value int32) MACRouteAddress
	// HasCount checks if Count has been set in MACRouteAddress
	HasCount() bool
	// Step returns int32, set in MACRouteAddress.
	Step() int32
	// SetStep assigns int32 provided by user to MACRouteAddress
	SetStep(value int32) MACRouteAddress
	// HasStep checks if Step has been set in MACRouteAddress
	HasStep() bool
	// contains filtered or unexported methods
}

MACRouteAddress is a container for MAC route addresses.

func NewMACRouteAddress added in v0.7.34

func NewMACRouteAddress() MACRouteAddress

type MetricLatency

type MetricLatency interface {
	Validation
	// Msg marshals MetricLatency to protobuf object *otg.MetricLatency
	// and doesn't set defaults
	Msg() *otg.MetricLatency
	// SetMsg unmarshals MetricLatency from protobuf object *otg.MetricLatency
	// and doesn't set defaults
	SetMsg(*otg.MetricLatency) MetricLatency
	// ToProto marshals MetricLatency to protobuf object *otg.MetricLatency
	ToProto() (*otg.MetricLatency, error)
	// ToPbText marshals MetricLatency to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals MetricLatency to YAML text
	ToYaml() (string, error)
	// ToJson marshals MetricLatency to JSON text
	ToJson() (string, error)
	// FromProto unmarshals MetricLatency from protobuf object *otg.MetricLatency
	FromProto(msg *otg.MetricLatency) (MetricLatency, error)
	// FromPbText unmarshals MetricLatency from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals MetricLatency from YAML text
	FromYaml(value string) error
	// FromJson unmarshals MetricLatency from JSON text
	FromJson(value string) error
	// Validate validates MetricLatency
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (MetricLatency, error)

	// MinimumNs returns float64, set in MetricLatency.
	MinimumNs() float64
	// SetMinimumNs assigns float64 provided by user to MetricLatency
	SetMinimumNs(value float64) MetricLatency
	// HasMinimumNs checks if MinimumNs has been set in MetricLatency
	HasMinimumNs() bool
	// MaximumNs returns float64, set in MetricLatency.
	MaximumNs() float64
	// SetMaximumNs assigns float64 provided by user to MetricLatency
	SetMaximumNs(value float64) MetricLatency
	// HasMaximumNs checks if MaximumNs has been set in MetricLatency
	HasMaximumNs() bool
	// AverageNs returns float64, set in MetricLatency.
	AverageNs() float64
	// SetAverageNs assigns float64 provided by user to MetricLatency
	SetAverageNs(value float64) MetricLatency
	// HasAverageNs checks if AverageNs has been set in MetricLatency
	HasAverageNs() bool
	// contains filtered or unexported methods
}

MetricLatency is the container for latency metrics. The min/max/avg values are dependent on the type of latency measurement mode that is configured. The container will be empty if the latency has not been configured for the flow.

func NewMetricLatency added in v0.6.5

func NewMetricLatency() MetricLatency

type MetricTimestamp

type MetricTimestamp interface {
	Validation
	// Msg marshals MetricTimestamp to protobuf object *otg.MetricTimestamp
	// and doesn't set defaults
	Msg() *otg.MetricTimestamp
	// SetMsg unmarshals MetricTimestamp from protobuf object *otg.MetricTimestamp
	// and doesn't set defaults
	SetMsg(*otg.MetricTimestamp) MetricTimestamp
	// ToProto marshals MetricTimestamp to protobuf object *otg.MetricTimestamp
	ToProto() (*otg.MetricTimestamp, error)
	// ToPbText marshals MetricTimestamp to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals MetricTimestamp to YAML text
	ToYaml() (string, error)
	// ToJson marshals MetricTimestamp to JSON text
	ToJson() (string, error)
	// FromProto unmarshals MetricTimestamp from protobuf object *otg.MetricTimestamp
	FromProto(msg *otg.MetricTimestamp) (MetricTimestamp, error)
	// FromPbText unmarshals MetricTimestamp from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals MetricTimestamp from YAML text
	FromYaml(value string) error
	// FromJson unmarshals MetricTimestamp from JSON text
	FromJson(value string) error
	// Validate validates MetricTimestamp
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (MetricTimestamp, error)

	// FirstTimestampNs returns float64, set in MetricTimestamp.
	FirstTimestampNs() float64
	// SetFirstTimestampNs assigns float64 provided by user to MetricTimestamp
	SetFirstTimestampNs(value float64) MetricTimestamp
	// HasFirstTimestampNs checks if FirstTimestampNs has been set in MetricTimestamp
	HasFirstTimestampNs() bool
	// LastTimestampNs returns float64, set in MetricTimestamp.
	LastTimestampNs() float64
	// SetLastTimestampNs assigns float64 provided by user to MetricTimestamp
	SetLastTimestampNs(value float64) MetricTimestamp
	// HasLastTimestampNs checks if LastTimestampNs has been set in MetricTimestamp
	HasLastTimestampNs() bool
	// contains filtered or unexported methods
}

MetricTimestamp is the container for timestamp metrics. The container will be empty if the timestamp has not been configured for the flow.

func NewMetricTimestamp added in v0.6.5

func NewMetricTimestamp() MetricTimestamp

type MetricsRequest

type MetricsRequest interface {
	Validation
	// Msg marshals MetricsRequest to protobuf object *otg.MetricsRequest
	// and doesn't set defaults
	Msg() *otg.MetricsRequest
	// SetMsg unmarshals MetricsRequest from protobuf object *otg.MetricsRequest
	// and doesn't set defaults
	SetMsg(*otg.MetricsRequest) MetricsRequest
	// ToProto marshals MetricsRequest to protobuf object *otg.MetricsRequest
	ToProto() (*otg.MetricsRequest, error)
	// ToPbText marshals MetricsRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals MetricsRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals MetricsRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals MetricsRequest from protobuf object *otg.MetricsRequest
	FromProto(msg *otg.MetricsRequest) (MetricsRequest, error)
	// FromPbText unmarshals MetricsRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals MetricsRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals MetricsRequest from JSON text
	FromJson(value string) error
	// Validate validates MetricsRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (MetricsRequest, error)

	// Choice returns MetricsRequestChoiceEnum, set in MetricsRequest
	Choice() MetricsRequestChoiceEnum
	// SetChoice assigns MetricsRequestChoiceEnum provided by user to MetricsRequest
	SetChoice(value MetricsRequestChoiceEnum) MetricsRequest
	// HasChoice checks if Choice has been set in MetricsRequest
	HasChoice() bool
	// Port returns PortMetricsRequest, set in MetricsRequest.
	// PortMetricsRequest is the port result request to the traffic generator
	Port() PortMetricsRequest
	// SetPort assigns PortMetricsRequest provided by user to MetricsRequest.
	// PortMetricsRequest is the port result request to the traffic generator
	SetPort(value PortMetricsRequest) MetricsRequest
	// HasPort checks if Port has been set in MetricsRequest
	HasPort() bool
	// Flow returns FlowMetricsRequest, set in MetricsRequest.
	// FlowMetricsRequest is the container for a flow metric request.
	Flow() FlowMetricsRequest
	// SetFlow assigns FlowMetricsRequest provided by user to MetricsRequest.
	// FlowMetricsRequest is the container for a flow metric request.
	SetFlow(value FlowMetricsRequest) MetricsRequest
	// HasFlow checks if Flow has been set in MetricsRequest
	HasFlow() bool
	// Bgpv4 returns Bgpv4MetricsRequest, set in MetricsRequest.
	// Bgpv4MetricsRequest is the request to retrieve BGPv4 per peer metrics/statistics.
	Bgpv4() Bgpv4MetricsRequest
	// SetBgpv4 assigns Bgpv4MetricsRequest provided by user to MetricsRequest.
	// Bgpv4MetricsRequest is the request to retrieve BGPv4 per peer metrics/statistics.
	SetBgpv4(value Bgpv4MetricsRequest) MetricsRequest
	// HasBgpv4 checks if Bgpv4 has been set in MetricsRequest
	HasBgpv4() bool
	// Bgpv6 returns Bgpv6MetricsRequest, set in MetricsRequest.
	// Bgpv6MetricsRequest is the request to retrieve BGPv6 per peer metrics/statistics.
	Bgpv6() Bgpv6MetricsRequest
	// SetBgpv6 assigns Bgpv6MetricsRequest provided by user to MetricsRequest.
	// Bgpv6MetricsRequest is the request to retrieve BGPv6 per peer metrics/statistics.
	SetBgpv6(value Bgpv6MetricsRequest) MetricsRequest
	// HasBgpv6 checks if Bgpv6 has been set in MetricsRequest
	HasBgpv6() bool
	// Isis returns IsisMetricsRequest, set in MetricsRequest.
	// IsisMetricsRequest is the request to retrieve ISIS per Router metrics/statistics.
	Isis() IsisMetricsRequest
	// SetIsis assigns IsisMetricsRequest provided by user to MetricsRequest.
	// IsisMetricsRequest is the request to retrieve ISIS per Router metrics/statistics.
	SetIsis(value IsisMetricsRequest) MetricsRequest
	// HasIsis checks if Isis has been set in MetricsRequest
	HasIsis() bool
	// Lag returns LagMetricsRequest, set in MetricsRequest.
	// LagMetricsRequest is the request to retrieve per LAG metrics/statistics.
	Lag() LagMetricsRequest
	// SetLag assigns LagMetricsRequest provided by user to MetricsRequest.
	// LagMetricsRequest is the request to retrieve per LAG metrics/statistics.
	SetLag(value LagMetricsRequest) MetricsRequest
	// HasLag checks if Lag has been set in MetricsRequest
	HasLag() bool
	// Lacp returns LacpMetricsRequest, set in MetricsRequest.
	// LacpMetricsRequest is the request to retrieve LACP per LAG member metrics/statistics.
	Lacp() LacpMetricsRequest
	// SetLacp assigns LacpMetricsRequest provided by user to MetricsRequest.
	// LacpMetricsRequest is the request to retrieve LACP per LAG member metrics/statistics.
	SetLacp(value LacpMetricsRequest) MetricsRequest
	// HasLacp checks if Lacp has been set in MetricsRequest
	HasLacp() bool
	// Lldp returns LldpMetricsRequest, set in MetricsRequest.
	// LldpMetricsRequest is the request to retrieve LLDP per instance metrics/statistics.
	Lldp() LldpMetricsRequest
	// SetLldp assigns LldpMetricsRequest provided by user to MetricsRequest.
	// LldpMetricsRequest is the request to retrieve LLDP per instance metrics/statistics.
	SetLldp(value LldpMetricsRequest) MetricsRequest
	// HasLldp checks if Lldp has been set in MetricsRequest
	HasLldp() bool
	// Rsvp returns RsvpMetricsRequest, set in MetricsRequest.
	// RsvpMetricsRequest is the request to retrieve RSVP-TE per Router metrics/statistics.
	Rsvp() RsvpMetricsRequest
	// SetRsvp assigns RsvpMetricsRequest provided by user to MetricsRequest.
	// RsvpMetricsRequest is the request to retrieve RSVP-TE per Router metrics/statistics.
	SetRsvp(value RsvpMetricsRequest) MetricsRequest
	// HasRsvp checks if Rsvp has been set in MetricsRequest
	HasRsvp() bool
	// contains filtered or unexported methods
}

MetricsRequest is request to traffic generator for metrics of choice.

func NewMetricsRequest added in v0.6.5

func NewMetricsRequest() MetricsRequest

type MetricsRequestChoiceEnum

type MetricsRequestChoiceEnum string

type MetricsResponse

type MetricsResponse interface {
	Validation
	// Msg marshals MetricsResponse to protobuf object *otg.MetricsResponse
	// and doesn't set defaults
	Msg() *otg.MetricsResponse
	// SetMsg unmarshals MetricsResponse from protobuf object *otg.MetricsResponse
	// and doesn't set defaults
	SetMsg(*otg.MetricsResponse) MetricsResponse
	// ToProto marshals MetricsResponse to protobuf object *otg.MetricsResponse
	ToProto() (*otg.MetricsResponse, error)
	// ToPbText marshals MetricsResponse to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals MetricsResponse to YAML text
	ToYaml() (string, error)
	// ToJson marshals MetricsResponse to JSON text
	ToJson() (string, error)
	// FromProto unmarshals MetricsResponse from protobuf object *otg.MetricsResponse
	FromProto(msg *otg.MetricsResponse) (MetricsResponse, error)
	// FromPbText unmarshals MetricsResponse from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals MetricsResponse from YAML text
	FromYaml(value string) error
	// FromJson unmarshals MetricsResponse from JSON text
	FromJson(value string) error
	// Validate validates MetricsResponse
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (MetricsResponse, error)

	// Choice returns MetricsResponseChoiceEnum, set in MetricsResponse
	Choice() MetricsResponseChoiceEnum
	// SetChoice assigns MetricsResponseChoiceEnum provided by user to MetricsResponse
	SetChoice(value MetricsResponseChoiceEnum) MetricsResponse
	// HasChoice checks if Choice has been set in MetricsResponse
	HasChoice() bool
	// PortMetrics returns MetricsResponsePortMetricIterIter, set in MetricsResponse
	PortMetrics() MetricsResponsePortMetricIter
	// FlowMetrics returns MetricsResponseFlowMetricIterIter, set in MetricsResponse
	FlowMetrics() MetricsResponseFlowMetricIter
	// Bgpv4Metrics returns MetricsResponseBgpv4MetricIterIter, set in MetricsResponse
	Bgpv4Metrics() MetricsResponseBgpv4MetricIter
	// Bgpv6Metrics returns MetricsResponseBgpv6MetricIterIter, set in MetricsResponse
	Bgpv6Metrics() MetricsResponseBgpv6MetricIter
	// IsisMetrics returns MetricsResponseIsisMetricIterIter, set in MetricsResponse
	IsisMetrics() MetricsResponseIsisMetricIter
	// LagMetrics returns MetricsResponseLagMetricIterIter, set in MetricsResponse
	LagMetrics() MetricsResponseLagMetricIter
	// LacpMetrics returns MetricsResponseLacpMetricIterIter, set in MetricsResponse
	LacpMetrics() MetricsResponseLacpMetricIter
	// LldpMetrics returns MetricsResponseLldpMetricIterIter, set in MetricsResponse
	LldpMetrics() MetricsResponseLldpMetricIter
	// RsvpMetrics returns MetricsResponseRsvpMetricIterIter, set in MetricsResponse
	RsvpMetrics() MetricsResponseRsvpMetricIter
	// contains filtered or unexported methods
}

MetricsResponse is response containing chosen traffic generator metrics.

func NewMetricsResponse added in v0.6.5

func NewMetricsResponse() MetricsResponse

type MetricsResponseBgpv4MetricIter

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

type MetricsResponseBgpv6MetricIter

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

type MetricsResponseChoiceEnum

type MetricsResponseChoiceEnum string

type MetricsResponseFlowMetricIter

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

type MetricsResponseIsisMetricIter added in v0.6.8

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

type MetricsResponseLacpMetricIter added in v0.10.1

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

type MetricsResponseLagMetricIter added in v0.8.1

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

type MetricsResponseLldpMetricIter added in v0.9.6

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

type MetricsResponsePortMetricIter

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

type MetricsResponseRsvpMetricIter added in v0.10.1

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

type Neighborsv4State added in v0.6.13

type Neighborsv4State interface {
	Validation
	// Msg marshals Neighborsv4State to protobuf object *otg.Neighborsv4State
	// and doesn't set defaults
	Msg() *otg.Neighborsv4State
	// SetMsg unmarshals Neighborsv4State from protobuf object *otg.Neighborsv4State
	// and doesn't set defaults
	SetMsg(*otg.Neighborsv4State) Neighborsv4State
	// ToProto marshals Neighborsv4State to protobuf object *otg.Neighborsv4State
	ToProto() (*otg.Neighborsv4State, error)
	// ToPbText marshals Neighborsv4State to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Neighborsv4State to YAML text
	ToYaml() (string, error)
	// ToJson marshals Neighborsv4State to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Neighborsv4State from protobuf object *otg.Neighborsv4State
	FromProto(msg *otg.Neighborsv4State) (Neighborsv4State, error)
	// FromPbText unmarshals Neighborsv4State from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Neighborsv4State from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Neighborsv4State from JSON text
	FromJson(value string) error
	// Validate validates Neighborsv4State
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Neighborsv4State, error)

	// EthernetName returns string, set in Neighborsv4State.
	EthernetName() string
	// SetEthernetName assigns string provided by user to Neighborsv4State
	SetEthernetName(value string) Neighborsv4State
	// Ipv4Address returns string, set in Neighborsv4State.
	Ipv4Address() string
	// SetIpv4Address assigns string provided by user to Neighborsv4State
	SetIpv4Address(value string) Neighborsv4State
	// LinkLayerAddress returns string, set in Neighborsv4State.
	LinkLayerAddress() string
	// SetLinkLayerAddress assigns string provided by user to Neighborsv4State
	SetLinkLayerAddress(value string) Neighborsv4State
	// HasLinkLayerAddress checks if LinkLayerAddress has been set in Neighborsv4State
	HasLinkLayerAddress() bool
	// contains filtered or unexported methods
}

Neighborsv4State is iPv4 Neighbor state (ARP cache entry).

func NewNeighborsv4State added in v0.6.13

func NewNeighborsv4State() Neighborsv4State

type Neighborsv4StatesRequest added in v0.6.13

type Neighborsv4StatesRequest interface {
	Validation
	// Msg marshals Neighborsv4StatesRequest to protobuf object *otg.Neighborsv4StatesRequest
	// and doesn't set defaults
	Msg() *otg.Neighborsv4StatesRequest
	// SetMsg unmarshals Neighborsv4StatesRequest from protobuf object *otg.Neighborsv4StatesRequest
	// and doesn't set defaults
	SetMsg(*otg.Neighborsv4StatesRequest) Neighborsv4StatesRequest
	// ToProto marshals Neighborsv4StatesRequest to protobuf object *otg.Neighborsv4StatesRequest
	ToProto() (*otg.Neighborsv4StatesRequest, error)
	// ToPbText marshals Neighborsv4StatesRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Neighborsv4StatesRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals Neighborsv4StatesRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Neighborsv4StatesRequest from protobuf object *otg.Neighborsv4StatesRequest
	FromProto(msg *otg.Neighborsv4StatesRequest) (Neighborsv4StatesRequest, error)
	// FromPbText unmarshals Neighborsv4StatesRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Neighborsv4StatesRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Neighborsv4StatesRequest from JSON text
	FromJson(value string) error
	// Validate validates Neighborsv4StatesRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Neighborsv4StatesRequest, error)

	// EthernetNames returns []string, set in Neighborsv4StatesRequest.
	EthernetNames() []string
	// SetEthernetNames assigns []string provided by user to Neighborsv4StatesRequest
	SetEthernetNames(value []string) Neighborsv4StatesRequest
	// contains filtered or unexported methods
}

Neighborsv4StatesRequest is the request to retrieve IPv4 Neighbor state (ARP cache entries) of a network interface(s).

func NewNeighborsv4StatesRequest added in v0.6.13

func NewNeighborsv4StatesRequest() Neighborsv4StatesRequest

type Neighborsv6State added in v0.6.13

type Neighborsv6State interface {
	Validation
	// Msg marshals Neighborsv6State to protobuf object *otg.Neighborsv6State
	// and doesn't set defaults
	Msg() *otg.Neighborsv6State
	// SetMsg unmarshals Neighborsv6State from protobuf object *otg.Neighborsv6State
	// and doesn't set defaults
	SetMsg(*otg.Neighborsv6State) Neighborsv6State
	// ToProto marshals Neighborsv6State to protobuf object *otg.Neighborsv6State
	ToProto() (*otg.Neighborsv6State, error)
	// ToPbText marshals Neighborsv6State to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Neighborsv6State to YAML text
	ToYaml() (string, error)
	// ToJson marshals Neighborsv6State to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Neighborsv6State from protobuf object *otg.Neighborsv6State
	FromProto(msg *otg.Neighborsv6State) (Neighborsv6State, error)
	// FromPbText unmarshals Neighborsv6State from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Neighborsv6State from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Neighborsv6State from JSON text
	FromJson(value string) error
	// Validate validates Neighborsv6State
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Neighborsv6State, error)

	// EthernetName returns string, set in Neighborsv6State.
	EthernetName() string
	// SetEthernetName assigns string provided by user to Neighborsv6State
	SetEthernetName(value string) Neighborsv6State
	// Ipv6Address returns string, set in Neighborsv6State.
	Ipv6Address() string
	// SetIpv6Address assigns string provided by user to Neighborsv6State
	SetIpv6Address(value string) Neighborsv6State
	// LinkLayerAddress returns string, set in Neighborsv6State.
	LinkLayerAddress() string
	// SetLinkLayerAddress assigns string provided by user to Neighborsv6State
	SetLinkLayerAddress(value string) Neighborsv6State
	// HasLinkLayerAddress checks if LinkLayerAddress has been set in Neighborsv6State
	HasLinkLayerAddress() bool
	// contains filtered or unexported methods
}

Neighborsv6State is iPv6 Neighbor state (NDISC cache entry).

func NewNeighborsv6State added in v0.6.13

func NewNeighborsv6State() Neighborsv6State

type Neighborsv6StatesRequest added in v0.6.13

type Neighborsv6StatesRequest interface {
	Validation
	// Msg marshals Neighborsv6StatesRequest to protobuf object *otg.Neighborsv6StatesRequest
	// and doesn't set defaults
	Msg() *otg.Neighborsv6StatesRequest
	// SetMsg unmarshals Neighborsv6StatesRequest from protobuf object *otg.Neighborsv6StatesRequest
	// and doesn't set defaults
	SetMsg(*otg.Neighborsv6StatesRequest) Neighborsv6StatesRequest
	// ToProto marshals Neighborsv6StatesRequest to protobuf object *otg.Neighborsv6StatesRequest
	ToProto() (*otg.Neighborsv6StatesRequest, error)
	// ToPbText marshals Neighborsv6StatesRequest to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals Neighborsv6StatesRequest to YAML text
	ToYaml() (string, error)
	// ToJson marshals Neighborsv6StatesRequest to JSON text
	ToJson() (string, error)
	// FromProto unmarshals Neighborsv6StatesRequest from protobuf object *otg.Neighborsv6StatesRequest
	FromProto(msg *otg.Neighborsv6StatesRequest) (Neighborsv6StatesRequest, error)
	// FromPbText unmarshals Neighborsv6StatesRequest from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals Neighborsv6StatesRequest from YAML text
	FromYaml(value string) error
	// FromJson unmarshals Neighborsv6StatesRequest from JSON text
	FromJson(value string) error
	// Validate validates Neighborsv6StatesRequest
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (Neighborsv6StatesRequest, error)

	// EthernetNames returns []string, set in Neighborsv6StatesRequest.
	EthernetNames() []string
	// SetEthernetNames assigns []string provided by user to Neighborsv6StatesRequest
	SetEthernetNames(value []string) Neighborsv6StatesRequest
	// contains filtered or unexported methods
}

Neighborsv6StatesRequest is the request to retrieve IPv6 Neighbor state (NDISC cache entries) of a network interface(s).

func NewNeighborsv6StatesRequest added in v0.6.13

func NewNeighborsv6StatesRequest() Neighborsv6StatesRequest

type PatternFlowArpHardwareLength

type PatternFlowArpHardwareLength interface {
	Validation
	// Msg marshals PatternFlowArpHardwareLength to protobuf object *otg.PatternFlowArpHardwareLength
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpHardwareLength
	// SetMsg unmarshals PatternFlowArpHardwareLength from protobuf object *otg.PatternFlowArpHardwareLength
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpHardwareLength) PatternFlowArpHardwareLength
	// ToProto marshals PatternFlowArpHardwareLength to protobuf object *otg.PatternFlowArpHardwareLength
	ToProto() (*otg.PatternFlowArpHardwareLength, error)
	// ToPbText marshals PatternFlowArpHardwareLength to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpHardwareLength to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpHardwareLength to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpHardwareLength from protobuf object *otg.PatternFlowArpHardwareLength
	FromProto(msg *otg.PatternFlowArpHardwareLength) (PatternFlowArpHardwareLength, error)
	// FromPbText unmarshals PatternFlowArpHardwareLength from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpHardwareLength from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpHardwareLength from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpHardwareLength
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpHardwareLength, error)

	// Choice returns PatternFlowArpHardwareLengthChoiceEnum, set in PatternFlowArpHardwareLength
	Choice() PatternFlowArpHardwareLengthChoiceEnum
	// SetChoice assigns PatternFlowArpHardwareLengthChoiceEnum provided by user to PatternFlowArpHardwareLength
	SetChoice(value PatternFlowArpHardwareLengthChoiceEnum) PatternFlowArpHardwareLength
	// HasChoice checks if Choice has been set in PatternFlowArpHardwareLength
	HasChoice() bool
	// Value returns int32, set in PatternFlowArpHardwareLength.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowArpHardwareLength
	SetValue(value int32) PatternFlowArpHardwareLength
	// HasValue checks if Value has been set in PatternFlowArpHardwareLength
	HasValue() bool
	// Values returns []int32, set in PatternFlowArpHardwareLength.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowArpHardwareLength
	SetValues(value []int32) PatternFlowArpHardwareLength
	// Increment returns PatternFlowArpHardwareLengthCounter, set in PatternFlowArpHardwareLength.
	// PatternFlowArpHardwareLengthCounter is integer counter pattern
	Increment() PatternFlowArpHardwareLengthCounter
	// SetIncrement assigns PatternFlowArpHardwareLengthCounter provided by user to PatternFlowArpHardwareLength.
	// PatternFlowArpHardwareLengthCounter is integer counter pattern
	SetIncrement(value PatternFlowArpHardwareLengthCounter) PatternFlowArpHardwareLength
	// HasIncrement checks if Increment has been set in PatternFlowArpHardwareLength
	HasIncrement() bool
	// Decrement returns PatternFlowArpHardwareLengthCounter, set in PatternFlowArpHardwareLength.
	// PatternFlowArpHardwareLengthCounter is integer counter pattern
	Decrement() PatternFlowArpHardwareLengthCounter
	// SetDecrement assigns PatternFlowArpHardwareLengthCounter provided by user to PatternFlowArpHardwareLength.
	// PatternFlowArpHardwareLengthCounter is integer counter pattern
	SetDecrement(value PatternFlowArpHardwareLengthCounter) PatternFlowArpHardwareLength
	// HasDecrement checks if Decrement has been set in PatternFlowArpHardwareLength
	HasDecrement() bool
	// MetricTags returns PatternFlowArpHardwareLengthPatternFlowArpHardwareLengthMetricTagIterIter, set in PatternFlowArpHardwareLength
	MetricTags() PatternFlowArpHardwareLengthPatternFlowArpHardwareLengthMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowArpHardwareLength is length (in octets) of a hardware address

func NewPatternFlowArpHardwareLength added in v0.6.5

func NewPatternFlowArpHardwareLength() PatternFlowArpHardwareLength

type PatternFlowArpHardwareLengthChoiceEnum

type PatternFlowArpHardwareLengthChoiceEnum string

type PatternFlowArpHardwareLengthCounter

type PatternFlowArpHardwareLengthCounter interface {
	Validation
	// Msg marshals PatternFlowArpHardwareLengthCounter to protobuf object *otg.PatternFlowArpHardwareLengthCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpHardwareLengthCounter
	// SetMsg unmarshals PatternFlowArpHardwareLengthCounter from protobuf object *otg.PatternFlowArpHardwareLengthCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpHardwareLengthCounter) PatternFlowArpHardwareLengthCounter
	// ToProto marshals PatternFlowArpHardwareLengthCounter to protobuf object *otg.PatternFlowArpHardwareLengthCounter
	ToProto() (*otg.PatternFlowArpHardwareLengthCounter, error)
	// ToPbText marshals PatternFlowArpHardwareLengthCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpHardwareLengthCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpHardwareLengthCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpHardwareLengthCounter from protobuf object *otg.PatternFlowArpHardwareLengthCounter
	FromProto(msg *otg.PatternFlowArpHardwareLengthCounter) (PatternFlowArpHardwareLengthCounter, error)
	// FromPbText unmarshals PatternFlowArpHardwareLengthCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpHardwareLengthCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpHardwareLengthCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpHardwareLengthCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpHardwareLengthCounter, error)

	// Start returns int32, set in PatternFlowArpHardwareLengthCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowArpHardwareLengthCounter
	SetStart(value int32) PatternFlowArpHardwareLengthCounter
	// HasStart checks if Start has been set in PatternFlowArpHardwareLengthCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowArpHardwareLengthCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowArpHardwareLengthCounter
	SetStep(value int32) PatternFlowArpHardwareLengthCounter
	// HasStep checks if Step has been set in PatternFlowArpHardwareLengthCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowArpHardwareLengthCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowArpHardwareLengthCounter
	SetCount(value int32) PatternFlowArpHardwareLengthCounter
	// HasCount checks if Count has been set in PatternFlowArpHardwareLengthCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowArpHardwareLengthCounter is integer counter pattern

func NewPatternFlowArpHardwareLengthCounter added in v0.6.5

func NewPatternFlowArpHardwareLengthCounter() PatternFlowArpHardwareLengthCounter

type PatternFlowArpHardwareLengthMetricTag added in v0.11.13

type PatternFlowArpHardwareLengthMetricTag interface {
	Validation
	// Msg marshals PatternFlowArpHardwareLengthMetricTag to protobuf object *otg.PatternFlowArpHardwareLengthMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpHardwareLengthMetricTag
	// SetMsg unmarshals PatternFlowArpHardwareLengthMetricTag from protobuf object *otg.PatternFlowArpHardwareLengthMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpHardwareLengthMetricTag) PatternFlowArpHardwareLengthMetricTag
	// ToProto marshals PatternFlowArpHardwareLengthMetricTag to protobuf object *otg.PatternFlowArpHardwareLengthMetricTag
	ToProto() (*otg.PatternFlowArpHardwareLengthMetricTag, error)
	// ToPbText marshals PatternFlowArpHardwareLengthMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpHardwareLengthMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpHardwareLengthMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpHardwareLengthMetricTag from protobuf object *otg.PatternFlowArpHardwareLengthMetricTag
	FromProto(msg *otg.PatternFlowArpHardwareLengthMetricTag) (PatternFlowArpHardwareLengthMetricTag, error)
	// FromPbText unmarshals PatternFlowArpHardwareLengthMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpHardwareLengthMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpHardwareLengthMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpHardwareLengthMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpHardwareLengthMetricTag, error)

	// Name returns string, set in PatternFlowArpHardwareLengthMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowArpHardwareLengthMetricTag
	SetName(value string) PatternFlowArpHardwareLengthMetricTag
	// Offset returns int32, set in PatternFlowArpHardwareLengthMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowArpHardwareLengthMetricTag
	SetOffset(value int32) PatternFlowArpHardwareLengthMetricTag
	// HasOffset checks if Offset has been set in PatternFlowArpHardwareLengthMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowArpHardwareLengthMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowArpHardwareLengthMetricTag
	SetLength(value int32) PatternFlowArpHardwareLengthMetricTag
	// HasLength checks if Length has been set in PatternFlowArpHardwareLengthMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowArpHardwareLengthMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowArpHardwareLengthMetricTag added in v0.11.13

func NewPatternFlowArpHardwareLengthMetricTag() PatternFlowArpHardwareLengthMetricTag

type PatternFlowArpHardwareType

type PatternFlowArpHardwareType interface {
	Validation
	// Msg marshals PatternFlowArpHardwareType to protobuf object *otg.PatternFlowArpHardwareType
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpHardwareType
	// SetMsg unmarshals PatternFlowArpHardwareType from protobuf object *otg.PatternFlowArpHardwareType
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpHardwareType) PatternFlowArpHardwareType
	// ToProto marshals PatternFlowArpHardwareType to protobuf object *otg.PatternFlowArpHardwareType
	ToProto() (*otg.PatternFlowArpHardwareType, error)
	// ToPbText marshals PatternFlowArpHardwareType to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpHardwareType to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpHardwareType to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpHardwareType from protobuf object *otg.PatternFlowArpHardwareType
	FromProto(msg *otg.PatternFlowArpHardwareType) (PatternFlowArpHardwareType, error)
	// FromPbText unmarshals PatternFlowArpHardwareType from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpHardwareType from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpHardwareType from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpHardwareType
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpHardwareType, error)

	// Choice returns PatternFlowArpHardwareTypeChoiceEnum, set in PatternFlowArpHardwareType
	Choice() PatternFlowArpHardwareTypeChoiceEnum
	// SetChoice assigns PatternFlowArpHardwareTypeChoiceEnum provided by user to PatternFlowArpHardwareType
	SetChoice(value PatternFlowArpHardwareTypeChoiceEnum) PatternFlowArpHardwareType
	// HasChoice checks if Choice has been set in PatternFlowArpHardwareType
	HasChoice() bool
	// Value returns int32, set in PatternFlowArpHardwareType.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowArpHardwareType
	SetValue(value int32) PatternFlowArpHardwareType
	// HasValue checks if Value has been set in PatternFlowArpHardwareType
	HasValue() bool
	// Values returns []int32, set in PatternFlowArpHardwareType.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowArpHardwareType
	SetValues(value []int32) PatternFlowArpHardwareType
	// Increment returns PatternFlowArpHardwareTypeCounter, set in PatternFlowArpHardwareType.
	// PatternFlowArpHardwareTypeCounter is integer counter pattern
	Increment() PatternFlowArpHardwareTypeCounter
	// SetIncrement assigns PatternFlowArpHardwareTypeCounter provided by user to PatternFlowArpHardwareType.
	// PatternFlowArpHardwareTypeCounter is integer counter pattern
	SetIncrement(value PatternFlowArpHardwareTypeCounter) PatternFlowArpHardwareType
	// HasIncrement checks if Increment has been set in PatternFlowArpHardwareType
	HasIncrement() bool
	// Decrement returns PatternFlowArpHardwareTypeCounter, set in PatternFlowArpHardwareType.
	// PatternFlowArpHardwareTypeCounter is integer counter pattern
	Decrement() PatternFlowArpHardwareTypeCounter
	// SetDecrement assigns PatternFlowArpHardwareTypeCounter provided by user to PatternFlowArpHardwareType.
	// PatternFlowArpHardwareTypeCounter is integer counter pattern
	SetDecrement(value PatternFlowArpHardwareTypeCounter) PatternFlowArpHardwareType
	// HasDecrement checks if Decrement has been set in PatternFlowArpHardwareType
	HasDecrement() bool
	// MetricTags returns PatternFlowArpHardwareTypePatternFlowArpHardwareTypeMetricTagIterIter, set in PatternFlowArpHardwareType
	MetricTags() PatternFlowArpHardwareTypePatternFlowArpHardwareTypeMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowArpHardwareType is network link protocol type

func NewPatternFlowArpHardwareType added in v0.6.5

func NewPatternFlowArpHardwareType() PatternFlowArpHardwareType

type PatternFlowArpHardwareTypeChoiceEnum

type PatternFlowArpHardwareTypeChoiceEnum string

type PatternFlowArpHardwareTypeCounter

type PatternFlowArpHardwareTypeCounter interface {
	Validation
	// Msg marshals PatternFlowArpHardwareTypeCounter to protobuf object *otg.PatternFlowArpHardwareTypeCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpHardwareTypeCounter
	// SetMsg unmarshals PatternFlowArpHardwareTypeCounter from protobuf object *otg.PatternFlowArpHardwareTypeCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpHardwareTypeCounter) PatternFlowArpHardwareTypeCounter
	// ToProto marshals PatternFlowArpHardwareTypeCounter to protobuf object *otg.PatternFlowArpHardwareTypeCounter
	ToProto() (*otg.PatternFlowArpHardwareTypeCounter, error)
	// ToPbText marshals PatternFlowArpHardwareTypeCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpHardwareTypeCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpHardwareTypeCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpHardwareTypeCounter from protobuf object *otg.PatternFlowArpHardwareTypeCounter
	FromProto(msg *otg.PatternFlowArpHardwareTypeCounter) (PatternFlowArpHardwareTypeCounter, error)
	// FromPbText unmarshals PatternFlowArpHardwareTypeCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpHardwareTypeCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpHardwareTypeCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpHardwareTypeCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpHardwareTypeCounter, error)

	// Start returns int32, set in PatternFlowArpHardwareTypeCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowArpHardwareTypeCounter
	SetStart(value int32) PatternFlowArpHardwareTypeCounter
	// HasStart checks if Start has been set in PatternFlowArpHardwareTypeCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowArpHardwareTypeCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowArpHardwareTypeCounter
	SetStep(value int32) PatternFlowArpHardwareTypeCounter
	// HasStep checks if Step has been set in PatternFlowArpHardwareTypeCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowArpHardwareTypeCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowArpHardwareTypeCounter
	SetCount(value int32) PatternFlowArpHardwareTypeCounter
	// HasCount checks if Count has been set in PatternFlowArpHardwareTypeCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowArpHardwareTypeCounter is integer counter pattern

func NewPatternFlowArpHardwareTypeCounter added in v0.6.5

func NewPatternFlowArpHardwareTypeCounter() PatternFlowArpHardwareTypeCounter

type PatternFlowArpHardwareTypeMetricTag added in v0.11.13

type PatternFlowArpHardwareTypeMetricTag interface {
	Validation
	// Msg marshals PatternFlowArpHardwareTypeMetricTag to protobuf object *otg.PatternFlowArpHardwareTypeMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpHardwareTypeMetricTag
	// SetMsg unmarshals PatternFlowArpHardwareTypeMetricTag from protobuf object *otg.PatternFlowArpHardwareTypeMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpHardwareTypeMetricTag) PatternFlowArpHardwareTypeMetricTag
	// ToProto marshals PatternFlowArpHardwareTypeMetricTag to protobuf object *otg.PatternFlowArpHardwareTypeMetricTag
	ToProto() (*otg.PatternFlowArpHardwareTypeMetricTag, error)
	// ToPbText marshals PatternFlowArpHardwareTypeMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpHardwareTypeMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpHardwareTypeMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpHardwareTypeMetricTag from protobuf object *otg.PatternFlowArpHardwareTypeMetricTag
	FromProto(msg *otg.PatternFlowArpHardwareTypeMetricTag) (PatternFlowArpHardwareTypeMetricTag, error)
	// FromPbText unmarshals PatternFlowArpHardwareTypeMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpHardwareTypeMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpHardwareTypeMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpHardwareTypeMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpHardwareTypeMetricTag, error)

	// Name returns string, set in PatternFlowArpHardwareTypeMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowArpHardwareTypeMetricTag
	SetName(value string) PatternFlowArpHardwareTypeMetricTag
	// Offset returns int32, set in PatternFlowArpHardwareTypeMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowArpHardwareTypeMetricTag
	SetOffset(value int32) PatternFlowArpHardwareTypeMetricTag
	// HasOffset checks if Offset has been set in PatternFlowArpHardwareTypeMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowArpHardwareTypeMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowArpHardwareTypeMetricTag
	SetLength(value int32) PatternFlowArpHardwareTypeMetricTag
	// HasLength checks if Length has been set in PatternFlowArpHardwareTypeMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowArpHardwareTypeMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowArpHardwareTypeMetricTag added in v0.11.13

func NewPatternFlowArpHardwareTypeMetricTag() PatternFlowArpHardwareTypeMetricTag

type PatternFlowArpOperation

type PatternFlowArpOperation interface {
	Validation
	// Msg marshals PatternFlowArpOperation to protobuf object *otg.PatternFlowArpOperation
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpOperation
	// SetMsg unmarshals PatternFlowArpOperation from protobuf object *otg.PatternFlowArpOperation
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpOperation) PatternFlowArpOperation
	// ToProto marshals PatternFlowArpOperation to protobuf object *otg.PatternFlowArpOperation
	ToProto() (*otg.PatternFlowArpOperation, error)
	// ToPbText marshals PatternFlowArpOperation to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpOperation to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpOperation to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpOperation from protobuf object *otg.PatternFlowArpOperation
	FromProto(msg *otg.PatternFlowArpOperation) (PatternFlowArpOperation, error)
	// FromPbText unmarshals PatternFlowArpOperation from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpOperation from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpOperation from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpOperation
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpOperation, error)

	// Choice returns PatternFlowArpOperationChoiceEnum, set in PatternFlowArpOperation
	Choice() PatternFlowArpOperationChoiceEnum
	// SetChoice assigns PatternFlowArpOperationChoiceEnum provided by user to PatternFlowArpOperation
	SetChoice(value PatternFlowArpOperationChoiceEnum) PatternFlowArpOperation
	// HasChoice checks if Choice has been set in PatternFlowArpOperation
	HasChoice() bool
	// Value returns int32, set in PatternFlowArpOperation.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowArpOperation
	SetValue(value int32) PatternFlowArpOperation
	// HasValue checks if Value has been set in PatternFlowArpOperation
	HasValue() bool
	// Values returns []int32, set in PatternFlowArpOperation.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowArpOperation
	SetValues(value []int32) PatternFlowArpOperation
	// Increment returns PatternFlowArpOperationCounter, set in PatternFlowArpOperation.
	// PatternFlowArpOperationCounter is integer counter pattern
	Increment() PatternFlowArpOperationCounter
	// SetIncrement assigns PatternFlowArpOperationCounter provided by user to PatternFlowArpOperation.
	// PatternFlowArpOperationCounter is integer counter pattern
	SetIncrement(value PatternFlowArpOperationCounter) PatternFlowArpOperation
	// HasIncrement checks if Increment has been set in PatternFlowArpOperation
	HasIncrement() bool
	// Decrement returns PatternFlowArpOperationCounter, set in PatternFlowArpOperation.
	// PatternFlowArpOperationCounter is integer counter pattern
	Decrement() PatternFlowArpOperationCounter
	// SetDecrement assigns PatternFlowArpOperationCounter provided by user to PatternFlowArpOperation.
	// PatternFlowArpOperationCounter is integer counter pattern
	SetDecrement(value PatternFlowArpOperationCounter) PatternFlowArpOperation
	// HasDecrement checks if Decrement has been set in PatternFlowArpOperation
	HasDecrement() bool
	// MetricTags returns PatternFlowArpOperationPatternFlowArpOperationMetricTagIterIter, set in PatternFlowArpOperation
	MetricTags() PatternFlowArpOperationPatternFlowArpOperationMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowArpOperation is the operation that the sender is performing

func NewPatternFlowArpOperation added in v0.6.5

func NewPatternFlowArpOperation() PatternFlowArpOperation

type PatternFlowArpOperationChoiceEnum

type PatternFlowArpOperationChoiceEnum string

type PatternFlowArpOperationCounter

type PatternFlowArpOperationCounter interface {
	Validation
	// Msg marshals PatternFlowArpOperationCounter to protobuf object *otg.PatternFlowArpOperationCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpOperationCounter
	// SetMsg unmarshals PatternFlowArpOperationCounter from protobuf object *otg.PatternFlowArpOperationCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpOperationCounter) PatternFlowArpOperationCounter
	// ToProto marshals PatternFlowArpOperationCounter to protobuf object *otg.PatternFlowArpOperationCounter
	ToProto() (*otg.PatternFlowArpOperationCounter, error)
	// ToPbText marshals PatternFlowArpOperationCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpOperationCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpOperationCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpOperationCounter from protobuf object *otg.PatternFlowArpOperationCounter
	FromProto(msg *otg.PatternFlowArpOperationCounter) (PatternFlowArpOperationCounter, error)
	// FromPbText unmarshals PatternFlowArpOperationCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpOperationCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpOperationCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpOperationCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpOperationCounter, error)

	// Start returns int32, set in PatternFlowArpOperationCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowArpOperationCounter
	SetStart(value int32) PatternFlowArpOperationCounter
	// HasStart checks if Start has been set in PatternFlowArpOperationCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowArpOperationCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowArpOperationCounter
	SetStep(value int32) PatternFlowArpOperationCounter
	// HasStep checks if Step has been set in PatternFlowArpOperationCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowArpOperationCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowArpOperationCounter
	SetCount(value int32) PatternFlowArpOperationCounter
	// HasCount checks if Count has been set in PatternFlowArpOperationCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowArpOperationCounter is integer counter pattern

func NewPatternFlowArpOperationCounter added in v0.6.5

func NewPatternFlowArpOperationCounter() PatternFlowArpOperationCounter

type PatternFlowArpOperationMetricTag added in v0.11.13

type PatternFlowArpOperationMetricTag interface {
	Validation
	// Msg marshals PatternFlowArpOperationMetricTag to protobuf object *otg.PatternFlowArpOperationMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpOperationMetricTag
	// SetMsg unmarshals PatternFlowArpOperationMetricTag from protobuf object *otg.PatternFlowArpOperationMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpOperationMetricTag) PatternFlowArpOperationMetricTag
	// ToProto marshals PatternFlowArpOperationMetricTag to protobuf object *otg.PatternFlowArpOperationMetricTag
	ToProto() (*otg.PatternFlowArpOperationMetricTag, error)
	// ToPbText marshals PatternFlowArpOperationMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpOperationMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpOperationMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpOperationMetricTag from protobuf object *otg.PatternFlowArpOperationMetricTag
	FromProto(msg *otg.PatternFlowArpOperationMetricTag) (PatternFlowArpOperationMetricTag, error)
	// FromPbText unmarshals PatternFlowArpOperationMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpOperationMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpOperationMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpOperationMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpOperationMetricTag, error)

	// Name returns string, set in PatternFlowArpOperationMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowArpOperationMetricTag
	SetName(value string) PatternFlowArpOperationMetricTag
	// Offset returns int32, set in PatternFlowArpOperationMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowArpOperationMetricTag
	SetOffset(value int32) PatternFlowArpOperationMetricTag
	// HasOffset checks if Offset has been set in PatternFlowArpOperationMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowArpOperationMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowArpOperationMetricTag
	SetLength(value int32) PatternFlowArpOperationMetricTag
	// HasLength checks if Length has been set in PatternFlowArpOperationMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowArpOperationMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowArpOperationMetricTag added in v0.11.13

func NewPatternFlowArpOperationMetricTag() PatternFlowArpOperationMetricTag

type PatternFlowArpProtocolLength

type PatternFlowArpProtocolLength interface {
	Validation
	// Msg marshals PatternFlowArpProtocolLength to protobuf object *otg.PatternFlowArpProtocolLength
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpProtocolLength
	// SetMsg unmarshals PatternFlowArpProtocolLength from protobuf object *otg.PatternFlowArpProtocolLength
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpProtocolLength) PatternFlowArpProtocolLength
	// ToProto marshals PatternFlowArpProtocolLength to protobuf object *otg.PatternFlowArpProtocolLength
	ToProto() (*otg.PatternFlowArpProtocolLength, error)
	// ToPbText marshals PatternFlowArpProtocolLength to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpProtocolLength to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpProtocolLength to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpProtocolLength from protobuf object *otg.PatternFlowArpProtocolLength
	FromProto(msg *otg.PatternFlowArpProtocolLength) (PatternFlowArpProtocolLength, error)
	// FromPbText unmarshals PatternFlowArpProtocolLength from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpProtocolLength from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpProtocolLength from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpProtocolLength
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpProtocolLength, error)

	// Choice returns PatternFlowArpProtocolLengthChoiceEnum, set in PatternFlowArpProtocolLength
	Choice() PatternFlowArpProtocolLengthChoiceEnum
	// SetChoice assigns PatternFlowArpProtocolLengthChoiceEnum provided by user to PatternFlowArpProtocolLength
	SetChoice(value PatternFlowArpProtocolLengthChoiceEnum) PatternFlowArpProtocolLength
	// HasChoice checks if Choice has been set in PatternFlowArpProtocolLength
	HasChoice() bool
	// Value returns int32, set in PatternFlowArpProtocolLength.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowArpProtocolLength
	SetValue(value int32) PatternFlowArpProtocolLength
	// HasValue checks if Value has been set in PatternFlowArpProtocolLength
	HasValue() bool
	// Values returns []int32, set in PatternFlowArpProtocolLength.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowArpProtocolLength
	SetValues(value []int32) PatternFlowArpProtocolLength
	// Increment returns PatternFlowArpProtocolLengthCounter, set in PatternFlowArpProtocolLength.
	// PatternFlowArpProtocolLengthCounter is integer counter pattern
	Increment() PatternFlowArpProtocolLengthCounter
	// SetIncrement assigns PatternFlowArpProtocolLengthCounter provided by user to PatternFlowArpProtocolLength.
	// PatternFlowArpProtocolLengthCounter is integer counter pattern
	SetIncrement(value PatternFlowArpProtocolLengthCounter) PatternFlowArpProtocolLength
	// HasIncrement checks if Increment has been set in PatternFlowArpProtocolLength
	HasIncrement() bool
	// Decrement returns PatternFlowArpProtocolLengthCounter, set in PatternFlowArpProtocolLength.
	// PatternFlowArpProtocolLengthCounter is integer counter pattern
	Decrement() PatternFlowArpProtocolLengthCounter
	// SetDecrement assigns PatternFlowArpProtocolLengthCounter provided by user to PatternFlowArpProtocolLength.
	// PatternFlowArpProtocolLengthCounter is integer counter pattern
	SetDecrement(value PatternFlowArpProtocolLengthCounter) PatternFlowArpProtocolLength
	// HasDecrement checks if Decrement has been set in PatternFlowArpProtocolLength
	HasDecrement() bool
	// MetricTags returns PatternFlowArpProtocolLengthPatternFlowArpProtocolLengthMetricTagIterIter, set in PatternFlowArpProtocolLength
	MetricTags() PatternFlowArpProtocolLengthPatternFlowArpProtocolLengthMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowArpProtocolLength is length (in octets) of internetwork addresses

func NewPatternFlowArpProtocolLength added in v0.6.5

func NewPatternFlowArpProtocolLength() PatternFlowArpProtocolLength

type PatternFlowArpProtocolLengthChoiceEnum

type PatternFlowArpProtocolLengthChoiceEnum string

type PatternFlowArpProtocolLengthCounter

type PatternFlowArpProtocolLengthCounter interface {
	Validation
	// Msg marshals PatternFlowArpProtocolLengthCounter to protobuf object *otg.PatternFlowArpProtocolLengthCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpProtocolLengthCounter
	// SetMsg unmarshals PatternFlowArpProtocolLengthCounter from protobuf object *otg.PatternFlowArpProtocolLengthCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpProtocolLengthCounter) PatternFlowArpProtocolLengthCounter
	// ToProto marshals PatternFlowArpProtocolLengthCounter to protobuf object *otg.PatternFlowArpProtocolLengthCounter
	ToProto() (*otg.PatternFlowArpProtocolLengthCounter, error)
	// ToPbText marshals PatternFlowArpProtocolLengthCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpProtocolLengthCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpProtocolLengthCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpProtocolLengthCounter from protobuf object *otg.PatternFlowArpProtocolLengthCounter
	FromProto(msg *otg.PatternFlowArpProtocolLengthCounter) (PatternFlowArpProtocolLengthCounter, error)
	// FromPbText unmarshals PatternFlowArpProtocolLengthCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpProtocolLengthCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpProtocolLengthCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpProtocolLengthCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpProtocolLengthCounter, error)

	// Start returns int32, set in PatternFlowArpProtocolLengthCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowArpProtocolLengthCounter
	SetStart(value int32) PatternFlowArpProtocolLengthCounter
	// HasStart checks if Start has been set in PatternFlowArpProtocolLengthCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowArpProtocolLengthCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowArpProtocolLengthCounter
	SetStep(value int32) PatternFlowArpProtocolLengthCounter
	// HasStep checks if Step has been set in PatternFlowArpProtocolLengthCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowArpProtocolLengthCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowArpProtocolLengthCounter
	SetCount(value int32) PatternFlowArpProtocolLengthCounter
	// HasCount checks if Count has been set in PatternFlowArpProtocolLengthCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowArpProtocolLengthCounter is integer counter pattern

func NewPatternFlowArpProtocolLengthCounter added in v0.6.5

func NewPatternFlowArpProtocolLengthCounter() PatternFlowArpProtocolLengthCounter

type PatternFlowArpProtocolLengthMetricTag added in v0.11.13

type PatternFlowArpProtocolLengthMetricTag interface {
	Validation
	// Msg marshals PatternFlowArpProtocolLengthMetricTag to protobuf object *otg.PatternFlowArpProtocolLengthMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpProtocolLengthMetricTag
	// SetMsg unmarshals PatternFlowArpProtocolLengthMetricTag from protobuf object *otg.PatternFlowArpProtocolLengthMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpProtocolLengthMetricTag) PatternFlowArpProtocolLengthMetricTag
	// ToProto marshals PatternFlowArpProtocolLengthMetricTag to protobuf object *otg.PatternFlowArpProtocolLengthMetricTag
	ToProto() (*otg.PatternFlowArpProtocolLengthMetricTag, error)
	// ToPbText marshals PatternFlowArpProtocolLengthMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpProtocolLengthMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpProtocolLengthMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpProtocolLengthMetricTag from protobuf object *otg.PatternFlowArpProtocolLengthMetricTag
	FromProto(msg *otg.PatternFlowArpProtocolLengthMetricTag) (PatternFlowArpProtocolLengthMetricTag, error)
	// FromPbText unmarshals PatternFlowArpProtocolLengthMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpProtocolLengthMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpProtocolLengthMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpProtocolLengthMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpProtocolLengthMetricTag, error)

	// Name returns string, set in PatternFlowArpProtocolLengthMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowArpProtocolLengthMetricTag
	SetName(value string) PatternFlowArpProtocolLengthMetricTag
	// Offset returns int32, set in PatternFlowArpProtocolLengthMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowArpProtocolLengthMetricTag
	SetOffset(value int32) PatternFlowArpProtocolLengthMetricTag
	// HasOffset checks if Offset has been set in PatternFlowArpProtocolLengthMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowArpProtocolLengthMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowArpProtocolLengthMetricTag
	SetLength(value int32) PatternFlowArpProtocolLengthMetricTag
	// HasLength checks if Length has been set in PatternFlowArpProtocolLengthMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowArpProtocolLengthMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowArpProtocolLengthMetricTag added in v0.11.13

func NewPatternFlowArpProtocolLengthMetricTag() PatternFlowArpProtocolLengthMetricTag

type PatternFlowArpProtocolType

type PatternFlowArpProtocolType interface {
	Validation
	// Msg marshals PatternFlowArpProtocolType to protobuf object *otg.PatternFlowArpProtocolType
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpProtocolType
	// SetMsg unmarshals PatternFlowArpProtocolType from protobuf object *otg.PatternFlowArpProtocolType
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpProtocolType) PatternFlowArpProtocolType
	// ToProto marshals PatternFlowArpProtocolType to protobuf object *otg.PatternFlowArpProtocolType
	ToProto() (*otg.PatternFlowArpProtocolType, error)
	// ToPbText marshals PatternFlowArpProtocolType to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpProtocolType to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpProtocolType to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpProtocolType from protobuf object *otg.PatternFlowArpProtocolType
	FromProto(msg *otg.PatternFlowArpProtocolType) (PatternFlowArpProtocolType, error)
	// FromPbText unmarshals PatternFlowArpProtocolType from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpProtocolType from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpProtocolType from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpProtocolType
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpProtocolType, error)

	// Choice returns PatternFlowArpProtocolTypeChoiceEnum, set in PatternFlowArpProtocolType
	Choice() PatternFlowArpProtocolTypeChoiceEnum
	// SetChoice assigns PatternFlowArpProtocolTypeChoiceEnum provided by user to PatternFlowArpProtocolType
	SetChoice(value PatternFlowArpProtocolTypeChoiceEnum) PatternFlowArpProtocolType
	// HasChoice checks if Choice has been set in PatternFlowArpProtocolType
	HasChoice() bool
	// Value returns int32, set in PatternFlowArpProtocolType.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowArpProtocolType
	SetValue(value int32) PatternFlowArpProtocolType
	// HasValue checks if Value has been set in PatternFlowArpProtocolType
	HasValue() bool
	// Values returns []int32, set in PatternFlowArpProtocolType.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowArpProtocolType
	SetValues(value []int32) PatternFlowArpProtocolType
	// Increment returns PatternFlowArpProtocolTypeCounter, set in PatternFlowArpProtocolType.
	// PatternFlowArpProtocolTypeCounter is integer counter pattern
	Increment() PatternFlowArpProtocolTypeCounter
	// SetIncrement assigns PatternFlowArpProtocolTypeCounter provided by user to PatternFlowArpProtocolType.
	// PatternFlowArpProtocolTypeCounter is integer counter pattern
	SetIncrement(value PatternFlowArpProtocolTypeCounter) PatternFlowArpProtocolType
	// HasIncrement checks if Increment has been set in PatternFlowArpProtocolType
	HasIncrement() bool
	// Decrement returns PatternFlowArpProtocolTypeCounter, set in PatternFlowArpProtocolType.
	// PatternFlowArpProtocolTypeCounter is integer counter pattern
	Decrement() PatternFlowArpProtocolTypeCounter
	// SetDecrement assigns PatternFlowArpProtocolTypeCounter provided by user to PatternFlowArpProtocolType.
	// PatternFlowArpProtocolTypeCounter is integer counter pattern
	SetDecrement(value PatternFlowArpProtocolTypeCounter) PatternFlowArpProtocolType
	// HasDecrement checks if Decrement has been set in PatternFlowArpProtocolType
	HasDecrement() bool
	// MetricTags returns PatternFlowArpProtocolTypePatternFlowArpProtocolTypeMetricTagIterIter, set in PatternFlowArpProtocolType
	MetricTags() PatternFlowArpProtocolTypePatternFlowArpProtocolTypeMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowArpProtocolType is the internetwork protocol for which the ARP request is intended

func NewPatternFlowArpProtocolType added in v0.6.5

func NewPatternFlowArpProtocolType() PatternFlowArpProtocolType

type PatternFlowArpProtocolTypeChoiceEnum

type PatternFlowArpProtocolTypeChoiceEnum string

type PatternFlowArpProtocolTypeCounter

type PatternFlowArpProtocolTypeCounter interface {
	Validation
	// Msg marshals PatternFlowArpProtocolTypeCounter to protobuf object *otg.PatternFlowArpProtocolTypeCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpProtocolTypeCounter
	// SetMsg unmarshals PatternFlowArpProtocolTypeCounter from protobuf object *otg.PatternFlowArpProtocolTypeCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpProtocolTypeCounter) PatternFlowArpProtocolTypeCounter
	// ToProto marshals PatternFlowArpProtocolTypeCounter to protobuf object *otg.PatternFlowArpProtocolTypeCounter
	ToProto() (*otg.PatternFlowArpProtocolTypeCounter, error)
	// ToPbText marshals PatternFlowArpProtocolTypeCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpProtocolTypeCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpProtocolTypeCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpProtocolTypeCounter from protobuf object *otg.PatternFlowArpProtocolTypeCounter
	FromProto(msg *otg.PatternFlowArpProtocolTypeCounter) (PatternFlowArpProtocolTypeCounter, error)
	// FromPbText unmarshals PatternFlowArpProtocolTypeCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpProtocolTypeCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpProtocolTypeCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpProtocolTypeCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpProtocolTypeCounter, error)

	// Start returns int32, set in PatternFlowArpProtocolTypeCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowArpProtocolTypeCounter
	SetStart(value int32) PatternFlowArpProtocolTypeCounter
	// HasStart checks if Start has been set in PatternFlowArpProtocolTypeCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowArpProtocolTypeCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowArpProtocolTypeCounter
	SetStep(value int32) PatternFlowArpProtocolTypeCounter
	// HasStep checks if Step has been set in PatternFlowArpProtocolTypeCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowArpProtocolTypeCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowArpProtocolTypeCounter
	SetCount(value int32) PatternFlowArpProtocolTypeCounter
	// HasCount checks if Count has been set in PatternFlowArpProtocolTypeCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowArpProtocolTypeCounter is integer counter pattern

func NewPatternFlowArpProtocolTypeCounter added in v0.6.5

func NewPatternFlowArpProtocolTypeCounter() PatternFlowArpProtocolTypeCounter

type PatternFlowArpProtocolTypeMetricTag added in v0.11.13

type PatternFlowArpProtocolTypeMetricTag interface {
	Validation
	// Msg marshals PatternFlowArpProtocolTypeMetricTag to protobuf object *otg.PatternFlowArpProtocolTypeMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpProtocolTypeMetricTag
	// SetMsg unmarshals PatternFlowArpProtocolTypeMetricTag from protobuf object *otg.PatternFlowArpProtocolTypeMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpProtocolTypeMetricTag) PatternFlowArpProtocolTypeMetricTag
	// ToProto marshals PatternFlowArpProtocolTypeMetricTag to protobuf object *otg.PatternFlowArpProtocolTypeMetricTag
	ToProto() (*otg.PatternFlowArpProtocolTypeMetricTag, error)
	// ToPbText marshals PatternFlowArpProtocolTypeMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpProtocolTypeMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpProtocolTypeMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpProtocolTypeMetricTag from protobuf object *otg.PatternFlowArpProtocolTypeMetricTag
	FromProto(msg *otg.PatternFlowArpProtocolTypeMetricTag) (PatternFlowArpProtocolTypeMetricTag, error)
	// FromPbText unmarshals PatternFlowArpProtocolTypeMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpProtocolTypeMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpProtocolTypeMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpProtocolTypeMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpProtocolTypeMetricTag, error)

	// Name returns string, set in PatternFlowArpProtocolTypeMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowArpProtocolTypeMetricTag
	SetName(value string) PatternFlowArpProtocolTypeMetricTag
	// Offset returns int32, set in PatternFlowArpProtocolTypeMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowArpProtocolTypeMetricTag
	SetOffset(value int32) PatternFlowArpProtocolTypeMetricTag
	// HasOffset checks if Offset has been set in PatternFlowArpProtocolTypeMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowArpProtocolTypeMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowArpProtocolTypeMetricTag
	SetLength(value int32) PatternFlowArpProtocolTypeMetricTag
	// HasLength checks if Length has been set in PatternFlowArpProtocolTypeMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowArpProtocolTypeMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowArpProtocolTypeMetricTag added in v0.11.13

func NewPatternFlowArpProtocolTypeMetricTag() PatternFlowArpProtocolTypeMetricTag

type PatternFlowArpSenderHardwareAddr

type PatternFlowArpSenderHardwareAddr interface {
	Validation
	// Msg marshals PatternFlowArpSenderHardwareAddr to protobuf object *otg.PatternFlowArpSenderHardwareAddr
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpSenderHardwareAddr
	// SetMsg unmarshals PatternFlowArpSenderHardwareAddr from protobuf object *otg.PatternFlowArpSenderHardwareAddr
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpSenderHardwareAddr) PatternFlowArpSenderHardwareAddr
	// ToProto marshals PatternFlowArpSenderHardwareAddr to protobuf object *otg.PatternFlowArpSenderHardwareAddr
	ToProto() (*otg.PatternFlowArpSenderHardwareAddr, error)
	// ToPbText marshals PatternFlowArpSenderHardwareAddr to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpSenderHardwareAddr to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpSenderHardwareAddr to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpSenderHardwareAddr from protobuf object *otg.PatternFlowArpSenderHardwareAddr
	FromProto(msg *otg.PatternFlowArpSenderHardwareAddr) (PatternFlowArpSenderHardwareAddr, error)
	// FromPbText unmarshals PatternFlowArpSenderHardwareAddr from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpSenderHardwareAddr from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpSenderHardwareAddr from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpSenderHardwareAddr
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpSenderHardwareAddr, error)

	// Choice returns PatternFlowArpSenderHardwareAddrChoiceEnum, set in PatternFlowArpSenderHardwareAddr
	Choice() PatternFlowArpSenderHardwareAddrChoiceEnum
	// SetChoice assigns PatternFlowArpSenderHardwareAddrChoiceEnum provided by user to PatternFlowArpSenderHardwareAddr
	SetChoice(value PatternFlowArpSenderHardwareAddrChoiceEnum) PatternFlowArpSenderHardwareAddr
	// HasChoice checks if Choice has been set in PatternFlowArpSenderHardwareAddr
	HasChoice() bool
	// Value returns string, set in PatternFlowArpSenderHardwareAddr.
	Value() string
	// SetValue assigns string provided by user to PatternFlowArpSenderHardwareAddr
	SetValue(value string) PatternFlowArpSenderHardwareAddr
	// HasValue checks if Value has been set in PatternFlowArpSenderHardwareAddr
	HasValue() bool
	// Values returns []string, set in PatternFlowArpSenderHardwareAddr.
	Values() []string
	// SetValues assigns []string provided by user to PatternFlowArpSenderHardwareAddr
	SetValues(value []string) PatternFlowArpSenderHardwareAddr
	// Increment returns PatternFlowArpSenderHardwareAddrCounter, set in PatternFlowArpSenderHardwareAddr.
	// PatternFlowArpSenderHardwareAddrCounter is mac counter pattern
	Increment() PatternFlowArpSenderHardwareAddrCounter
	// SetIncrement assigns PatternFlowArpSenderHardwareAddrCounter provided by user to PatternFlowArpSenderHardwareAddr.
	// PatternFlowArpSenderHardwareAddrCounter is mac counter pattern
	SetIncrement(value PatternFlowArpSenderHardwareAddrCounter) PatternFlowArpSenderHardwareAddr
	// HasIncrement checks if Increment has been set in PatternFlowArpSenderHardwareAddr
	HasIncrement() bool
	// Decrement returns PatternFlowArpSenderHardwareAddrCounter, set in PatternFlowArpSenderHardwareAddr.
	// PatternFlowArpSenderHardwareAddrCounter is mac counter pattern
	Decrement() PatternFlowArpSenderHardwareAddrCounter
	// SetDecrement assigns PatternFlowArpSenderHardwareAddrCounter provided by user to PatternFlowArpSenderHardwareAddr.
	// PatternFlowArpSenderHardwareAddrCounter is mac counter pattern
	SetDecrement(value PatternFlowArpSenderHardwareAddrCounter) PatternFlowArpSenderHardwareAddr
	// HasDecrement checks if Decrement has been set in PatternFlowArpSenderHardwareAddr
	HasDecrement() bool
	// MetricTags returns PatternFlowArpSenderHardwareAddrPatternFlowArpSenderHardwareAddrMetricTagIterIter, set in PatternFlowArpSenderHardwareAddr
	MetricTags() PatternFlowArpSenderHardwareAddrPatternFlowArpSenderHardwareAddrMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowArpSenderHardwareAddr is media address of the sender

func NewPatternFlowArpSenderHardwareAddr added in v0.6.5

func NewPatternFlowArpSenderHardwareAddr() PatternFlowArpSenderHardwareAddr

type PatternFlowArpSenderHardwareAddrChoiceEnum

type PatternFlowArpSenderHardwareAddrChoiceEnum string

type PatternFlowArpSenderHardwareAddrCounter

type PatternFlowArpSenderHardwareAddrCounter interface {
	Validation
	// Msg marshals PatternFlowArpSenderHardwareAddrCounter to protobuf object *otg.PatternFlowArpSenderHardwareAddrCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpSenderHardwareAddrCounter
	// SetMsg unmarshals PatternFlowArpSenderHardwareAddrCounter from protobuf object *otg.PatternFlowArpSenderHardwareAddrCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpSenderHardwareAddrCounter) PatternFlowArpSenderHardwareAddrCounter
	// ToProto marshals PatternFlowArpSenderHardwareAddrCounter to protobuf object *otg.PatternFlowArpSenderHardwareAddrCounter
	ToProto() (*otg.PatternFlowArpSenderHardwareAddrCounter, error)
	// ToPbText marshals PatternFlowArpSenderHardwareAddrCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpSenderHardwareAddrCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpSenderHardwareAddrCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpSenderHardwareAddrCounter from protobuf object *otg.PatternFlowArpSenderHardwareAddrCounter
	FromProto(msg *otg.PatternFlowArpSenderHardwareAddrCounter) (PatternFlowArpSenderHardwareAddrCounter, error)
	// FromPbText unmarshals PatternFlowArpSenderHardwareAddrCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpSenderHardwareAddrCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpSenderHardwareAddrCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpSenderHardwareAddrCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpSenderHardwareAddrCounter, error)

	// Start returns string, set in PatternFlowArpSenderHardwareAddrCounter.
	Start() string
	// SetStart assigns string provided by user to PatternFlowArpSenderHardwareAddrCounter
	SetStart(value string) PatternFlowArpSenderHardwareAddrCounter
	// HasStart checks if Start has been set in PatternFlowArpSenderHardwareAddrCounter
	HasStart() bool
	// Step returns string, set in PatternFlowArpSenderHardwareAddrCounter.
	Step() string
	// SetStep assigns string provided by user to PatternFlowArpSenderHardwareAddrCounter
	SetStep(value string) PatternFlowArpSenderHardwareAddrCounter
	// HasStep checks if Step has been set in PatternFlowArpSenderHardwareAddrCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowArpSenderHardwareAddrCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowArpSenderHardwareAddrCounter
	SetCount(value int32) PatternFlowArpSenderHardwareAddrCounter
	// HasCount checks if Count has been set in PatternFlowArpSenderHardwareAddrCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowArpSenderHardwareAddrCounter is mac counter pattern

func NewPatternFlowArpSenderHardwareAddrCounter added in v0.6.5

func NewPatternFlowArpSenderHardwareAddrCounter() PatternFlowArpSenderHardwareAddrCounter

type PatternFlowArpSenderHardwareAddrMetricTag added in v0.11.13

type PatternFlowArpSenderHardwareAddrMetricTag interface {
	Validation
	// Msg marshals PatternFlowArpSenderHardwareAddrMetricTag to protobuf object *otg.PatternFlowArpSenderHardwareAddrMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpSenderHardwareAddrMetricTag
	// SetMsg unmarshals PatternFlowArpSenderHardwareAddrMetricTag from protobuf object *otg.PatternFlowArpSenderHardwareAddrMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpSenderHardwareAddrMetricTag) PatternFlowArpSenderHardwareAddrMetricTag
	// ToProto marshals PatternFlowArpSenderHardwareAddrMetricTag to protobuf object *otg.PatternFlowArpSenderHardwareAddrMetricTag
	ToProto() (*otg.PatternFlowArpSenderHardwareAddrMetricTag, error)
	// ToPbText marshals PatternFlowArpSenderHardwareAddrMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpSenderHardwareAddrMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpSenderHardwareAddrMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpSenderHardwareAddrMetricTag from protobuf object *otg.PatternFlowArpSenderHardwareAddrMetricTag
	FromProto(msg *otg.PatternFlowArpSenderHardwareAddrMetricTag) (PatternFlowArpSenderHardwareAddrMetricTag, error)
	// FromPbText unmarshals PatternFlowArpSenderHardwareAddrMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpSenderHardwareAddrMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpSenderHardwareAddrMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpSenderHardwareAddrMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpSenderHardwareAddrMetricTag, error)

	// Name returns string, set in PatternFlowArpSenderHardwareAddrMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowArpSenderHardwareAddrMetricTag
	SetName(value string) PatternFlowArpSenderHardwareAddrMetricTag
	// Offset returns int32, set in PatternFlowArpSenderHardwareAddrMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowArpSenderHardwareAddrMetricTag
	SetOffset(value int32) PatternFlowArpSenderHardwareAddrMetricTag
	// HasOffset checks if Offset has been set in PatternFlowArpSenderHardwareAddrMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowArpSenderHardwareAddrMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowArpSenderHardwareAddrMetricTag
	SetLength(value int32) PatternFlowArpSenderHardwareAddrMetricTag
	// HasLength checks if Length has been set in PatternFlowArpSenderHardwareAddrMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowArpSenderHardwareAddrMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowArpSenderHardwareAddrMetricTag added in v0.11.13

func NewPatternFlowArpSenderHardwareAddrMetricTag() PatternFlowArpSenderHardwareAddrMetricTag

type PatternFlowArpSenderProtocolAddr

type PatternFlowArpSenderProtocolAddr interface {
	Validation
	// Msg marshals PatternFlowArpSenderProtocolAddr to protobuf object *otg.PatternFlowArpSenderProtocolAddr
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpSenderProtocolAddr
	// SetMsg unmarshals PatternFlowArpSenderProtocolAddr from protobuf object *otg.PatternFlowArpSenderProtocolAddr
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpSenderProtocolAddr) PatternFlowArpSenderProtocolAddr
	// ToProto marshals PatternFlowArpSenderProtocolAddr to protobuf object *otg.PatternFlowArpSenderProtocolAddr
	ToProto() (*otg.PatternFlowArpSenderProtocolAddr, error)
	// ToPbText marshals PatternFlowArpSenderProtocolAddr to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpSenderProtocolAddr to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpSenderProtocolAddr to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpSenderProtocolAddr from protobuf object *otg.PatternFlowArpSenderProtocolAddr
	FromProto(msg *otg.PatternFlowArpSenderProtocolAddr) (PatternFlowArpSenderProtocolAddr, error)
	// FromPbText unmarshals PatternFlowArpSenderProtocolAddr from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpSenderProtocolAddr from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpSenderProtocolAddr from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpSenderProtocolAddr
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpSenderProtocolAddr, error)

	// Choice returns PatternFlowArpSenderProtocolAddrChoiceEnum, set in PatternFlowArpSenderProtocolAddr
	Choice() PatternFlowArpSenderProtocolAddrChoiceEnum
	// SetChoice assigns PatternFlowArpSenderProtocolAddrChoiceEnum provided by user to PatternFlowArpSenderProtocolAddr
	SetChoice(value PatternFlowArpSenderProtocolAddrChoiceEnum) PatternFlowArpSenderProtocolAddr
	// HasChoice checks if Choice has been set in PatternFlowArpSenderProtocolAddr
	HasChoice() bool
	// Value returns string, set in PatternFlowArpSenderProtocolAddr.
	Value() string
	// SetValue assigns string provided by user to PatternFlowArpSenderProtocolAddr
	SetValue(value string) PatternFlowArpSenderProtocolAddr
	// HasValue checks if Value has been set in PatternFlowArpSenderProtocolAddr
	HasValue() bool
	// Values returns []string, set in PatternFlowArpSenderProtocolAddr.
	Values() []string
	// SetValues assigns []string provided by user to PatternFlowArpSenderProtocolAddr
	SetValues(value []string) PatternFlowArpSenderProtocolAddr
	// Increment returns PatternFlowArpSenderProtocolAddrCounter, set in PatternFlowArpSenderProtocolAddr.
	// PatternFlowArpSenderProtocolAddrCounter is ipv4 counter pattern
	Increment() PatternFlowArpSenderProtocolAddrCounter
	// SetIncrement assigns PatternFlowArpSenderProtocolAddrCounter provided by user to PatternFlowArpSenderProtocolAddr.
	// PatternFlowArpSenderProtocolAddrCounter is ipv4 counter pattern
	SetIncrement(value PatternFlowArpSenderProtocolAddrCounter) PatternFlowArpSenderProtocolAddr
	// HasIncrement checks if Increment has been set in PatternFlowArpSenderProtocolAddr
	HasIncrement() bool
	// Decrement returns PatternFlowArpSenderProtocolAddrCounter, set in PatternFlowArpSenderProtocolAddr.
	// PatternFlowArpSenderProtocolAddrCounter is ipv4 counter pattern
	Decrement() PatternFlowArpSenderProtocolAddrCounter
	// SetDecrement assigns PatternFlowArpSenderProtocolAddrCounter provided by user to PatternFlowArpSenderProtocolAddr.
	// PatternFlowArpSenderProtocolAddrCounter is ipv4 counter pattern
	SetDecrement(value PatternFlowArpSenderProtocolAddrCounter) PatternFlowArpSenderProtocolAddr
	// HasDecrement checks if Decrement has been set in PatternFlowArpSenderProtocolAddr
	HasDecrement() bool
	// MetricTags returns PatternFlowArpSenderProtocolAddrPatternFlowArpSenderProtocolAddrMetricTagIterIter, set in PatternFlowArpSenderProtocolAddr
	MetricTags() PatternFlowArpSenderProtocolAddrPatternFlowArpSenderProtocolAddrMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowArpSenderProtocolAddr is internetwork address of the sender

func NewPatternFlowArpSenderProtocolAddr added in v0.6.5

func NewPatternFlowArpSenderProtocolAddr() PatternFlowArpSenderProtocolAddr

type PatternFlowArpSenderProtocolAddrChoiceEnum

type PatternFlowArpSenderProtocolAddrChoiceEnum string

type PatternFlowArpSenderProtocolAddrCounter

type PatternFlowArpSenderProtocolAddrCounter interface {
	Validation
	// Msg marshals PatternFlowArpSenderProtocolAddrCounter to protobuf object *otg.PatternFlowArpSenderProtocolAddrCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpSenderProtocolAddrCounter
	// SetMsg unmarshals PatternFlowArpSenderProtocolAddrCounter from protobuf object *otg.PatternFlowArpSenderProtocolAddrCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpSenderProtocolAddrCounter) PatternFlowArpSenderProtocolAddrCounter
	// ToProto marshals PatternFlowArpSenderProtocolAddrCounter to protobuf object *otg.PatternFlowArpSenderProtocolAddrCounter
	ToProto() (*otg.PatternFlowArpSenderProtocolAddrCounter, error)
	// ToPbText marshals PatternFlowArpSenderProtocolAddrCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpSenderProtocolAddrCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpSenderProtocolAddrCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpSenderProtocolAddrCounter from protobuf object *otg.PatternFlowArpSenderProtocolAddrCounter
	FromProto(msg *otg.PatternFlowArpSenderProtocolAddrCounter) (PatternFlowArpSenderProtocolAddrCounter, error)
	// FromPbText unmarshals PatternFlowArpSenderProtocolAddrCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpSenderProtocolAddrCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpSenderProtocolAddrCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpSenderProtocolAddrCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpSenderProtocolAddrCounter, error)

	// Start returns string, set in PatternFlowArpSenderProtocolAddrCounter.
	Start() string
	// SetStart assigns string provided by user to PatternFlowArpSenderProtocolAddrCounter
	SetStart(value string) PatternFlowArpSenderProtocolAddrCounter
	// HasStart checks if Start has been set in PatternFlowArpSenderProtocolAddrCounter
	HasStart() bool
	// Step returns string, set in PatternFlowArpSenderProtocolAddrCounter.
	Step() string
	// SetStep assigns string provided by user to PatternFlowArpSenderProtocolAddrCounter
	SetStep(value string) PatternFlowArpSenderProtocolAddrCounter
	// HasStep checks if Step has been set in PatternFlowArpSenderProtocolAddrCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowArpSenderProtocolAddrCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowArpSenderProtocolAddrCounter
	SetCount(value int32) PatternFlowArpSenderProtocolAddrCounter
	// HasCount checks if Count has been set in PatternFlowArpSenderProtocolAddrCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowArpSenderProtocolAddrCounter is ipv4 counter pattern

func NewPatternFlowArpSenderProtocolAddrCounter added in v0.6.5

func NewPatternFlowArpSenderProtocolAddrCounter() PatternFlowArpSenderProtocolAddrCounter

type PatternFlowArpSenderProtocolAddrMetricTag added in v0.11.13

type PatternFlowArpSenderProtocolAddrMetricTag interface {
	Validation
	// Msg marshals PatternFlowArpSenderProtocolAddrMetricTag to protobuf object *otg.PatternFlowArpSenderProtocolAddrMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpSenderProtocolAddrMetricTag
	// SetMsg unmarshals PatternFlowArpSenderProtocolAddrMetricTag from protobuf object *otg.PatternFlowArpSenderProtocolAddrMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpSenderProtocolAddrMetricTag) PatternFlowArpSenderProtocolAddrMetricTag
	// ToProto marshals PatternFlowArpSenderProtocolAddrMetricTag to protobuf object *otg.PatternFlowArpSenderProtocolAddrMetricTag
	ToProto() (*otg.PatternFlowArpSenderProtocolAddrMetricTag, error)
	// ToPbText marshals PatternFlowArpSenderProtocolAddrMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpSenderProtocolAddrMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpSenderProtocolAddrMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpSenderProtocolAddrMetricTag from protobuf object *otg.PatternFlowArpSenderProtocolAddrMetricTag
	FromProto(msg *otg.PatternFlowArpSenderProtocolAddrMetricTag) (PatternFlowArpSenderProtocolAddrMetricTag, error)
	// FromPbText unmarshals PatternFlowArpSenderProtocolAddrMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpSenderProtocolAddrMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpSenderProtocolAddrMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpSenderProtocolAddrMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpSenderProtocolAddrMetricTag, error)

	// Name returns string, set in PatternFlowArpSenderProtocolAddrMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowArpSenderProtocolAddrMetricTag
	SetName(value string) PatternFlowArpSenderProtocolAddrMetricTag
	// Offset returns int32, set in PatternFlowArpSenderProtocolAddrMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowArpSenderProtocolAddrMetricTag
	SetOffset(value int32) PatternFlowArpSenderProtocolAddrMetricTag
	// HasOffset checks if Offset has been set in PatternFlowArpSenderProtocolAddrMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowArpSenderProtocolAddrMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowArpSenderProtocolAddrMetricTag
	SetLength(value int32) PatternFlowArpSenderProtocolAddrMetricTag
	// HasLength checks if Length has been set in PatternFlowArpSenderProtocolAddrMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowArpSenderProtocolAddrMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowArpSenderProtocolAddrMetricTag added in v0.11.13

func NewPatternFlowArpSenderProtocolAddrMetricTag() PatternFlowArpSenderProtocolAddrMetricTag

type PatternFlowArpTargetHardwareAddr

type PatternFlowArpTargetHardwareAddr interface {
	Validation
	// Msg marshals PatternFlowArpTargetHardwareAddr to protobuf object *otg.PatternFlowArpTargetHardwareAddr
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpTargetHardwareAddr
	// SetMsg unmarshals PatternFlowArpTargetHardwareAddr from protobuf object *otg.PatternFlowArpTargetHardwareAddr
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpTargetHardwareAddr) PatternFlowArpTargetHardwareAddr
	// ToProto marshals PatternFlowArpTargetHardwareAddr to protobuf object *otg.PatternFlowArpTargetHardwareAddr
	ToProto() (*otg.PatternFlowArpTargetHardwareAddr, error)
	// ToPbText marshals PatternFlowArpTargetHardwareAddr to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpTargetHardwareAddr to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpTargetHardwareAddr to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpTargetHardwareAddr from protobuf object *otg.PatternFlowArpTargetHardwareAddr
	FromProto(msg *otg.PatternFlowArpTargetHardwareAddr) (PatternFlowArpTargetHardwareAddr, error)
	// FromPbText unmarshals PatternFlowArpTargetHardwareAddr from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpTargetHardwareAddr from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpTargetHardwareAddr from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpTargetHardwareAddr
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpTargetHardwareAddr, error)

	// Choice returns PatternFlowArpTargetHardwareAddrChoiceEnum, set in PatternFlowArpTargetHardwareAddr
	Choice() PatternFlowArpTargetHardwareAddrChoiceEnum
	// SetChoice assigns PatternFlowArpTargetHardwareAddrChoiceEnum provided by user to PatternFlowArpTargetHardwareAddr
	SetChoice(value PatternFlowArpTargetHardwareAddrChoiceEnum) PatternFlowArpTargetHardwareAddr
	// HasChoice checks if Choice has been set in PatternFlowArpTargetHardwareAddr
	HasChoice() bool
	// Value returns string, set in PatternFlowArpTargetHardwareAddr.
	Value() string
	// SetValue assigns string provided by user to PatternFlowArpTargetHardwareAddr
	SetValue(value string) PatternFlowArpTargetHardwareAddr
	// HasValue checks if Value has been set in PatternFlowArpTargetHardwareAddr
	HasValue() bool
	// Values returns []string, set in PatternFlowArpTargetHardwareAddr.
	Values() []string
	// SetValues assigns []string provided by user to PatternFlowArpTargetHardwareAddr
	SetValues(value []string) PatternFlowArpTargetHardwareAddr
	// Increment returns PatternFlowArpTargetHardwareAddrCounter, set in PatternFlowArpTargetHardwareAddr.
	// PatternFlowArpTargetHardwareAddrCounter is mac counter pattern
	Increment() PatternFlowArpTargetHardwareAddrCounter
	// SetIncrement assigns PatternFlowArpTargetHardwareAddrCounter provided by user to PatternFlowArpTargetHardwareAddr.
	// PatternFlowArpTargetHardwareAddrCounter is mac counter pattern
	SetIncrement(value PatternFlowArpTargetHardwareAddrCounter) PatternFlowArpTargetHardwareAddr
	// HasIncrement checks if Increment has been set in PatternFlowArpTargetHardwareAddr
	HasIncrement() bool
	// Decrement returns PatternFlowArpTargetHardwareAddrCounter, set in PatternFlowArpTargetHardwareAddr.
	// PatternFlowArpTargetHardwareAddrCounter is mac counter pattern
	Decrement() PatternFlowArpTargetHardwareAddrCounter
	// SetDecrement assigns PatternFlowArpTargetHardwareAddrCounter provided by user to PatternFlowArpTargetHardwareAddr.
	// PatternFlowArpTargetHardwareAddrCounter is mac counter pattern
	SetDecrement(value PatternFlowArpTargetHardwareAddrCounter) PatternFlowArpTargetHardwareAddr
	// HasDecrement checks if Decrement has been set in PatternFlowArpTargetHardwareAddr
	HasDecrement() bool
	// MetricTags returns PatternFlowArpTargetHardwareAddrPatternFlowArpTargetHardwareAddrMetricTagIterIter, set in PatternFlowArpTargetHardwareAddr
	MetricTags() PatternFlowArpTargetHardwareAddrPatternFlowArpTargetHardwareAddrMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowArpTargetHardwareAddr is media address of the target

func NewPatternFlowArpTargetHardwareAddr added in v0.6.5

func NewPatternFlowArpTargetHardwareAddr() PatternFlowArpTargetHardwareAddr

type PatternFlowArpTargetHardwareAddrChoiceEnum

type PatternFlowArpTargetHardwareAddrChoiceEnum string

type PatternFlowArpTargetHardwareAddrCounter

type PatternFlowArpTargetHardwareAddrCounter interface {
	Validation
	// Msg marshals PatternFlowArpTargetHardwareAddrCounter to protobuf object *otg.PatternFlowArpTargetHardwareAddrCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpTargetHardwareAddrCounter
	// SetMsg unmarshals PatternFlowArpTargetHardwareAddrCounter from protobuf object *otg.PatternFlowArpTargetHardwareAddrCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpTargetHardwareAddrCounter) PatternFlowArpTargetHardwareAddrCounter
	// ToProto marshals PatternFlowArpTargetHardwareAddrCounter to protobuf object *otg.PatternFlowArpTargetHardwareAddrCounter
	ToProto() (*otg.PatternFlowArpTargetHardwareAddrCounter, error)
	// ToPbText marshals PatternFlowArpTargetHardwareAddrCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpTargetHardwareAddrCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpTargetHardwareAddrCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpTargetHardwareAddrCounter from protobuf object *otg.PatternFlowArpTargetHardwareAddrCounter
	FromProto(msg *otg.PatternFlowArpTargetHardwareAddrCounter) (PatternFlowArpTargetHardwareAddrCounter, error)
	// FromPbText unmarshals PatternFlowArpTargetHardwareAddrCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpTargetHardwareAddrCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpTargetHardwareAddrCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpTargetHardwareAddrCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpTargetHardwareAddrCounter, error)

	// Start returns string, set in PatternFlowArpTargetHardwareAddrCounter.
	Start() string
	// SetStart assigns string provided by user to PatternFlowArpTargetHardwareAddrCounter
	SetStart(value string) PatternFlowArpTargetHardwareAddrCounter
	// HasStart checks if Start has been set in PatternFlowArpTargetHardwareAddrCounter
	HasStart() bool
	// Step returns string, set in PatternFlowArpTargetHardwareAddrCounter.
	Step() string
	// SetStep assigns string provided by user to PatternFlowArpTargetHardwareAddrCounter
	SetStep(value string) PatternFlowArpTargetHardwareAddrCounter
	// HasStep checks if Step has been set in PatternFlowArpTargetHardwareAddrCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowArpTargetHardwareAddrCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowArpTargetHardwareAddrCounter
	SetCount(value int32) PatternFlowArpTargetHardwareAddrCounter
	// HasCount checks if Count has been set in PatternFlowArpTargetHardwareAddrCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowArpTargetHardwareAddrCounter is mac counter pattern

func NewPatternFlowArpTargetHardwareAddrCounter added in v0.6.5

func NewPatternFlowArpTargetHardwareAddrCounter() PatternFlowArpTargetHardwareAddrCounter

type PatternFlowArpTargetHardwareAddrMetricTag added in v0.11.13

type PatternFlowArpTargetHardwareAddrMetricTag interface {
	Validation
	// Msg marshals PatternFlowArpTargetHardwareAddrMetricTag to protobuf object *otg.PatternFlowArpTargetHardwareAddrMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpTargetHardwareAddrMetricTag
	// SetMsg unmarshals PatternFlowArpTargetHardwareAddrMetricTag from protobuf object *otg.PatternFlowArpTargetHardwareAddrMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpTargetHardwareAddrMetricTag) PatternFlowArpTargetHardwareAddrMetricTag
	// ToProto marshals PatternFlowArpTargetHardwareAddrMetricTag to protobuf object *otg.PatternFlowArpTargetHardwareAddrMetricTag
	ToProto() (*otg.PatternFlowArpTargetHardwareAddrMetricTag, error)
	// ToPbText marshals PatternFlowArpTargetHardwareAddrMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpTargetHardwareAddrMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpTargetHardwareAddrMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpTargetHardwareAddrMetricTag from protobuf object *otg.PatternFlowArpTargetHardwareAddrMetricTag
	FromProto(msg *otg.PatternFlowArpTargetHardwareAddrMetricTag) (PatternFlowArpTargetHardwareAddrMetricTag, error)
	// FromPbText unmarshals PatternFlowArpTargetHardwareAddrMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpTargetHardwareAddrMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpTargetHardwareAddrMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpTargetHardwareAddrMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpTargetHardwareAddrMetricTag, error)

	// Name returns string, set in PatternFlowArpTargetHardwareAddrMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowArpTargetHardwareAddrMetricTag
	SetName(value string) PatternFlowArpTargetHardwareAddrMetricTag
	// Offset returns int32, set in PatternFlowArpTargetHardwareAddrMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowArpTargetHardwareAddrMetricTag
	SetOffset(value int32) PatternFlowArpTargetHardwareAddrMetricTag
	// HasOffset checks if Offset has been set in PatternFlowArpTargetHardwareAddrMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowArpTargetHardwareAddrMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowArpTargetHardwareAddrMetricTag
	SetLength(value int32) PatternFlowArpTargetHardwareAddrMetricTag
	// HasLength checks if Length has been set in PatternFlowArpTargetHardwareAddrMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowArpTargetHardwareAddrMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowArpTargetHardwareAddrMetricTag added in v0.11.13

func NewPatternFlowArpTargetHardwareAddrMetricTag() PatternFlowArpTargetHardwareAddrMetricTag

type PatternFlowArpTargetProtocolAddr

type PatternFlowArpTargetProtocolAddr interface {
	Validation
	// Msg marshals PatternFlowArpTargetProtocolAddr to protobuf object *otg.PatternFlowArpTargetProtocolAddr
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpTargetProtocolAddr
	// SetMsg unmarshals PatternFlowArpTargetProtocolAddr from protobuf object *otg.PatternFlowArpTargetProtocolAddr
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpTargetProtocolAddr) PatternFlowArpTargetProtocolAddr
	// ToProto marshals PatternFlowArpTargetProtocolAddr to protobuf object *otg.PatternFlowArpTargetProtocolAddr
	ToProto() (*otg.PatternFlowArpTargetProtocolAddr, error)
	// ToPbText marshals PatternFlowArpTargetProtocolAddr to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpTargetProtocolAddr to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpTargetProtocolAddr to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpTargetProtocolAddr from protobuf object *otg.PatternFlowArpTargetProtocolAddr
	FromProto(msg *otg.PatternFlowArpTargetProtocolAddr) (PatternFlowArpTargetProtocolAddr, error)
	// FromPbText unmarshals PatternFlowArpTargetProtocolAddr from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpTargetProtocolAddr from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpTargetProtocolAddr from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpTargetProtocolAddr
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpTargetProtocolAddr, error)

	// Choice returns PatternFlowArpTargetProtocolAddrChoiceEnum, set in PatternFlowArpTargetProtocolAddr
	Choice() PatternFlowArpTargetProtocolAddrChoiceEnum
	// SetChoice assigns PatternFlowArpTargetProtocolAddrChoiceEnum provided by user to PatternFlowArpTargetProtocolAddr
	SetChoice(value PatternFlowArpTargetProtocolAddrChoiceEnum) PatternFlowArpTargetProtocolAddr
	// HasChoice checks if Choice has been set in PatternFlowArpTargetProtocolAddr
	HasChoice() bool
	// Value returns string, set in PatternFlowArpTargetProtocolAddr.
	Value() string
	// SetValue assigns string provided by user to PatternFlowArpTargetProtocolAddr
	SetValue(value string) PatternFlowArpTargetProtocolAddr
	// HasValue checks if Value has been set in PatternFlowArpTargetProtocolAddr
	HasValue() bool
	// Values returns []string, set in PatternFlowArpTargetProtocolAddr.
	Values() []string
	// SetValues assigns []string provided by user to PatternFlowArpTargetProtocolAddr
	SetValues(value []string) PatternFlowArpTargetProtocolAddr
	// Increment returns PatternFlowArpTargetProtocolAddrCounter, set in PatternFlowArpTargetProtocolAddr.
	// PatternFlowArpTargetProtocolAddrCounter is ipv4 counter pattern
	Increment() PatternFlowArpTargetProtocolAddrCounter
	// SetIncrement assigns PatternFlowArpTargetProtocolAddrCounter provided by user to PatternFlowArpTargetProtocolAddr.
	// PatternFlowArpTargetProtocolAddrCounter is ipv4 counter pattern
	SetIncrement(value PatternFlowArpTargetProtocolAddrCounter) PatternFlowArpTargetProtocolAddr
	// HasIncrement checks if Increment has been set in PatternFlowArpTargetProtocolAddr
	HasIncrement() bool
	// Decrement returns PatternFlowArpTargetProtocolAddrCounter, set in PatternFlowArpTargetProtocolAddr.
	// PatternFlowArpTargetProtocolAddrCounter is ipv4 counter pattern
	Decrement() PatternFlowArpTargetProtocolAddrCounter
	// SetDecrement assigns PatternFlowArpTargetProtocolAddrCounter provided by user to PatternFlowArpTargetProtocolAddr.
	// PatternFlowArpTargetProtocolAddrCounter is ipv4 counter pattern
	SetDecrement(value PatternFlowArpTargetProtocolAddrCounter) PatternFlowArpTargetProtocolAddr
	// HasDecrement checks if Decrement has been set in PatternFlowArpTargetProtocolAddr
	HasDecrement() bool
	// MetricTags returns PatternFlowArpTargetProtocolAddrPatternFlowArpTargetProtocolAddrMetricTagIterIter, set in PatternFlowArpTargetProtocolAddr
	MetricTags() PatternFlowArpTargetProtocolAddrPatternFlowArpTargetProtocolAddrMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowArpTargetProtocolAddr is internetwork address of the target

func NewPatternFlowArpTargetProtocolAddr added in v0.6.5

func NewPatternFlowArpTargetProtocolAddr() PatternFlowArpTargetProtocolAddr

type PatternFlowArpTargetProtocolAddrChoiceEnum

type PatternFlowArpTargetProtocolAddrChoiceEnum string

type PatternFlowArpTargetProtocolAddrCounter

type PatternFlowArpTargetProtocolAddrCounter interface {
	Validation
	// Msg marshals PatternFlowArpTargetProtocolAddrCounter to protobuf object *otg.PatternFlowArpTargetProtocolAddrCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpTargetProtocolAddrCounter
	// SetMsg unmarshals PatternFlowArpTargetProtocolAddrCounter from protobuf object *otg.PatternFlowArpTargetProtocolAddrCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpTargetProtocolAddrCounter) PatternFlowArpTargetProtocolAddrCounter
	// ToProto marshals PatternFlowArpTargetProtocolAddrCounter to protobuf object *otg.PatternFlowArpTargetProtocolAddrCounter
	ToProto() (*otg.PatternFlowArpTargetProtocolAddrCounter, error)
	// ToPbText marshals PatternFlowArpTargetProtocolAddrCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpTargetProtocolAddrCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpTargetProtocolAddrCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpTargetProtocolAddrCounter from protobuf object *otg.PatternFlowArpTargetProtocolAddrCounter
	FromProto(msg *otg.PatternFlowArpTargetProtocolAddrCounter) (PatternFlowArpTargetProtocolAddrCounter, error)
	// FromPbText unmarshals PatternFlowArpTargetProtocolAddrCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpTargetProtocolAddrCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpTargetProtocolAddrCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpTargetProtocolAddrCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpTargetProtocolAddrCounter, error)

	// Start returns string, set in PatternFlowArpTargetProtocolAddrCounter.
	Start() string
	// SetStart assigns string provided by user to PatternFlowArpTargetProtocolAddrCounter
	SetStart(value string) PatternFlowArpTargetProtocolAddrCounter
	// HasStart checks if Start has been set in PatternFlowArpTargetProtocolAddrCounter
	HasStart() bool
	// Step returns string, set in PatternFlowArpTargetProtocolAddrCounter.
	Step() string
	// SetStep assigns string provided by user to PatternFlowArpTargetProtocolAddrCounter
	SetStep(value string) PatternFlowArpTargetProtocolAddrCounter
	// HasStep checks if Step has been set in PatternFlowArpTargetProtocolAddrCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowArpTargetProtocolAddrCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowArpTargetProtocolAddrCounter
	SetCount(value int32) PatternFlowArpTargetProtocolAddrCounter
	// HasCount checks if Count has been set in PatternFlowArpTargetProtocolAddrCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowArpTargetProtocolAddrCounter is ipv4 counter pattern

func NewPatternFlowArpTargetProtocolAddrCounter added in v0.6.5

func NewPatternFlowArpTargetProtocolAddrCounter() PatternFlowArpTargetProtocolAddrCounter

type PatternFlowArpTargetProtocolAddrMetricTag added in v0.11.13

type PatternFlowArpTargetProtocolAddrMetricTag interface {
	Validation
	// Msg marshals PatternFlowArpTargetProtocolAddrMetricTag to protobuf object *otg.PatternFlowArpTargetProtocolAddrMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowArpTargetProtocolAddrMetricTag
	// SetMsg unmarshals PatternFlowArpTargetProtocolAddrMetricTag from protobuf object *otg.PatternFlowArpTargetProtocolAddrMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowArpTargetProtocolAddrMetricTag) PatternFlowArpTargetProtocolAddrMetricTag
	// ToProto marshals PatternFlowArpTargetProtocolAddrMetricTag to protobuf object *otg.PatternFlowArpTargetProtocolAddrMetricTag
	ToProto() (*otg.PatternFlowArpTargetProtocolAddrMetricTag, error)
	// ToPbText marshals PatternFlowArpTargetProtocolAddrMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowArpTargetProtocolAddrMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowArpTargetProtocolAddrMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowArpTargetProtocolAddrMetricTag from protobuf object *otg.PatternFlowArpTargetProtocolAddrMetricTag
	FromProto(msg *otg.PatternFlowArpTargetProtocolAddrMetricTag) (PatternFlowArpTargetProtocolAddrMetricTag, error)
	// FromPbText unmarshals PatternFlowArpTargetProtocolAddrMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowArpTargetProtocolAddrMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowArpTargetProtocolAddrMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowArpTargetProtocolAddrMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowArpTargetProtocolAddrMetricTag, error)

	// Name returns string, set in PatternFlowArpTargetProtocolAddrMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowArpTargetProtocolAddrMetricTag
	SetName(value string) PatternFlowArpTargetProtocolAddrMetricTag
	// Offset returns int32, set in PatternFlowArpTargetProtocolAddrMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowArpTargetProtocolAddrMetricTag
	SetOffset(value int32) PatternFlowArpTargetProtocolAddrMetricTag
	// HasOffset checks if Offset has been set in PatternFlowArpTargetProtocolAddrMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowArpTargetProtocolAddrMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowArpTargetProtocolAddrMetricTag
	SetLength(value int32) PatternFlowArpTargetProtocolAddrMetricTag
	// HasLength checks if Length has been set in PatternFlowArpTargetProtocolAddrMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowArpTargetProtocolAddrMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowArpTargetProtocolAddrMetricTag added in v0.11.13

func NewPatternFlowArpTargetProtocolAddrMetricTag() PatternFlowArpTargetProtocolAddrMetricTag

type PatternFlowEthernetDst

type PatternFlowEthernetDst interface {
	Validation
	// Msg marshals PatternFlowEthernetDst to protobuf object *otg.PatternFlowEthernetDst
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetDst
	// SetMsg unmarshals PatternFlowEthernetDst from protobuf object *otg.PatternFlowEthernetDst
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetDst) PatternFlowEthernetDst
	// ToProto marshals PatternFlowEthernetDst to protobuf object *otg.PatternFlowEthernetDst
	ToProto() (*otg.PatternFlowEthernetDst, error)
	// ToPbText marshals PatternFlowEthernetDst to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetDst to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetDst to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetDst from protobuf object *otg.PatternFlowEthernetDst
	FromProto(msg *otg.PatternFlowEthernetDst) (PatternFlowEthernetDst, error)
	// FromPbText unmarshals PatternFlowEthernetDst from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetDst from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetDst from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetDst
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetDst, error)

	// Choice returns PatternFlowEthernetDstChoiceEnum, set in PatternFlowEthernetDst
	Choice() PatternFlowEthernetDstChoiceEnum
	// SetChoice assigns PatternFlowEthernetDstChoiceEnum provided by user to PatternFlowEthernetDst
	SetChoice(value PatternFlowEthernetDstChoiceEnum) PatternFlowEthernetDst
	// HasChoice checks if Choice has been set in PatternFlowEthernetDst
	HasChoice() bool
	// Value returns string, set in PatternFlowEthernetDst.
	Value() string
	// SetValue assigns string provided by user to PatternFlowEthernetDst
	SetValue(value string) PatternFlowEthernetDst
	// HasValue checks if Value has been set in PatternFlowEthernetDst
	HasValue() bool
	// Values returns []string, set in PatternFlowEthernetDst.
	Values() []string
	// SetValues assigns []string provided by user to PatternFlowEthernetDst
	SetValues(value []string) PatternFlowEthernetDst
	// Auto returns string, set in PatternFlowEthernetDst.
	Auto() string
	// HasAuto checks if Auto has been set in PatternFlowEthernetDst
	HasAuto() bool
	// Increment returns PatternFlowEthernetDstCounter, set in PatternFlowEthernetDst.
	// PatternFlowEthernetDstCounter is mac counter pattern
	Increment() PatternFlowEthernetDstCounter
	// SetIncrement assigns PatternFlowEthernetDstCounter provided by user to PatternFlowEthernetDst.
	// PatternFlowEthernetDstCounter is mac counter pattern
	SetIncrement(value PatternFlowEthernetDstCounter) PatternFlowEthernetDst
	// HasIncrement checks if Increment has been set in PatternFlowEthernetDst
	HasIncrement() bool
	// Decrement returns PatternFlowEthernetDstCounter, set in PatternFlowEthernetDst.
	// PatternFlowEthernetDstCounter is mac counter pattern
	Decrement() PatternFlowEthernetDstCounter
	// SetDecrement assigns PatternFlowEthernetDstCounter provided by user to PatternFlowEthernetDst.
	// PatternFlowEthernetDstCounter is mac counter pattern
	SetDecrement(value PatternFlowEthernetDstCounter) PatternFlowEthernetDst
	// HasDecrement checks if Decrement has been set in PatternFlowEthernetDst
	HasDecrement() bool
	// MetricTags returns PatternFlowEthernetDstPatternFlowEthernetDstMetricTagIterIter, set in PatternFlowEthernetDst
	MetricTags() PatternFlowEthernetDstPatternFlowEthernetDstMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowEthernetDst is destination MAC address

func NewPatternFlowEthernetDst added in v0.6.5

func NewPatternFlowEthernetDst() PatternFlowEthernetDst

type PatternFlowEthernetDstChoiceEnum

type PatternFlowEthernetDstChoiceEnum string

type PatternFlowEthernetDstCounter

type PatternFlowEthernetDstCounter interface {
	Validation
	// Msg marshals PatternFlowEthernetDstCounter to protobuf object *otg.PatternFlowEthernetDstCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetDstCounter
	// SetMsg unmarshals PatternFlowEthernetDstCounter from protobuf object *otg.PatternFlowEthernetDstCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetDstCounter) PatternFlowEthernetDstCounter
	// ToProto marshals PatternFlowEthernetDstCounter to protobuf object *otg.PatternFlowEthernetDstCounter
	ToProto() (*otg.PatternFlowEthernetDstCounter, error)
	// ToPbText marshals PatternFlowEthernetDstCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetDstCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetDstCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetDstCounter from protobuf object *otg.PatternFlowEthernetDstCounter
	FromProto(msg *otg.PatternFlowEthernetDstCounter) (PatternFlowEthernetDstCounter, error)
	// FromPbText unmarshals PatternFlowEthernetDstCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetDstCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetDstCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetDstCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetDstCounter, error)

	// Start returns string, set in PatternFlowEthernetDstCounter.
	Start() string
	// SetStart assigns string provided by user to PatternFlowEthernetDstCounter
	SetStart(value string) PatternFlowEthernetDstCounter
	// HasStart checks if Start has been set in PatternFlowEthernetDstCounter
	HasStart() bool
	// Step returns string, set in PatternFlowEthernetDstCounter.
	Step() string
	// SetStep assigns string provided by user to PatternFlowEthernetDstCounter
	SetStep(value string) PatternFlowEthernetDstCounter
	// HasStep checks if Step has been set in PatternFlowEthernetDstCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowEthernetDstCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowEthernetDstCounter
	SetCount(value int32) PatternFlowEthernetDstCounter
	// HasCount checks if Count has been set in PatternFlowEthernetDstCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetDstCounter is mac counter pattern

func NewPatternFlowEthernetDstCounter added in v0.6.5

func NewPatternFlowEthernetDstCounter() PatternFlowEthernetDstCounter

type PatternFlowEthernetDstMetricTag added in v0.11.13

type PatternFlowEthernetDstMetricTag interface {
	Validation
	// Msg marshals PatternFlowEthernetDstMetricTag to protobuf object *otg.PatternFlowEthernetDstMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetDstMetricTag
	// SetMsg unmarshals PatternFlowEthernetDstMetricTag from protobuf object *otg.PatternFlowEthernetDstMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetDstMetricTag) PatternFlowEthernetDstMetricTag
	// ToProto marshals PatternFlowEthernetDstMetricTag to protobuf object *otg.PatternFlowEthernetDstMetricTag
	ToProto() (*otg.PatternFlowEthernetDstMetricTag, error)
	// ToPbText marshals PatternFlowEthernetDstMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetDstMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetDstMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetDstMetricTag from protobuf object *otg.PatternFlowEthernetDstMetricTag
	FromProto(msg *otg.PatternFlowEthernetDstMetricTag) (PatternFlowEthernetDstMetricTag, error)
	// FromPbText unmarshals PatternFlowEthernetDstMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetDstMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetDstMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetDstMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetDstMetricTag, error)

	// Name returns string, set in PatternFlowEthernetDstMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowEthernetDstMetricTag
	SetName(value string) PatternFlowEthernetDstMetricTag
	// Offset returns int32, set in PatternFlowEthernetDstMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowEthernetDstMetricTag
	SetOffset(value int32) PatternFlowEthernetDstMetricTag
	// HasOffset checks if Offset has been set in PatternFlowEthernetDstMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowEthernetDstMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowEthernetDstMetricTag
	SetLength(value int32) PatternFlowEthernetDstMetricTag
	// HasLength checks if Length has been set in PatternFlowEthernetDstMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetDstMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowEthernetDstMetricTag added in v0.11.13

func NewPatternFlowEthernetDstMetricTag() PatternFlowEthernetDstMetricTag

type PatternFlowEthernetEtherType

type PatternFlowEthernetEtherType interface {
	Validation
	// Msg marshals PatternFlowEthernetEtherType to protobuf object *otg.PatternFlowEthernetEtherType
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetEtherType
	// SetMsg unmarshals PatternFlowEthernetEtherType from protobuf object *otg.PatternFlowEthernetEtherType
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetEtherType) PatternFlowEthernetEtherType
	// ToProto marshals PatternFlowEthernetEtherType to protobuf object *otg.PatternFlowEthernetEtherType
	ToProto() (*otg.PatternFlowEthernetEtherType, error)
	// ToPbText marshals PatternFlowEthernetEtherType to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetEtherType to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetEtherType to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetEtherType from protobuf object *otg.PatternFlowEthernetEtherType
	FromProto(msg *otg.PatternFlowEthernetEtherType) (PatternFlowEthernetEtherType, error)
	// FromPbText unmarshals PatternFlowEthernetEtherType from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetEtherType from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetEtherType from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetEtherType
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetEtherType, error)

	// Choice returns PatternFlowEthernetEtherTypeChoiceEnum, set in PatternFlowEthernetEtherType
	Choice() PatternFlowEthernetEtherTypeChoiceEnum
	// SetChoice assigns PatternFlowEthernetEtherTypeChoiceEnum provided by user to PatternFlowEthernetEtherType
	SetChoice(value PatternFlowEthernetEtherTypeChoiceEnum) PatternFlowEthernetEtherType
	// HasChoice checks if Choice has been set in PatternFlowEthernetEtherType
	HasChoice() bool
	// Value returns int32, set in PatternFlowEthernetEtherType.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowEthernetEtherType
	SetValue(value int32) PatternFlowEthernetEtherType
	// HasValue checks if Value has been set in PatternFlowEthernetEtherType
	HasValue() bool
	// Values returns []int32, set in PatternFlowEthernetEtherType.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowEthernetEtherType
	SetValues(value []int32) PatternFlowEthernetEtherType
	// Auto returns int32, set in PatternFlowEthernetEtherType.
	Auto() int32
	// HasAuto checks if Auto has been set in PatternFlowEthernetEtherType
	HasAuto() bool
	// Increment returns PatternFlowEthernetEtherTypeCounter, set in PatternFlowEthernetEtherType.
	// PatternFlowEthernetEtherTypeCounter is integer counter pattern
	Increment() PatternFlowEthernetEtherTypeCounter
	// SetIncrement assigns PatternFlowEthernetEtherTypeCounter provided by user to PatternFlowEthernetEtherType.
	// PatternFlowEthernetEtherTypeCounter is integer counter pattern
	SetIncrement(value PatternFlowEthernetEtherTypeCounter) PatternFlowEthernetEtherType
	// HasIncrement checks if Increment has been set in PatternFlowEthernetEtherType
	HasIncrement() bool
	// Decrement returns PatternFlowEthernetEtherTypeCounter, set in PatternFlowEthernetEtherType.
	// PatternFlowEthernetEtherTypeCounter is integer counter pattern
	Decrement() PatternFlowEthernetEtherTypeCounter
	// SetDecrement assigns PatternFlowEthernetEtherTypeCounter provided by user to PatternFlowEthernetEtherType.
	// PatternFlowEthernetEtherTypeCounter is integer counter pattern
	SetDecrement(value PatternFlowEthernetEtherTypeCounter) PatternFlowEthernetEtherType
	// HasDecrement checks if Decrement has been set in PatternFlowEthernetEtherType
	HasDecrement() bool
	// MetricTags returns PatternFlowEthernetEtherTypePatternFlowEthernetEtherTypeMetricTagIterIter, set in PatternFlowEthernetEtherType
	MetricTags() PatternFlowEthernetEtherTypePatternFlowEthernetEtherTypeMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowEthernetEtherType is ethernet type

func NewPatternFlowEthernetEtherType added in v0.6.5

func NewPatternFlowEthernetEtherType() PatternFlowEthernetEtherType

type PatternFlowEthernetEtherTypeChoiceEnum

type PatternFlowEthernetEtherTypeChoiceEnum string

type PatternFlowEthernetEtherTypeCounter

type PatternFlowEthernetEtherTypeCounter interface {
	Validation
	// Msg marshals PatternFlowEthernetEtherTypeCounter to protobuf object *otg.PatternFlowEthernetEtherTypeCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetEtherTypeCounter
	// SetMsg unmarshals PatternFlowEthernetEtherTypeCounter from protobuf object *otg.PatternFlowEthernetEtherTypeCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetEtherTypeCounter) PatternFlowEthernetEtherTypeCounter
	// ToProto marshals PatternFlowEthernetEtherTypeCounter to protobuf object *otg.PatternFlowEthernetEtherTypeCounter
	ToProto() (*otg.PatternFlowEthernetEtherTypeCounter, error)
	// ToPbText marshals PatternFlowEthernetEtherTypeCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetEtherTypeCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetEtherTypeCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetEtherTypeCounter from protobuf object *otg.PatternFlowEthernetEtherTypeCounter
	FromProto(msg *otg.PatternFlowEthernetEtherTypeCounter) (PatternFlowEthernetEtherTypeCounter, error)
	// FromPbText unmarshals PatternFlowEthernetEtherTypeCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetEtherTypeCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetEtherTypeCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetEtherTypeCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetEtherTypeCounter, error)

	// Start returns int32, set in PatternFlowEthernetEtherTypeCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowEthernetEtherTypeCounter
	SetStart(value int32) PatternFlowEthernetEtherTypeCounter
	// HasStart checks if Start has been set in PatternFlowEthernetEtherTypeCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowEthernetEtherTypeCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowEthernetEtherTypeCounter
	SetStep(value int32) PatternFlowEthernetEtherTypeCounter
	// HasStep checks if Step has been set in PatternFlowEthernetEtherTypeCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowEthernetEtherTypeCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowEthernetEtherTypeCounter
	SetCount(value int32) PatternFlowEthernetEtherTypeCounter
	// HasCount checks if Count has been set in PatternFlowEthernetEtherTypeCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetEtherTypeCounter is integer counter pattern

func NewPatternFlowEthernetEtherTypeCounter added in v0.6.5

func NewPatternFlowEthernetEtherTypeCounter() PatternFlowEthernetEtherTypeCounter

type PatternFlowEthernetEtherTypeMetricTag added in v0.11.13

type PatternFlowEthernetEtherTypeMetricTag interface {
	Validation
	// Msg marshals PatternFlowEthernetEtherTypeMetricTag to protobuf object *otg.PatternFlowEthernetEtherTypeMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetEtherTypeMetricTag
	// SetMsg unmarshals PatternFlowEthernetEtherTypeMetricTag from protobuf object *otg.PatternFlowEthernetEtherTypeMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetEtherTypeMetricTag) PatternFlowEthernetEtherTypeMetricTag
	// ToProto marshals PatternFlowEthernetEtherTypeMetricTag to protobuf object *otg.PatternFlowEthernetEtherTypeMetricTag
	ToProto() (*otg.PatternFlowEthernetEtherTypeMetricTag, error)
	// ToPbText marshals PatternFlowEthernetEtherTypeMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetEtherTypeMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetEtherTypeMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetEtherTypeMetricTag from protobuf object *otg.PatternFlowEthernetEtherTypeMetricTag
	FromProto(msg *otg.PatternFlowEthernetEtherTypeMetricTag) (PatternFlowEthernetEtherTypeMetricTag, error)
	// FromPbText unmarshals PatternFlowEthernetEtherTypeMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetEtherTypeMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetEtherTypeMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetEtherTypeMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetEtherTypeMetricTag, error)

	// Name returns string, set in PatternFlowEthernetEtherTypeMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowEthernetEtherTypeMetricTag
	SetName(value string) PatternFlowEthernetEtherTypeMetricTag
	// Offset returns int32, set in PatternFlowEthernetEtherTypeMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowEthernetEtherTypeMetricTag
	SetOffset(value int32) PatternFlowEthernetEtherTypeMetricTag
	// HasOffset checks if Offset has been set in PatternFlowEthernetEtherTypeMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowEthernetEtherTypeMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowEthernetEtherTypeMetricTag
	SetLength(value int32) PatternFlowEthernetEtherTypeMetricTag
	// HasLength checks if Length has been set in PatternFlowEthernetEtherTypeMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetEtherTypeMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowEthernetEtherTypeMetricTag added in v0.11.13

func NewPatternFlowEthernetEtherTypeMetricTag() PatternFlowEthernetEtherTypeMetricTag

type PatternFlowEthernetPauseControlOpCode

type PatternFlowEthernetPauseControlOpCode interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseControlOpCode to protobuf object *otg.PatternFlowEthernetPauseControlOpCode
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseControlOpCode
	// SetMsg unmarshals PatternFlowEthernetPauseControlOpCode from protobuf object *otg.PatternFlowEthernetPauseControlOpCode
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseControlOpCode) PatternFlowEthernetPauseControlOpCode
	// ToProto marshals PatternFlowEthernetPauseControlOpCode to protobuf object *otg.PatternFlowEthernetPauseControlOpCode
	ToProto() (*otg.PatternFlowEthernetPauseControlOpCode, error)
	// ToPbText marshals PatternFlowEthernetPauseControlOpCode to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseControlOpCode to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseControlOpCode to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseControlOpCode from protobuf object *otg.PatternFlowEthernetPauseControlOpCode
	FromProto(msg *otg.PatternFlowEthernetPauseControlOpCode) (PatternFlowEthernetPauseControlOpCode, error)
	// FromPbText unmarshals PatternFlowEthernetPauseControlOpCode from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseControlOpCode from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseControlOpCode from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseControlOpCode
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseControlOpCode, error)

	// Choice returns PatternFlowEthernetPauseControlOpCodeChoiceEnum, set in PatternFlowEthernetPauseControlOpCode
	Choice() PatternFlowEthernetPauseControlOpCodeChoiceEnum
	// SetChoice assigns PatternFlowEthernetPauseControlOpCodeChoiceEnum provided by user to PatternFlowEthernetPauseControlOpCode
	SetChoice(value PatternFlowEthernetPauseControlOpCodeChoiceEnum) PatternFlowEthernetPauseControlOpCode
	// HasChoice checks if Choice has been set in PatternFlowEthernetPauseControlOpCode
	HasChoice() bool
	// Value returns int32, set in PatternFlowEthernetPauseControlOpCode.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowEthernetPauseControlOpCode
	SetValue(value int32) PatternFlowEthernetPauseControlOpCode
	// HasValue checks if Value has been set in PatternFlowEthernetPauseControlOpCode
	HasValue() bool
	// Values returns []int32, set in PatternFlowEthernetPauseControlOpCode.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowEthernetPauseControlOpCode
	SetValues(value []int32) PatternFlowEthernetPauseControlOpCode
	// Increment returns PatternFlowEthernetPauseControlOpCodeCounter, set in PatternFlowEthernetPauseControlOpCode.
	// PatternFlowEthernetPauseControlOpCodeCounter is integer counter pattern
	Increment() PatternFlowEthernetPauseControlOpCodeCounter
	// SetIncrement assigns PatternFlowEthernetPauseControlOpCodeCounter provided by user to PatternFlowEthernetPauseControlOpCode.
	// PatternFlowEthernetPauseControlOpCodeCounter is integer counter pattern
	SetIncrement(value PatternFlowEthernetPauseControlOpCodeCounter) PatternFlowEthernetPauseControlOpCode
	// HasIncrement checks if Increment has been set in PatternFlowEthernetPauseControlOpCode
	HasIncrement() bool
	// Decrement returns PatternFlowEthernetPauseControlOpCodeCounter, set in PatternFlowEthernetPauseControlOpCode.
	// PatternFlowEthernetPauseControlOpCodeCounter is integer counter pattern
	Decrement() PatternFlowEthernetPauseControlOpCodeCounter
	// SetDecrement assigns PatternFlowEthernetPauseControlOpCodeCounter provided by user to PatternFlowEthernetPauseControlOpCode.
	// PatternFlowEthernetPauseControlOpCodeCounter is integer counter pattern
	SetDecrement(value PatternFlowEthernetPauseControlOpCodeCounter) PatternFlowEthernetPauseControlOpCode
	// HasDecrement checks if Decrement has been set in PatternFlowEthernetPauseControlOpCode
	HasDecrement() bool
	// MetricTags returns PatternFlowEthernetPauseControlOpCodePatternFlowEthernetPauseControlOpCodeMetricTagIterIter, set in PatternFlowEthernetPauseControlOpCode
	MetricTags() PatternFlowEthernetPauseControlOpCodePatternFlowEthernetPauseControlOpCodeMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseControlOpCode is control operation code

func NewPatternFlowEthernetPauseControlOpCode added in v0.6.5

func NewPatternFlowEthernetPauseControlOpCode() PatternFlowEthernetPauseControlOpCode

type PatternFlowEthernetPauseControlOpCodeChoiceEnum

type PatternFlowEthernetPauseControlOpCodeChoiceEnum string

type PatternFlowEthernetPauseControlOpCodeCounter

type PatternFlowEthernetPauseControlOpCodeCounter interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseControlOpCodeCounter to protobuf object *otg.PatternFlowEthernetPauseControlOpCodeCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseControlOpCodeCounter
	// SetMsg unmarshals PatternFlowEthernetPauseControlOpCodeCounter from protobuf object *otg.PatternFlowEthernetPauseControlOpCodeCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseControlOpCodeCounter) PatternFlowEthernetPauseControlOpCodeCounter
	// ToProto marshals PatternFlowEthernetPauseControlOpCodeCounter to protobuf object *otg.PatternFlowEthernetPauseControlOpCodeCounter
	ToProto() (*otg.PatternFlowEthernetPauseControlOpCodeCounter, error)
	// ToPbText marshals PatternFlowEthernetPauseControlOpCodeCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseControlOpCodeCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseControlOpCodeCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseControlOpCodeCounter from protobuf object *otg.PatternFlowEthernetPauseControlOpCodeCounter
	FromProto(msg *otg.PatternFlowEthernetPauseControlOpCodeCounter) (PatternFlowEthernetPauseControlOpCodeCounter, error)
	// FromPbText unmarshals PatternFlowEthernetPauseControlOpCodeCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseControlOpCodeCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseControlOpCodeCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseControlOpCodeCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseControlOpCodeCounter, error)

	// Start returns int32, set in PatternFlowEthernetPauseControlOpCodeCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowEthernetPauseControlOpCodeCounter
	SetStart(value int32) PatternFlowEthernetPauseControlOpCodeCounter
	// HasStart checks if Start has been set in PatternFlowEthernetPauseControlOpCodeCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowEthernetPauseControlOpCodeCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowEthernetPauseControlOpCodeCounter
	SetStep(value int32) PatternFlowEthernetPauseControlOpCodeCounter
	// HasStep checks if Step has been set in PatternFlowEthernetPauseControlOpCodeCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowEthernetPauseControlOpCodeCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowEthernetPauseControlOpCodeCounter
	SetCount(value int32) PatternFlowEthernetPauseControlOpCodeCounter
	// HasCount checks if Count has been set in PatternFlowEthernetPauseControlOpCodeCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseControlOpCodeCounter is integer counter pattern

func NewPatternFlowEthernetPauseControlOpCodeCounter added in v0.6.5

func NewPatternFlowEthernetPauseControlOpCodeCounter() PatternFlowEthernetPauseControlOpCodeCounter

type PatternFlowEthernetPauseControlOpCodeMetricTag added in v0.11.13

type PatternFlowEthernetPauseControlOpCodeMetricTag interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseControlOpCodeMetricTag to protobuf object *otg.PatternFlowEthernetPauseControlOpCodeMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseControlOpCodeMetricTag
	// SetMsg unmarshals PatternFlowEthernetPauseControlOpCodeMetricTag from protobuf object *otg.PatternFlowEthernetPauseControlOpCodeMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseControlOpCodeMetricTag) PatternFlowEthernetPauseControlOpCodeMetricTag
	// ToProto marshals PatternFlowEthernetPauseControlOpCodeMetricTag to protobuf object *otg.PatternFlowEthernetPauseControlOpCodeMetricTag
	ToProto() (*otg.PatternFlowEthernetPauseControlOpCodeMetricTag, error)
	// ToPbText marshals PatternFlowEthernetPauseControlOpCodeMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseControlOpCodeMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseControlOpCodeMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseControlOpCodeMetricTag from protobuf object *otg.PatternFlowEthernetPauseControlOpCodeMetricTag
	FromProto(msg *otg.PatternFlowEthernetPauseControlOpCodeMetricTag) (PatternFlowEthernetPauseControlOpCodeMetricTag, error)
	// FromPbText unmarshals PatternFlowEthernetPauseControlOpCodeMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseControlOpCodeMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseControlOpCodeMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseControlOpCodeMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseControlOpCodeMetricTag, error)

	// Name returns string, set in PatternFlowEthernetPauseControlOpCodeMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowEthernetPauseControlOpCodeMetricTag
	SetName(value string) PatternFlowEthernetPauseControlOpCodeMetricTag
	// Offset returns int32, set in PatternFlowEthernetPauseControlOpCodeMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowEthernetPauseControlOpCodeMetricTag
	SetOffset(value int32) PatternFlowEthernetPauseControlOpCodeMetricTag
	// HasOffset checks if Offset has been set in PatternFlowEthernetPauseControlOpCodeMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowEthernetPauseControlOpCodeMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowEthernetPauseControlOpCodeMetricTag
	SetLength(value int32) PatternFlowEthernetPauseControlOpCodeMetricTag
	// HasLength checks if Length has been set in PatternFlowEthernetPauseControlOpCodeMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseControlOpCodeMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowEthernetPauseControlOpCodeMetricTag added in v0.11.13

func NewPatternFlowEthernetPauseControlOpCodeMetricTag() PatternFlowEthernetPauseControlOpCodeMetricTag

type PatternFlowEthernetPauseDst

type PatternFlowEthernetPauseDst interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseDst to protobuf object *otg.PatternFlowEthernetPauseDst
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseDst
	// SetMsg unmarshals PatternFlowEthernetPauseDst from protobuf object *otg.PatternFlowEthernetPauseDst
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseDst) PatternFlowEthernetPauseDst
	// ToProto marshals PatternFlowEthernetPauseDst to protobuf object *otg.PatternFlowEthernetPauseDst
	ToProto() (*otg.PatternFlowEthernetPauseDst, error)
	// ToPbText marshals PatternFlowEthernetPauseDst to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseDst to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseDst to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseDst from protobuf object *otg.PatternFlowEthernetPauseDst
	FromProto(msg *otg.PatternFlowEthernetPauseDst) (PatternFlowEthernetPauseDst, error)
	// FromPbText unmarshals PatternFlowEthernetPauseDst from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseDst from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseDst from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseDst
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseDst, error)

	// Choice returns PatternFlowEthernetPauseDstChoiceEnum, set in PatternFlowEthernetPauseDst
	Choice() PatternFlowEthernetPauseDstChoiceEnum
	// SetChoice assigns PatternFlowEthernetPauseDstChoiceEnum provided by user to PatternFlowEthernetPauseDst
	SetChoice(value PatternFlowEthernetPauseDstChoiceEnum) PatternFlowEthernetPauseDst
	// HasChoice checks if Choice has been set in PatternFlowEthernetPauseDst
	HasChoice() bool
	// Value returns string, set in PatternFlowEthernetPauseDst.
	Value() string
	// SetValue assigns string provided by user to PatternFlowEthernetPauseDst
	SetValue(value string) PatternFlowEthernetPauseDst
	// HasValue checks if Value has been set in PatternFlowEthernetPauseDst
	HasValue() bool
	// Values returns []string, set in PatternFlowEthernetPauseDst.
	Values() []string
	// SetValues assigns []string provided by user to PatternFlowEthernetPauseDst
	SetValues(value []string) PatternFlowEthernetPauseDst
	// Increment returns PatternFlowEthernetPauseDstCounter, set in PatternFlowEthernetPauseDst.
	// PatternFlowEthernetPauseDstCounter is mac counter pattern
	Increment() PatternFlowEthernetPauseDstCounter
	// SetIncrement assigns PatternFlowEthernetPauseDstCounter provided by user to PatternFlowEthernetPauseDst.
	// PatternFlowEthernetPauseDstCounter is mac counter pattern
	SetIncrement(value PatternFlowEthernetPauseDstCounter) PatternFlowEthernetPauseDst
	// HasIncrement checks if Increment has been set in PatternFlowEthernetPauseDst
	HasIncrement() bool
	// Decrement returns PatternFlowEthernetPauseDstCounter, set in PatternFlowEthernetPauseDst.
	// PatternFlowEthernetPauseDstCounter is mac counter pattern
	Decrement() PatternFlowEthernetPauseDstCounter
	// SetDecrement assigns PatternFlowEthernetPauseDstCounter provided by user to PatternFlowEthernetPauseDst.
	// PatternFlowEthernetPauseDstCounter is mac counter pattern
	SetDecrement(value PatternFlowEthernetPauseDstCounter) PatternFlowEthernetPauseDst
	// HasDecrement checks if Decrement has been set in PatternFlowEthernetPauseDst
	HasDecrement() bool
	// MetricTags returns PatternFlowEthernetPauseDstPatternFlowEthernetPauseDstMetricTagIterIter, set in PatternFlowEthernetPauseDst
	MetricTags() PatternFlowEthernetPauseDstPatternFlowEthernetPauseDstMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseDst is destination MAC address

func NewPatternFlowEthernetPauseDst added in v0.6.5

func NewPatternFlowEthernetPauseDst() PatternFlowEthernetPauseDst

type PatternFlowEthernetPauseDstChoiceEnum

type PatternFlowEthernetPauseDstChoiceEnum string

type PatternFlowEthernetPauseDstCounter

type PatternFlowEthernetPauseDstCounter interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseDstCounter to protobuf object *otg.PatternFlowEthernetPauseDstCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseDstCounter
	// SetMsg unmarshals PatternFlowEthernetPauseDstCounter from protobuf object *otg.PatternFlowEthernetPauseDstCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseDstCounter) PatternFlowEthernetPauseDstCounter
	// ToProto marshals PatternFlowEthernetPauseDstCounter to protobuf object *otg.PatternFlowEthernetPauseDstCounter
	ToProto() (*otg.PatternFlowEthernetPauseDstCounter, error)
	// ToPbText marshals PatternFlowEthernetPauseDstCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseDstCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseDstCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseDstCounter from protobuf object *otg.PatternFlowEthernetPauseDstCounter
	FromProto(msg *otg.PatternFlowEthernetPauseDstCounter) (PatternFlowEthernetPauseDstCounter, error)
	// FromPbText unmarshals PatternFlowEthernetPauseDstCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseDstCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseDstCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseDstCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseDstCounter, error)

	// Start returns string, set in PatternFlowEthernetPauseDstCounter.
	Start() string
	// SetStart assigns string provided by user to PatternFlowEthernetPauseDstCounter
	SetStart(value string) PatternFlowEthernetPauseDstCounter
	// HasStart checks if Start has been set in PatternFlowEthernetPauseDstCounter
	HasStart() bool
	// Step returns string, set in PatternFlowEthernetPauseDstCounter.
	Step() string
	// SetStep assigns string provided by user to PatternFlowEthernetPauseDstCounter
	SetStep(value string) PatternFlowEthernetPauseDstCounter
	// HasStep checks if Step has been set in PatternFlowEthernetPauseDstCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowEthernetPauseDstCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowEthernetPauseDstCounter
	SetCount(value int32) PatternFlowEthernetPauseDstCounter
	// HasCount checks if Count has been set in PatternFlowEthernetPauseDstCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseDstCounter is mac counter pattern

func NewPatternFlowEthernetPauseDstCounter added in v0.6.5

func NewPatternFlowEthernetPauseDstCounter() PatternFlowEthernetPauseDstCounter

type PatternFlowEthernetPauseDstMetricTag added in v0.11.13

type PatternFlowEthernetPauseDstMetricTag interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseDstMetricTag to protobuf object *otg.PatternFlowEthernetPauseDstMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseDstMetricTag
	// SetMsg unmarshals PatternFlowEthernetPauseDstMetricTag from protobuf object *otg.PatternFlowEthernetPauseDstMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseDstMetricTag) PatternFlowEthernetPauseDstMetricTag
	// ToProto marshals PatternFlowEthernetPauseDstMetricTag to protobuf object *otg.PatternFlowEthernetPauseDstMetricTag
	ToProto() (*otg.PatternFlowEthernetPauseDstMetricTag, error)
	// ToPbText marshals PatternFlowEthernetPauseDstMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseDstMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseDstMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseDstMetricTag from protobuf object *otg.PatternFlowEthernetPauseDstMetricTag
	FromProto(msg *otg.PatternFlowEthernetPauseDstMetricTag) (PatternFlowEthernetPauseDstMetricTag, error)
	// FromPbText unmarshals PatternFlowEthernetPauseDstMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseDstMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseDstMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseDstMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseDstMetricTag, error)

	// Name returns string, set in PatternFlowEthernetPauseDstMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowEthernetPauseDstMetricTag
	SetName(value string) PatternFlowEthernetPauseDstMetricTag
	// Offset returns int32, set in PatternFlowEthernetPauseDstMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowEthernetPauseDstMetricTag
	SetOffset(value int32) PatternFlowEthernetPauseDstMetricTag
	// HasOffset checks if Offset has been set in PatternFlowEthernetPauseDstMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowEthernetPauseDstMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowEthernetPauseDstMetricTag
	SetLength(value int32) PatternFlowEthernetPauseDstMetricTag
	// HasLength checks if Length has been set in PatternFlowEthernetPauseDstMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseDstMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowEthernetPauseDstMetricTag added in v0.11.13

func NewPatternFlowEthernetPauseDstMetricTag() PatternFlowEthernetPauseDstMetricTag

type PatternFlowEthernetPauseEtherType

type PatternFlowEthernetPauseEtherType interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseEtherType to protobuf object *otg.PatternFlowEthernetPauseEtherType
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseEtherType
	// SetMsg unmarshals PatternFlowEthernetPauseEtherType from protobuf object *otg.PatternFlowEthernetPauseEtherType
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseEtherType) PatternFlowEthernetPauseEtherType
	// ToProto marshals PatternFlowEthernetPauseEtherType to protobuf object *otg.PatternFlowEthernetPauseEtherType
	ToProto() (*otg.PatternFlowEthernetPauseEtherType, error)
	// ToPbText marshals PatternFlowEthernetPauseEtherType to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseEtherType to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseEtherType to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseEtherType from protobuf object *otg.PatternFlowEthernetPauseEtherType
	FromProto(msg *otg.PatternFlowEthernetPauseEtherType) (PatternFlowEthernetPauseEtherType, error)
	// FromPbText unmarshals PatternFlowEthernetPauseEtherType from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseEtherType from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseEtherType from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseEtherType
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseEtherType, error)

	// Choice returns PatternFlowEthernetPauseEtherTypeChoiceEnum, set in PatternFlowEthernetPauseEtherType
	Choice() PatternFlowEthernetPauseEtherTypeChoiceEnum
	// SetChoice assigns PatternFlowEthernetPauseEtherTypeChoiceEnum provided by user to PatternFlowEthernetPauseEtherType
	SetChoice(value PatternFlowEthernetPauseEtherTypeChoiceEnum) PatternFlowEthernetPauseEtherType
	// HasChoice checks if Choice has been set in PatternFlowEthernetPauseEtherType
	HasChoice() bool
	// Value returns int32, set in PatternFlowEthernetPauseEtherType.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowEthernetPauseEtherType
	SetValue(value int32) PatternFlowEthernetPauseEtherType
	// HasValue checks if Value has been set in PatternFlowEthernetPauseEtherType
	HasValue() bool
	// Values returns []int32, set in PatternFlowEthernetPauseEtherType.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowEthernetPauseEtherType
	SetValues(value []int32) PatternFlowEthernetPauseEtherType
	// Increment returns PatternFlowEthernetPauseEtherTypeCounter, set in PatternFlowEthernetPauseEtherType.
	// PatternFlowEthernetPauseEtherTypeCounter is integer counter pattern
	Increment() PatternFlowEthernetPauseEtherTypeCounter
	// SetIncrement assigns PatternFlowEthernetPauseEtherTypeCounter provided by user to PatternFlowEthernetPauseEtherType.
	// PatternFlowEthernetPauseEtherTypeCounter is integer counter pattern
	SetIncrement(value PatternFlowEthernetPauseEtherTypeCounter) PatternFlowEthernetPauseEtherType
	// HasIncrement checks if Increment has been set in PatternFlowEthernetPauseEtherType
	HasIncrement() bool
	// Decrement returns PatternFlowEthernetPauseEtherTypeCounter, set in PatternFlowEthernetPauseEtherType.
	// PatternFlowEthernetPauseEtherTypeCounter is integer counter pattern
	Decrement() PatternFlowEthernetPauseEtherTypeCounter
	// SetDecrement assigns PatternFlowEthernetPauseEtherTypeCounter provided by user to PatternFlowEthernetPauseEtherType.
	// PatternFlowEthernetPauseEtherTypeCounter is integer counter pattern
	SetDecrement(value PatternFlowEthernetPauseEtherTypeCounter) PatternFlowEthernetPauseEtherType
	// HasDecrement checks if Decrement has been set in PatternFlowEthernetPauseEtherType
	HasDecrement() bool
	// MetricTags returns PatternFlowEthernetPauseEtherTypePatternFlowEthernetPauseEtherTypeMetricTagIterIter, set in PatternFlowEthernetPauseEtherType
	MetricTags() PatternFlowEthernetPauseEtherTypePatternFlowEthernetPauseEtherTypeMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseEtherType is ethernet type

func NewPatternFlowEthernetPauseEtherType added in v0.6.5

func NewPatternFlowEthernetPauseEtherType() PatternFlowEthernetPauseEtherType

type PatternFlowEthernetPauseEtherTypeChoiceEnum

type PatternFlowEthernetPauseEtherTypeChoiceEnum string

type PatternFlowEthernetPauseEtherTypeCounter

type PatternFlowEthernetPauseEtherTypeCounter interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseEtherTypeCounter to protobuf object *otg.PatternFlowEthernetPauseEtherTypeCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseEtherTypeCounter
	// SetMsg unmarshals PatternFlowEthernetPauseEtherTypeCounter from protobuf object *otg.PatternFlowEthernetPauseEtherTypeCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseEtherTypeCounter) PatternFlowEthernetPauseEtherTypeCounter
	// ToProto marshals PatternFlowEthernetPauseEtherTypeCounter to protobuf object *otg.PatternFlowEthernetPauseEtherTypeCounter
	ToProto() (*otg.PatternFlowEthernetPauseEtherTypeCounter, error)
	// ToPbText marshals PatternFlowEthernetPauseEtherTypeCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseEtherTypeCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseEtherTypeCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseEtherTypeCounter from protobuf object *otg.PatternFlowEthernetPauseEtherTypeCounter
	FromProto(msg *otg.PatternFlowEthernetPauseEtherTypeCounter) (PatternFlowEthernetPauseEtherTypeCounter, error)
	// FromPbText unmarshals PatternFlowEthernetPauseEtherTypeCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseEtherTypeCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseEtherTypeCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseEtherTypeCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseEtherTypeCounter, error)

	// Start returns int32, set in PatternFlowEthernetPauseEtherTypeCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowEthernetPauseEtherTypeCounter
	SetStart(value int32) PatternFlowEthernetPauseEtherTypeCounter
	// HasStart checks if Start has been set in PatternFlowEthernetPauseEtherTypeCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowEthernetPauseEtherTypeCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowEthernetPauseEtherTypeCounter
	SetStep(value int32) PatternFlowEthernetPauseEtherTypeCounter
	// HasStep checks if Step has been set in PatternFlowEthernetPauseEtherTypeCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowEthernetPauseEtherTypeCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowEthernetPauseEtherTypeCounter
	SetCount(value int32) PatternFlowEthernetPauseEtherTypeCounter
	// HasCount checks if Count has been set in PatternFlowEthernetPauseEtherTypeCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseEtherTypeCounter is integer counter pattern

func NewPatternFlowEthernetPauseEtherTypeCounter added in v0.6.5

func NewPatternFlowEthernetPauseEtherTypeCounter() PatternFlowEthernetPauseEtherTypeCounter

type PatternFlowEthernetPauseEtherTypeMetricTag added in v0.11.13

type PatternFlowEthernetPauseEtherTypeMetricTag interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseEtherTypeMetricTag to protobuf object *otg.PatternFlowEthernetPauseEtherTypeMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseEtherTypeMetricTag
	// SetMsg unmarshals PatternFlowEthernetPauseEtherTypeMetricTag from protobuf object *otg.PatternFlowEthernetPauseEtherTypeMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseEtherTypeMetricTag) PatternFlowEthernetPauseEtherTypeMetricTag
	// ToProto marshals PatternFlowEthernetPauseEtherTypeMetricTag to protobuf object *otg.PatternFlowEthernetPauseEtherTypeMetricTag
	ToProto() (*otg.PatternFlowEthernetPauseEtherTypeMetricTag, error)
	// ToPbText marshals PatternFlowEthernetPauseEtherTypeMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseEtherTypeMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseEtherTypeMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseEtherTypeMetricTag from protobuf object *otg.PatternFlowEthernetPauseEtherTypeMetricTag
	FromProto(msg *otg.PatternFlowEthernetPauseEtherTypeMetricTag) (PatternFlowEthernetPauseEtherTypeMetricTag, error)
	// FromPbText unmarshals PatternFlowEthernetPauseEtherTypeMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseEtherTypeMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseEtherTypeMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseEtherTypeMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseEtherTypeMetricTag, error)

	// Name returns string, set in PatternFlowEthernetPauseEtherTypeMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowEthernetPauseEtherTypeMetricTag
	SetName(value string) PatternFlowEthernetPauseEtherTypeMetricTag
	// Offset returns int32, set in PatternFlowEthernetPauseEtherTypeMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowEthernetPauseEtherTypeMetricTag
	SetOffset(value int32) PatternFlowEthernetPauseEtherTypeMetricTag
	// HasOffset checks if Offset has been set in PatternFlowEthernetPauseEtherTypeMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowEthernetPauseEtherTypeMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowEthernetPauseEtherTypeMetricTag
	SetLength(value int32) PatternFlowEthernetPauseEtherTypeMetricTag
	// HasLength checks if Length has been set in PatternFlowEthernetPauseEtherTypeMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseEtherTypeMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowEthernetPauseEtherTypeMetricTag added in v0.11.13

func NewPatternFlowEthernetPauseEtherTypeMetricTag() PatternFlowEthernetPauseEtherTypeMetricTag

type PatternFlowEthernetPauseSrc

type PatternFlowEthernetPauseSrc interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseSrc to protobuf object *otg.PatternFlowEthernetPauseSrc
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseSrc
	// SetMsg unmarshals PatternFlowEthernetPauseSrc from protobuf object *otg.PatternFlowEthernetPauseSrc
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseSrc) PatternFlowEthernetPauseSrc
	// ToProto marshals PatternFlowEthernetPauseSrc to protobuf object *otg.PatternFlowEthernetPauseSrc
	ToProto() (*otg.PatternFlowEthernetPauseSrc, error)
	// ToPbText marshals PatternFlowEthernetPauseSrc to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseSrc to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseSrc to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseSrc from protobuf object *otg.PatternFlowEthernetPauseSrc
	FromProto(msg *otg.PatternFlowEthernetPauseSrc) (PatternFlowEthernetPauseSrc, error)
	// FromPbText unmarshals PatternFlowEthernetPauseSrc from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseSrc from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseSrc from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseSrc
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseSrc, error)

	// Choice returns PatternFlowEthernetPauseSrcChoiceEnum, set in PatternFlowEthernetPauseSrc
	Choice() PatternFlowEthernetPauseSrcChoiceEnum
	// SetChoice assigns PatternFlowEthernetPauseSrcChoiceEnum provided by user to PatternFlowEthernetPauseSrc
	SetChoice(value PatternFlowEthernetPauseSrcChoiceEnum) PatternFlowEthernetPauseSrc
	// HasChoice checks if Choice has been set in PatternFlowEthernetPauseSrc
	HasChoice() bool
	// Value returns string, set in PatternFlowEthernetPauseSrc.
	Value() string
	// SetValue assigns string provided by user to PatternFlowEthernetPauseSrc
	SetValue(value string) PatternFlowEthernetPauseSrc
	// HasValue checks if Value has been set in PatternFlowEthernetPauseSrc
	HasValue() bool
	// Values returns []string, set in PatternFlowEthernetPauseSrc.
	Values() []string
	// SetValues assigns []string provided by user to PatternFlowEthernetPauseSrc
	SetValues(value []string) PatternFlowEthernetPauseSrc
	// Increment returns PatternFlowEthernetPauseSrcCounter, set in PatternFlowEthernetPauseSrc.
	// PatternFlowEthernetPauseSrcCounter is mac counter pattern
	Increment() PatternFlowEthernetPauseSrcCounter
	// SetIncrement assigns PatternFlowEthernetPauseSrcCounter provided by user to PatternFlowEthernetPauseSrc.
	// PatternFlowEthernetPauseSrcCounter is mac counter pattern
	SetIncrement(value PatternFlowEthernetPauseSrcCounter) PatternFlowEthernetPauseSrc
	// HasIncrement checks if Increment has been set in PatternFlowEthernetPauseSrc
	HasIncrement() bool
	// Decrement returns PatternFlowEthernetPauseSrcCounter, set in PatternFlowEthernetPauseSrc.
	// PatternFlowEthernetPauseSrcCounter is mac counter pattern
	Decrement() PatternFlowEthernetPauseSrcCounter
	// SetDecrement assigns PatternFlowEthernetPauseSrcCounter provided by user to PatternFlowEthernetPauseSrc.
	// PatternFlowEthernetPauseSrcCounter is mac counter pattern
	SetDecrement(value PatternFlowEthernetPauseSrcCounter) PatternFlowEthernetPauseSrc
	// HasDecrement checks if Decrement has been set in PatternFlowEthernetPauseSrc
	HasDecrement() bool
	// MetricTags returns PatternFlowEthernetPauseSrcPatternFlowEthernetPauseSrcMetricTagIterIter, set in PatternFlowEthernetPauseSrc
	MetricTags() PatternFlowEthernetPauseSrcPatternFlowEthernetPauseSrcMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseSrc is source MAC address

func NewPatternFlowEthernetPauseSrc added in v0.6.5

func NewPatternFlowEthernetPauseSrc() PatternFlowEthernetPauseSrc

type PatternFlowEthernetPauseSrcChoiceEnum

type PatternFlowEthernetPauseSrcChoiceEnum string

type PatternFlowEthernetPauseSrcCounter

type PatternFlowEthernetPauseSrcCounter interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseSrcCounter to protobuf object *otg.PatternFlowEthernetPauseSrcCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseSrcCounter
	// SetMsg unmarshals PatternFlowEthernetPauseSrcCounter from protobuf object *otg.PatternFlowEthernetPauseSrcCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseSrcCounter) PatternFlowEthernetPauseSrcCounter
	// ToProto marshals PatternFlowEthernetPauseSrcCounter to protobuf object *otg.PatternFlowEthernetPauseSrcCounter
	ToProto() (*otg.PatternFlowEthernetPauseSrcCounter, error)
	// ToPbText marshals PatternFlowEthernetPauseSrcCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseSrcCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseSrcCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseSrcCounter from protobuf object *otg.PatternFlowEthernetPauseSrcCounter
	FromProto(msg *otg.PatternFlowEthernetPauseSrcCounter) (PatternFlowEthernetPauseSrcCounter, error)
	// FromPbText unmarshals PatternFlowEthernetPauseSrcCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseSrcCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseSrcCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseSrcCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseSrcCounter, error)

	// Start returns string, set in PatternFlowEthernetPauseSrcCounter.
	Start() string
	// SetStart assigns string provided by user to PatternFlowEthernetPauseSrcCounter
	SetStart(value string) PatternFlowEthernetPauseSrcCounter
	// HasStart checks if Start has been set in PatternFlowEthernetPauseSrcCounter
	HasStart() bool
	// Step returns string, set in PatternFlowEthernetPauseSrcCounter.
	Step() string
	// SetStep assigns string provided by user to PatternFlowEthernetPauseSrcCounter
	SetStep(value string) PatternFlowEthernetPauseSrcCounter
	// HasStep checks if Step has been set in PatternFlowEthernetPauseSrcCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowEthernetPauseSrcCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowEthernetPauseSrcCounter
	SetCount(value int32) PatternFlowEthernetPauseSrcCounter
	// HasCount checks if Count has been set in PatternFlowEthernetPauseSrcCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseSrcCounter is mac counter pattern

func NewPatternFlowEthernetPauseSrcCounter added in v0.6.5

func NewPatternFlowEthernetPauseSrcCounter() PatternFlowEthernetPauseSrcCounter

type PatternFlowEthernetPauseSrcMetricTag added in v0.11.13

type PatternFlowEthernetPauseSrcMetricTag interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseSrcMetricTag to protobuf object *otg.PatternFlowEthernetPauseSrcMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseSrcMetricTag
	// SetMsg unmarshals PatternFlowEthernetPauseSrcMetricTag from protobuf object *otg.PatternFlowEthernetPauseSrcMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseSrcMetricTag) PatternFlowEthernetPauseSrcMetricTag
	// ToProto marshals PatternFlowEthernetPauseSrcMetricTag to protobuf object *otg.PatternFlowEthernetPauseSrcMetricTag
	ToProto() (*otg.PatternFlowEthernetPauseSrcMetricTag, error)
	// ToPbText marshals PatternFlowEthernetPauseSrcMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseSrcMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseSrcMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseSrcMetricTag from protobuf object *otg.PatternFlowEthernetPauseSrcMetricTag
	FromProto(msg *otg.PatternFlowEthernetPauseSrcMetricTag) (PatternFlowEthernetPauseSrcMetricTag, error)
	// FromPbText unmarshals PatternFlowEthernetPauseSrcMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseSrcMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseSrcMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseSrcMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseSrcMetricTag, error)

	// Name returns string, set in PatternFlowEthernetPauseSrcMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowEthernetPauseSrcMetricTag
	SetName(value string) PatternFlowEthernetPauseSrcMetricTag
	// Offset returns int32, set in PatternFlowEthernetPauseSrcMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowEthernetPauseSrcMetricTag
	SetOffset(value int32) PatternFlowEthernetPauseSrcMetricTag
	// HasOffset checks if Offset has been set in PatternFlowEthernetPauseSrcMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowEthernetPauseSrcMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowEthernetPauseSrcMetricTag
	SetLength(value int32) PatternFlowEthernetPauseSrcMetricTag
	// HasLength checks if Length has been set in PatternFlowEthernetPauseSrcMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseSrcMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowEthernetPauseSrcMetricTag added in v0.11.13

func NewPatternFlowEthernetPauseSrcMetricTag() PatternFlowEthernetPauseSrcMetricTag

type PatternFlowEthernetPauseTime

type PatternFlowEthernetPauseTime interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseTime to protobuf object *otg.PatternFlowEthernetPauseTime
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseTime
	// SetMsg unmarshals PatternFlowEthernetPauseTime from protobuf object *otg.PatternFlowEthernetPauseTime
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseTime) PatternFlowEthernetPauseTime
	// ToProto marshals PatternFlowEthernetPauseTime to protobuf object *otg.PatternFlowEthernetPauseTime
	ToProto() (*otg.PatternFlowEthernetPauseTime, error)
	// ToPbText marshals PatternFlowEthernetPauseTime to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseTime to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseTime to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseTime from protobuf object *otg.PatternFlowEthernetPauseTime
	FromProto(msg *otg.PatternFlowEthernetPauseTime) (PatternFlowEthernetPauseTime, error)
	// FromPbText unmarshals PatternFlowEthernetPauseTime from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseTime from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseTime from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseTime
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseTime, error)

	// Choice returns PatternFlowEthernetPauseTimeChoiceEnum, set in PatternFlowEthernetPauseTime
	Choice() PatternFlowEthernetPauseTimeChoiceEnum
	// SetChoice assigns PatternFlowEthernetPauseTimeChoiceEnum provided by user to PatternFlowEthernetPauseTime
	SetChoice(value PatternFlowEthernetPauseTimeChoiceEnum) PatternFlowEthernetPauseTime
	// HasChoice checks if Choice has been set in PatternFlowEthernetPauseTime
	HasChoice() bool
	// Value returns int32, set in PatternFlowEthernetPauseTime.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowEthernetPauseTime
	SetValue(value int32) PatternFlowEthernetPauseTime
	// HasValue checks if Value has been set in PatternFlowEthernetPauseTime
	HasValue() bool
	// Values returns []int32, set in PatternFlowEthernetPauseTime.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowEthernetPauseTime
	SetValues(value []int32) PatternFlowEthernetPauseTime
	// Increment returns PatternFlowEthernetPauseTimeCounter, set in PatternFlowEthernetPauseTime.
	// PatternFlowEthernetPauseTimeCounter is integer counter pattern
	Increment() PatternFlowEthernetPauseTimeCounter
	// SetIncrement assigns PatternFlowEthernetPauseTimeCounter provided by user to PatternFlowEthernetPauseTime.
	// PatternFlowEthernetPauseTimeCounter is integer counter pattern
	SetIncrement(value PatternFlowEthernetPauseTimeCounter) PatternFlowEthernetPauseTime
	// HasIncrement checks if Increment has been set in PatternFlowEthernetPauseTime
	HasIncrement() bool
	// Decrement returns PatternFlowEthernetPauseTimeCounter, set in PatternFlowEthernetPauseTime.
	// PatternFlowEthernetPauseTimeCounter is integer counter pattern
	Decrement() PatternFlowEthernetPauseTimeCounter
	// SetDecrement assigns PatternFlowEthernetPauseTimeCounter provided by user to PatternFlowEthernetPauseTime.
	// PatternFlowEthernetPauseTimeCounter is integer counter pattern
	SetDecrement(value PatternFlowEthernetPauseTimeCounter) PatternFlowEthernetPauseTime
	// HasDecrement checks if Decrement has been set in PatternFlowEthernetPauseTime
	HasDecrement() bool
	// MetricTags returns PatternFlowEthernetPauseTimePatternFlowEthernetPauseTimeMetricTagIterIter, set in PatternFlowEthernetPauseTime
	MetricTags() PatternFlowEthernetPauseTimePatternFlowEthernetPauseTimeMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseTime is time

func NewPatternFlowEthernetPauseTime added in v0.6.5

func NewPatternFlowEthernetPauseTime() PatternFlowEthernetPauseTime

type PatternFlowEthernetPauseTimeChoiceEnum

type PatternFlowEthernetPauseTimeChoiceEnum string

type PatternFlowEthernetPauseTimeCounter

type PatternFlowEthernetPauseTimeCounter interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseTimeCounter to protobuf object *otg.PatternFlowEthernetPauseTimeCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseTimeCounter
	// SetMsg unmarshals PatternFlowEthernetPauseTimeCounter from protobuf object *otg.PatternFlowEthernetPauseTimeCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseTimeCounter) PatternFlowEthernetPauseTimeCounter
	// ToProto marshals PatternFlowEthernetPauseTimeCounter to protobuf object *otg.PatternFlowEthernetPauseTimeCounter
	ToProto() (*otg.PatternFlowEthernetPauseTimeCounter, error)
	// ToPbText marshals PatternFlowEthernetPauseTimeCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseTimeCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseTimeCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseTimeCounter from protobuf object *otg.PatternFlowEthernetPauseTimeCounter
	FromProto(msg *otg.PatternFlowEthernetPauseTimeCounter) (PatternFlowEthernetPauseTimeCounter, error)
	// FromPbText unmarshals PatternFlowEthernetPauseTimeCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseTimeCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseTimeCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseTimeCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseTimeCounter, error)

	// Start returns int32, set in PatternFlowEthernetPauseTimeCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowEthernetPauseTimeCounter
	SetStart(value int32) PatternFlowEthernetPauseTimeCounter
	// HasStart checks if Start has been set in PatternFlowEthernetPauseTimeCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowEthernetPauseTimeCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowEthernetPauseTimeCounter
	SetStep(value int32) PatternFlowEthernetPauseTimeCounter
	// HasStep checks if Step has been set in PatternFlowEthernetPauseTimeCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowEthernetPauseTimeCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowEthernetPauseTimeCounter
	SetCount(value int32) PatternFlowEthernetPauseTimeCounter
	// HasCount checks if Count has been set in PatternFlowEthernetPauseTimeCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseTimeCounter is integer counter pattern

func NewPatternFlowEthernetPauseTimeCounter added in v0.6.5

func NewPatternFlowEthernetPauseTimeCounter() PatternFlowEthernetPauseTimeCounter

type PatternFlowEthernetPauseTimeMetricTag added in v0.11.13

type PatternFlowEthernetPauseTimeMetricTag interface {
	Validation
	// Msg marshals PatternFlowEthernetPauseTimeMetricTag to protobuf object *otg.PatternFlowEthernetPauseTimeMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPauseTimeMetricTag
	// SetMsg unmarshals PatternFlowEthernetPauseTimeMetricTag from protobuf object *otg.PatternFlowEthernetPauseTimeMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPauseTimeMetricTag) PatternFlowEthernetPauseTimeMetricTag
	// ToProto marshals PatternFlowEthernetPauseTimeMetricTag to protobuf object *otg.PatternFlowEthernetPauseTimeMetricTag
	ToProto() (*otg.PatternFlowEthernetPauseTimeMetricTag, error)
	// ToPbText marshals PatternFlowEthernetPauseTimeMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPauseTimeMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPauseTimeMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPauseTimeMetricTag from protobuf object *otg.PatternFlowEthernetPauseTimeMetricTag
	FromProto(msg *otg.PatternFlowEthernetPauseTimeMetricTag) (PatternFlowEthernetPauseTimeMetricTag, error)
	// FromPbText unmarshals PatternFlowEthernetPauseTimeMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPauseTimeMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPauseTimeMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPauseTimeMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPauseTimeMetricTag, error)

	// Name returns string, set in PatternFlowEthernetPauseTimeMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowEthernetPauseTimeMetricTag
	SetName(value string) PatternFlowEthernetPauseTimeMetricTag
	// Offset returns int32, set in PatternFlowEthernetPauseTimeMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowEthernetPauseTimeMetricTag
	SetOffset(value int32) PatternFlowEthernetPauseTimeMetricTag
	// HasOffset checks if Offset has been set in PatternFlowEthernetPauseTimeMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowEthernetPauseTimeMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowEthernetPauseTimeMetricTag
	SetLength(value int32) PatternFlowEthernetPauseTimeMetricTag
	// HasLength checks if Length has been set in PatternFlowEthernetPauseTimeMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetPauseTimeMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowEthernetPauseTimeMetricTag added in v0.11.13

func NewPatternFlowEthernetPauseTimeMetricTag() PatternFlowEthernetPauseTimeMetricTag

type PatternFlowEthernetPfcQueue

type PatternFlowEthernetPfcQueue interface {
	Validation
	// Msg marshals PatternFlowEthernetPfcQueue to protobuf object *otg.PatternFlowEthernetPfcQueue
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPfcQueue
	// SetMsg unmarshals PatternFlowEthernetPfcQueue from protobuf object *otg.PatternFlowEthernetPfcQueue
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPfcQueue) PatternFlowEthernetPfcQueue
	// ToProto marshals PatternFlowEthernetPfcQueue to protobuf object *otg.PatternFlowEthernetPfcQueue
	ToProto() (*otg.PatternFlowEthernetPfcQueue, error)
	// ToPbText marshals PatternFlowEthernetPfcQueue to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPfcQueue to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPfcQueue to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPfcQueue from protobuf object *otg.PatternFlowEthernetPfcQueue
	FromProto(msg *otg.PatternFlowEthernetPfcQueue) (PatternFlowEthernetPfcQueue, error)
	// FromPbText unmarshals PatternFlowEthernetPfcQueue from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPfcQueue from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPfcQueue from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPfcQueue
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPfcQueue, error)

	// Choice returns PatternFlowEthernetPfcQueueChoiceEnum, set in PatternFlowEthernetPfcQueue
	Choice() PatternFlowEthernetPfcQueueChoiceEnum
	// SetChoice assigns PatternFlowEthernetPfcQueueChoiceEnum provided by user to PatternFlowEthernetPfcQueue
	SetChoice(value PatternFlowEthernetPfcQueueChoiceEnum) PatternFlowEthernetPfcQueue
	// HasChoice checks if Choice has been set in PatternFlowEthernetPfcQueue
	HasChoice() bool
	// Value returns int32, set in PatternFlowEthernetPfcQueue.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowEthernetPfcQueue
	SetValue(value int32) PatternFlowEthernetPfcQueue
	// HasValue checks if Value has been set in PatternFlowEthernetPfcQueue
	HasValue() bool
	// Values returns []int32, set in PatternFlowEthernetPfcQueue.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowEthernetPfcQueue
	SetValues(value []int32) PatternFlowEthernetPfcQueue
	// Increment returns PatternFlowEthernetPfcQueueCounter, set in PatternFlowEthernetPfcQueue.
	// PatternFlowEthernetPfcQueueCounter is integer counter pattern
	Increment() PatternFlowEthernetPfcQueueCounter
	// SetIncrement assigns PatternFlowEthernetPfcQueueCounter provided by user to PatternFlowEthernetPfcQueue.
	// PatternFlowEthernetPfcQueueCounter is integer counter pattern
	SetIncrement(value PatternFlowEthernetPfcQueueCounter) PatternFlowEthernetPfcQueue
	// HasIncrement checks if Increment has been set in PatternFlowEthernetPfcQueue
	HasIncrement() bool
	// Decrement returns PatternFlowEthernetPfcQueueCounter, set in PatternFlowEthernetPfcQueue.
	// PatternFlowEthernetPfcQueueCounter is integer counter pattern
	Decrement() PatternFlowEthernetPfcQueueCounter
	// SetDecrement assigns PatternFlowEthernetPfcQueueCounter provided by user to PatternFlowEthernetPfcQueue.
	// PatternFlowEthernetPfcQueueCounter is integer counter pattern
	SetDecrement(value PatternFlowEthernetPfcQueueCounter) PatternFlowEthernetPfcQueue
	// HasDecrement checks if Decrement has been set in PatternFlowEthernetPfcQueue
	HasDecrement() bool
	// MetricTags returns PatternFlowEthernetPfcQueuePatternFlowEthernetPfcQueueMetricTagIterIter, set in PatternFlowEthernetPfcQueue
	MetricTags() PatternFlowEthernetPfcQueuePatternFlowEthernetPfcQueueMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowEthernetPfcQueue is priority flow control queue

func NewPatternFlowEthernetPfcQueue added in v0.6.5

func NewPatternFlowEthernetPfcQueue() PatternFlowEthernetPfcQueue

type PatternFlowEthernetPfcQueueChoiceEnum

type PatternFlowEthernetPfcQueueChoiceEnum string

type PatternFlowEthernetPfcQueueCounter

type PatternFlowEthernetPfcQueueCounter interface {
	Validation
	// Msg marshals PatternFlowEthernetPfcQueueCounter to protobuf object *otg.PatternFlowEthernetPfcQueueCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPfcQueueCounter
	// SetMsg unmarshals PatternFlowEthernetPfcQueueCounter from protobuf object *otg.PatternFlowEthernetPfcQueueCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPfcQueueCounter) PatternFlowEthernetPfcQueueCounter
	// ToProto marshals PatternFlowEthernetPfcQueueCounter to protobuf object *otg.PatternFlowEthernetPfcQueueCounter
	ToProto() (*otg.PatternFlowEthernetPfcQueueCounter, error)
	// ToPbText marshals PatternFlowEthernetPfcQueueCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPfcQueueCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPfcQueueCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPfcQueueCounter from protobuf object *otg.PatternFlowEthernetPfcQueueCounter
	FromProto(msg *otg.PatternFlowEthernetPfcQueueCounter) (PatternFlowEthernetPfcQueueCounter, error)
	// FromPbText unmarshals PatternFlowEthernetPfcQueueCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPfcQueueCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPfcQueueCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPfcQueueCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPfcQueueCounter, error)

	// Start returns int32, set in PatternFlowEthernetPfcQueueCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowEthernetPfcQueueCounter
	SetStart(value int32) PatternFlowEthernetPfcQueueCounter
	// HasStart checks if Start has been set in PatternFlowEthernetPfcQueueCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowEthernetPfcQueueCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowEthernetPfcQueueCounter
	SetStep(value int32) PatternFlowEthernetPfcQueueCounter
	// HasStep checks if Step has been set in PatternFlowEthernetPfcQueueCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowEthernetPfcQueueCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowEthernetPfcQueueCounter
	SetCount(value int32) PatternFlowEthernetPfcQueueCounter
	// HasCount checks if Count has been set in PatternFlowEthernetPfcQueueCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetPfcQueueCounter is integer counter pattern

func NewPatternFlowEthernetPfcQueueCounter added in v0.6.5

func NewPatternFlowEthernetPfcQueueCounter() PatternFlowEthernetPfcQueueCounter

type PatternFlowEthernetPfcQueueMetricTag added in v0.11.13

type PatternFlowEthernetPfcQueueMetricTag interface {
	Validation
	// Msg marshals PatternFlowEthernetPfcQueueMetricTag to protobuf object *otg.PatternFlowEthernetPfcQueueMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetPfcQueueMetricTag
	// SetMsg unmarshals PatternFlowEthernetPfcQueueMetricTag from protobuf object *otg.PatternFlowEthernetPfcQueueMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetPfcQueueMetricTag) PatternFlowEthernetPfcQueueMetricTag
	// ToProto marshals PatternFlowEthernetPfcQueueMetricTag to protobuf object *otg.PatternFlowEthernetPfcQueueMetricTag
	ToProto() (*otg.PatternFlowEthernetPfcQueueMetricTag, error)
	// ToPbText marshals PatternFlowEthernetPfcQueueMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetPfcQueueMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetPfcQueueMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetPfcQueueMetricTag from protobuf object *otg.PatternFlowEthernetPfcQueueMetricTag
	FromProto(msg *otg.PatternFlowEthernetPfcQueueMetricTag) (PatternFlowEthernetPfcQueueMetricTag, error)
	// FromPbText unmarshals PatternFlowEthernetPfcQueueMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetPfcQueueMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetPfcQueueMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetPfcQueueMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetPfcQueueMetricTag, error)

	// Name returns string, set in PatternFlowEthernetPfcQueueMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowEthernetPfcQueueMetricTag
	SetName(value string) PatternFlowEthernetPfcQueueMetricTag
	// Offset returns int32, set in PatternFlowEthernetPfcQueueMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowEthernetPfcQueueMetricTag
	SetOffset(value int32) PatternFlowEthernetPfcQueueMetricTag
	// HasOffset checks if Offset has been set in PatternFlowEthernetPfcQueueMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowEthernetPfcQueueMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowEthernetPfcQueueMetricTag
	SetLength(value int32) PatternFlowEthernetPfcQueueMetricTag
	// HasLength checks if Length has been set in PatternFlowEthernetPfcQueueMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetPfcQueueMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowEthernetPfcQueueMetricTag added in v0.11.13

func NewPatternFlowEthernetPfcQueueMetricTag() PatternFlowEthernetPfcQueueMetricTag

type PatternFlowEthernetSrc

type PatternFlowEthernetSrc interface {
	Validation
	// Msg marshals PatternFlowEthernetSrc to protobuf object *otg.PatternFlowEthernetSrc
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetSrc
	// SetMsg unmarshals PatternFlowEthernetSrc from protobuf object *otg.PatternFlowEthernetSrc
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetSrc) PatternFlowEthernetSrc
	// ToProto marshals PatternFlowEthernetSrc to protobuf object *otg.PatternFlowEthernetSrc
	ToProto() (*otg.PatternFlowEthernetSrc, error)
	// ToPbText marshals PatternFlowEthernetSrc to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetSrc to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetSrc to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetSrc from protobuf object *otg.PatternFlowEthernetSrc
	FromProto(msg *otg.PatternFlowEthernetSrc) (PatternFlowEthernetSrc, error)
	// FromPbText unmarshals PatternFlowEthernetSrc from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetSrc from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetSrc from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetSrc
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetSrc, error)

	// Choice returns PatternFlowEthernetSrcChoiceEnum, set in PatternFlowEthernetSrc
	Choice() PatternFlowEthernetSrcChoiceEnum
	// SetChoice assigns PatternFlowEthernetSrcChoiceEnum provided by user to PatternFlowEthernetSrc
	SetChoice(value PatternFlowEthernetSrcChoiceEnum) PatternFlowEthernetSrc
	// HasChoice checks if Choice has been set in PatternFlowEthernetSrc
	HasChoice() bool
	// Value returns string, set in PatternFlowEthernetSrc.
	Value() string
	// SetValue assigns string provided by user to PatternFlowEthernetSrc
	SetValue(value string) PatternFlowEthernetSrc
	// HasValue checks if Value has been set in PatternFlowEthernetSrc
	HasValue() bool
	// Values returns []string, set in PatternFlowEthernetSrc.
	Values() []string
	// SetValues assigns []string provided by user to PatternFlowEthernetSrc
	SetValues(value []string) PatternFlowEthernetSrc
	// Increment returns PatternFlowEthernetSrcCounter, set in PatternFlowEthernetSrc.
	// PatternFlowEthernetSrcCounter is mac counter pattern
	Increment() PatternFlowEthernetSrcCounter
	// SetIncrement assigns PatternFlowEthernetSrcCounter provided by user to PatternFlowEthernetSrc.
	// PatternFlowEthernetSrcCounter is mac counter pattern
	SetIncrement(value PatternFlowEthernetSrcCounter) PatternFlowEthernetSrc
	// HasIncrement checks if Increment has been set in PatternFlowEthernetSrc
	HasIncrement() bool
	// Decrement returns PatternFlowEthernetSrcCounter, set in PatternFlowEthernetSrc.
	// PatternFlowEthernetSrcCounter is mac counter pattern
	Decrement() PatternFlowEthernetSrcCounter
	// SetDecrement assigns PatternFlowEthernetSrcCounter provided by user to PatternFlowEthernetSrc.
	// PatternFlowEthernetSrcCounter is mac counter pattern
	SetDecrement(value PatternFlowEthernetSrcCounter) PatternFlowEthernetSrc
	// HasDecrement checks if Decrement has been set in PatternFlowEthernetSrc
	HasDecrement() bool
	// MetricTags returns PatternFlowEthernetSrcPatternFlowEthernetSrcMetricTagIterIter, set in PatternFlowEthernetSrc
	MetricTags() PatternFlowEthernetSrcPatternFlowEthernetSrcMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowEthernetSrc is source MAC address

func NewPatternFlowEthernetSrc added in v0.6.5

func NewPatternFlowEthernetSrc() PatternFlowEthernetSrc

type PatternFlowEthernetSrcChoiceEnum

type PatternFlowEthernetSrcChoiceEnum string

type PatternFlowEthernetSrcCounter

type PatternFlowEthernetSrcCounter interface {
	Validation
	// Msg marshals PatternFlowEthernetSrcCounter to protobuf object *otg.PatternFlowEthernetSrcCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetSrcCounter
	// SetMsg unmarshals PatternFlowEthernetSrcCounter from protobuf object *otg.PatternFlowEthernetSrcCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetSrcCounter) PatternFlowEthernetSrcCounter
	// ToProto marshals PatternFlowEthernetSrcCounter to protobuf object *otg.PatternFlowEthernetSrcCounter
	ToProto() (*otg.PatternFlowEthernetSrcCounter, error)
	// ToPbText marshals PatternFlowEthernetSrcCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetSrcCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetSrcCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetSrcCounter from protobuf object *otg.PatternFlowEthernetSrcCounter
	FromProto(msg *otg.PatternFlowEthernetSrcCounter) (PatternFlowEthernetSrcCounter, error)
	// FromPbText unmarshals PatternFlowEthernetSrcCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetSrcCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetSrcCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetSrcCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetSrcCounter, error)

	// Start returns string, set in PatternFlowEthernetSrcCounter.
	Start() string
	// SetStart assigns string provided by user to PatternFlowEthernetSrcCounter
	SetStart(value string) PatternFlowEthernetSrcCounter
	// HasStart checks if Start has been set in PatternFlowEthernetSrcCounter
	HasStart() bool
	// Step returns string, set in PatternFlowEthernetSrcCounter.
	Step() string
	// SetStep assigns string provided by user to PatternFlowEthernetSrcCounter
	SetStep(value string) PatternFlowEthernetSrcCounter
	// HasStep checks if Step has been set in PatternFlowEthernetSrcCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowEthernetSrcCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowEthernetSrcCounter
	SetCount(value int32) PatternFlowEthernetSrcCounter
	// HasCount checks if Count has been set in PatternFlowEthernetSrcCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetSrcCounter is mac counter pattern

func NewPatternFlowEthernetSrcCounter added in v0.6.5

func NewPatternFlowEthernetSrcCounter() PatternFlowEthernetSrcCounter

type PatternFlowEthernetSrcMetricTag added in v0.11.13

type PatternFlowEthernetSrcMetricTag interface {
	Validation
	// Msg marshals PatternFlowEthernetSrcMetricTag to protobuf object *otg.PatternFlowEthernetSrcMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowEthernetSrcMetricTag
	// SetMsg unmarshals PatternFlowEthernetSrcMetricTag from protobuf object *otg.PatternFlowEthernetSrcMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowEthernetSrcMetricTag) PatternFlowEthernetSrcMetricTag
	// ToProto marshals PatternFlowEthernetSrcMetricTag to protobuf object *otg.PatternFlowEthernetSrcMetricTag
	ToProto() (*otg.PatternFlowEthernetSrcMetricTag, error)
	// ToPbText marshals PatternFlowEthernetSrcMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowEthernetSrcMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowEthernetSrcMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowEthernetSrcMetricTag from protobuf object *otg.PatternFlowEthernetSrcMetricTag
	FromProto(msg *otg.PatternFlowEthernetSrcMetricTag) (PatternFlowEthernetSrcMetricTag, error)
	// FromPbText unmarshals PatternFlowEthernetSrcMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowEthernetSrcMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowEthernetSrcMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowEthernetSrcMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowEthernetSrcMetricTag, error)

	// Name returns string, set in PatternFlowEthernetSrcMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowEthernetSrcMetricTag
	SetName(value string) PatternFlowEthernetSrcMetricTag
	// Offset returns int32, set in PatternFlowEthernetSrcMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowEthernetSrcMetricTag
	SetOffset(value int32) PatternFlowEthernetSrcMetricTag
	// HasOffset checks if Offset has been set in PatternFlowEthernetSrcMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowEthernetSrcMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowEthernetSrcMetricTag
	SetLength(value int32) PatternFlowEthernetSrcMetricTag
	// HasLength checks if Length has been set in PatternFlowEthernetSrcMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowEthernetSrcMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowEthernetSrcMetricTag added in v0.11.13

func NewPatternFlowEthernetSrcMetricTag() PatternFlowEthernetSrcMetricTag

type PatternFlowGreChecksum

type PatternFlowGreChecksum interface {
	Validation
	// Msg marshals PatternFlowGreChecksum to protobuf object *otg.PatternFlowGreChecksum
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreChecksum
	// SetMsg unmarshals PatternFlowGreChecksum from protobuf object *otg.PatternFlowGreChecksum
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreChecksum) PatternFlowGreChecksum
	// ToProto marshals PatternFlowGreChecksum to protobuf object *otg.PatternFlowGreChecksum
	ToProto() (*otg.PatternFlowGreChecksum, error)
	// ToPbText marshals PatternFlowGreChecksum to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreChecksum to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreChecksum to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreChecksum from protobuf object *otg.PatternFlowGreChecksum
	FromProto(msg *otg.PatternFlowGreChecksum) (PatternFlowGreChecksum, error)
	// FromPbText unmarshals PatternFlowGreChecksum from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreChecksum from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreChecksum from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreChecksum
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreChecksum, error)

	// Choice returns PatternFlowGreChecksumChoiceEnum, set in PatternFlowGreChecksum
	Choice() PatternFlowGreChecksumChoiceEnum
	// SetChoice assigns PatternFlowGreChecksumChoiceEnum provided by user to PatternFlowGreChecksum
	SetChoice(value PatternFlowGreChecksumChoiceEnum) PatternFlowGreChecksum
	// HasChoice checks if Choice has been set in PatternFlowGreChecksum
	HasChoice() bool
	// Generated returns PatternFlowGreChecksumGeneratedEnum, set in PatternFlowGreChecksum
	Generated() PatternFlowGreChecksumGeneratedEnum
	// SetGenerated assigns PatternFlowGreChecksumGeneratedEnum provided by user to PatternFlowGreChecksum
	SetGenerated(value PatternFlowGreChecksumGeneratedEnum) PatternFlowGreChecksum
	// HasGenerated checks if Generated has been set in PatternFlowGreChecksum
	HasGenerated() bool
	// Custom returns int32, set in PatternFlowGreChecksum.
	Custom() int32
	// SetCustom assigns int32 provided by user to PatternFlowGreChecksum
	SetCustom(value int32) PatternFlowGreChecksum
	// HasCustom checks if Custom has been set in PatternFlowGreChecksum
	HasCustom() bool
	// contains filtered or unexported methods
}

PatternFlowGreChecksum is optional checksum of GRE header and payload. Only present if the checksum_present bit is set.

func NewPatternFlowGreChecksum added in v0.6.5

func NewPatternFlowGreChecksum() PatternFlowGreChecksum

type PatternFlowGreChecksumChoiceEnum

type PatternFlowGreChecksumChoiceEnum string

type PatternFlowGreChecksumGeneratedEnum

type PatternFlowGreChecksumGeneratedEnum string

type PatternFlowGreChecksumPresent

type PatternFlowGreChecksumPresent interface {
	Validation
	// Msg marshals PatternFlowGreChecksumPresent to protobuf object *otg.PatternFlowGreChecksumPresent
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreChecksumPresent
	// SetMsg unmarshals PatternFlowGreChecksumPresent from protobuf object *otg.PatternFlowGreChecksumPresent
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreChecksumPresent) PatternFlowGreChecksumPresent
	// ToProto marshals PatternFlowGreChecksumPresent to protobuf object *otg.PatternFlowGreChecksumPresent
	ToProto() (*otg.PatternFlowGreChecksumPresent, error)
	// ToPbText marshals PatternFlowGreChecksumPresent to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreChecksumPresent to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreChecksumPresent to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreChecksumPresent from protobuf object *otg.PatternFlowGreChecksumPresent
	FromProto(msg *otg.PatternFlowGreChecksumPresent) (PatternFlowGreChecksumPresent, error)
	// FromPbText unmarshals PatternFlowGreChecksumPresent from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreChecksumPresent from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreChecksumPresent from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreChecksumPresent
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreChecksumPresent, error)

	// Choice returns PatternFlowGreChecksumPresentChoiceEnum, set in PatternFlowGreChecksumPresent
	Choice() PatternFlowGreChecksumPresentChoiceEnum
	// SetChoice assigns PatternFlowGreChecksumPresentChoiceEnum provided by user to PatternFlowGreChecksumPresent
	SetChoice(value PatternFlowGreChecksumPresentChoiceEnum) PatternFlowGreChecksumPresent
	// HasChoice checks if Choice has been set in PatternFlowGreChecksumPresent
	HasChoice() bool
	// Value returns int32, set in PatternFlowGreChecksumPresent.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGreChecksumPresent
	SetValue(value int32) PatternFlowGreChecksumPresent
	// HasValue checks if Value has been set in PatternFlowGreChecksumPresent
	HasValue() bool
	// Values returns []int32, set in PatternFlowGreChecksumPresent.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGreChecksumPresent
	SetValues(value []int32) PatternFlowGreChecksumPresent
	// Increment returns PatternFlowGreChecksumPresentCounter, set in PatternFlowGreChecksumPresent.
	// PatternFlowGreChecksumPresentCounter is integer counter pattern
	Increment() PatternFlowGreChecksumPresentCounter
	// SetIncrement assigns PatternFlowGreChecksumPresentCounter provided by user to PatternFlowGreChecksumPresent.
	// PatternFlowGreChecksumPresentCounter is integer counter pattern
	SetIncrement(value PatternFlowGreChecksumPresentCounter) PatternFlowGreChecksumPresent
	// HasIncrement checks if Increment has been set in PatternFlowGreChecksumPresent
	HasIncrement() bool
	// Decrement returns PatternFlowGreChecksumPresentCounter, set in PatternFlowGreChecksumPresent.
	// PatternFlowGreChecksumPresentCounter is integer counter pattern
	Decrement() PatternFlowGreChecksumPresentCounter
	// SetDecrement assigns PatternFlowGreChecksumPresentCounter provided by user to PatternFlowGreChecksumPresent.
	// PatternFlowGreChecksumPresentCounter is integer counter pattern
	SetDecrement(value PatternFlowGreChecksumPresentCounter) PatternFlowGreChecksumPresent
	// HasDecrement checks if Decrement has been set in PatternFlowGreChecksumPresent
	HasDecrement() bool
	// MetricTags returns PatternFlowGreChecksumPresentPatternFlowGreChecksumPresentMetricTagIterIter, set in PatternFlowGreChecksumPresent
	MetricTags() PatternFlowGreChecksumPresentPatternFlowGreChecksumPresentMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGreChecksumPresent is checksum present bit

func NewPatternFlowGreChecksumPresent added in v0.6.5

func NewPatternFlowGreChecksumPresent() PatternFlowGreChecksumPresent

type PatternFlowGreChecksumPresentChoiceEnum

type PatternFlowGreChecksumPresentChoiceEnum string

type PatternFlowGreChecksumPresentCounter

type PatternFlowGreChecksumPresentCounter interface {
	Validation
	// Msg marshals PatternFlowGreChecksumPresentCounter to protobuf object *otg.PatternFlowGreChecksumPresentCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreChecksumPresentCounter
	// SetMsg unmarshals PatternFlowGreChecksumPresentCounter from protobuf object *otg.PatternFlowGreChecksumPresentCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreChecksumPresentCounter) PatternFlowGreChecksumPresentCounter
	// ToProto marshals PatternFlowGreChecksumPresentCounter to protobuf object *otg.PatternFlowGreChecksumPresentCounter
	ToProto() (*otg.PatternFlowGreChecksumPresentCounter, error)
	// ToPbText marshals PatternFlowGreChecksumPresentCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreChecksumPresentCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreChecksumPresentCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreChecksumPresentCounter from protobuf object *otg.PatternFlowGreChecksumPresentCounter
	FromProto(msg *otg.PatternFlowGreChecksumPresentCounter) (PatternFlowGreChecksumPresentCounter, error)
	// FromPbText unmarshals PatternFlowGreChecksumPresentCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreChecksumPresentCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreChecksumPresentCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreChecksumPresentCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreChecksumPresentCounter, error)

	// Start returns int32, set in PatternFlowGreChecksumPresentCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGreChecksumPresentCounter
	SetStart(value int32) PatternFlowGreChecksumPresentCounter
	// HasStart checks if Start has been set in PatternFlowGreChecksumPresentCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowGreChecksumPresentCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGreChecksumPresentCounter
	SetStep(value int32) PatternFlowGreChecksumPresentCounter
	// HasStep checks if Step has been set in PatternFlowGreChecksumPresentCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowGreChecksumPresentCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGreChecksumPresentCounter
	SetCount(value int32) PatternFlowGreChecksumPresentCounter
	// HasCount checks if Count has been set in PatternFlowGreChecksumPresentCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGreChecksumPresentCounter is integer counter pattern

func NewPatternFlowGreChecksumPresentCounter added in v0.6.5

func NewPatternFlowGreChecksumPresentCounter() PatternFlowGreChecksumPresentCounter

type PatternFlowGreChecksumPresentMetricTag added in v0.11.13

type PatternFlowGreChecksumPresentMetricTag interface {
	Validation
	// Msg marshals PatternFlowGreChecksumPresentMetricTag to protobuf object *otg.PatternFlowGreChecksumPresentMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreChecksumPresentMetricTag
	// SetMsg unmarshals PatternFlowGreChecksumPresentMetricTag from protobuf object *otg.PatternFlowGreChecksumPresentMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreChecksumPresentMetricTag) PatternFlowGreChecksumPresentMetricTag
	// ToProto marshals PatternFlowGreChecksumPresentMetricTag to protobuf object *otg.PatternFlowGreChecksumPresentMetricTag
	ToProto() (*otg.PatternFlowGreChecksumPresentMetricTag, error)
	// ToPbText marshals PatternFlowGreChecksumPresentMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreChecksumPresentMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreChecksumPresentMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreChecksumPresentMetricTag from protobuf object *otg.PatternFlowGreChecksumPresentMetricTag
	FromProto(msg *otg.PatternFlowGreChecksumPresentMetricTag) (PatternFlowGreChecksumPresentMetricTag, error)
	// FromPbText unmarshals PatternFlowGreChecksumPresentMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreChecksumPresentMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreChecksumPresentMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreChecksumPresentMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreChecksumPresentMetricTag, error)

	// Name returns string, set in PatternFlowGreChecksumPresentMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGreChecksumPresentMetricTag
	SetName(value string) PatternFlowGreChecksumPresentMetricTag
	// Offset returns int32, set in PatternFlowGreChecksumPresentMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGreChecksumPresentMetricTag
	SetOffset(value int32) PatternFlowGreChecksumPresentMetricTag
	// HasOffset checks if Offset has been set in PatternFlowGreChecksumPresentMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGreChecksumPresentMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGreChecksumPresentMetricTag
	SetLength(value int32) PatternFlowGreChecksumPresentMetricTag
	// HasLength checks if Length has been set in PatternFlowGreChecksumPresentMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGreChecksumPresentMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGreChecksumPresentMetricTag added in v0.11.13

func NewPatternFlowGreChecksumPresentMetricTag() PatternFlowGreChecksumPresentMetricTag

type PatternFlowGreProtocol

type PatternFlowGreProtocol interface {
	Validation
	// Msg marshals PatternFlowGreProtocol to protobuf object *otg.PatternFlowGreProtocol
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreProtocol
	// SetMsg unmarshals PatternFlowGreProtocol from protobuf object *otg.PatternFlowGreProtocol
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreProtocol) PatternFlowGreProtocol
	// ToProto marshals PatternFlowGreProtocol to protobuf object *otg.PatternFlowGreProtocol
	ToProto() (*otg.PatternFlowGreProtocol, error)
	// ToPbText marshals PatternFlowGreProtocol to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreProtocol to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreProtocol to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreProtocol from protobuf object *otg.PatternFlowGreProtocol
	FromProto(msg *otg.PatternFlowGreProtocol) (PatternFlowGreProtocol, error)
	// FromPbText unmarshals PatternFlowGreProtocol from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreProtocol from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreProtocol from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreProtocol
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreProtocol, error)

	// Choice returns PatternFlowGreProtocolChoiceEnum, set in PatternFlowGreProtocol
	Choice() PatternFlowGreProtocolChoiceEnum
	// SetChoice assigns PatternFlowGreProtocolChoiceEnum provided by user to PatternFlowGreProtocol
	SetChoice(value PatternFlowGreProtocolChoiceEnum) PatternFlowGreProtocol
	// HasChoice checks if Choice has been set in PatternFlowGreProtocol
	HasChoice() bool
	// Value returns int32, set in PatternFlowGreProtocol.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGreProtocol
	SetValue(value int32) PatternFlowGreProtocol
	// HasValue checks if Value has been set in PatternFlowGreProtocol
	HasValue() bool
	// Values returns []int32, set in PatternFlowGreProtocol.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGreProtocol
	SetValues(value []int32) PatternFlowGreProtocol
	// Increment returns PatternFlowGreProtocolCounter, set in PatternFlowGreProtocol.
	// PatternFlowGreProtocolCounter is integer counter pattern
	Increment() PatternFlowGreProtocolCounter
	// SetIncrement assigns PatternFlowGreProtocolCounter provided by user to PatternFlowGreProtocol.
	// PatternFlowGreProtocolCounter is integer counter pattern
	SetIncrement(value PatternFlowGreProtocolCounter) PatternFlowGreProtocol
	// HasIncrement checks if Increment has been set in PatternFlowGreProtocol
	HasIncrement() bool
	// Decrement returns PatternFlowGreProtocolCounter, set in PatternFlowGreProtocol.
	// PatternFlowGreProtocolCounter is integer counter pattern
	Decrement() PatternFlowGreProtocolCounter
	// SetDecrement assigns PatternFlowGreProtocolCounter provided by user to PatternFlowGreProtocol.
	// PatternFlowGreProtocolCounter is integer counter pattern
	SetDecrement(value PatternFlowGreProtocolCounter) PatternFlowGreProtocol
	// HasDecrement checks if Decrement has been set in PatternFlowGreProtocol
	HasDecrement() bool
	// MetricTags returns PatternFlowGreProtocolPatternFlowGreProtocolMetricTagIterIter, set in PatternFlowGreProtocol
	MetricTags() PatternFlowGreProtocolPatternFlowGreProtocolMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGreProtocol is protocol type of encapsulated payload

func NewPatternFlowGreProtocol added in v0.6.5

func NewPatternFlowGreProtocol() PatternFlowGreProtocol

type PatternFlowGreProtocolChoiceEnum

type PatternFlowGreProtocolChoiceEnum string

type PatternFlowGreProtocolCounter

type PatternFlowGreProtocolCounter interface {
	Validation
	// Msg marshals PatternFlowGreProtocolCounter to protobuf object *otg.PatternFlowGreProtocolCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreProtocolCounter
	// SetMsg unmarshals PatternFlowGreProtocolCounter from protobuf object *otg.PatternFlowGreProtocolCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreProtocolCounter) PatternFlowGreProtocolCounter
	// ToProto marshals PatternFlowGreProtocolCounter to protobuf object *otg.PatternFlowGreProtocolCounter
	ToProto() (*otg.PatternFlowGreProtocolCounter, error)
	// ToPbText marshals PatternFlowGreProtocolCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreProtocolCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreProtocolCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreProtocolCounter from protobuf object *otg.PatternFlowGreProtocolCounter
	FromProto(msg *otg.PatternFlowGreProtocolCounter) (PatternFlowGreProtocolCounter, error)
	// FromPbText unmarshals PatternFlowGreProtocolCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreProtocolCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreProtocolCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreProtocolCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreProtocolCounter, error)

	// Start returns int32, set in PatternFlowGreProtocolCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGreProtocolCounter
	SetStart(value int32) PatternFlowGreProtocolCounter
	// HasStart checks if Start has been set in PatternFlowGreProtocolCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowGreProtocolCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGreProtocolCounter
	SetStep(value int32) PatternFlowGreProtocolCounter
	// HasStep checks if Step has been set in PatternFlowGreProtocolCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowGreProtocolCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGreProtocolCounter
	SetCount(value int32) PatternFlowGreProtocolCounter
	// HasCount checks if Count has been set in PatternFlowGreProtocolCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGreProtocolCounter is integer counter pattern

func NewPatternFlowGreProtocolCounter added in v0.6.5

func NewPatternFlowGreProtocolCounter() PatternFlowGreProtocolCounter

type PatternFlowGreProtocolMetricTag added in v0.11.13

type PatternFlowGreProtocolMetricTag interface {
	Validation
	// Msg marshals PatternFlowGreProtocolMetricTag to protobuf object *otg.PatternFlowGreProtocolMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreProtocolMetricTag
	// SetMsg unmarshals PatternFlowGreProtocolMetricTag from protobuf object *otg.PatternFlowGreProtocolMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreProtocolMetricTag) PatternFlowGreProtocolMetricTag
	// ToProto marshals PatternFlowGreProtocolMetricTag to protobuf object *otg.PatternFlowGreProtocolMetricTag
	ToProto() (*otg.PatternFlowGreProtocolMetricTag, error)
	// ToPbText marshals PatternFlowGreProtocolMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreProtocolMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreProtocolMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreProtocolMetricTag from protobuf object *otg.PatternFlowGreProtocolMetricTag
	FromProto(msg *otg.PatternFlowGreProtocolMetricTag) (PatternFlowGreProtocolMetricTag, error)
	// FromPbText unmarshals PatternFlowGreProtocolMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreProtocolMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreProtocolMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreProtocolMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreProtocolMetricTag, error)

	// Name returns string, set in PatternFlowGreProtocolMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGreProtocolMetricTag
	SetName(value string) PatternFlowGreProtocolMetricTag
	// Offset returns int32, set in PatternFlowGreProtocolMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGreProtocolMetricTag
	SetOffset(value int32) PatternFlowGreProtocolMetricTag
	// HasOffset checks if Offset has been set in PatternFlowGreProtocolMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGreProtocolMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGreProtocolMetricTag
	SetLength(value int32) PatternFlowGreProtocolMetricTag
	// HasLength checks if Length has been set in PatternFlowGreProtocolMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGreProtocolMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGreProtocolMetricTag added in v0.11.13

func NewPatternFlowGreProtocolMetricTag() PatternFlowGreProtocolMetricTag

type PatternFlowGreReserved0

type PatternFlowGreReserved0 interface {
	Validation
	// Msg marshals PatternFlowGreReserved0 to protobuf object *otg.PatternFlowGreReserved0
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreReserved0
	// SetMsg unmarshals PatternFlowGreReserved0 from protobuf object *otg.PatternFlowGreReserved0
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreReserved0) PatternFlowGreReserved0
	// ToProto marshals PatternFlowGreReserved0 to protobuf object *otg.PatternFlowGreReserved0
	ToProto() (*otg.PatternFlowGreReserved0, error)
	// ToPbText marshals PatternFlowGreReserved0 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreReserved0 to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreReserved0 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreReserved0 from protobuf object *otg.PatternFlowGreReserved0
	FromProto(msg *otg.PatternFlowGreReserved0) (PatternFlowGreReserved0, error)
	// FromPbText unmarshals PatternFlowGreReserved0 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreReserved0 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreReserved0 from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreReserved0
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreReserved0, error)

	// Choice returns PatternFlowGreReserved0ChoiceEnum, set in PatternFlowGreReserved0
	Choice() PatternFlowGreReserved0ChoiceEnum
	// SetChoice assigns PatternFlowGreReserved0ChoiceEnum provided by user to PatternFlowGreReserved0
	SetChoice(value PatternFlowGreReserved0ChoiceEnum) PatternFlowGreReserved0
	// HasChoice checks if Choice has been set in PatternFlowGreReserved0
	HasChoice() bool
	// Value returns int32, set in PatternFlowGreReserved0.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGreReserved0
	SetValue(value int32) PatternFlowGreReserved0
	// HasValue checks if Value has been set in PatternFlowGreReserved0
	HasValue() bool
	// Values returns []int32, set in PatternFlowGreReserved0.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGreReserved0
	SetValues(value []int32) PatternFlowGreReserved0
	// Increment returns PatternFlowGreReserved0Counter, set in PatternFlowGreReserved0.
	// PatternFlowGreReserved0Counter is integer counter pattern
	Increment() PatternFlowGreReserved0Counter
	// SetIncrement assigns PatternFlowGreReserved0Counter provided by user to PatternFlowGreReserved0.
	// PatternFlowGreReserved0Counter is integer counter pattern
	SetIncrement(value PatternFlowGreReserved0Counter) PatternFlowGreReserved0
	// HasIncrement checks if Increment has been set in PatternFlowGreReserved0
	HasIncrement() bool
	// Decrement returns PatternFlowGreReserved0Counter, set in PatternFlowGreReserved0.
	// PatternFlowGreReserved0Counter is integer counter pattern
	Decrement() PatternFlowGreReserved0Counter
	// SetDecrement assigns PatternFlowGreReserved0Counter provided by user to PatternFlowGreReserved0.
	// PatternFlowGreReserved0Counter is integer counter pattern
	SetDecrement(value PatternFlowGreReserved0Counter) PatternFlowGreReserved0
	// HasDecrement checks if Decrement has been set in PatternFlowGreReserved0
	HasDecrement() bool
	// MetricTags returns PatternFlowGreReserved0PatternFlowGreReserved0MetricTagIterIter, set in PatternFlowGreReserved0
	MetricTags() PatternFlowGreReserved0PatternFlowGreReserved0MetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGreReserved0 is reserved bits

func NewPatternFlowGreReserved0 added in v0.6.5

func NewPatternFlowGreReserved0() PatternFlowGreReserved0

type PatternFlowGreReserved0ChoiceEnum

type PatternFlowGreReserved0ChoiceEnum string

type PatternFlowGreReserved0Counter

type PatternFlowGreReserved0Counter interface {
	Validation
	// Msg marshals PatternFlowGreReserved0Counter to protobuf object *otg.PatternFlowGreReserved0Counter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreReserved0Counter
	// SetMsg unmarshals PatternFlowGreReserved0Counter from protobuf object *otg.PatternFlowGreReserved0Counter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreReserved0Counter) PatternFlowGreReserved0Counter
	// ToProto marshals PatternFlowGreReserved0Counter to protobuf object *otg.PatternFlowGreReserved0Counter
	ToProto() (*otg.PatternFlowGreReserved0Counter, error)
	// ToPbText marshals PatternFlowGreReserved0Counter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreReserved0Counter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreReserved0Counter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreReserved0Counter from protobuf object *otg.PatternFlowGreReserved0Counter
	FromProto(msg *otg.PatternFlowGreReserved0Counter) (PatternFlowGreReserved0Counter, error)
	// FromPbText unmarshals PatternFlowGreReserved0Counter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreReserved0Counter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreReserved0Counter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreReserved0Counter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreReserved0Counter, error)

	// Start returns int32, set in PatternFlowGreReserved0Counter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGreReserved0Counter
	SetStart(value int32) PatternFlowGreReserved0Counter
	// HasStart checks if Start has been set in PatternFlowGreReserved0Counter
	HasStart() bool
	// Step returns int32, set in PatternFlowGreReserved0Counter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGreReserved0Counter
	SetStep(value int32) PatternFlowGreReserved0Counter
	// HasStep checks if Step has been set in PatternFlowGreReserved0Counter
	HasStep() bool
	// Count returns int32, set in PatternFlowGreReserved0Counter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGreReserved0Counter
	SetCount(value int32) PatternFlowGreReserved0Counter
	// HasCount checks if Count has been set in PatternFlowGreReserved0Counter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGreReserved0Counter is integer counter pattern

func NewPatternFlowGreReserved0Counter added in v0.6.5

func NewPatternFlowGreReserved0Counter() PatternFlowGreReserved0Counter

type PatternFlowGreReserved0MetricTag added in v0.11.13

type PatternFlowGreReserved0MetricTag interface {
	Validation
	// Msg marshals PatternFlowGreReserved0MetricTag to protobuf object *otg.PatternFlowGreReserved0MetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreReserved0MetricTag
	// SetMsg unmarshals PatternFlowGreReserved0MetricTag from protobuf object *otg.PatternFlowGreReserved0MetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreReserved0MetricTag) PatternFlowGreReserved0MetricTag
	// ToProto marshals PatternFlowGreReserved0MetricTag to protobuf object *otg.PatternFlowGreReserved0MetricTag
	ToProto() (*otg.PatternFlowGreReserved0MetricTag, error)
	// ToPbText marshals PatternFlowGreReserved0MetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreReserved0MetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreReserved0MetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreReserved0MetricTag from protobuf object *otg.PatternFlowGreReserved0MetricTag
	FromProto(msg *otg.PatternFlowGreReserved0MetricTag) (PatternFlowGreReserved0MetricTag, error)
	// FromPbText unmarshals PatternFlowGreReserved0MetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreReserved0MetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreReserved0MetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreReserved0MetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreReserved0MetricTag, error)

	// Name returns string, set in PatternFlowGreReserved0MetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGreReserved0MetricTag
	SetName(value string) PatternFlowGreReserved0MetricTag
	// Offset returns int32, set in PatternFlowGreReserved0MetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGreReserved0MetricTag
	SetOffset(value int32) PatternFlowGreReserved0MetricTag
	// HasOffset checks if Offset has been set in PatternFlowGreReserved0MetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGreReserved0MetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGreReserved0MetricTag
	SetLength(value int32) PatternFlowGreReserved0MetricTag
	// HasLength checks if Length has been set in PatternFlowGreReserved0MetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGreReserved0MetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGreReserved0MetricTag added in v0.11.13

func NewPatternFlowGreReserved0MetricTag() PatternFlowGreReserved0MetricTag

type PatternFlowGreReserved1

type PatternFlowGreReserved1 interface {
	Validation
	// Msg marshals PatternFlowGreReserved1 to protobuf object *otg.PatternFlowGreReserved1
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreReserved1
	// SetMsg unmarshals PatternFlowGreReserved1 from protobuf object *otg.PatternFlowGreReserved1
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreReserved1) PatternFlowGreReserved1
	// ToProto marshals PatternFlowGreReserved1 to protobuf object *otg.PatternFlowGreReserved1
	ToProto() (*otg.PatternFlowGreReserved1, error)
	// ToPbText marshals PatternFlowGreReserved1 to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreReserved1 to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreReserved1 to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreReserved1 from protobuf object *otg.PatternFlowGreReserved1
	FromProto(msg *otg.PatternFlowGreReserved1) (PatternFlowGreReserved1, error)
	// FromPbText unmarshals PatternFlowGreReserved1 from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreReserved1 from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreReserved1 from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreReserved1
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreReserved1, error)

	// Choice returns PatternFlowGreReserved1ChoiceEnum, set in PatternFlowGreReserved1
	Choice() PatternFlowGreReserved1ChoiceEnum
	// SetChoice assigns PatternFlowGreReserved1ChoiceEnum provided by user to PatternFlowGreReserved1
	SetChoice(value PatternFlowGreReserved1ChoiceEnum) PatternFlowGreReserved1
	// HasChoice checks if Choice has been set in PatternFlowGreReserved1
	HasChoice() bool
	// Value returns int32, set in PatternFlowGreReserved1.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGreReserved1
	SetValue(value int32) PatternFlowGreReserved1
	// HasValue checks if Value has been set in PatternFlowGreReserved1
	HasValue() bool
	// Values returns []int32, set in PatternFlowGreReserved1.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGreReserved1
	SetValues(value []int32) PatternFlowGreReserved1
	// Increment returns PatternFlowGreReserved1Counter, set in PatternFlowGreReserved1.
	// PatternFlowGreReserved1Counter is integer counter pattern
	Increment() PatternFlowGreReserved1Counter
	// SetIncrement assigns PatternFlowGreReserved1Counter provided by user to PatternFlowGreReserved1.
	// PatternFlowGreReserved1Counter is integer counter pattern
	SetIncrement(value PatternFlowGreReserved1Counter) PatternFlowGreReserved1
	// HasIncrement checks if Increment has been set in PatternFlowGreReserved1
	HasIncrement() bool
	// Decrement returns PatternFlowGreReserved1Counter, set in PatternFlowGreReserved1.
	// PatternFlowGreReserved1Counter is integer counter pattern
	Decrement() PatternFlowGreReserved1Counter
	// SetDecrement assigns PatternFlowGreReserved1Counter provided by user to PatternFlowGreReserved1.
	// PatternFlowGreReserved1Counter is integer counter pattern
	SetDecrement(value PatternFlowGreReserved1Counter) PatternFlowGreReserved1
	// HasDecrement checks if Decrement has been set in PatternFlowGreReserved1
	HasDecrement() bool
	// MetricTags returns PatternFlowGreReserved1PatternFlowGreReserved1MetricTagIterIter, set in PatternFlowGreReserved1
	MetricTags() PatternFlowGreReserved1PatternFlowGreReserved1MetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGreReserved1 is optional reserved field. Only present if the checksum_present bit is set.

func NewPatternFlowGreReserved1 added in v0.6.5

func NewPatternFlowGreReserved1() PatternFlowGreReserved1

type PatternFlowGreReserved1ChoiceEnum

type PatternFlowGreReserved1ChoiceEnum string

type PatternFlowGreReserved1Counter

type PatternFlowGreReserved1Counter interface {
	Validation
	// Msg marshals PatternFlowGreReserved1Counter to protobuf object *otg.PatternFlowGreReserved1Counter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreReserved1Counter
	// SetMsg unmarshals PatternFlowGreReserved1Counter from protobuf object *otg.PatternFlowGreReserved1Counter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreReserved1Counter) PatternFlowGreReserved1Counter
	// ToProto marshals PatternFlowGreReserved1Counter to protobuf object *otg.PatternFlowGreReserved1Counter
	ToProto() (*otg.PatternFlowGreReserved1Counter, error)
	// ToPbText marshals PatternFlowGreReserved1Counter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreReserved1Counter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreReserved1Counter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreReserved1Counter from protobuf object *otg.PatternFlowGreReserved1Counter
	FromProto(msg *otg.PatternFlowGreReserved1Counter) (PatternFlowGreReserved1Counter, error)
	// FromPbText unmarshals PatternFlowGreReserved1Counter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreReserved1Counter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreReserved1Counter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreReserved1Counter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreReserved1Counter, error)

	// Start returns int32, set in PatternFlowGreReserved1Counter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGreReserved1Counter
	SetStart(value int32) PatternFlowGreReserved1Counter
	// HasStart checks if Start has been set in PatternFlowGreReserved1Counter
	HasStart() bool
	// Step returns int32, set in PatternFlowGreReserved1Counter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGreReserved1Counter
	SetStep(value int32) PatternFlowGreReserved1Counter
	// HasStep checks if Step has been set in PatternFlowGreReserved1Counter
	HasStep() bool
	// Count returns int32, set in PatternFlowGreReserved1Counter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGreReserved1Counter
	SetCount(value int32) PatternFlowGreReserved1Counter
	// HasCount checks if Count has been set in PatternFlowGreReserved1Counter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGreReserved1Counter is integer counter pattern

func NewPatternFlowGreReserved1Counter added in v0.6.5

func NewPatternFlowGreReserved1Counter() PatternFlowGreReserved1Counter

type PatternFlowGreReserved1MetricTag added in v0.11.13

type PatternFlowGreReserved1MetricTag interface {
	Validation
	// Msg marshals PatternFlowGreReserved1MetricTag to protobuf object *otg.PatternFlowGreReserved1MetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreReserved1MetricTag
	// SetMsg unmarshals PatternFlowGreReserved1MetricTag from protobuf object *otg.PatternFlowGreReserved1MetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreReserved1MetricTag) PatternFlowGreReserved1MetricTag
	// ToProto marshals PatternFlowGreReserved1MetricTag to protobuf object *otg.PatternFlowGreReserved1MetricTag
	ToProto() (*otg.PatternFlowGreReserved1MetricTag, error)
	// ToPbText marshals PatternFlowGreReserved1MetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreReserved1MetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreReserved1MetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreReserved1MetricTag from protobuf object *otg.PatternFlowGreReserved1MetricTag
	FromProto(msg *otg.PatternFlowGreReserved1MetricTag) (PatternFlowGreReserved1MetricTag, error)
	// FromPbText unmarshals PatternFlowGreReserved1MetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreReserved1MetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreReserved1MetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreReserved1MetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreReserved1MetricTag, error)

	// Name returns string, set in PatternFlowGreReserved1MetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGreReserved1MetricTag
	SetName(value string) PatternFlowGreReserved1MetricTag
	// Offset returns int32, set in PatternFlowGreReserved1MetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGreReserved1MetricTag
	SetOffset(value int32) PatternFlowGreReserved1MetricTag
	// HasOffset checks if Offset has been set in PatternFlowGreReserved1MetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGreReserved1MetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGreReserved1MetricTag
	SetLength(value int32) PatternFlowGreReserved1MetricTag
	// HasLength checks if Length has been set in PatternFlowGreReserved1MetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGreReserved1MetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGreReserved1MetricTag added in v0.11.13

func NewPatternFlowGreReserved1MetricTag() PatternFlowGreReserved1MetricTag

type PatternFlowGreVersion

type PatternFlowGreVersion interface {
	Validation
	// Msg marshals PatternFlowGreVersion to protobuf object *otg.PatternFlowGreVersion
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreVersion
	// SetMsg unmarshals PatternFlowGreVersion from protobuf object *otg.PatternFlowGreVersion
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreVersion) PatternFlowGreVersion
	// ToProto marshals PatternFlowGreVersion to protobuf object *otg.PatternFlowGreVersion
	ToProto() (*otg.PatternFlowGreVersion, error)
	// ToPbText marshals PatternFlowGreVersion to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreVersion to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreVersion to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreVersion from protobuf object *otg.PatternFlowGreVersion
	FromProto(msg *otg.PatternFlowGreVersion) (PatternFlowGreVersion, error)
	// FromPbText unmarshals PatternFlowGreVersion from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreVersion from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreVersion from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreVersion
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreVersion, error)

	// Choice returns PatternFlowGreVersionChoiceEnum, set in PatternFlowGreVersion
	Choice() PatternFlowGreVersionChoiceEnum
	// SetChoice assigns PatternFlowGreVersionChoiceEnum provided by user to PatternFlowGreVersion
	SetChoice(value PatternFlowGreVersionChoiceEnum) PatternFlowGreVersion
	// HasChoice checks if Choice has been set in PatternFlowGreVersion
	HasChoice() bool
	// Value returns int32, set in PatternFlowGreVersion.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGreVersion
	SetValue(value int32) PatternFlowGreVersion
	// HasValue checks if Value has been set in PatternFlowGreVersion
	HasValue() bool
	// Values returns []int32, set in PatternFlowGreVersion.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGreVersion
	SetValues(value []int32) PatternFlowGreVersion
	// Increment returns PatternFlowGreVersionCounter, set in PatternFlowGreVersion.
	// PatternFlowGreVersionCounter is integer counter pattern
	Increment() PatternFlowGreVersionCounter
	// SetIncrement assigns PatternFlowGreVersionCounter provided by user to PatternFlowGreVersion.
	// PatternFlowGreVersionCounter is integer counter pattern
	SetIncrement(value PatternFlowGreVersionCounter) PatternFlowGreVersion
	// HasIncrement checks if Increment has been set in PatternFlowGreVersion
	HasIncrement() bool
	// Decrement returns PatternFlowGreVersionCounter, set in PatternFlowGreVersion.
	// PatternFlowGreVersionCounter is integer counter pattern
	Decrement() PatternFlowGreVersionCounter
	// SetDecrement assigns PatternFlowGreVersionCounter provided by user to PatternFlowGreVersion.
	// PatternFlowGreVersionCounter is integer counter pattern
	SetDecrement(value PatternFlowGreVersionCounter) PatternFlowGreVersion
	// HasDecrement checks if Decrement has been set in PatternFlowGreVersion
	HasDecrement() bool
	// MetricTags returns PatternFlowGreVersionPatternFlowGreVersionMetricTagIterIter, set in PatternFlowGreVersion
	MetricTags() PatternFlowGreVersionPatternFlowGreVersionMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGreVersion is gRE version number

func NewPatternFlowGreVersion added in v0.6.5

func NewPatternFlowGreVersion() PatternFlowGreVersion

type PatternFlowGreVersionChoiceEnum

type PatternFlowGreVersionChoiceEnum string

type PatternFlowGreVersionCounter

type PatternFlowGreVersionCounter interface {
	Validation
	// Msg marshals PatternFlowGreVersionCounter to protobuf object *otg.PatternFlowGreVersionCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreVersionCounter
	// SetMsg unmarshals PatternFlowGreVersionCounter from protobuf object *otg.PatternFlowGreVersionCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreVersionCounter) PatternFlowGreVersionCounter
	// ToProto marshals PatternFlowGreVersionCounter to protobuf object *otg.PatternFlowGreVersionCounter
	ToProto() (*otg.PatternFlowGreVersionCounter, error)
	// ToPbText marshals PatternFlowGreVersionCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreVersionCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreVersionCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreVersionCounter from protobuf object *otg.PatternFlowGreVersionCounter
	FromProto(msg *otg.PatternFlowGreVersionCounter) (PatternFlowGreVersionCounter, error)
	// FromPbText unmarshals PatternFlowGreVersionCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreVersionCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreVersionCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreVersionCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreVersionCounter, error)

	// Start returns int32, set in PatternFlowGreVersionCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGreVersionCounter
	SetStart(value int32) PatternFlowGreVersionCounter
	// HasStart checks if Start has been set in PatternFlowGreVersionCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowGreVersionCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGreVersionCounter
	SetStep(value int32) PatternFlowGreVersionCounter
	// HasStep checks if Step has been set in PatternFlowGreVersionCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowGreVersionCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGreVersionCounter
	SetCount(value int32) PatternFlowGreVersionCounter
	// HasCount checks if Count has been set in PatternFlowGreVersionCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGreVersionCounter is integer counter pattern

func NewPatternFlowGreVersionCounter added in v0.6.5

func NewPatternFlowGreVersionCounter() PatternFlowGreVersionCounter

type PatternFlowGreVersionMetricTag added in v0.11.13

type PatternFlowGreVersionMetricTag interface {
	Validation
	// Msg marshals PatternFlowGreVersionMetricTag to protobuf object *otg.PatternFlowGreVersionMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGreVersionMetricTag
	// SetMsg unmarshals PatternFlowGreVersionMetricTag from protobuf object *otg.PatternFlowGreVersionMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGreVersionMetricTag) PatternFlowGreVersionMetricTag
	// ToProto marshals PatternFlowGreVersionMetricTag to protobuf object *otg.PatternFlowGreVersionMetricTag
	ToProto() (*otg.PatternFlowGreVersionMetricTag, error)
	// ToPbText marshals PatternFlowGreVersionMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGreVersionMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGreVersionMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGreVersionMetricTag from protobuf object *otg.PatternFlowGreVersionMetricTag
	FromProto(msg *otg.PatternFlowGreVersionMetricTag) (PatternFlowGreVersionMetricTag, error)
	// FromPbText unmarshals PatternFlowGreVersionMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGreVersionMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGreVersionMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGreVersionMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGreVersionMetricTag, error)

	// Name returns string, set in PatternFlowGreVersionMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGreVersionMetricTag
	SetName(value string) PatternFlowGreVersionMetricTag
	// Offset returns int32, set in PatternFlowGreVersionMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGreVersionMetricTag
	SetOffset(value int32) PatternFlowGreVersionMetricTag
	// HasOffset checks if Offset has been set in PatternFlowGreVersionMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGreVersionMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGreVersionMetricTag
	SetLength(value int32) PatternFlowGreVersionMetricTag
	// HasLength checks if Length has been set in PatternFlowGreVersionMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGreVersionMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGreVersionMetricTag added in v0.11.13

func NewPatternFlowGreVersionMetricTag() PatternFlowGreVersionMetricTag

type PatternFlowGtpExtensionContents

type PatternFlowGtpExtensionContents interface {
	Validation
	// Msg marshals PatternFlowGtpExtensionContents to protobuf object *otg.PatternFlowGtpExtensionContents
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpExtensionContents
	// SetMsg unmarshals PatternFlowGtpExtensionContents from protobuf object *otg.PatternFlowGtpExtensionContents
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpExtensionContents) PatternFlowGtpExtensionContents
	// ToProto marshals PatternFlowGtpExtensionContents to protobuf object *otg.PatternFlowGtpExtensionContents
	ToProto() (*otg.PatternFlowGtpExtensionContents, error)
	// ToPbText marshals PatternFlowGtpExtensionContents to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpExtensionContents to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpExtensionContents to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpExtensionContents from protobuf object *otg.PatternFlowGtpExtensionContents
	FromProto(msg *otg.PatternFlowGtpExtensionContents) (PatternFlowGtpExtensionContents, error)
	// FromPbText unmarshals PatternFlowGtpExtensionContents from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpExtensionContents from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpExtensionContents from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpExtensionContents
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpExtensionContents, error)

	// Choice returns PatternFlowGtpExtensionContentsChoiceEnum, set in PatternFlowGtpExtensionContents
	Choice() PatternFlowGtpExtensionContentsChoiceEnum
	// SetChoice assigns PatternFlowGtpExtensionContentsChoiceEnum provided by user to PatternFlowGtpExtensionContents
	SetChoice(value PatternFlowGtpExtensionContentsChoiceEnum) PatternFlowGtpExtensionContents
	// HasChoice checks if Choice has been set in PatternFlowGtpExtensionContents
	HasChoice() bool
	// Value returns int64, set in PatternFlowGtpExtensionContents.
	Value() int64
	// SetValue assigns int64 provided by user to PatternFlowGtpExtensionContents
	SetValue(value int64) PatternFlowGtpExtensionContents
	// HasValue checks if Value has been set in PatternFlowGtpExtensionContents
	HasValue() bool
	// Values returns []int64, set in PatternFlowGtpExtensionContents.
	Values() []int64
	// SetValues assigns []int64 provided by user to PatternFlowGtpExtensionContents
	SetValues(value []int64) PatternFlowGtpExtensionContents
	// Increment returns PatternFlowGtpExtensionContentsCounter, set in PatternFlowGtpExtensionContents.
	// PatternFlowGtpExtensionContentsCounter is integer counter pattern
	Increment() PatternFlowGtpExtensionContentsCounter
	// SetIncrement assigns PatternFlowGtpExtensionContentsCounter provided by user to PatternFlowGtpExtensionContents.
	// PatternFlowGtpExtensionContentsCounter is integer counter pattern
	SetIncrement(value PatternFlowGtpExtensionContentsCounter) PatternFlowGtpExtensionContents
	// HasIncrement checks if Increment has been set in PatternFlowGtpExtensionContents
	HasIncrement() bool
	// Decrement returns PatternFlowGtpExtensionContentsCounter, set in PatternFlowGtpExtensionContents.
	// PatternFlowGtpExtensionContentsCounter is integer counter pattern
	Decrement() PatternFlowGtpExtensionContentsCounter
	// SetDecrement assigns PatternFlowGtpExtensionContentsCounter provided by user to PatternFlowGtpExtensionContents.
	// PatternFlowGtpExtensionContentsCounter is integer counter pattern
	SetDecrement(value PatternFlowGtpExtensionContentsCounter) PatternFlowGtpExtensionContents
	// HasDecrement checks if Decrement has been set in PatternFlowGtpExtensionContents
	HasDecrement() bool
	// MetricTags returns PatternFlowGtpExtensionContentsPatternFlowGtpExtensionContentsMetricTagIterIter, set in PatternFlowGtpExtensionContents
	MetricTags() PatternFlowGtpExtensionContentsPatternFlowGtpExtensionContentsMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGtpExtensionContents is the extension header contents

func NewPatternFlowGtpExtensionContents added in v0.6.5

func NewPatternFlowGtpExtensionContents() PatternFlowGtpExtensionContents

type PatternFlowGtpExtensionContentsChoiceEnum

type PatternFlowGtpExtensionContentsChoiceEnum string

type PatternFlowGtpExtensionContentsCounter

type PatternFlowGtpExtensionContentsCounter interface {
	Validation
	// Msg marshals PatternFlowGtpExtensionContentsCounter to protobuf object *otg.PatternFlowGtpExtensionContentsCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpExtensionContentsCounter
	// SetMsg unmarshals PatternFlowGtpExtensionContentsCounter from protobuf object *otg.PatternFlowGtpExtensionContentsCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpExtensionContentsCounter) PatternFlowGtpExtensionContentsCounter
	// ToProto marshals PatternFlowGtpExtensionContentsCounter to protobuf object *otg.PatternFlowGtpExtensionContentsCounter
	ToProto() (*otg.PatternFlowGtpExtensionContentsCounter, error)
	// ToPbText marshals PatternFlowGtpExtensionContentsCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpExtensionContentsCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpExtensionContentsCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpExtensionContentsCounter from protobuf object *otg.PatternFlowGtpExtensionContentsCounter
	FromProto(msg *otg.PatternFlowGtpExtensionContentsCounter) (PatternFlowGtpExtensionContentsCounter, error)
	// FromPbText unmarshals PatternFlowGtpExtensionContentsCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpExtensionContentsCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpExtensionContentsCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpExtensionContentsCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpExtensionContentsCounter, error)

	// Start returns int64, set in PatternFlowGtpExtensionContentsCounter.
	Start() int64
	// SetStart assigns int64 provided by user to PatternFlowGtpExtensionContentsCounter
	SetStart(value int64) PatternFlowGtpExtensionContentsCounter
	// HasStart checks if Start has been set in PatternFlowGtpExtensionContentsCounter
	HasStart() bool
	// Step returns int64, set in PatternFlowGtpExtensionContentsCounter.
	Step() int64
	// SetStep assigns int64 provided by user to PatternFlowGtpExtensionContentsCounter
	SetStep(value int64) PatternFlowGtpExtensionContentsCounter
	// HasStep checks if Step has been set in PatternFlowGtpExtensionContentsCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowGtpExtensionContentsCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGtpExtensionContentsCounter
	SetCount(value int32) PatternFlowGtpExtensionContentsCounter
	// HasCount checks if Count has been set in PatternFlowGtpExtensionContentsCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGtpExtensionContentsCounter is integer counter pattern

func NewPatternFlowGtpExtensionContentsCounter added in v0.6.5

func NewPatternFlowGtpExtensionContentsCounter() PatternFlowGtpExtensionContentsCounter

type PatternFlowGtpExtensionContentsMetricTag added in v0.11.13

type PatternFlowGtpExtensionContentsMetricTag interface {
	Validation
	// Msg marshals PatternFlowGtpExtensionContentsMetricTag to protobuf object *otg.PatternFlowGtpExtensionContentsMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpExtensionContentsMetricTag
	// SetMsg unmarshals PatternFlowGtpExtensionContentsMetricTag from protobuf object *otg.PatternFlowGtpExtensionContentsMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpExtensionContentsMetricTag) PatternFlowGtpExtensionContentsMetricTag
	// ToProto marshals PatternFlowGtpExtensionContentsMetricTag to protobuf object *otg.PatternFlowGtpExtensionContentsMetricTag
	ToProto() (*otg.PatternFlowGtpExtensionContentsMetricTag, error)
	// ToPbText marshals PatternFlowGtpExtensionContentsMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpExtensionContentsMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpExtensionContentsMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpExtensionContentsMetricTag from protobuf object *otg.PatternFlowGtpExtensionContentsMetricTag
	FromProto(msg *otg.PatternFlowGtpExtensionContentsMetricTag) (PatternFlowGtpExtensionContentsMetricTag, error)
	// FromPbText unmarshals PatternFlowGtpExtensionContentsMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpExtensionContentsMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpExtensionContentsMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpExtensionContentsMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpExtensionContentsMetricTag, error)

	// Name returns string, set in PatternFlowGtpExtensionContentsMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGtpExtensionContentsMetricTag
	SetName(value string) PatternFlowGtpExtensionContentsMetricTag
	// Offset returns int32, set in PatternFlowGtpExtensionContentsMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGtpExtensionContentsMetricTag
	SetOffset(value int32) PatternFlowGtpExtensionContentsMetricTag
	// HasOffset checks if Offset has been set in PatternFlowGtpExtensionContentsMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGtpExtensionContentsMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGtpExtensionContentsMetricTag
	SetLength(value int32) PatternFlowGtpExtensionContentsMetricTag
	// HasLength checks if Length has been set in PatternFlowGtpExtensionContentsMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGtpExtensionContentsMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGtpExtensionContentsMetricTag added in v0.11.13

func NewPatternFlowGtpExtensionContentsMetricTag() PatternFlowGtpExtensionContentsMetricTag

type PatternFlowGtpExtensionExtensionLength

type PatternFlowGtpExtensionExtensionLength interface {
	Validation
	// Msg marshals PatternFlowGtpExtensionExtensionLength to protobuf object *otg.PatternFlowGtpExtensionExtensionLength
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpExtensionExtensionLength
	// SetMsg unmarshals PatternFlowGtpExtensionExtensionLength from protobuf object *otg.PatternFlowGtpExtensionExtensionLength
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpExtensionExtensionLength) PatternFlowGtpExtensionExtensionLength
	// ToProto marshals PatternFlowGtpExtensionExtensionLength to protobuf object *otg.PatternFlowGtpExtensionExtensionLength
	ToProto() (*otg.PatternFlowGtpExtensionExtensionLength, error)
	// ToPbText marshals PatternFlowGtpExtensionExtensionLength to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpExtensionExtensionLength to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpExtensionExtensionLength to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpExtensionExtensionLength from protobuf object *otg.PatternFlowGtpExtensionExtensionLength
	FromProto(msg *otg.PatternFlowGtpExtensionExtensionLength) (PatternFlowGtpExtensionExtensionLength, error)
	// FromPbText unmarshals PatternFlowGtpExtensionExtensionLength from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpExtensionExtensionLength from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpExtensionExtensionLength from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpExtensionExtensionLength
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpExtensionExtensionLength, error)

	// Choice returns PatternFlowGtpExtensionExtensionLengthChoiceEnum, set in PatternFlowGtpExtensionExtensionLength
	Choice() PatternFlowGtpExtensionExtensionLengthChoiceEnum
	// SetChoice assigns PatternFlowGtpExtensionExtensionLengthChoiceEnum provided by user to PatternFlowGtpExtensionExtensionLength
	SetChoice(value PatternFlowGtpExtensionExtensionLengthChoiceEnum) PatternFlowGtpExtensionExtensionLength
	// HasChoice checks if Choice has been set in PatternFlowGtpExtensionExtensionLength
	HasChoice() bool
	// Value returns int32, set in PatternFlowGtpExtensionExtensionLength.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGtpExtensionExtensionLength
	SetValue(value int32) PatternFlowGtpExtensionExtensionLength
	// HasValue checks if Value has been set in PatternFlowGtpExtensionExtensionLength
	HasValue() bool
	// Values returns []int32, set in PatternFlowGtpExtensionExtensionLength.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGtpExtensionExtensionLength
	SetValues(value []int32) PatternFlowGtpExtensionExtensionLength
	// Increment returns PatternFlowGtpExtensionExtensionLengthCounter, set in PatternFlowGtpExtensionExtensionLength.
	// PatternFlowGtpExtensionExtensionLengthCounter is integer counter pattern
	Increment() PatternFlowGtpExtensionExtensionLengthCounter
	// SetIncrement assigns PatternFlowGtpExtensionExtensionLengthCounter provided by user to PatternFlowGtpExtensionExtensionLength.
	// PatternFlowGtpExtensionExtensionLengthCounter is integer counter pattern
	SetIncrement(value PatternFlowGtpExtensionExtensionLengthCounter) PatternFlowGtpExtensionExtensionLength
	// HasIncrement checks if Increment has been set in PatternFlowGtpExtensionExtensionLength
	HasIncrement() bool
	// Decrement returns PatternFlowGtpExtensionExtensionLengthCounter, set in PatternFlowGtpExtensionExtensionLength.
	// PatternFlowGtpExtensionExtensionLengthCounter is integer counter pattern
	Decrement() PatternFlowGtpExtensionExtensionLengthCounter
	// SetDecrement assigns PatternFlowGtpExtensionExtensionLengthCounter provided by user to PatternFlowGtpExtensionExtensionLength.
	// PatternFlowGtpExtensionExtensionLengthCounter is integer counter pattern
	SetDecrement(value PatternFlowGtpExtensionExtensionLengthCounter) PatternFlowGtpExtensionExtensionLength
	// HasDecrement checks if Decrement has been set in PatternFlowGtpExtensionExtensionLength
	HasDecrement() bool
	// MetricTags returns PatternFlowGtpExtensionExtensionLengthPatternFlowGtpExtensionExtensionLengthMetricTagIterIter, set in PatternFlowGtpExtensionExtensionLength
	MetricTags() PatternFlowGtpExtensionExtensionLengthPatternFlowGtpExtensionExtensionLengthMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGtpExtensionExtensionLength is this field states the length of this extension header, including the length, the contents, and the next extension header field, in 4-octet units, so the length of the extension must always be a multiple of 4.

func NewPatternFlowGtpExtensionExtensionLength added in v0.6.5

func NewPatternFlowGtpExtensionExtensionLength() PatternFlowGtpExtensionExtensionLength

type PatternFlowGtpExtensionExtensionLengthChoiceEnum

type PatternFlowGtpExtensionExtensionLengthChoiceEnum string

type PatternFlowGtpExtensionExtensionLengthCounter

type PatternFlowGtpExtensionExtensionLengthCounter interface {
	Validation
	// Msg marshals PatternFlowGtpExtensionExtensionLengthCounter to protobuf object *otg.PatternFlowGtpExtensionExtensionLengthCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpExtensionExtensionLengthCounter
	// SetMsg unmarshals PatternFlowGtpExtensionExtensionLengthCounter from protobuf object *otg.PatternFlowGtpExtensionExtensionLengthCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpExtensionExtensionLengthCounter) PatternFlowGtpExtensionExtensionLengthCounter
	// ToProto marshals PatternFlowGtpExtensionExtensionLengthCounter to protobuf object *otg.PatternFlowGtpExtensionExtensionLengthCounter
	ToProto() (*otg.PatternFlowGtpExtensionExtensionLengthCounter, error)
	// ToPbText marshals PatternFlowGtpExtensionExtensionLengthCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpExtensionExtensionLengthCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpExtensionExtensionLengthCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpExtensionExtensionLengthCounter from protobuf object *otg.PatternFlowGtpExtensionExtensionLengthCounter
	FromProto(msg *otg.PatternFlowGtpExtensionExtensionLengthCounter) (PatternFlowGtpExtensionExtensionLengthCounter, error)
	// FromPbText unmarshals PatternFlowGtpExtensionExtensionLengthCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpExtensionExtensionLengthCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpExtensionExtensionLengthCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpExtensionExtensionLengthCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpExtensionExtensionLengthCounter, error)

	// Start returns int32, set in PatternFlowGtpExtensionExtensionLengthCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGtpExtensionExtensionLengthCounter
	SetStart(value int32) PatternFlowGtpExtensionExtensionLengthCounter
	// HasStart checks if Start has been set in PatternFlowGtpExtensionExtensionLengthCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowGtpExtensionExtensionLengthCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGtpExtensionExtensionLengthCounter
	SetStep(value int32) PatternFlowGtpExtensionExtensionLengthCounter
	// HasStep checks if Step has been set in PatternFlowGtpExtensionExtensionLengthCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowGtpExtensionExtensionLengthCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGtpExtensionExtensionLengthCounter
	SetCount(value int32) PatternFlowGtpExtensionExtensionLengthCounter
	// HasCount checks if Count has been set in PatternFlowGtpExtensionExtensionLengthCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGtpExtensionExtensionLengthCounter is integer counter pattern

func NewPatternFlowGtpExtensionExtensionLengthCounter added in v0.6.5

func NewPatternFlowGtpExtensionExtensionLengthCounter() PatternFlowGtpExtensionExtensionLengthCounter

type PatternFlowGtpExtensionExtensionLengthMetricTag added in v0.11.13

type PatternFlowGtpExtensionExtensionLengthMetricTag interface {
	Validation
	// Msg marshals PatternFlowGtpExtensionExtensionLengthMetricTag to protobuf object *otg.PatternFlowGtpExtensionExtensionLengthMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpExtensionExtensionLengthMetricTag
	// SetMsg unmarshals PatternFlowGtpExtensionExtensionLengthMetricTag from protobuf object *otg.PatternFlowGtpExtensionExtensionLengthMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpExtensionExtensionLengthMetricTag) PatternFlowGtpExtensionExtensionLengthMetricTag
	// ToProto marshals PatternFlowGtpExtensionExtensionLengthMetricTag to protobuf object *otg.PatternFlowGtpExtensionExtensionLengthMetricTag
	ToProto() (*otg.PatternFlowGtpExtensionExtensionLengthMetricTag, error)
	// ToPbText marshals PatternFlowGtpExtensionExtensionLengthMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpExtensionExtensionLengthMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpExtensionExtensionLengthMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpExtensionExtensionLengthMetricTag from protobuf object *otg.PatternFlowGtpExtensionExtensionLengthMetricTag
	FromProto(msg *otg.PatternFlowGtpExtensionExtensionLengthMetricTag) (PatternFlowGtpExtensionExtensionLengthMetricTag, error)
	// FromPbText unmarshals PatternFlowGtpExtensionExtensionLengthMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpExtensionExtensionLengthMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpExtensionExtensionLengthMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpExtensionExtensionLengthMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpExtensionExtensionLengthMetricTag, error)

	// Name returns string, set in PatternFlowGtpExtensionExtensionLengthMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGtpExtensionExtensionLengthMetricTag
	SetName(value string) PatternFlowGtpExtensionExtensionLengthMetricTag
	// Offset returns int32, set in PatternFlowGtpExtensionExtensionLengthMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGtpExtensionExtensionLengthMetricTag
	SetOffset(value int32) PatternFlowGtpExtensionExtensionLengthMetricTag
	// HasOffset checks if Offset has been set in PatternFlowGtpExtensionExtensionLengthMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGtpExtensionExtensionLengthMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGtpExtensionExtensionLengthMetricTag
	SetLength(value int32) PatternFlowGtpExtensionExtensionLengthMetricTag
	// HasLength checks if Length has been set in PatternFlowGtpExtensionExtensionLengthMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGtpExtensionExtensionLengthMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGtpExtensionExtensionLengthMetricTag added in v0.11.13

func NewPatternFlowGtpExtensionExtensionLengthMetricTag() PatternFlowGtpExtensionExtensionLengthMetricTag

type PatternFlowGtpExtensionNextExtensionHeader

type PatternFlowGtpExtensionNextExtensionHeader interface {
	Validation
	// Msg marshals PatternFlowGtpExtensionNextExtensionHeader to protobuf object *otg.PatternFlowGtpExtensionNextExtensionHeader
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpExtensionNextExtensionHeader
	// SetMsg unmarshals PatternFlowGtpExtensionNextExtensionHeader from protobuf object *otg.PatternFlowGtpExtensionNextExtensionHeader
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpExtensionNextExtensionHeader) PatternFlowGtpExtensionNextExtensionHeader
	// ToProto marshals PatternFlowGtpExtensionNextExtensionHeader to protobuf object *otg.PatternFlowGtpExtensionNextExtensionHeader
	ToProto() (*otg.PatternFlowGtpExtensionNextExtensionHeader, error)
	// ToPbText marshals PatternFlowGtpExtensionNextExtensionHeader to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpExtensionNextExtensionHeader to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpExtensionNextExtensionHeader to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpExtensionNextExtensionHeader from protobuf object *otg.PatternFlowGtpExtensionNextExtensionHeader
	FromProto(msg *otg.PatternFlowGtpExtensionNextExtensionHeader) (PatternFlowGtpExtensionNextExtensionHeader, error)
	// FromPbText unmarshals PatternFlowGtpExtensionNextExtensionHeader from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpExtensionNextExtensionHeader from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpExtensionNextExtensionHeader from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpExtensionNextExtensionHeader
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpExtensionNextExtensionHeader, error)

	// Choice returns PatternFlowGtpExtensionNextExtensionHeaderChoiceEnum, set in PatternFlowGtpExtensionNextExtensionHeader
	Choice() PatternFlowGtpExtensionNextExtensionHeaderChoiceEnum
	// SetChoice assigns PatternFlowGtpExtensionNextExtensionHeaderChoiceEnum provided by user to PatternFlowGtpExtensionNextExtensionHeader
	SetChoice(value PatternFlowGtpExtensionNextExtensionHeaderChoiceEnum) PatternFlowGtpExtensionNextExtensionHeader
	// HasChoice checks if Choice has been set in PatternFlowGtpExtensionNextExtensionHeader
	HasChoice() bool
	// Value returns int32, set in PatternFlowGtpExtensionNextExtensionHeader.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGtpExtensionNextExtensionHeader
	SetValue(value int32) PatternFlowGtpExtensionNextExtensionHeader
	// HasValue checks if Value has been set in PatternFlowGtpExtensionNextExtensionHeader
	HasValue() bool
	// Values returns []int32, set in PatternFlowGtpExtensionNextExtensionHeader.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGtpExtensionNextExtensionHeader
	SetValues(value []int32) PatternFlowGtpExtensionNextExtensionHeader
	// Increment returns PatternFlowGtpExtensionNextExtensionHeaderCounter, set in PatternFlowGtpExtensionNextExtensionHeader.
	// PatternFlowGtpExtensionNextExtensionHeaderCounter is integer counter pattern
	Increment() PatternFlowGtpExtensionNextExtensionHeaderCounter
	// SetIncrement assigns PatternFlowGtpExtensionNextExtensionHeaderCounter provided by user to PatternFlowGtpExtensionNextExtensionHeader.
	// PatternFlowGtpExtensionNextExtensionHeaderCounter is integer counter pattern
	SetIncrement(value PatternFlowGtpExtensionNextExtensionHeaderCounter) PatternFlowGtpExtensionNextExtensionHeader
	// HasIncrement checks if Increment has been set in PatternFlowGtpExtensionNextExtensionHeader
	HasIncrement() bool
	// Decrement returns PatternFlowGtpExtensionNextExtensionHeaderCounter, set in PatternFlowGtpExtensionNextExtensionHeader.
	// PatternFlowGtpExtensionNextExtensionHeaderCounter is integer counter pattern
	Decrement() PatternFlowGtpExtensionNextExtensionHeaderCounter
	// SetDecrement assigns PatternFlowGtpExtensionNextExtensionHeaderCounter provided by user to PatternFlowGtpExtensionNextExtensionHeader.
	// PatternFlowGtpExtensionNextExtensionHeaderCounter is integer counter pattern
	SetDecrement(value PatternFlowGtpExtensionNextExtensionHeaderCounter) PatternFlowGtpExtensionNextExtensionHeader
	// HasDecrement checks if Decrement has been set in PatternFlowGtpExtensionNextExtensionHeader
	HasDecrement() bool
	// MetricTags returns PatternFlowGtpExtensionNextExtensionHeaderPatternFlowGtpExtensionNextExtensionHeaderMetricTagIterIter, set in PatternFlowGtpExtensionNextExtensionHeader
	MetricTags() PatternFlowGtpExtensionNextExtensionHeaderPatternFlowGtpExtensionNextExtensionHeaderMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGtpExtensionNextExtensionHeader is it states the type of the next extension, or 0 if no next extension exists. This permits chaining several next extension headers.

func NewPatternFlowGtpExtensionNextExtensionHeader added in v0.6.5

func NewPatternFlowGtpExtensionNextExtensionHeader() PatternFlowGtpExtensionNextExtensionHeader

type PatternFlowGtpExtensionNextExtensionHeaderChoiceEnum

type PatternFlowGtpExtensionNextExtensionHeaderChoiceEnum string

type PatternFlowGtpExtensionNextExtensionHeaderCounter

type PatternFlowGtpExtensionNextExtensionHeaderCounter interface {
	Validation
	// Msg marshals PatternFlowGtpExtensionNextExtensionHeaderCounter to protobuf object *otg.PatternFlowGtpExtensionNextExtensionHeaderCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpExtensionNextExtensionHeaderCounter
	// SetMsg unmarshals PatternFlowGtpExtensionNextExtensionHeaderCounter from protobuf object *otg.PatternFlowGtpExtensionNextExtensionHeaderCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpExtensionNextExtensionHeaderCounter) PatternFlowGtpExtensionNextExtensionHeaderCounter
	// ToProto marshals PatternFlowGtpExtensionNextExtensionHeaderCounter to protobuf object *otg.PatternFlowGtpExtensionNextExtensionHeaderCounter
	ToProto() (*otg.PatternFlowGtpExtensionNextExtensionHeaderCounter, error)
	// ToPbText marshals PatternFlowGtpExtensionNextExtensionHeaderCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpExtensionNextExtensionHeaderCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpExtensionNextExtensionHeaderCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpExtensionNextExtensionHeaderCounter from protobuf object *otg.PatternFlowGtpExtensionNextExtensionHeaderCounter
	FromProto(msg *otg.PatternFlowGtpExtensionNextExtensionHeaderCounter) (PatternFlowGtpExtensionNextExtensionHeaderCounter, error)
	// FromPbText unmarshals PatternFlowGtpExtensionNextExtensionHeaderCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpExtensionNextExtensionHeaderCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpExtensionNextExtensionHeaderCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpExtensionNextExtensionHeaderCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpExtensionNextExtensionHeaderCounter, error)

	// Start returns int32, set in PatternFlowGtpExtensionNextExtensionHeaderCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGtpExtensionNextExtensionHeaderCounter
	SetStart(value int32) PatternFlowGtpExtensionNextExtensionHeaderCounter
	// HasStart checks if Start has been set in PatternFlowGtpExtensionNextExtensionHeaderCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowGtpExtensionNextExtensionHeaderCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGtpExtensionNextExtensionHeaderCounter
	SetStep(value int32) PatternFlowGtpExtensionNextExtensionHeaderCounter
	// HasStep checks if Step has been set in PatternFlowGtpExtensionNextExtensionHeaderCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowGtpExtensionNextExtensionHeaderCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGtpExtensionNextExtensionHeaderCounter
	SetCount(value int32) PatternFlowGtpExtensionNextExtensionHeaderCounter
	// HasCount checks if Count has been set in PatternFlowGtpExtensionNextExtensionHeaderCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGtpExtensionNextExtensionHeaderCounter is integer counter pattern

func NewPatternFlowGtpExtensionNextExtensionHeaderCounter added in v0.6.5

func NewPatternFlowGtpExtensionNextExtensionHeaderCounter() PatternFlowGtpExtensionNextExtensionHeaderCounter

type PatternFlowGtpExtensionNextExtensionHeaderMetricTag added in v0.11.13

type PatternFlowGtpExtensionNextExtensionHeaderMetricTag interface {
	Validation
	// Msg marshals PatternFlowGtpExtensionNextExtensionHeaderMetricTag to protobuf object *otg.PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	// SetMsg unmarshals PatternFlowGtpExtensionNextExtensionHeaderMetricTag from protobuf object *otg.PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpExtensionNextExtensionHeaderMetricTag) PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	// ToProto marshals PatternFlowGtpExtensionNextExtensionHeaderMetricTag to protobuf object *otg.PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	ToProto() (*otg.PatternFlowGtpExtensionNextExtensionHeaderMetricTag, error)
	// ToPbText marshals PatternFlowGtpExtensionNextExtensionHeaderMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpExtensionNextExtensionHeaderMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpExtensionNextExtensionHeaderMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpExtensionNextExtensionHeaderMetricTag from protobuf object *otg.PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	FromProto(msg *otg.PatternFlowGtpExtensionNextExtensionHeaderMetricTag) (PatternFlowGtpExtensionNextExtensionHeaderMetricTag, error)
	// FromPbText unmarshals PatternFlowGtpExtensionNextExtensionHeaderMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpExtensionNextExtensionHeaderMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpExtensionNextExtensionHeaderMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpExtensionNextExtensionHeaderMetricTag, error)

	// Name returns string, set in PatternFlowGtpExtensionNextExtensionHeaderMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	SetName(value string) PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	// Offset returns int32, set in PatternFlowGtpExtensionNextExtensionHeaderMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	SetOffset(value int32) PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	// HasOffset checks if Offset has been set in PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGtpExtensionNextExtensionHeaderMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	SetLength(value int32) PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	// HasLength checks if Length has been set in PatternFlowGtpExtensionNextExtensionHeaderMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGtpExtensionNextExtensionHeaderMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGtpExtensionNextExtensionHeaderMetricTag added in v0.11.13

func NewPatternFlowGtpExtensionNextExtensionHeaderMetricTag() PatternFlowGtpExtensionNextExtensionHeaderMetricTag

type PatternFlowGtpv1EFlag

type PatternFlowGtpv1EFlag interface {
	Validation
	// Msg marshals PatternFlowGtpv1EFlag to protobuf object *otg.PatternFlowGtpv1EFlag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1EFlag
	// SetMsg unmarshals PatternFlowGtpv1EFlag from protobuf object *otg.PatternFlowGtpv1EFlag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1EFlag) PatternFlowGtpv1EFlag
	// ToProto marshals PatternFlowGtpv1EFlag to protobuf object *otg.PatternFlowGtpv1EFlag
	ToProto() (*otg.PatternFlowGtpv1EFlag, error)
	// ToPbText marshals PatternFlowGtpv1EFlag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1EFlag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1EFlag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1EFlag from protobuf object *otg.PatternFlowGtpv1EFlag
	FromProto(msg *otg.PatternFlowGtpv1EFlag) (PatternFlowGtpv1EFlag, error)
	// FromPbText unmarshals PatternFlowGtpv1EFlag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1EFlag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1EFlag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1EFlag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1EFlag, error)

	// Choice returns PatternFlowGtpv1EFlagChoiceEnum, set in PatternFlowGtpv1EFlag
	Choice() PatternFlowGtpv1EFlagChoiceEnum
	// SetChoice assigns PatternFlowGtpv1EFlagChoiceEnum provided by user to PatternFlowGtpv1EFlag
	SetChoice(value PatternFlowGtpv1EFlagChoiceEnum) PatternFlowGtpv1EFlag
	// HasChoice checks if Choice has been set in PatternFlowGtpv1EFlag
	HasChoice() bool
	// Value returns int32, set in PatternFlowGtpv1EFlag.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGtpv1EFlag
	SetValue(value int32) PatternFlowGtpv1EFlag
	// HasValue checks if Value has been set in PatternFlowGtpv1EFlag
	HasValue() bool
	// Values returns []int32, set in PatternFlowGtpv1EFlag.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGtpv1EFlag
	SetValues(value []int32) PatternFlowGtpv1EFlag
	// Increment returns PatternFlowGtpv1EFlagCounter, set in PatternFlowGtpv1EFlag.
	// PatternFlowGtpv1EFlagCounter is integer counter pattern
	Increment() PatternFlowGtpv1EFlagCounter
	// SetIncrement assigns PatternFlowGtpv1EFlagCounter provided by user to PatternFlowGtpv1EFlag.
	// PatternFlowGtpv1EFlagCounter is integer counter pattern
	SetIncrement(value PatternFlowGtpv1EFlagCounter) PatternFlowGtpv1EFlag
	// HasIncrement checks if Increment has been set in PatternFlowGtpv1EFlag
	HasIncrement() bool
	// Decrement returns PatternFlowGtpv1EFlagCounter, set in PatternFlowGtpv1EFlag.
	// PatternFlowGtpv1EFlagCounter is integer counter pattern
	Decrement() PatternFlowGtpv1EFlagCounter
	// SetDecrement assigns PatternFlowGtpv1EFlagCounter provided by user to PatternFlowGtpv1EFlag.
	// PatternFlowGtpv1EFlagCounter is integer counter pattern
	SetDecrement(value PatternFlowGtpv1EFlagCounter) PatternFlowGtpv1EFlag
	// HasDecrement checks if Decrement has been set in PatternFlowGtpv1EFlag
	HasDecrement() bool
	// MetricTags returns PatternFlowGtpv1EFlagPatternFlowGtpv1EFlagMetricTagIterIter, set in PatternFlowGtpv1EFlag
	MetricTags() PatternFlowGtpv1EFlagPatternFlowGtpv1EFlagMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGtpv1EFlag is extension header field present

func NewPatternFlowGtpv1EFlag added in v0.6.5

func NewPatternFlowGtpv1EFlag() PatternFlowGtpv1EFlag

type PatternFlowGtpv1EFlagChoiceEnum

type PatternFlowGtpv1EFlagChoiceEnum string

type PatternFlowGtpv1EFlagCounter

type PatternFlowGtpv1EFlagCounter interface {
	Validation
	// Msg marshals PatternFlowGtpv1EFlagCounter to protobuf object *otg.PatternFlowGtpv1EFlagCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1EFlagCounter
	// SetMsg unmarshals PatternFlowGtpv1EFlagCounter from protobuf object *otg.PatternFlowGtpv1EFlagCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1EFlagCounter) PatternFlowGtpv1EFlagCounter
	// ToProto marshals PatternFlowGtpv1EFlagCounter to protobuf object *otg.PatternFlowGtpv1EFlagCounter
	ToProto() (*otg.PatternFlowGtpv1EFlagCounter, error)
	// ToPbText marshals PatternFlowGtpv1EFlagCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1EFlagCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1EFlagCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1EFlagCounter from protobuf object *otg.PatternFlowGtpv1EFlagCounter
	FromProto(msg *otg.PatternFlowGtpv1EFlagCounter) (PatternFlowGtpv1EFlagCounter, error)
	// FromPbText unmarshals PatternFlowGtpv1EFlagCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1EFlagCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1EFlagCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1EFlagCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1EFlagCounter, error)

	// Start returns int32, set in PatternFlowGtpv1EFlagCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGtpv1EFlagCounter
	SetStart(value int32) PatternFlowGtpv1EFlagCounter
	// HasStart checks if Start has been set in PatternFlowGtpv1EFlagCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowGtpv1EFlagCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGtpv1EFlagCounter
	SetStep(value int32) PatternFlowGtpv1EFlagCounter
	// HasStep checks if Step has been set in PatternFlowGtpv1EFlagCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowGtpv1EFlagCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGtpv1EFlagCounter
	SetCount(value int32) PatternFlowGtpv1EFlagCounter
	// HasCount checks if Count has been set in PatternFlowGtpv1EFlagCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1EFlagCounter is integer counter pattern

func NewPatternFlowGtpv1EFlagCounter added in v0.6.5

func NewPatternFlowGtpv1EFlagCounter() PatternFlowGtpv1EFlagCounter

type PatternFlowGtpv1EFlagMetricTag added in v0.11.13

type PatternFlowGtpv1EFlagMetricTag interface {
	Validation
	// Msg marshals PatternFlowGtpv1EFlagMetricTag to protobuf object *otg.PatternFlowGtpv1EFlagMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1EFlagMetricTag
	// SetMsg unmarshals PatternFlowGtpv1EFlagMetricTag from protobuf object *otg.PatternFlowGtpv1EFlagMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1EFlagMetricTag) PatternFlowGtpv1EFlagMetricTag
	// ToProto marshals PatternFlowGtpv1EFlagMetricTag to protobuf object *otg.PatternFlowGtpv1EFlagMetricTag
	ToProto() (*otg.PatternFlowGtpv1EFlagMetricTag, error)
	// ToPbText marshals PatternFlowGtpv1EFlagMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1EFlagMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1EFlagMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1EFlagMetricTag from protobuf object *otg.PatternFlowGtpv1EFlagMetricTag
	FromProto(msg *otg.PatternFlowGtpv1EFlagMetricTag) (PatternFlowGtpv1EFlagMetricTag, error)
	// FromPbText unmarshals PatternFlowGtpv1EFlagMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1EFlagMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1EFlagMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1EFlagMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1EFlagMetricTag, error)

	// Name returns string, set in PatternFlowGtpv1EFlagMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGtpv1EFlagMetricTag
	SetName(value string) PatternFlowGtpv1EFlagMetricTag
	// Offset returns int32, set in PatternFlowGtpv1EFlagMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGtpv1EFlagMetricTag
	SetOffset(value int32) PatternFlowGtpv1EFlagMetricTag
	// HasOffset checks if Offset has been set in PatternFlowGtpv1EFlagMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGtpv1EFlagMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGtpv1EFlagMetricTag
	SetLength(value int32) PatternFlowGtpv1EFlagMetricTag
	// HasLength checks if Length has been set in PatternFlowGtpv1EFlagMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1EFlagMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGtpv1EFlagMetricTag added in v0.11.13

func NewPatternFlowGtpv1EFlagMetricTag() PatternFlowGtpv1EFlagMetricTag

type PatternFlowGtpv1MessageLength

type PatternFlowGtpv1MessageLength interface {
	Validation
	// Msg marshals PatternFlowGtpv1MessageLength to protobuf object *otg.PatternFlowGtpv1MessageLength
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1MessageLength
	// SetMsg unmarshals PatternFlowGtpv1MessageLength from protobuf object *otg.PatternFlowGtpv1MessageLength
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1MessageLength) PatternFlowGtpv1MessageLength
	// ToProto marshals PatternFlowGtpv1MessageLength to protobuf object *otg.PatternFlowGtpv1MessageLength
	ToProto() (*otg.PatternFlowGtpv1MessageLength, error)
	// ToPbText marshals PatternFlowGtpv1MessageLength to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1MessageLength to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1MessageLength to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1MessageLength from protobuf object *otg.PatternFlowGtpv1MessageLength
	FromProto(msg *otg.PatternFlowGtpv1MessageLength) (PatternFlowGtpv1MessageLength, error)
	// FromPbText unmarshals PatternFlowGtpv1MessageLength from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1MessageLength from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1MessageLength from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1MessageLength
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1MessageLength, error)

	// Choice returns PatternFlowGtpv1MessageLengthChoiceEnum, set in PatternFlowGtpv1MessageLength
	Choice() PatternFlowGtpv1MessageLengthChoiceEnum
	// SetChoice assigns PatternFlowGtpv1MessageLengthChoiceEnum provided by user to PatternFlowGtpv1MessageLength
	SetChoice(value PatternFlowGtpv1MessageLengthChoiceEnum) PatternFlowGtpv1MessageLength
	// HasChoice checks if Choice has been set in PatternFlowGtpv1MessageLength
	HasChoice() bool
	// Value returns int32, set in PatternFlowGtpv1MessageLength.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGtpv1MessageLength
	SetValue(value int32) PatternFlowGtpv1MessageLength
	// HasValue checks if Value has been set in PatternFlowGtpv1MessageLength
	HasValue() bool
	// Values returns []int32, set in PatternFlowGtpv1MessageLength.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGtpv1MessageLength
	SetValues(value []int32) PatternFlowGtpv1MessageLength
	// Increment returns PatternFlowGtpv1MessageLengthCounter, set in PatternFlowGtpv1MessageLength.
	// PatternFlowGtpv1MessageLengthCounter is integer counter pattern
	Increment() PatternFlowGtpv1MessageLengthCounter
	// SetIncrement assigns PatternFlowGtpv1MessageLengthCounter provided by user to PatternFlowGtpv1MessageLength.
	// PatternFlowGtpv1MessageLengthCounter is integer counter pattern
	SetIncrement(value PatternFlowGtpv1MessageLengthCounter) PatternFlowGtpv1MessageLength
	// HasIncrement checks if Increment has been set in PatternFlowGtpv1MessageLength
	HasIncrement() bool
	// Decrement returns PatternFlowGtpv1MessageLengthCounter, set in PatternFlowGtpv1MessageLength.
	// PatternFlowGtpv1MessageLengthCounter is integer counter pattern
	Decrement() PatternFlowGtpv1MessageLengthCounter
	// SetDecrement assigns PatternFlowGtpv1MessageLengthCounter provided by user to PatternFlowGtpv1MessageLength.
	// PatternFlowGtpv1MessageLengthCounter is integer counter pattern
	SetDecrement(value PatternFlowGtpv1MessageLengthCounter) PatternFlowGtpv1MessageLength
	// HasDecrement checks if Decrement has been set in PatternFlowGtpv1MessageLength
	HasDecrement() bool
	// MetricTags returns PatternFlowGtpv1MessageLengthPatternFlowGtpv1MessageLengthMetricTagIterIter, set in PatternFlowGtpv1MessageLength
	MetricTags() PatternFlowGtpv1MessageLengthPatternFlowGtpv1MessageLengthMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGtpv1MessageLength is the length of the payload (the bytes following the mandatory 8-byte GTP header) in bytes that includes any optional fields

func NewPatternFlowGtpv1MessageLength added in v0.6.5

func NewPatternFlowGtpv1MessageLength() PatternFlowGtpv1MessageLength

type PatternFlowGtpv1MessageLengthChoiceEnum

type PatternFlowGtpv1MessageLengthChoiceEnum string

type PatternFlowGtpv1MessageLengthCounter

type PatternFlowGtpv1MessageLengthCounter interface {
	Validation
	// Msg marshals PatternFlowGtpv1MessageLengthCounter to protobuf object *otg.PatternFlowGtpv1MessageLengthCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1MessageLengthCounter
	// SetMsg unmarshals PatternFlowGtpv1MessageLengthCounter from protobuf object *otg.PatternFlowGtpv1MessageLengthCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1MessageLengthCounter) PatternFlowGtpv1MessageLengthCounter
	// ToProto marshals PatternFlowGtpv1MessageLengthCounter to protobuf object *otg.PatternFlowGtpv1MessageLengthCounter
	ToProto() (*otg.PatternFlowGtpv1MessageLengthCounter, error)
	// ToPbText marshals PatternFlowGtpv1MessageLengthCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1MessageLengthCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1MessageLengthCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1MessageLengthCounter from protobuf object *otg.PatternFlowGtpv1MessageLengthCounter
	FromProto(msg *otg.PatternFlowGtpv1MessageLengthCounter) (PatternFlowGtpv1MessageLengthCounter, error)
	// FromPbText unmarshals PatternFlowGtpv1MessageLengthCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1MessageLengthCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1MessageLengthCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1MessageLengthCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1MessageLengthCounter, error)

	// Start returns int32, set in PatternFlowGtpv1MessageLengthCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGtpv1MessageLengthCounter
	SetStart(value int32) PatternFlowGtpv1MessageLengthCounter
	// HasStart checks if Start has been set in PatternFlowGtpv1MessageLengthCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowGtpv1MessageLengthCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGtpv1MessageLengthCounter
	SetStep(value int32) PatternFlowGtpv1MessageLengthCounter
	// HasStep checks if Step has been set in PatternFlowGtpv1MessageLengthCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowGtpv1MessageLengthCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGtpv1MessageLengthCounter
	SetCount(value int32) PatternFlowGtpv1MessageLengthCounter
	// HasCount checks if Count has been set in PatternFlowGtpv1MessageLengthCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1MessageLengthCounter is integer counter pattern

func NewPatternFlowGtpv1MessageLengthCounter added in v0.6.5

func NewPatternFlowGtpv1MessageLengthCounter() PatternFlowGtpv1MessageLengthCounter

type PatternFlowGtpv1MessageLengthMetricTag added in v0.11.13

type PatternFlowGtpv1MessageLengthMetricTag interface {
	Validation
	// Msg marshals PatternFlowGtpv1MessageLengthMetricTag to protobuf object *otg.PatternFlowGtpv1MessageLengthMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1MessageLengthMetricTag
	// SetMsg unmarshals PatternFlowGtpv1MessageLengthMetricTag from protobuf object *otg.PatternFlowGtpv1MessageLengthMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1MessageLengthMetricTag) PatternFlowGtpv1MessageLengthMetricTag
	// ToProto marshals PatternFlowGtpv1MessageLengthMetricTag to protobuf object *otg.PatternFlowGtpv1MessageLengthMetricTag
	ToProto() (*otg.PatternFlowGtpv1MessageLengthMetricTag, error)
	// ToPbText marshals PatternFlowGtpv1MessageLengthMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1MessageLengthMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1MessageLengthMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1MessageLengthMetricTag from protobuf object *otg.PatternFlowGtpv1MessageLengthMetricTag
	FromProto(msg *otg.PatternFlowGtpv1MessageLengthMetricTag) (PatternFlowGtpv1MessageLengthMetricTag, error)
	// FromPbText unmarshals PatternFlowGtpv1MessageLengthMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1MessageLengthMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1MessageLengthMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1MessageLengthMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1MessageLengthMetricTag, error)

	// Name returns string, set in PatternFlowGtpv1MessageLengthMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGtpv1MessageLengthMetricTag
	SetName(value string) PatternFlowGtpv1MessageLengthMetricTag
	// Offset returns int32, set in PatternFlowGtpv1MessageLengthMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGtpv1MessageLengthMetricTag
	SetOffset(value int32) PatternFlowGtpv1MessageLengthMetricTag
	// HasOffset checks if Offset has been set in PatternFlowGtpv1MessageLengthMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGtpv1MessageLengthMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGtpv1MessageLengthMetricTag
	SetLength(value int32) PatternFlowGtpv1MessageLengthMetricTag
	// HasLength checks if Length has been set in PatternFlowGtpv1MessageLengthMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1MessageLengthMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGtpv1MessageLengthMetricTag added in v0.11.13

func NewPatternFlowGtpv1MessageLengthMetricTag() PatternFlowGtpv1MessageLengthMetricTag

type PatternFlowGtpv1MessageType

type PatternFlowGtpv1MessageType interface {
	Validation
	// Msg marshals PatternFlowGtpv1MessageType to protobuf object *otg.PatternFlowGtpv1MessageType
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1MessageType
	// SetMsg unmarshals PatternFlowGtpv1MessageType from protobuf object *otg.PatternFlowGtpv1MessageType
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1MessageType) PatternFlowGtpv1MessageType
	// ToProto marshals PatternFlowGtpv1MessageType to protobuf object *otg.PatternFlowGtpv1MessageType
	ToProto() (*otg.PatternFlowGtpv1MessageType, error)
	// ToPbText marshals PatternFlowGtpv1MessageType to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1MessageType to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1MessageType to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1MessageType from protobuf object *otg.PatternFlowGtpv1MessageType
	FromProto(msg *otg.PatternFlowGtpv1MessageType) (PatternFlowGtpv1MessageType, error)
	// FromPbText unmarshals PatternFlowGtpv1MessageType from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1MessageType from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1MessageType from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1MessageType
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1MessageType, error)

	// Choice returns PatternFlowGtpv1MessageTypeChoiceEnum, set in PatternFlowGtpv1MessageType
	Choice() PatternFlowGtpv1MessageTypeChoiceEnum
	// SetChoice assigns PatternFlowGtpv1MessageTypeChoiceEnum provided by user to PatternFlowGtpv1MessageType
	SetChoice(value PatternFlowGtpv1MessageTypeChoiceEnum) PatternFlowGtpv1MessageType
	// HasChoice checks if Choice has been set in PatternFlowGtpv1MessageType
	HasChoice() bool
	// Value returns int32, set in PatternFlowGtpv1MessageType.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGtpv1MessageType
	SetValue(value int32) PatternFlowGtpv1MessageType
	// HasValue checks if Value has been set in PatternFlowGtpv1MessageType
	HasValue() bool
	// Values returns []int32, set in PatternFlowGtpv1MessageType.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGtpv1MessageType
	SetValues(value []int32) PatternFlowGtpv1MessageType
	// Increment returns PatternFlowGtpv1MessageTypeCounter, set in PatternFlowGtpv1MessageType.
	// PatternFlowGtpv1MessageTypeCounter is integer counter pattern
	Increment() PatternFlowGtpv1MessageTypeCounter
	// SetIncrement assigns PatternFlowGtpv1MessageTypeCounter provided by user to PatternFlowGtpv1MessageType.
	// PatternFlowGtpv1MessageTypeCounter is integer counter pattern
	SetIncrement(value PatternFlowGtpv1MessageTypeCounter) PatternFlowGtpv1MessageType
	// HasIncrement checks if Increment has been set in PatternFlowGtpv1MessageType
	HasIncrement() bool
	// Decrement returns PatternFlowGtpv1MessageTypeCounter, set in PatternFlowGtpv1MessageType.
	// PatternFlowGtpv1MessageTypeCounter is integer counter pattern
	Decrement() PatternFlowGtpv1MessageTypeCounter
	// SetDecrement assigns PatternFlowGtpv1MessageTypeCounter provided by user to PatternFlowGtpv1MessageType.
	// PatternFlowGtpv1MessageTypeCounter is integer counter pattern
	SetDecrement(value PatternFlowGtpv1MessageTypeCounter) PatternFlowGtpv1MessageType
	// HasDecrement checks if Decrement has been set in PatternFlowGtpv1MessageType
	HasDecrement() bool
	// MetricTags returns PatternFlowGtpv1MessageTypePatternFlowGtpv1MessageTypeMetricTagIterIter, set in PatternFlowGtpv1MessageType
	MetricTags() PatternFlowGtpv1MessageTypePatternFlowGtpv1MessageTypeMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGtpv1MessageType is the type of GTP message Different types of messages are defined in 3GPP TS 29.060 section 7.1

func NewPatternFlowGtpv1MessageType added in v0.6.5

func NewPatternFlowGtpv1MessageType() PatternFlowGtpv1MessageType

type PatternFlowGtpv1MessageTypeChoiceEnum

type PatternFlowGtpv1MessageTypeChoiceEnum string

type PatternFlowGtpv1MessageTypeCounter

type PatternFlowGtpv1MessageTypeCounter interface {
	Validation
	// Msg marshals PatternFlowGtpv1MessageTypeCounter to protobuf object *otg.PatternFlowGtpv1MessageTypeCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1MessageTypeCounter
	// SetMsg unmarshals PatternFlowGtpv1MessageTypeCounter from protobuf object *otg.PatternFlowGtpv1MessageTypeCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1MessageTypeCounter) PatternFlowGtpv1MessageTypeCounter
	// ToProto marshals PatternFlowGtpv1MessageTypeCounter to protobuf object *otg.PatternFlowGtpv1MessageTypeCounter
	ToProto() (*otg.PatternFlowGtpv1MessageTypeCounter, error)
	// ToPbText marshals PatternFlowGtpv1MessageTypeCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1MessageTypeCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1MessageTypeCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1MessageTypeCounter from protobuf object *otg.PatternFlowGtpv1MessageTypeCounter
	FromProto(msg *otg.PatternFlowGtpv1MessageTypeCounter) (PatternFlowGtpv1MessageTypeCounter, error)
	// FromPbText unmarshals PatternFlowGtpv1MessageTypeCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1MessageTypeCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1MessageTypeCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1MessageTypeCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1MessageTypeCounter, error)

	// Start returns int32, set in PatternFlowGtpv1MessageTypeCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGtpv1MessageTypeCounter
	SetStart(value int32) PatternFlowGtpv1MessageTypeCounter
	// HasStart checks if Start has been set in PatternFlowGtpv1MessageTypeCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowGtpv1MessageTypeCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGtpv1MessageTypeCounter
	SetStep(value int32) PatternFlowGtpv1MessageTypeCounter
	// HasStep checks if Step has been set in PatternFlowGtpv1MessageTypeCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowGtpv1MessageTypeCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGtpv1MessageTypeCounter
	SetCount(value int32) PatternFlowGtpv1MessageTypeCounter
	// HasCount checks if Count has been set in PatternFlowGtpv1MessageTypeCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1MessageTypeCounter is integer counter pattern

func NewPatternFlowGtpv1MessageTypeCounter added in v0.6.5

func NewPatternFlowGtpv1MessageTypeCounter() PatternFlowGtpv1MessageTypeCounter

type PatternFlowGtpv1MessageTypeMetricTag added in v0.11.13

type PatternFlowGtpv1MessageTypeMetricTag interface {
	Validation
	// Msg marshals PatternFlowGtpv1MessageTypeMetricTag to protobuf object *otg.PatternFlowGtpv1MessageTypeMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1MessageTypeMetricTag
	// SetMsg unmarshals PatternFlowGtpv1MessageTypeMetricTag from protobuf object *otg.PatternFlowGtpv1MessageTypeMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1MessageTypeMetricTag) PatternFlowGtpv1MessageTypeMetricTag
	// ToProto marshals PatternFlowGtpv1MessageTypeMetricTag to protobuf object *otg.PatternFlowGtpv1MessageTypeMetricTag
	ToProto() (*otg.PatternFlowGtpv1MessageTypeMetricTag, error)
	// ToPbText marshals PatternFlowGtpv1MessageTypeMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1MessageTypeMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1MessageTypeMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1MessageTypeMetricTag from protobuf object *otg.PatternFlowGtpv1MessageTypeMetricTag
	FromProto(msg *otg.PatternFlowGtpv1MessageTypeMetricTag) (PatternFlowGtpv1MessageTypeMetricTag, error)
	// FromPbText unmarshals PatternFlowGtpv1MessageTypeMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1MessageTypeMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1MessageTypeMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1MessageTypeMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1MessageTypeMetricTag, error)

	// Name returns string, set in PatternFlowGtpv1MessageTypeMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGtpv1MessageTypeMetricTag
	SetName(value string) PatternFlowGtpv1MessageTypeMetricTag
	// Offset returns int32, set in PatternFlowGtpv1MessageTypeMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGtpv1MessageTypeMetricTag
	SetOffset(value int32) PatternFlowGtpv1MessageTypeMetricTag
	// HasOffset checks if Offset has been set in PatternFlowGtpv1MessageTypeMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGtpv1MessageTypeMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGtpv1MessageTypeMetricTag
	SetLength(value int32) PatternFlowGtpv1MessageTypeMetricTag
	// HasLength checks if Length has been set in PatternFlowGtpv1MessageTypeMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1MessageTypeMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGtpv1MessageTypeMetricTag added in v0.11.13

func NewPatternFlowGtpv1MessageTypeMetricTag() PatternFlowGtpv1MessageTypeMetricTag

type PatternFlowGtpv1NPduNumber

type PatternFlowGtpv1NPduNumber interface {
	Validation
	// Msg marshals PatternFlowGtpv1NPduNumber to protobuf object *otg.PatternFlowGtpv1NPduNumber
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1NPduNumber
	// SetMsg unmarshals PatternFlowGtpv1NPduNumber from protobuf object *otg.PatternFlowGtpv1NPduNumber
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1NPduNumber) PatternFlowGtpv1NPduNumber
	// ToProto marshals PatternFlowGtpv1NPduNumber to protobuf object *otg.PatternFlowGtpv1NPduNumber
	ToProto() (*otg.PatternFlowGtpv1NPduNumber, error)
	// ToPbText marshals PatternFlowGtpv1NPduNumber to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1NPduNumber to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1NPduNumber to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1NPduNumber from protobuf object *otg.PatternFlowGtpv1NPduNumber
	FromProto(msg *otg.PatternFlowGtpv1NPduNumber) (PatternFlowGtpv1NPduNumber, error)
	// FromPbText unmarshals PatternFlowGtpv1NPduNumber from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1NPduNumber from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1NPduNumber from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1NPduNumber
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1NPduNumber, error)

	// Choice returns PatternFlowGtpv1NPduNumberChoiceEnum, set in PatternFlowGtpv1NPduNumber
	Choice() PatternFlowGtpv1NPduNumberChoiceEnum
	// SetChoice assigns PatternFlowGtpv1NPduNumberChoiceEnum provided by user to PatternFlowGtpv1NPduNumber
	SetChoice(value PatternFlowGtpv1NPduNumberChoiceEnum) PatternFlowGtpv1NPduNumber
	// HasChoice checks if Choice has been set in PatternFlowGtpv1NPduNumber
	HasChoice() bool
	// Value returns int32, set in PatternFlowGtpv1NPduNumber.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGtpv1NPduNumber
	SetValue(value int32) PatternFlowGtpv1NPduNumber
	// HasValue checks if Value has been set in PatternFlowGtpv1NPduNumber
	HasValue() bool
	// Values returns []int32, set in PatternFlowGtpv1NPduNumber.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGtpv1NPduNumber
	SetValues(value []int32) PatternFlowGtpv1NPduNumber
	// Increment returns PatternFlowGtpv1NPduNumberCounter, set in PatternFlowGtpv1NPduNumber.
	// PatternFlowGtpv1NPduNumberCounter is integer counter pattern
	Increment() PatternFlowGtpv1NPduNumberCounter
	// SetIncrement assigns PatternFlowGtpv1NPduNumberCounter provided by user to PatternFlowGtpv1NPduNumber.
	// PatternFlowGtpv1NPduNumberCounter is integer counter pattern
	SetIncrement(value PatternFlowGtpv1NPduNumberCounter) PatternFlowGtpv1NPduNumber
	// HasIncrement checks if Increment has been set in PatternFlowGtpv1NPduNumber
	HasIncrement() bool
	// Decrement returns PatternFlowGtpv1NPduNumberCounter, set in PatternFlowGtpv1NPduNumber.
	// PatternFlowGtpv1NPduNumberCounter is integer counter pattern
	Decrement() PatternFlowGtpv1NPduNumberCounter
	// SetDecrement assigns PatternFlowGtpv1NPduNumberCounter provided by user to PatternFlowGtpv1NPduNumber.
	// PatternFlowGtpv1NPduNumberCounter is integer counter pattern
	SetDecrement(value PatternFlowGtpv1NPduNumberCounter) PatternFlowGtpv1NPduNumber
	// HasDecrement checks if Decrement has been set in PatternFlowGtpv1NPduNumber
	HasDecrement() bool
	// MetricTags returns PatternFlowGtpv1NPduNumberPatternFlowGtpv1NPduNumberMetricTagIterIter, set in PatternFlowGtpv1NPduNumber
	MetricTags() PatternFlowGtpv1NPduNumberPatternFlowGtpv1NPduNumberMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGtpv1NPduNumber is n-PDU number. Exists if any of the e_flag, s_flag, or pn_flag bits are on. Must be interpreted only if the pn_flag bit is on.

func NewPatternFlowGtpv1NPduNumber added in v0.6.5

func NewPatternFlowGtpv1NPduNumber() PatternFlowGtpv1NPduNumber

type PatternFlowGtpv1NPduNumberChoiceEnum

type PatternFlowGtpv1NPduNumberChoiceEnum string

type PatternFlowGtpv1NPduNumberCounter

type PatternFlowGtpv1NPduNumberCounter interface {
	Validation
	// Msg marshals PatternFlowGtpv1NPduNumberCounter to protobuf object *otg.PatternFlowGtpv1NPduNumberCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1NPduNumberCounter
	// SetMsg unmarshals PatternFlowGtpv1NPduNumberCounter from protobuf object *otg.PatternFlowGtpv1NPduNumberCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1NPduNumberCounter) PatternFlowGtpv1NPduNumberCounter
	// ToProto marshals PatternFlowGtpv1NPduNumberCounter to protobuf object *otg.PatternFlowGtpv1NPduNumberCounter
	ToProto() (*otg.PatternFlowGtpv1NPduNumberCounter, error)
	// ToPbText marshals PatternFlowGtpv1NPduNumberCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1NPduNumberCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1NPduNumberCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1NPduNumberCounter from protobuf object *otg.PatternFlowGtpv1NPduNumberCounter
	FromProto(msg *otg.PatternFlowGtpv1NPduNumberCounter) (PatternFlowGtpv1NPduNumberCounter, error)
	// FromPbText unmarshals PatternFlowGtpv1NPduNumberCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1NPduNumberCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1NPduNumberCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1NPduNumberCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1NPduNumberCounter, error)

	// Start returns int32, set in PatternFlowGtpv1NPduNumberCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGtpv1NPduNumberCounter
	SetStart(value int32) PatternFlowGtpv1NPduNumberCounter
	// HasStart checks if Start has been set in PatternFlowGtpv1NPduNumberCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowGtpv1NPduNumberCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGtpv1NPduNumberCounter
	SetStep(value int32) PatternFlowGtpv1NPduNumberCounter
	// HasStep checks if Step has been set in PatternFlowGtpv1NPduNumberCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowGtpv1NPduNumberCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGtpv1NPduNumberCounter
	SetCount(value int32) PatternFlowGtpv1NPduNumberCounter
	// HasCount checks if Count has been set in PatternFlowGtpv1NPduNumberCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1NPduNumberCounter is integer counter pattern

func NewPatternFlowGtpv1NPduNumberCounter added in v0.6.5

func NewPatternFlowGtpv1NPduNumberCounter() PatternFlowGtpv1NPduNumberCounter

type PatternFlowGtpv1NPduNumberMetricTag added in v0.11.13

type PatternFlowGtpv1NPduNumberMetricTag interface {
	Validation
	// Msg marshals PatternFlowGtpv1NPduNumberMetricTag to protobuf object *otg.PatternFlowGtpv1NPduNumberMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1NPduNumberMetricTag
	// SetMsg unmarshals PatternFlowGtpv1NPduNumberMetricTag from protobuf object *otg.PatternFlowGtpv1NPduNumberMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1NPduNumberMetricTag) PatternFlowGtpv1NPduNumberMetricTag
	// ToProto marshals PatternFlowGtpv1NPduNumberMetricTag to protobuf object *otg.PatternFlowGtpv1NPduNumberMetricTag
	ToProto() (*otg.PatternFlowGtpv1NPduNumberMetricTag, error)
	// ToPbText marshals PatternFlowGtpv1NPduNumberMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1NPduNumberMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1NPduNumberMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1NPduNumberMetricTag from protobuf object *otg.PatternFlowGtpv1NPduNumberMetricTag
	FromProto(msg *otg.PatternFlowGtpv1NPduNumberMetricTag) (PatternFlowGtpv1NPduNumberMetricTag, error)
	// FromPbText unmarshals PatternFlowGtpv1NPduNumberMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1NPduNumberMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1NPduNumberMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1NPduNumberMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1NPduNumberMetricTag, error)

	// Name returns string, set in PatternFlowGtpv1NPduNumberMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGtpv1NPduNumberMetricTag
	SetName(value string) PatternFlowGtpv1NPduNumberMetricTag
	// Offset returns int32, set in PatternFlowGtpv1NPduNumberMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGtpv1NPduNumberMetricTag
	SetOffset(value int32) PatternFlowGtpv1NPduNumberMetricTag
	// HasOffset checks if Offset has been set in PatternFlowGtpv1NPduNumberMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGtpv1NPduNumberMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGtpv1NPduNumberMetricTag
	SetLength(value int32) PatternFlowGtpv1NPduNumberMetricTag
	// HasLength checks if Length has been set in PatternFlowGtpv1NPduNumberMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1NPduNumberMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGtpv1NPduNumberMetricTag added in v0.11.13

func NewPatternFlowGtpv1NPduNumberMetricTag() PatternFlowGtpv1NPduNumberMetricTag

type PatternFlowGtpv1NextExtensionHeaderType

type PatternFlowGtpv1NextExtensionHeaderType interface {
	Validation
	// Msg marshals PatternFlowGtpv1NextExtensionHeaderType to protobuf object *otg.PatternFlowGtpv1NextExtensionHeaderType
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1NextExtensionHeaderType
	// SetMsg unmarshals PatternFlowGtpv1NextExtensionHeaderType from protobuf object *otg.PatternFlowGtpv1NextExtensionHeaderType
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1NextExtensionHeaderType) PatternFlowGtpv1NextExtensionHeaderType
	// ToProto marshals PatternFlowGtpv1NextExtensionHeaderType to protobuf object *otg.PatternFlowGtpv1NextExtensionHeaderType
	ToProto() (*otg.PatternFlowGtpv1NextExtensionHeaderType, error)
	// ToPbText marshals PatternFlowGtpv1NextExtensionHeaderType to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1NextExtensionHeaderType to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1NextExtensionHeaderType to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1NextExtensionHeaderType from protobuf object *otg.PatternFlowGtpv1NextExtensionHeaderType
	FromProto(msg *otg.PatternFlowGtpv1NextExtensionHeaderType) (PatternFlowGtpv1NextExtensionHeaderType, error)
	// FromPbText unmarshals PatternFlowGtpv1NextExtensionHeaderType from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1NextExtensionHeaderType from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1NextExtensionHeaderType from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1NextExtensionHeaderType
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1NextExtensionHeaderType, error)

	// Choice returns PatternFlowGtpv1NextExtensionHeaderTypeChoiceEnum, set in PatternFlowGtpv1NextExtensionHeaderType
	Choice() PatternFlowGtpv1NextExtensionHeaderTypeChoiceEnum
	// SetChoice assigns PatternFlowGtpv1NextExtensionHeaderTypeChoiceEnum provided by user to PatternFlowGtpv1NextExtensionHeaderType
	SetChoice(value PatternFlowGtpv1NextExtensionHeaderTypeChoiceEnum) PatternFlowGtpv1NextExtensionHeaderType
	// HasChoice checks if Choice has been set in PatternFlowGtpv1NextExtensionHeaderType
	HasChoice() bool
	// Value returns int32, set in PatternFlowGtpv1NextExtensionHeaderType.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGtpv1NextExtensionHeaderType
	SetValue(value int32) PatternFlowGtpv1NextExtensionHeaderType
	// HasValue checks if Value has been set in PatternFlowGtpv1NextExtensionHeaderType
	HasValue() bool
	// Values returns []int32, set in PatternFlowGtpv1NextExtensionHeaderType.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGtpv1NextExtensionHeaderType
	SetValues(value []int32) PatternFlowGtpv1NextExtensionHeaderType
	// Increment returns PatternFlowGtpv1NextExtensionHeaderTypeCounter, set in PatternFlowGtpv1NextExtensionHeaderType.
	// PatternFlowGtpv1NextExtensionHeaderTypeCounter is integer counter pattern
	Increment() PatternFlowGtpv1NextExtensionHeaderTypeCounter
	// SetIncrement assigns PatternFlowGtpv1NextExtensionHeaderTypeCounter provided by user to PatternFlowGtpv1NextExtensionHeaderType.
	// PatternFlowGtpv1NextExtensionHeaderTypeCounter is integer counter pattern
	SetIncrement(value PatternFlowGtpv1NextExtensionHeaderTypeCounter) PatternFlowGtpv1NextExtensionHeaderType
	// HasIncrement checks if Increment has been set in PatternFlowGtpv1NextExtensionHeaderType
	HasIncrement() bool
	// Decrement returns PatternFlowGtpv1NextExtensionHeaderTypeCounter, set in PatternFlowGtpv1NextExtensionHeaderType.
	// PatternFlowGtpv1NextExtensionHeaderTypeCounter is integer counter pattern
	Decrement() PatternFlowGtpv1NextExtensionHeaderTypeCounter
	// SetDecrement assigns PatternFlowGtpv1NextExtensionHeaderTypeCounter provided by user to PatternFlowGtpv1NextExtensionHeaderType.
	// PatternFlowGtpv1NextExtensionHeaderTypeCounter is integer counter pattern
	SetDecrement(value PatternFlowGtpv1NextExtensionHeaderTypeCounter) PatternFlowGtpv1NextExtensionHeaderType
	// HasDecrement checks if Decrement has been set in PatternFlowGtpv1NextExtensionHeaderType
	HasDecrement() bool
	// MetricTags returns PatternFlowGtpv1NextExtensionHeaderTypePatternFlowGtpv1NextExtensionHeaderTypeMetricTagIterIter, set in PatternFlowGtpv1NextExtensionHeaderType
	MetricTags() PatternFlowGtpv1NextExtensionHeaderTypePatternFlowGtpv1NextExtensionHeaderTypeMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGtpv1NextExtensionHeaderType is next extension header. Exists if any of the e_flag, s_flag, or pn_flag bits are on. Must be interpreted only if the e_flag bit is on.

func NewPatternFlowGtpv1NextExtensionHeaderType added in v0.6.5

func NewPatternFlowGtpv1NextExtensionHeaderType() PatternFlowGtpv1NextExtensionHeaderType

type PatternFlowGtpv1NextExtensionHeaderTypeChoiceEnum

type PatternFlowGtpv1NextExtensionHeaderTypeChoiceEnum string

type PatternFlowGtpv1NextExtensionHeaderTypeCounter

type PatternFlowGtpv1NextExtensionHeaderTypeCounter interface {
	Validation
	// Msg marshals PatternFlowGtpv1NextExtensionHeaderTypeCounter to protobuf object *otg.PatternFlowGtpv1NextExtensionHeaderTypeCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1NextExtensionHeaderTypeCounter
	// SetMsg unmarshals PatternFlowGtpv1NextExtensionHeaderTypeCounter from protobuf object *otg.PatternFlowGtpv1NextExtensionHeaderTypeCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1NextExtensionHeaderTypeCounter) PatternFlowGtpv1NextExtensionHeaderTypeCounter
	// ToProto marshals PatternFlowGtpv1NextExtensionHeaderTypeCounter to protobuf object *otg.PatternFlowGtpv1NextExtensionHeaderTypeCounter
	ToProto() (*otg.PatternFlowGtpv1NextExtensionHeaderTypeCounter, error)
	// ToPbText marshals PatternFlowGtpv1NextExtensionHeaderTypeCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1NextExtensionHeaderTypeCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1NextExtensionHeaderTypeCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1NextExtensionHeaderTypeCounter from protobuf object *otg.PatternFlowGtpv1NextExtensionHeaderTypeCounter
	FromProto(msg *otg.PatternFlowGtpv1NextExtensionHeaderTypeCounter) (PatternFlowGtpv1NextExtensionHeaderTypeCounter, error)
	// FromPbText unmarshals PatternFlowGtpv1NextExtensionHeaderTypeCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1NextExtensionHeaderTypeCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1NextExtensionHeaderTypeCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1NextExtensionHeaderTypeCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1NextExtensionHeaderTypeCounter, error)

	// Start returns int32, set in PatternFlowGtpv1NextExtensionHeaderTypeCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGtpv1NextExtensionHeaderTypeCounter
	SetStart(value int32) PatternFlowGtpv1NextExtensionHeaderTypeCounter
	// HasStart checks if Start has been set in PatternFlowGtpv1NextExtensionHeaderTypeCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowGtpv1NextExtensionHeaderTypeCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGtpv1NextExtensionHeaderTypeCounter
	SetStep(value int32) PatternFlowGtpv1NextExtensionHeaderTypeCounter
	// HasStep checks if Step has been set in PatternFlowGtpv1NextExtensionHeaderTypeCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowGtpv1NextExtensionHeaderTypeCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGtpv1NextExtensionHeaderTypeCounter
	SetCount(value int32) PatternFlowGtpv1NextExtensionHeaderTypeCounter
	// HasCount checks if Count has been set in PatternFlowGtpv1NextExtensionHeaderTypeCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1NextExtensionHeaderTypeCounter is integer counter pattern

func NewPatternFlowGtpv1NextExtensionHeaderTypeCounter added in v0.6.5

func NewPatternFlowGtpv1NextExtensionHeaderTypeCounter() PatternFlowGtpv1NextExtensionHeaderTypeCounter

type PatternFlowGtpv1NextExtensionHeaderTypeMetricTag added in v0.11.13

type PatternFlowGtpv1NextExtensionHeaderTypeMetricTag interface {
	Validation
	// Msg marshals PatternFlowGtpv1NextExtensionHeaderTypeMetricTag to protobuf object *otg.PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	// SetMsg unmarshals PatternFlowGtpv1NextExtensionHeaderTypeMetricTag from protobuf object *otg.PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1NextExtensionHeaderTypeMetricTag) PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	// ToProto marshals PatternFlowGtpv1NextExtensionHeaderTypeMetricTag to protobuf object *otg.PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	ToProto() (*otg.PatternFlowGtpv1NextExtensionHeaderTypeMetricTag, error)
	// ToPbText marshals PatternFlowGtpv1NextExtensionHeaderTypeMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1NextExtensionHeaderTypeMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1NextExtensionHeaderTypeMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1NextExtensionHeaderTypeMetricTag from protobuf object *otg.PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	FromProto(msg *otg.PatternFlowGtpv1NextExtensionHeaderTypeMetricTag) (PatternFlowGtpv1NextExtensionHeaderTypeMetricTag, error)
	// FromPbText unmarshals PatternFlowGtpv1NextExtensionHeaderTypeMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1NextExtensionHeaderTypeMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1NextExtensionHeaderTypeMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1NextExtensionHeaderTypeMetricTag, error)

	// Name returns string, set in PatternFlowGtpv1NextExtensionHeaderTypeMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	SetName(value string) PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	// Offset returns int32, set in PatternFlowGtpv1NextExtensionHeaderTypeMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	SetOffset(value int32) PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	// HasOffset checks if Offset has been set in PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGtpv1NextExtensionHeaderTypeMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	SetLength(value int32) PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	// HasLength checks if Length has been set in PatternFlowGtpv1NextExtensionHeaderTypeMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1NextExtensionHeaderTypeMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGtpv1NextExtensionHeaderTypeMetricTag added in v0.11.13

func NewPatternFlowGtpv1NextExtensionHeaderTypeMetricTag() PatternFlowGtpv1NextExtensionHeaderTypeMetricTag

type PatternFlowGtpv1PnFlag

type PatternFlowGtpv1PnFlag interface {
	Validation
	// Msg marshals PatternFlowGtpv1PnFlag to protobuf object *otg.PatternFlowGtpv1PnFlag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1PnFlag
	// SetMsg unmarshals PatternFlowGtpv1PnFlag from protobuf object *otg.PatternFlowGtpv1PnFlag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1PnFlag) PatternFlowGtpv1PnFlag
	// ToProto marshals PatternFlowGtpv1PnFlag to protobuf object *otg.PatternFlowGtpv1PnFlag
	ToProto() (*otg.PatternFlowGtpv1PnFlag, error)
	// ToPbText marshals PatternFlowGtpv1PnFlag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1PnFlag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1PnFlag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1PnFlag from protobuf object *otg.PatternFlowGtpv1PnFlag
	FromProto(msg *otg.PatternFlowGtpv1PnFlag) (PatternFlowGtpv1PnFlag, error)
	// FromPbText unmarshals PatternFlowGtpv1PnFlag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1PnFlag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1PnFlag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1PnFlag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1PnFlag, error)

	// Choice returns PatternFlowGtpv1PnFlagChoiceEnum, set in PatternFlowGtpv1PnFlag
	Choice() PatternFlowGtpv1PnFlagChoiceEnum
	// SetChoice assigns PatternFlowGtpv1PnFlagChoiceEnum provided by user to PatternFlowGtpv1PnFlag
	SetChoice(value PatternFlowGtpv1PnFlagChoiceEnum) PatternFlowGtpv1PnFlag
	// HasChoice checks if Choice has been set in PatternFlowGtpv1PnFlag
	HasChoice() bool
	// Value returns int32, set in PatternFlowGtpv1PnFlag.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGtpv1PnFlag
	SetValue(value int32) PatternFlowGtpv1PnFlag
	// HasValue checks if Value has been set in PatternFlowGtpv1PnFlag
	HasValue() bool
	// Values returns []int32, set in PatternFlowGtpv1PnFlag.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGtpv1PnFlag
	SetValues(value []int32) PatternFlowGtpv1PnFlag
	// Increment returns PatternFlowGtpv1PnFlagCounter, set in PatternFlowGtpv1PnFlag.
	// PatternFlowGtpv1PnFlagCounter is integer counter pattern
	Increment() PatternFlowGtpv1PnFlagCounter
	// SetIncrement assigns PatternFlowGtpv1PnFlagCounter provided by user to PatternFlowGtpv1PnFlag.
	// PatternFlowGtpv1PnFlagCounter is integer counter pattern
	SetIncrement(value PatternFlowGtpv1PnFlagCounter) PatternFlowGtpv1PnFlag
	// HasIncrement checks if Increment has been set in PatternFlowGtpv1PnFlag
	HasIncrement() bool
	// Decrement returns PatternFlowGtpv1PnFlagCounter, set in PatternFlowGtpv1PnFlag.
	// PatternFlowGtpv1PnFlagCounter is integer counter pattern
	Decrement() PatternFlowGtpv1PnFlagCounter
	// SetDecrement assigns PatternFlowGtpv1PnFlagCounter provided by user to PatternFlowGtpv1PnFlag.
	// PatternFlowGtpv1PnFlagCounter is integer counter pattern
	SetDecrement(value PatternFlowGtpv1PnFlagCounter) PatternFlowGtpv1PnFlag
	// HasDecrement checks if Decrement has been set in PatternFlowGtpv1PnFlag
	HasDecrement() bool
	// MetricTags returns PatternFlowGtpv1PnFlagPatternFlowGtpv1PnFlagMetricTagIterIter, set in PatternFlowGtpv1PnFlag
	MetricTags() PatternFlowGtpv1PnFlagPatternFlowGtpv1PnFlagMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGtpv1PnFlag is n-PDU field present

func NewPatternFlowGtpv1PnFlag added in v0.6.5

func NewPatternFlowGtpv1PnFlag() PatternFlowGtpv1PnFlag

type PatternFlowGtpv1PnFlagChoiceEnum

type PatternFlowGtpv1PnFlagChoiceEnum string

type PatternFlowGtpv1PnFlagCounter

type PatternFlowGtpv1PnFlagCounter interface {
	Validation
	// Msg marshals PatternFlowGtpv1PnFlagCounter to protobuf object *otg.PatternFlowGtpv1PnFlagCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1PnFlagCounter
	// SetMsg unmarshals PatternFlowGtpv1PnFlagCounter from protobuf object *otg.PatternFlowGtpv1PnFlagCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1PnFlagCounter) PatternFlowGtpv1PnFlagCounter
	// ToProto marshals PatternFlowGtpv1PnFlagCounter to protobuf object *otg.PatternFlowGtpv1PnFlagCounter
	ToProto() (*otg.PatternFlowGtpv1PnFlagCounter, error)
	// ToPbText marshals PatternFlowGtpv1PnFlagCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1PnFlagCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1PnFlagCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1PnFlagCounter from protobuf object *otg.PatternFlowGtpv1PnFlagCounter
	FromProto(msg *otg.PatternFlowGtpv1PnFlagCounter) (PatternFlowGtpv1PnFlagCounter, error)
	// FromPbText unmarshals PatternFlowGtpv1PnFlagCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1PnFlagCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1PnFlagCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1PnFlagCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1PnFlagCounter, error)

	// Start returns int32, set in PatternFlowGtpv1PnFlagCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGtpv1PnFlagCounter
	SetStart(value int32) PatternFlowGtpv1PnFlagCounter
	// HasStart checks if Start has been set in PatternFlowGtpv1PnFlagCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowGtpv1PnFlagCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGtpv1PnFlagCounter
	SetStep(value int32) PatternFlowGtpv1PnFlagCounter
	// HasStep checks if Step has been set in PatternFlowGtpv1PnFlagCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowGtpv1PnFlagCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGtpv1PnFlagCounter
	SetCount(value int32) PatternFlowGtpv1PnFlagCounter
	// HasCount checks if Count has been set in PatternFlowGtpv1PnFlagCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1PnFlagCounter is integer counter pattern

func NewPatternFlowGtpv1PnFlagCounter added in v0.6.5

func NewPatternFlowGtpv1PnFlagCounter() PatternFlowGtpv1PnFlagCounter

type PatternFlowGtpv1PnFlagMetricTag added in v0.11.13

type PatternFlowGtpv1PnFlagMetricTag interface {
	Validation
	// Msg marshals PatternFlowGtpv1PnFlagMetricTag to protobuf object *otg.PatternFlowGtpv1PnFlagMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1PnFlagMetricTag
	// SetMsg unmarshals PatternFlowGtpv1PnFlagMetricTag from protobuf object *otg.PatternFlowGtpv1PnFlagMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1PnFlagMetricTag) PatternFlowGtpv1PnFlagMetricTag
	// ToProto marshals PatternFlowGtpv1PnFlagMetricTag to protobuf object *otg.PatternFlowGtpv1PnFlagMetricTag
	ToProto() (*otg.PatternFlowGtpv1PnFlagMetricTag, error)
	// ToPbText marshals PatternFlowGtpv1PnFlagMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1PnFlagMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1PnFlagMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1PnFlagMetricTag from protobuf object *otg.PatternFlowGtpv1PnFlagMetricTag
	FromProto(msg *otg.PatternFlowGtpv1PnFlagMetricTag) (PatternFlowGtpv1PnFlagMetricTag, error)
	// FromPbText unmarshals PatternFlowGtpv1PnFlagMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1PnFlagMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1PnFlagMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1PnFlagMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1PnFlagMetricTag, error)

	// Name returns string, set in PatternFlowGtpv1PnFlagMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGtpv1PnFlagMetricTag
	SetName(value string) PatternFlowGtpv1PnFlagMetricTag
	// Offset returns int32, set in PatternFlowGtpv1PnFlagMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGtpv1PnFlagMetricTag
	SetOffset(value int32) PatternFlowGtpv1PnFlagMetricTag
	// HasOffset checks if Offset has been set in PatternFlowGtpv1PnFlagMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGtpv1PnFlagMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGtpv1PnFlagMetricTag
	SetLength(value int32) PatternFlowGtpv1PnFlagMetricTag
	// HasLength checks if Length has been set in PatternFlowGtpv1PnFlagMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1PnFlagMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGtpv1PnFlagMetricTag added in v0.11.13

func NewPatternFlowGtpv1PnFlagMetricTag() PatternFlowGtpv1PnFlagMetricTag

type PatternFlowGtpv1ProtocolType

type PatternFlowGtpv1ProtocolType interface {
	Validation
	// Msg marshals PatternFlowGtpv1ProtocolType to protobuf object *otg.PatternFlowGtpv1ProtocolType
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1ProtocolType
	// SetMsg unmarshals PatternFlowGtpv1ProtocolType from protobuf object *otg.PatternFlowGtpv1ProtocolType
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1ProtocolType) PatternFlowGtpv1ProtocolType
	// ToProto marshals PatternFlowGtpv1ProtocolType to protobuf object *otg.PatternFlowGtpv1ProtocolType
	ToProto() (*otg.PatternFlowGtpv1ProtocolType, error)
	// ToPbText marshals PatternFlowGtpv1ProtocolType to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1ProtocolType to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1ProtocolType to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1ProtocolType from protobuf object *otg.PatternFlowGtpv1ProtocolType
	FromProto(msg *otg.PatternFlowGtpv1ProtocolType) (PatternFlowGtpv1ProtocolType, error)
	// FromPbText unmarshals PatternFlowGtpv1ProtocolType from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1ProtocolType from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1ProtocolType from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1ProtocolType
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1ProtocolType, error)

	// Choice returns PatternFlowGtpv1ProtocolTypeChoiceEnum, set in PatternFlowGtpv1ProtocolType
	Choice() PatternFlowGtpv1ProtocolTypeChoiceEnum
	// SetChoice assigns PatternFlowGtpv1ProtocolTypeChoiceEnum provided by user to PatternFlowGtpv1ProtocolType
	SetChoice(value PatternFlowGtpv1ProtocolTypeChoiceEnum) PatternFlowGtpv1ProtocolType
	// HasChoice checks if Choice has been set in PatternFlowGtpv1ProtocolType
	HasChoice() bool
	// Value returns int32, set in PatternFlowGtpv1ProtocolType.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGtpv1ProtocolType
	SetValue(value int32) PatternFlowGtpv1ProtocolType
	// HasValue checks if Value has been set in PatternFlowGtpv1ProtocolType
	HasValue() bool
	// Values returns []int32, set in PatternFlowGtpv1ProtocolType.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGtpv1ProtocolType
	SetValues(value []int32) PatternFlowGtpv1ProtocolType
	// Increment returns PatternFlowGtpv1ProtocolTypeCounter, set in PatternFlowGtpv1ProtocolType.
	// PatternFlowGtpv1ProtocolTypeCounter is integer counter pattern
	Increment() PatternFlowGtpv1ProtocolTypeCounter
	// SetIncrement assigns PatternFlowGtpv1ProtocolTypeCounter provided by user to PatternFlowGtpv1ProtocolType.
	// PatternFlowGtpv1ProtocolTypeCounter is integer counter pattern
	SetIncrement(value PatternFlowGtpv1ProtocolTypeCounter) PatternFlowGtpv1ProtocolType
	// HasIncrement checks if Increment has been set in PatternFlowGtpv1ProtocolType
	HasIncrement() bool
	// Decrement returns PatternFlowGtpv1ProtocolTypeCounter, set in PatternFlowGtpv1ProtocolType.
	// PatternFlowGtpv1ProtocolTypeCounter is integer counter pattern
	Decrement() PatternFlowGtpv1ProtocolTypeCounter
	// SetDecrement assigns PatternFlowGtpv1ProtocolTypeCounter provided by user to PatternFlowGtpv1ProtocolType.
	// PatternFlowGtpv1ProtocolTypeCounter is integer counter pattern
	SetDecrement(value PatternFlowGtpv1ProtocolTypeCounter) PatternFlowGtpv1ProtocolType
	// HasDecrement checks if Decrement has been set in PatternFlowGtpv1ProtocolType
	HasDecrement() bool
	// MetricTags returns PatternFlowGtpv1ProtocolTypePatternFlowGtpv1ProtocolTypeMetricTagIterIter, set in PatternFlowGtpv1ProtocolType
	MetricTags() PatternFlowGtpv1ProtocolTypePatternFlowGtpv1ProtocolTypeMetricTagIter
	// contains filtered or unexported methods
}

PatternFlowGtpv1ProtocolType is protocol type, GTP is 1, GTP' is 0

func NewPatternFlowGtpv1ProtocolType added in v0.6.5

func NewPatternFlowGtpv1ProtocolType() PatternFlowGtpv1ProtocolType

type PatternFlowGtpv1ProtocolTypeChoiceEnum

type PatternFlowGtpv1ProtocolTypeChoiceEnum string

type PatternFlowGtpv1ProtocolTypeCounter

type PatternFlowGtpv1ProtocolTypeCounter interface {
	Validation
	// Msg marshals PatternFlowGtpv1ProtocolTypeCounter to protobuf object *otg.PatternFlowGtpv1ProtocolTypeCounter
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1ProtocolTypeCounter
	// SetMsg unmarshals PatternFlowGtpv1ProtocolTypeCounter from protobuf object *otg.PatternFlowGtpv1ProtocolTypeCounter
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1ProtocolTypeCounter) PatternFlowGtpv1ProtocolTypeCounter
	// ToProto marshals PatternFlowGtpv1ProtocolTypeCounter to protobuf object *otg.PatternFlowGtpv1ProtocolTypeCounter
	ToProto() (*otg.PatternFlowGtpv1ProtocolTypeCounter, error)
	// ToPbText marshals PatternFlowGtpv1ProtocolTypeCounter to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1ProtocolTypeCounter to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1ProtocolTypeCounter to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1ProtocolTypeCounter from protobuf object *otg.PatternFlowGtpv1ProtocolTypeCounter
	FromProto(msg *otg.PatternFlowGtpv1ProtocolTypeCounter) (PatternFlowGtpv1ProtocolTypeCounter, error)
	// FromPbText unmarshals PatternFlowGtpv1ProtocolTypeCounter from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1ProtocolTypeCounter from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1ProtocolTypeCounter from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1ProtocolTypeCounter
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1ProtocolTypeCounter, error)

	// Start returns int32, set in PatternFlowGtpv1ProtocolTypeCounter.
	Start() int32
	// SetStart assigns int32 provided by user to PatternFlowGtpv1ProtocolTypeCounter
	SetStart(value int32) PatternFlowGtpv1ProtocolTypeCounter
	// HasStart checks if Start has been set in PatternFlowGtpv1ProtocolTypeCounter
	HasStart() bool
	// Step returns int32, set in PatternFlowGtpv1ProtocolTypeCounter.
	Step() int32
	// SetStep assigns int32 provided by user to PatternFlowGtpv1ProtocolTypeCounter
	SetStep(value int32) PatternFlowGtpv1ProtocolTypeCounter
	// HasStep checks if Step has been set in PatternFlowGtpv1ProtocolTypeCounter
	HasStep() bool
	// Count returns int32, set in PatternFlowGtpv1ProtocolTypeCounter.
	Count() int32
	// SetCount assigns int32 provided by user to PatternFlowGtpv1ProtocolTypeCounter
	SetCount(value int32) PatternFlowGtpv1ProtocolTypeCounter
	// HasCount checks if Count has been set in PatternFlowGtpv1ProtocolTypeCounter
	HasCount() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1ProtocolTypeCounter is integer counter pattern

func NewPatternFlowGtpv1ProtocolTypeCounter added in v0.6.5

func NewPatternFlowGtpv1ProtocolTypeCounter() PatternFlowGtpv1ProtocolTypeCounter

type PatternFlowGtpv1ProtocolTypeMetricTag added in v0.11.13

type PatternFlowGtpv1ProtocolTypeMetricTag interface {
	Validation
	// Msg marshals PatternFlowGtpv1ProtocolTypeMetricTag to protobuf object *otg.PatternFlowGtpv1ProtocolTypeMetricTag
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1ProtocolTypeMetricTag
	// SetMsg unmarshals PatternFlowGtpv1ProtocolTypeMetricTag from protobuf object *otg.PatternFlowGtpv1ProtocolTypeMetricTag
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1ProtocolTypeMetricTag) PatternFlowGtpv1ProtocolTypeMetricTag
	// ToProto marshals PatternFlowGtpv1ProtocolTypeMetricTag to protobuf object *otg.PatternFlowGtpv1ProtocolTypeMetricTag
	ToProto() (*otg.PatternFlowGtpv1ProtocolTypeMetricTag, error)
	// ToPbText marshals PatternFlowGtpv1ProtocolTypeMetricTag to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1ProtocolTypeMetricTag to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1ProtocolTypeMetricTag to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1ProtocolTypeMetricTag from protobuf object *otg.PatternFlowGtpv1ProtocolTypeMetricTag
	FromProto(msg *otg.PatternFlowGtpv1ProtocolTypeMetricTag) (PatternFlowGtpv1ProtocolTypeMetricTag, error)
	// FromPbText unmarshals PatternFlowGtpv1ProtocolTypeMetricTag from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1ProtocolTypeMetricTag from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1ProtocolTypeMetricTag from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1ProtocolTypeMetricTag
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1ProtocolTypeMetricTag, error)

	// Name returns string, set in PatternFlowGtpv1ProtocolTypeMetricTag.
	Name() string
	// SetName assigns string provided by user to PatternFlowGtpv1ProtocolTypeMetricTag
	SetName(value string) PatternFlowGtpv1ProtocolTypeMetricTag
	// Offset returns int32, set in PatternFlowGtpv1ProtocolTypeMetricTag.
	Offset() int32
	// SetOffset assigns int32 provided by user to PatternFlowGtpv1ProtocolTypeMetricTag
	SetOffset(value int32) PatternFlowGtpv1ProtocolTypeMetricTag
	// HasOffset checks if Offset has been set in PatternFlowGtpv1ProtocolTypeMetricTag
	HasOffset() bool
	// Length returns int32, set in PatternFlowGtpv1ProtocolTypeMetricTag.
	Length() int32
	// SetLength assigns int32 provided by user to PatternFlowGtpv1ProtocolTypeMetricTag
	SetLength(value int32) PatternFlowGtpv1ProtocolTypeMetricTag
	// HasLength checks if Length has been set in PatternFlowGtpv1ProtocolTypeMetricTag
	HasLength() bool
	// contains filtered or unexported methods
}

PatternFlowGtpv1ProtocolTypeMetricTag is metric tag can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.

func NewPatternFlowGtpv1ProtocolTypeMetricTag added in v0.11.13

func NewPatternFlowGtpv1ProtocolTypeMetricTag() PatternFlowGtpv1ProtocolTypeMetricTag

type PatternFlowGtpv1Reserved

type PatternFlowGtpv1Reserved interface {
	Validation
	// Msg marshals PatternFlowGtpv1Reserved to protobuf object *otg.PatternFlowGtpv1Reserved
	// and doesn't set defaults
	Msg() *otg.PatternFlowGtpv1Reserved
	// SetMsg unmarshals PatternFlowGtpv1Reserved from protobuf object *otg.PatternFlowGtpv1Reserved
	// and doesn't set defaults
	SetMsg(*otg.PatternFlowGtpv1Reserved) PatternFlowGtpv1Reserved
	// ToProto marshals PatternFlowGtpv1Reserved to protobuf object *otg.PatternFlowGtpv1Reserved
	ToProto() (*otg.PatternFlowGtpv1Reserved, error)
	// ToPbText marshals PatternFlowGtpv1Reserved to protobuf text
	ToPbText() (string, error)
	// ToYaml marshals PatternFlowGtpv1Reserved to YAML text
	ToYaml() (string, error)
	// ToJson marshals PatternFlowGtpv1Reserved to JSON text
	ToJson() (string, error)
	// FromProto unmarshals PatternFlowGtpv1Reserved from protobuf object *otg.PatternFlowGtpv1Reserved
	FromProto(msg *otg.PatternFlowGtpv1Reserved) (PatternFlowGtpv1Reserved, error)
	// FromPbText unmarshals PatternFlowGtpv1Reserved from protobuf text
	FromPbText(value string) error
	// FromYaml unmarshals PatternFlowGtpv1Reserved from YAML text
	FromYaml(value string) error
	// FromJson unmarshals PatternFlowGtpv1Reserved from JSON text
	FromJson(value string) error
	// Validate validates PatternFlowGtpv1Reserved
	Validate() error
	// A stringer function
	String() string
	// Clones the object
	Clone() (PatternFlowGtpv1Reserved, error)

	// Choice returns PatternFlowGtpv1ReservedChoiceEnum, set in PatternFlowGtpv1Reserved
	Choice() PatternFlowGtpv1ReservedChoiceEnum
	// SetChoice assigns PatternFlowGtpv1ReservedChoiceEnum provided by user to PatternFlowGtpv1Reserved
	SetChoice(value PatternFlowGtpv1ReservedChoiceEnum) PatternFlowGtpv1Reserved
	// HasChoice checks if Choice has been set in PatternFlowGtpv1Reserved
	HasChoice() bool
	// Value returns int32, set in PatternFlowGtpv1Reserved.
	Value() int32
	// SetValue assigns int32 provided by user to PatternFlowGtpv1Reserved
	SetValue(value int32) PatternFlowGtpv1Reserved
	// HasValue checks if Value has been set in PatternFlowGtpv1Reserved
	HasValue() bool
	// Values returns []int32, set in PatternFlowGtpv1Reserved.
	Values() []int32
	// SetValues assigns []int32 provided by user to PatternFlowGtpv1Reserved
	SetValues(value []int32) PatternFlowGtpv1Reserved
	// Increment returns PatternFlowGtpv1ReservedCounter, set in PatternFlowGtpv1Reserved.
	// PatternFlowGtpv1ReservedCounter is integer counter pattern
	Increment() PatternFlowGtpv1ReservedCounter
	// SetIncrement assigns Patter