diff --git a/gosnappi/gosnappi.go b/gosnappi/gosnappi.go index c79846dd..d51e6865 100644 --- a/gosnappi/gosnappi.go +++ b/gosnappi/gosnappi.go @@ -1,4 +1,4 @@ -/* Open Traffic Generator API 0.11.5 +/* Open Traffic Generator API 0.11.6 * Open Traffic Generator API defines a model-driven, vendor-neutral and standard * interface for emulating layer 2-7 network devices and generating test traffic. * @@ -178,16 +178,22 @@ type GosnappiApi interface { 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 @@ -196,6 +202,8 @@ type GosnappiApi interface { 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 @@ -204,11 +212,15 @@ type GosnappiApi interface { 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 @@ -285,35 +297,51 @@ type GosnappiApi interface { 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 @@ -466,7 +494,7 @@ func (api *gosnappiApi) NewGetVersionResponse() GetVersionResponse { func (api *gosnappiApi) GetLocalVersion() Version { if api.versionMeta.localVersion == nil { - api.versionMeta.localVersion = NewVersion().SetApiSpecVersion("0.11.5").SetSdkVersion("0.11.6") + api.versionMeta.localVersion = NewVersion().SetApiSpecVersion("0.11.6").SetSdkVersion("0.11.7") } return api.versionMeta.localVersion @@ -3845,6 +3873,8 @@ func (obj *transmitState) Clone() (TransmitState, error) { // TransmitState is deprecated: Please use `StateTrafficFlowTransmit` instead // +// Deprecated: Please use `StateTrafficFlowTransmit` instead +// // Flow transmit state. type TransmitState interface { Validation @@ -3895,6 +3925,9 @@ type TransmitState interface { // x-constraint: // - /components/schemas/Flow/properties/name // +// x-constraint: +// - /components/schemas/Flow/properties/name +// // FlowNames returns a []string func (obj *transmitState) FlowNames() []string { if obj.obj.FlowNames == nil { @@ -3909,6 +3942,9 @@ func (obj *transmitState) FlowNames() []string { // x-constraint: // - /components/schemas/Flow/properties/name // +// x-constraint: +// - /components/schemas/Flow/properties/name +// // SetFlowNames sets the []string value in the TransmitState object func (obj *transmitState) SetFlowNames(value []string) TransmitState { @@ -4156,6 +4192,8 @@ func (obj *linkState) Clone() (LinkState, error) { // LinkState is deprecated: Please use `StatePortLink` instead // +// Deprecated: Please use `StatePortLink` instead +// // Sets the link state of configured ports. type LinkState interface { Validation @@ -4205,6 +4243,9 @@ type LinkState interface { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // PortNames returns a []string func (obj *linkState) PortNames() []string { if obj.obj.PortNames == nil { @@ -4218,6 +4259,9 @@ func (obj *linkState) PortNames() []string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetPortNames sets the []string value in the LinkState object func (obj *linkState) SetPortNames(value []string) LinkState { @@ -4461,6 +4505,8 @@ func (obj *captureState) Clone() (CaptureState, error) { // CaptureState is deprecated: Please use `StatePortCapture` instead // +// Deprecated: Please use `StatePortCapture` instead +// // Control port capture state type CaptureState interface { Validation @@ -4511,6 +4557,9 @@ type CaptureState interface { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // PortNames returns a []string func (obj *captureState) PortNames() []string { if obj.obj.PortNames == nil { @@ -4525,6 +4574,9 @@ func (obj *captureState) PortNames() []string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetPortNames sets the []string value in the CaptureState object func (obj *captureState) SetPortNames(value []string) CaptureState { @@ -5153,6 +5205,8 @@ func (obj *routeState) Clone() (RouteState, error) { // RouteState is deprecated: Please use `StateProtocolRoute` instead // +// Deprecated: Please use `StateProtocolRoute` instead +// // Sets the device route state type RouteState interface { Validation @@ -5205,6 +5259,12 @@ type RouteState interface { // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name // +// x-constraint: +// - /components/schemas/Bgp.V4RouteRange/properties/name +// - /components/schemas/Bgp.V6RouteRange/properties/name +// - /components/schemas/Isis.V4RouteRange/properties/name +// - /components/schemas/Isis.V6RouteRange/properties/name +// // Names returns a []string func (obj *routeState) Names() []string { if obj.obj.Names == nil { @@ -5221,6 +5281,12 @@ func (obj *routeState) Names() []string { // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name // +// x-constraint: +// - /components/schemas/Bgp.V4RouteRange/properties/name +// - /components/schemas/Bgp.V6RouteRange/properties/name +// - /components/schemas/Isis.V4RouteRange/properties/name +// - /components/schemas/Isis.V6RouteRange/properties/name +// // SetNames sets the []string value in the RouteState object func (obj *routeState) SetNames(value []string) RouteState { @@ -5808,6 +5874,8 @@ func (obj *protocolState) Clone() (ProtocolState, error) { // 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. type ProtocolState interface { Validation @@ -6088,6 +6156,8 @@ func (obj *deviceState) setNil() { // 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) type DeviceState interface { Validation @@ -6131,11 +6201,15 @@ type DeviceState interface { // 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 @@ -7783,6 +7857,9 @@ type CaptureRequest interface { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // PortName returns a string func (obj *captureRequest) PortName() string { @@ -7794,6 +7871,9 @@ func (obj *captureRequest) PortName() string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetPortName sets the string value in the CaptureRequest object func (obj *captureRequest) SetPortName(value string) CaptureRequest { @@ -13669,6 +13749,9 @@ type Layer1 interface { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // PortNames returns a []string func (obj *layer1) PortNames() []string { if obj.obj.PortNames == nil { @@ -13683,6 +13766,9 @@ func (obj *layer1) PortNames() []string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetPortNames sets the []string value in the Layer1 object func (obj *layer1) SetPortNames(value []string) Layer1 { @@ -14192,6 +14278,8 @@ func (obj *capture) setNil() { // Capture is under Review: Information TBD // +// Under Review: Information TBD +// // Configuration for capture settings. type Capture interface { Validation @@ -14262,6 +14350,9 @@ type Capture interface { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // PortNames returns a []string func (obj *capture) PortNames() []string { if obj.obj.PortNames == nil { @@ -14275,6 +14366,9 @@ func (obj *capture) PortNames() []string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetPortNames sets the []string value in the Capture object func (obj *capture) SetPortNames(value []string) Capture { @@ -19214,6 +19308,8 @@ func (obj *lacpMemberState) Clone() (LacpMemberState, error) { // LacpMemberState is deprecated: Please use `StateProtocolLacpAdmin` instead // +// Deprecated: Please use `StateProtocolLacpAdmin` instead +// // Set LACP state for specified LAG Member Port(s). type LacpMemberState interface { Validation @@ -19263,6 +19359,9 @@ type LacpMemberState interface { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // LagMemberPortNames returns a []string func (obj *lacpMemberState) LagMemberPortNames() []string { if obj.obj.LagMemberPortNames == nil { @@ -19276,6 +19375,9 @@ func (obj *lacpMemberState) LagMemberPortNames() []string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetLagMemberPortNames sets the []string value in the LacpMemberState object func (obj *lacpMemberState) SetLagMemberPortNames(value []string) LacpMemberState { @@ -19566,6 +19668,9 @@ type PortMetricsRequest interface { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // PortNames returns a []string func (obj *portMetricsRequest) PortNames() []string { if obj.obj.PortNames == nil { @@ -19579,6 +19684,9 @@ func (obj *portMetricsRequest) PortNames() []string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetPortNames sets the []string value in the PortMetricsRequest object func (obj *portMetricsRequest) SetPortNames(value []string) PortMetricsRequest { @@ -19906,6 +20014,9 @@ type FlowMetricsRequest interface { // x-constraint: // - /components/schemas/Flow/properties/name // +// x-constraint: +// - /components/schemas/Flow/properties/name +// // FlowNames returns a []string func (obj *flowMetricsRequest) FlowNames() []string { if obj.obj.FlowNames == nil { @@ -19920,6 +20031,9 @@ func (obj *flowMetricsRequest) FlowNames() []string { // x-constraint: // - /components/schemas/Flow/properties/name // +// x-constraint: +// - /components/schemas/Flow/properties/name +// // SetFlowNames sets the []string value in the FlowMetricsRequest object func (obj *flowMetricsRequest) SetFlowNames(value []string) FlowMetricsRequest { @@ -20252,6 +20366,9 @@ type Bgpv4MetricsRequest interface { // x-constraint: // - /components/schemas/Bgp.V4peer/properties/name // +// x-constraint: +// - /components/schemas/Bgp.V4peer/properties/name +// // PeerNames returns a []string func (obj *bgpv4MetricsRequest) PeerNames() []string { if obj.obj.PeerNames == nil { @@ -20265,6 +20382,9 @@ func (obj *bgpv4MetricsRequest) PeerNames() []string { // x-constraint: // - /components/schemas/Bgp.V4peer/properties/name // +// x-constraint: +// - /components/schemas/Bgp.V4peer/properties/name +// // SetPeerNames sets the []string value in the Bgpv4MetricsRequest object func (obj *bgpv4MetricsRequest) SetPeerNames(value []string) Bgpv4MetricsRequest { @@ -20580,6 +20700,9 @@ type Bgpv6MetricsRequest interface { // x-constraint: // - /components/schemas/Bgp.V6peer/properties/name // +// x-constraint: +// - /components/schemas/Bgp.V6peer/properties/name +// // PeerNames returns a []string func (obj *bgpv6MetricsRequest) PeerNames() []string { if obj.obj.PeerNames == nil { @@ -20593,6 +20716,9 @@ func (obj *bgpv6MetricsRequest) PeerNames() []string { // x-constraint: // - /components/schemas/Bgp.V6peer/properties/name // +// x-constraint: +// - /components/schemas/Bgp.V6peer/properties/name +// // SetPeerNames sets the []string value in the Bgpv6MetricsRequest object func (obj *bgpv6MetricsRequest) SetPeerNames(value []string) Bgpv6MetricsRequest { @@ -20908,6 +21034,9 @@ type IsisMetricsRequest interface { // x-constraint: // - /components/schemas/Device.IsisRouter/properties/name // +// x-constraint: +// - /components/schemas/Device.IsisRouter/properties/name +// // RouterNames returns a []string func (obj *isisMetricsRequest) RouterNames() []string { if obj.obj.RouterNames == nil { @@ -20921,6 +21050,9 @@ func (obj *isisMetricsRequest) RouterNames() []string { // x-constraint: // - /components/schemas/Device.IsisRouter/properties/name // +// x-constraint: +// - /components/schemas/Device.IsisRouter/properties/name +// // SetRouterNames sets the []string value in the IsisMetricsRequest object func (obj *isisMetricsRequest) SetRouterNames(value []string) IsisMetricsRequest { @@ -21258,6 +21390,9 @@ type LagMetricsRequest interface { // x-constraint: // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Lag/properties/name +// // LagNames returns a []string func (obj *lagMetricsRequest) LagNames() []string { if obj.obj.LagNames == nil { @@ -21271,6 +21406,9 @@ func (obj *lagMetricsRequest) LagNames() []string { // x-constraint: // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Lag/properties/name +// // SetLagNames sets the []string value in the LagMetricsRequest object func (obj *lagMetricsRequest) SetLagNames(value []string) LagMetricsRequest { @@ -21580,6 +21718,9 @@ type LacpMetricsRequest interface { // x-constraint: // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Lag/properties/name +// // LagNames returns a []string func (obj *lacpMetricsRequest) LagNames() []string { if obj.obj.LagNames == nil { @@ -21593,6 +21734,9 @@ func (obj *lacpMetricsRequest) LagNames() []string { // x-constraint: // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Lag/properties/name +// // SetLagNames sets the []string value in the LacpMetricsRequest object func (obj *lacpMetricsRequest) SetLagNames(value []string) LacpMetricsRequest { @@ -21609,6 +21753,9 @@ func (obj *lacpMetricsRequest) SetLagNames(value []string) LacpMetricsRequest { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // LagMemberPortNames returns a []string func (obj *lacpMetricsRequest) LagMemberPortNames() []string { if obj.obj.LagMemberPortNames == nil { @@ -21622,6 +21769,9 @@ func (obj *lacpMetricsRequest) LagMemberPortNames() []string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetLagMemberPortNames sets the []string value in the LacpMetricsRequest object func (obj *lacpMetricsRequest) SetLagMemberPortNames(value []string) LacpMetricsRequest { @@ -21937,6 +22087,9 @@ type LldpMetricsRequest interface { // x-constraint: // - /components/schemas/Lldp/properties/name // +// x-constraint: +// - /components/schemas/Lldp/properties/name +// // LldpNames returns a []string func (obj *lldpMetricsRequest) LldpNames() []string { if obj.obj.LldpNames == nil { @@ -21950,6 +22103,9 @@ func (obj *lldpMetricsRequest) LldpNames() []string { // x-constraint: // - /components/schemas/Lldp/properties/name // +// x-constraint: +// - /components/schemas/Lldp/properties/name +// // SetLldpNames sets the []string value in the LldpMetricsRequest object func (obj *lldpMetricsRequest) SetLldpNames(value []string) LldpMetricsRequest { @@ -22247,6 +22403,9 @@ type RsvpMetricsRequest interface { // x-constraint: // - /components/schemas/Device.Rsvp/properties/name // +// x-constraint: +// - /components/schemas/Device.Rsvp/properties/name +// // RouterNames returns a []string func (obj *rsvpMetricsRequest) RouterNames() []string { if obj.obj.RouterNames == nil { @@ -22260,6 +22419,9 @@ func (obj *rsvpMetricsRequest) RouterNames() []string { // x-constraint: // - /components/schemas/Device.Rsvp/properties/name // +// x-constraint: +// - /components/schemas/Device.Rsvp/properties/name +// // SetRouterNames sets the []string value in the RsvpMetricsRequest object func (obj *rsvpMetricsRequest) SetRouterNames(value []string) RsvpMetricsRequest { @@ -22601,6 +22763,9 @@ type Neighborsv4StatesRequest interface { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// // EthernetNames returns a []string func (obj *neighborsv4StatesRequest) EthernetNames() []string { if obj.obj.EthernetNames == nil { @@ -22614,6 +22779,9 @@ func (obj *neighborsv4StatesRequest) EthernetNames() []string { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// // SetEthernetNames sets the []string value in the Neighborsv4StatesRequest object func (obj *neighborsv4StatesRequest) SetEthernetNames(value []string) Neighborsv4StatesRequest { @@ -22867,6 +23035,9 @@ type Neighborsv6StatesRequest interface { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// // EthernetNames returns a []string func (obj *neighborsv6StatesRequest) EthernetNames() []string { if obj.obj.EthernetNames == nil { @@ -22880,6 +23051,9 @@ func (obj *neighborsv6StatesRequest) EthernetNames() []string { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// // SetEthernetNames sets the []string value in the Neighborsv6StatesRequest object func (obj *neighborsv6StatesRequest) SetEthernetNames(value []string) Neighborsv6StatesRequest { @@ -23153,6 +23327,10 @@ type BgpPrefixStateRequest interface { // - /components/schemas/Bgp.V4Peer/properties/name // - /components/schemas/Bgp.V6Peer/properties/name // +// x-constraint: +// - /components/schemas/Bgp.V4Peer/properties/name +// - /components/schemas/Bgp.V6Peer/properties/name +// // BgpPeerNames returns a []string func (obj *bgpPrefixStateRequest) BgpPeerNames() []string { if obj.obj.BgpPeerNames == nil { @@ -23167,6 +23345,10 @@ func (obj *bgpPrefixStateRequest) BgpPeerNames() []string { // - /components/schemas/Bgp.V4Peer/properties/name // - /components/schemas/Bgp.V6Peer/properties/name // +// x-constraint: +// - /components/schemas/Bgp.V4Peer/properties/name +// - /components/schemas/Bgp.V6Peer/properties/name +// // SetBgpPeerNames sets the []string value in the BgpPrefixStateRequest object func (obj *bgpPrefixStateRequest) SetBgpPeerNames(value []string) BgpPrefixStateRequest { @@ -23652,6 +23834,9 @@ type IsisLspsStateRequest interface { // x-constraint: // - /components/schemas/Device.IsisRouter/properties/name // +// x-constraint: +// - /components/schemas/Device.IsisRouter/properties/name +// // IsisRouterNames returns a []string func (obj *isisLspsStateRequest) IsisRouterNames() []string { if obj.obj.IsisRouterNames == nil { @@ -23665,6 +23850,9 @@ func (obj *isisLspsStateRequest) IsisRouterNames() []string { // x-constraint: // - /components/schemas/Device.IsisRouter/properties/name // +// x-constraint: +// - /components/schemas/Device.IsisRouter/properties/name +// // SetIsisRouterNames sets the []string value in the IsisLspsStateRequest object func (obj *isisLspsStateRequest) SetIsisRouterNames(value []string) IsisLspsStateRequest { @@ -23922,6 +24110,9 @@ type LldpNeighborsStateRequest interface { // x-constraint: // - /components/schemas/Lldp/properties/name // +// x-constraint: +// - /components/schemas/Lldp/properties/name +// // LldpNames returns a []string func (obj *lldpNeighborsStateRequest) LldpNames() []string { if obj.obj.LldpNames == nil { @@ -23935,6 +24126,9 @@ func (obj *lldpNeighborsStateRequest) LldpNames() []string { // x-constraint: // - /components/schemas/Lldp/properties/name // +// x-constraint: +// - /components/schemas/Lldp/properties/name +// // SetLldpNames sets the []string value in the LldpNeighborsStateRequest object func (obj *lldpNeighborsStateRequest) SetLldpNames(value []string) LldpNeighborsStateRequest { @@ -24209,6 +24403,9 @@ type RsvpLspsStateRequest interface { // x-constraint: // - /components/schemas/Device.Rsvp/properties/name // +// x-constraint: +// - /components/schemas/Device.Rsvp/properties/name +// // RsvpRouterNames returns a []string func (obj *rsvpLspsStateRequest) RsvpRouterNames() []string { if obj.obj.RsvpRouterNames == nil { @@ -24222,6 +24419,9 @@ func (obj *rsvpLspsStateRequest) RsvpRouterNames() []string { // x-constraint: // - /components/schemas/Device.Rsvp/properties/name // +// x-constraint: +// - /components/schemas/Device.Rsvp/properties/name +// // SetRsvpRouterNames sets the []string value in the RsvpLspsStateRequest object func (obj *rsvpLspsStateRequest) SetRsvpRouterNames(value []string) RsvpLspsStateRequest { @@ -28318,6 +28518,9 @@ type LagPort interface { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // PortName returns a string func (obj *lagPort) PortName() string { @@ -28329,6 +28532,9 @@ func (obj *lagPort) PortName() string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetPortName sets the string value in the LagPort object func (obj *lagPort) SetPortName(value string) LagPort { @@ -30493,6 +30699,8 @@ type DeviceEthernet interface { setNil() } +// Deprecated: This property is deprecated in favor of property connection.port_name +// // Deprecated: This property is deprecated in favor of property connection.port_name // // The unique name of a Port or a LAG that will emulate this interface. @@ -30502,6 +30710,10 @@ type DeviceEthernet interface { // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// - /components/schemas/Lag/properties/name +// // PortName returns a string func (obj *deviceEthernet) PortName() string { @@ -30509,6 +30721,8 @@ func (obj *deviceEthernet) PortName() string { } +// Deprecated: This property is deprecated in favor of property connection.port_name +// // Deprecated: This property is deprecated in favor of property connection.port_name // // The unique name of a Port or a LAG that will emulate this interface. @@ -30518,11 +30732,17 @@ func (obj *deviceEthernet) PortName() string { // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// - /components/schemas/Lag/properties/name +// // PortName returns a string func (obj *deviceEthernet) HasPortName() bool { return obj.obj.PortName != nil } +// Deprecated: This property is deprecated in favor of property connection.port_name +// // Deprecated: This property is deprecated in favor of property connection.port_name // // The unique name of a Port or a LAG that will emulate this interface. @@ -30532,6 +30752,10 @@ func (obj *deviceEthernet) HasPortName() bool { // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// - /components/schemas/Lag/properties/name +// // SetPortName sets the string value in the DeviceEthernet object func (obj *deviceEthernet) SetPortName(value string) DeviceEthernet { @@ -31212,6 +31436,9 @@ type DeviceIpv4Loopback interface { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// // EthName returns a string func (obj *deviceIpv4Loopback) EthName() string { @@ -31223,6 +31450,9 @@ func (obj *deviceIpv4Loopback) EthName() string { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// // SetEthName sets the string value in the DeviceIpv4Loopback object func (obj *deviceIpv4Loopback) SetEthName(value string) DeviceIpv4Loopback { @@ -31541,6 +31771,9 @@ type DeviceIpv6Loopback interface { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// // EthName returns a string func (obj *deviceIpv6Loopback) EthName() string { @@ -31553,6 +31786,9 @@ func (obj *deviceIpv6Loopback) EthName() string { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// // SetEthName sets the string value in the DeviceIpv6Loopback object func (obj *deviceIpv6Loopback) SetEthName(value string) DeviceIpv6Loopback { @@ -38968,6 +39204,9 @@ func (obj *lldpConnection) SetChoice(value LldpConnectionChoiceEnum) LldpConnect // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // PortName returns a string func (obj *lldpConnection) PortName() string { @@ -38984,6 +39223,9 @@ func (obj *lldpConnection) PortName() string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // PortName returns a string func (obj *lldpConnection) HasPortName() bool { return obj.obj.PortName != nil @@ -38994,6 +39236,9 @@ func (obj *lldpConnection) HasPortName() bool { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetPortName sets the string value in the LldpConnection object func (obj *lldpConnection) SetPortName(value string) LldpConnection { obj.SetChoice(LldpConnectionChoice.PORT_NAME) @@ -40381,6 +40626,9 @@ type StatePortLink interface { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // PortNames returns a []string func (obj *statePortLink) PortNames() []string { if obj.obj.PortNames == nil { @@ -40394,6 +40642,9 @@ func (obj *statePortLink) PortNames() []string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetPortNames sets the []string value in the StatePortLink object func (obj *statePortLink) SetPortNames(value []string) StatePortLink { @@ -40683,6 +40934,9 @@ type StatePortCapture interface { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // PortNames returns a []string func (obj *statePortCapture) PortNames() []string { if obj.obj.PortNames == nil { @@ -40697,6 +40951,9 @@ func (obj *statePortCapture) PortNames() []string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetPortNames sets the []string value in the StatePortCapture object func (obj *statePortCapture) SetPortNames(value []string) StatePortCapture { @@ -41257,6 +41514,12 @@ type StateProtocolRoute interface { // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name // +// x-constraint: +// - /components/schemas/Bgp.V4RouteRange/properties/name +// - /components/schemas/Bgp.V6RouteRange/properties/name +// - /components/schemas/Isis.V4RouteRange/properties/name +// - /components/schemas/Isis.V6RouteRange/properties/name +// // Names returns a []string func (obj *stateProtocolRoute) Names() []string { if obj.obj.Names == nil { @@ -41273,6 +41536,12 @@ func (obj *stateProtocolRoute) Names() []string { // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name // +// x-constraint: +// - /components/schemas/Bgp.V4RouteRange/properties/name +// - /components/schemas/Bgp.V6RouteRange/properties/name +// - /components/schemas/Isis.V4RouteRange/properties/name +// - /components/schemas/Isis.V6RouteRange/properties/name +// // SetNames sets the []string value in the StateProtocolRoute object func (obj *stateProtocolRoute) SetNames(value []string) StateProtocolRoute { @@ -41887,6 +42156,9 @@ type StateTrafficFlowTransmit interface { // x-constraint: // - /components/schemas/Flow/properties/name // +// x-constraint: +// - /components/schemas/Flow/properties/name +// // FlowNames returns a []string func (obj *stateTrafficFlowTransmit) FlowNames() []string { if obj.obj.FlowNames == nil { @@ -41901,6 +42173,9 @@ func (obj *stateTrafficFlowTransmit) FlowNames() []string { // x-constraint: // - /components/schemas/Flow/properties/name // +// x-constraint: +// - /components/schemas/Flow/properties/name +// // SetFlowNames sets the []string value in the StateTrafficFlowTransmit object func (obj *stateTrafficFlowTransmit) SetFlowNames(value []string) StateTrafficFlowTransmit { @@ -43224,6 +43499,9 @@ type PingIpv4 interface { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// // SrcName returns a string func (obj *pingIpv4) SrcName() string { @@ -43236,6 +43514,9 @@ func (obj *pingIpv4) SrcName() string { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// // SrcName returns a string func (obj *pingIpv4) HasSrcName() bool { return obj.obj.SrcName != nil @@ -43246,6 +43527,9 @@ func (obj *pingIpv4) HasSrcName() bool { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// // SetSrcName sets the string value in the PingIpv4 object func (obj *pingIpv4) SetSrcName(value string) PingIpv4 { @@ -43534,6 +43818,9 @@ type PingIpv6 interface { // x-constraint: // - /components/schemas/Device.Ipv6/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv6/properties/name +// // SrcName returns a string func (obj *pingIpv6) SrcName() string { @@ -43546,6 +43833,9 @@ func (obj *pingIpv6) SrcName() string { // x-constraint: // - /components/schemas/Device.Ipv6/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv6/properties/name +// // SrcName returns a string func (obj *pingIpv6) HasSrcName() bool { return obj.obj.SrcName != nil @@ -43556,6 +43846,9 @@ func (obj *pingIpv6) HasSrcName() bool { // x-constraint: // - /components/schemas/Device.Ipv6/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv6/properties/name +// // SetSrcName sets the string value in the PingIpv6 object func (obj *pingIpv6) SetSrcName(value string) PingIpv6 { @@ -43893,6 +44186,9 @@ func (obj *flowMetricGroupRequest) SetChoice(value FlowMetricGroupRequestChoiceE // x-constraint: // - /components/schemas/Flow/properties/packet/../metric_group // +// x-constraint: +// - /components/schemas/Flow/properties/packet/../metric_group +// // Ingress returns a []string func (obj *flowMetricGroupRequest) Ingress() []string { if obj.obj.Ingress == nil { @@ -43907,6 +44203,9 @@ func (obj *flowMetricGroupRequest) Ingress() []string { // x-constraint: // - /components/schemas/Flow/properties/packet/../metric_group // +// x-constraint: +// - /components/schemas/Flow/properties/packet/../metric_group +// // SetIngress sets the []string value in the FlowMetricGroupRequest object func (obj *flowMetricGroupRequest) SetIngress(value []string) FlowMetricGroupRequest { obj.SetChoice(FlowMetricGroupRequestChoice.INGRESS) @@ -43924,6 +44223,9 @@ func (obj *flowMetricGroupRequest) SetIngress(value []string) FlowMetricGroupReq // x-constraint: // - /components/schemas/Flow/properties/egress/../metric_group // +// x-constraint: +// - /components/schemas/Flow/properties/egress/../metric_group +// // Egress returns a []string func (obj *flowMetricGroupRequest) Egress() []string { if obj.obj.Egress == nil { @@ -43938,6 +44240,9 @@ func (obj *flowMetricGroupRequest) Egress() []string { // x-constraint: // - /components/schemas/Flow/properties/egress/../metric_group // +// x-constraint: +// - /components/schemas/Flow/properties/egress/../metric_group +// // SetEgress sets the []string value in the FlowMetricGroupRequest object func (obj *flowMetricGroupRequest) SetEgress(value []string) FlowMetricGroupRequest { obj.SetChoice(FlowMetricGroupRequestChoice.EGRESS) @@ -45263,6 +45568,10 @@ type Response interface { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv6/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// - /components/schemas/Device.Ipv6/properties/name +// // SrcName returns a string func (obj *response) SrcName() string { @@ -45276,6 +45585,10 @@ func (obj *response) SrcName() string { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv6/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// - /components/schemas/Device.Ipv6/properties/name +// // SrcName returns a string func (obj *response) HasSrcName() bool { return obj.obj.SrcName != nil @@ -45287,6 +45600,10 @@ func (obj *response) HasSrcName() bool { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv6/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// - /components/schemas/Device.Ipv6/properties/name +// // SetSrcName sets the string value in the Response object func (obj *response) SetSrcName(value string) Response { @@ -45670,6 +45987,9 @@ type PortMetric interface { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // Name returns a string func (obj *portMetric) Name() string { @@ -45682,6 +46002,9 @@ func (obj *portMetric) Name() string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // Name returns a string func (obj *portMetric) HasName() bool { return obj.obj.Name != nil @@ -45692,6 +46015,9 @@ func (obj *portMetric) HasName() bool { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetName sets the string value in the PortMetric object func (obj *portMetric) SetName(value string) PortMetric { @@ -49564,6 +49890,9 @@ type LagMetric interface { // x-constraint: // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Lag/properties/name +// // Name returns a string func (obj *lagMetric) Name() string { @@ -49576,6 +49905,9 @@ func (obj *lagMetric) Name() string { // x-constraint: // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Lag/properties/name +// // Name returns a string func (obj *lagMetric) HasName() bool { return obj.obj.Name != nil @@ -49586,6 +49918,9 @@ func (obj *lagMetric) HasName() bool { // x-constraint: // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Lag/properties/name +// // SetName sets the string value in the LagMetric object func (obj *lagMetric) SetName(value string) LagMetric { @@ -60188,6 +60523,9 @@ func (obj *ethernetConnection) SetChoice(value EthernetConnectionChoiceEnum) Eth // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // PortName returns a string func (obj *ethernetConnection) PortName() string { @@ -60204,6 +60542,9 @@ func (obj *ethernetConnection) PortName() string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // PortName returns a string func (obj *ethernetConnection) HasPortName() bool { return obj.obj.PortName != nil @@ -60214,6 +60555,9 @@ func (obj *ethernetConnection) HasPortName() bool { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetPortName sets the string value in the EthernetConnection object func (obj *ethernetConnection) SetPortName(value string) EthernetConnection { obj.SetChoice(EthernetConnectionChoice.PORT_NAME) @@ -60226,6 +60570,9 @@ func (obj *ethernetConnection) SetPortName(value string) EthernetConnection { // x-constraint: // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Lag/properties/name +// // LagName returns a string func (obj *ethernetConnection) LagName() string { @@ -60242,6 +60589,9 @@ func (obj *ethernetConnection) LagName() string { // x-constraint: // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Lag/properties/name +// // LagName returns a string func (obj *ethernetConnection) HasLagName() bool { return obj.obj.LagName != nil @@ -60252,6 +60602,9 @@ func (obj *ethernetConnection) HasLagName() bool { // x-constraint: // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Lag/properties/name +// // SetLagName sets the string value in the EthernetConnection object func (obj *ethernetConnection) SetLagName(value string) EthernetConnection { obj.SetChoice(EthernetConnectionChoice.LAG_NAME) @@ -60265,6 +60618,10 @@ func (obj *ethernetConnection) SetLagName(value string) EthernetConnection { // - #/components/schemas/Vxlan.V4Tunnel/properties/name // - #/components/schemas/Vxlan.V6Tunnel/properties/name // +// x-constraint: +// - #/components/schemas/Vxlan.V4Tunnel/properties/name +// - #/components/schemas/Vxlan.V6Tunnel/properties/name +// // VxlanName returns a string func (obj *ethernetConnection) VxlanName() string { @@ -60282,6 +60639,10 @@ func (obj *ethernetConnection) VxlanName() string { // - #/components/schemas/Vxlan.V4Tunnel/properties/name // - #/components/schemas/Vxlan.V6Tunnel/properties/name // +// x-constraint: +// - #/components/schemas/Vxlan.V4Tunnel/properties/name +// - #/components/schemas/Vxlan.V6Tunnel/properties/name +// // VxlanName returns a string func (obj *ethernetConnection) HasVxlanName() bool { return obj.obj.VxlanName != nil @@ -60293,6 +60654,10 @@ func (obj *ethernetConnection) HasVxlanName() bool { // - #/components/schemas/Vxlan.V4Tunnel/properties/name // - #/components/schemas/Vxlan.V6Tunnel/properties/name // +// x-constraint: +// - #/components/schemas/Vxlan.V4Tunnel/properties/name +// - #/components/schemas/Vxlan.V6Tunnel/properties/name +// // SetVxlanName sets the string value in the EthernetConnection object func (obj *ethernetConnection) SetVxlanName(value string) EthernetConnection { obj.SetChoice(EthernetConnectionChoice.VXLAN_NAME) @@ -62150,6 +62515,9 @@ type IsisInterface interface { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// // EthName returns a string func (obj *isisInterface) EthName() string { @@ -62161,6 +62529,9 @@ func (obj *isisInterface) EthName() string { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// // SetEthName sets the string value in the IsisInterface object func (obj *isisInterface) SetEthName(value string) IsisInterface { @@ -65541,6 +65912,10 @@ type BgpV4Interface interface { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv4Loopback/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// - /components/schemas/Device.Ipv4Loopback/properties/name +// // Ipv4Name returns a string func (obj *bgpV4Interface) Ipv4Name() string { @@ -65553,6 +65928,10 @@ func (obj *bgpV4Interface) Ipv4Name() string { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv4Loopback/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// - /components/schemas/Device.Ipv4Loopback/properties/name +// // SetIpv4Name sets the string value in the BgpV4Interface object func (obj *bgpV4Interface) SetIpv4Name(value string) BgpV4Interface { @@ -65919,6 +66298,10 @@ type BgpV6Interface interface { // - /components/schemas/Device.Ipv6/properties/name // - /components/schemas/Device.Ipv6Loopback/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv6/properties/name +// - /components/schemas/Device.Ipv6Loopback/properties/name +// // Ipv6Name returns a string func (obj *bgpV6Interface) Ipv6Name() string { @@ -65931,6 +66314,10 @@ func (obj *bgpV6Interface) Ipv6Name() string { // - /components/schemas/Device.Ipv6/properties/name // - /components/schemas/Device.Ipv6Loopback/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv6/properties/name +// - /components/schemas/Device.Ipv6Loopback/properties/name +// // SetIpv6Name sets the string value in the BgpV6Interface object func (obj *bgpV6Interface) SetIpv6Name(value string) BgpV6Interface { @@ -66311,6 +66698,10 @@ type VxlanV4Tunnel interface { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv4Loopback/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// - /components/schemas/Device.Ipv4Loopback/properties/name +// // SourceInterface returns a string func (obj *vxlanV4Tunnel) SourceInterface() string { @@ -66323,6 +66714,10 @@ func (obj *vxlanV4Tunnel) SourceInterface() string { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv4Loopback/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// - /components/schemas/Device.Ipv4Loopback/properties/name +// // SetSourceInterface sets the string value in the VxlanV4Tunnel object func (obj *vxlanV4Tunnel) SetSourceInterface(value string) VxlanV4Tunnel { @@ -66682,6 +67077,10 @@ type VxlanV6Tunnel interface { // - /components/schemas/Device.Ipv6/properties/name // - /components/schemas/Device.Ipv6Loopback/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv6/properties/name +// - /components/schemas/Device.Ipv6Loopback/properties/name +// // SourceInterface returns a string func (obj *vxlanV6Tunnel) SourceInterface() string { @@ -66694,6 +67093,10 @@ func (obj *vxlanV6Tunnel) SourceInterface() string { // - /components/schemas/Device.Ipv6/properties/name // - /components/schemas/Device.Ipv6Loopback/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv6/properties/name +// - /components/schemas/Device.Ipv6Loopback/properties/name +// // SetSourceInterface sets the string value in the VxlanV6Tunnel object func (obj *vxlanV6Tunnel) SetSourceInterface(value string) VxlanV6Tunnel { @@ -67085,6 +67488,9 @@ type RsvpIpv4Interface interface { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// // Ipv4Name returns a string func (obj *rsvpIpv4Interface) Ipv4Name() string { @@ -67096,6 +67502,9 @@ func (obj *rsvpIpv4Interface) Ipv4Name() string { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// // SetIpv4Name sets the string value in the RsvpIpv4Interface object func (obj *rsvpIpv4Interface) SetIpv4Name(value string) RsvpIpv4Interface { @@ -67685,6 +68094,10 @@ type RsvpLspIpv4Interface interface { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv4Loopback/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// - /components/schemas/Device.Ipv4Loopback/properties/name +// // Ipv4Name returns a string func (obj *rsvpLspIpv4Interface) Ipv4Name() string { @@ -67697,6 +68110,10 @@ func (obj *rsvpLspIpv4Interface) Ipv4Name() string { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv4Loopback/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// - /components/schemas/Device.Ipv4Loopback/properties/name +// // SetIpv4Name sets the string value in the RsvpLspIpv4Interface object func (obj *rsvpLspIpv4Interface) SetIpv4Name(value string) RsvpLspIpv4Interface { @@ -68097,6 +68514,10 @@ type FlowPort interface { // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// - /components/schemas/Lag/properties/name +// // TxName returns a string func (obj *flowPort) TxName() string { @@ -68109,6 +68530,10 @@ func (obj *flowPort) TxName() string { // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// - /components/schemas/Lag/properties/name +// // SetTxName sets the string value in the FlowPort object func (obj *flowPort) SetTxName(value string) FlowPort { @@ -68122,6 +68547,10 @@ func (obj *flowPort) SetTxName(value string) FlowPort { // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// - /components/schemas/Lag/properties/name +// // RxName returns a string func (obj *flowPort) RxName() string { @@ -68135,6 +68564,10 @@ func (obj *flowPort) RxName() string { // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// - /components/schemas/Lag/properties/name +// // RxName returns a string func (obj *flowPort) HasRxName() bool { return obj.obj.RxName != nil @@ -68146,6 +68579,10 @@ func (obj *flowPort) HasRxName() bool { // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// - /components/schemas/Lag/properties/name +// // SetRxName sets the string value in the FlowPort object func (obj *flowPort) SetRxName(value string) FlowPort { @@ -68477,6 +68914,17 @@ func (obj *flowRouter) SetMode(value FlowRouterModeEnum) FlowRouter { // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// - /components/schemas/Device.Ipv4/properties/name +// - /components/schemas/Device.Ipv6/properties/name +// - /components/schemas/Bgp.V4RouteRange/properties/name +// - /components/schemas/Bgp.V6RouteRange/properties/name +// - /components/schemas/Bgp.CMacIpRange/properties/name +// - /components/schemas/Rsvp.LspIpv4Interface.P2PIngressIpv4Lsp/properties/name +// - /components/schemas/Isis.V4RouteRange/properties/name +// - /components/schemas/Isis.V6RouteRange/properties/name +// // TxNames returns a []string func (obj *flowRouter) TxNames() []string { if obj.obj.TxNames == nil { @@ -68498,6 +68946,17 @@ func (obj *flowRouter) TxNames() []string { // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// - /components/schemas/Device.Ipv4/properties/name +// - /components/schemas/Device.Ipv6/properties/name +// - /components/schemas/Bgp.V4RouteRange/properties/name +// - /components/schemas/Bgp.V6RouteRange/properties/name +// - /components/schemas/Bgp.CMacIpRange/properties/name +// - /components/schemas/Rsvp.LspIpv4Interface.P2PIngressIpv4Lsp/properties/name +// - /components/schemas/Isis.V4RouteRange/properties/name +// - /components/schemas/Isis.V6RouteRange/properties/name +// // SetTxNames sets the []string value in the FlowRouter object func (obj *flowRouter) SetTxNames(value []string) FlowRouter { @@ -68522,6 +68981,17 @@ func (obj *flowRouter) SetTxNames(value []string) FlowRouter { // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// - /components/schemas/Device.Ipv4/properties/name +// - /components/schemas/Device.Ipv6/properties/name +// - /components/schemas/Bgp.V4RouteRange/properties/name +// - /components/schemas/Bgp.V6RouteRange/properties/name +// - /components/schemas/Bgp.CMacIpRange/properties/name +// - /components/schemas/Rsvp.LspIpv4Interface.P2PEgressIpv4Lsp/properties/name +// - /components/schemas/Isis.V4RouteRange/properties/name +// - /components/schemas/Isis.V6RouteRange/properties/name +// // RxNames returns a []string func (obj *flowRouter) RxNames() []string { if obj.obj.RxNames == nil { @@ -68543,6 +69013,17 @@ func (obj *flowRouter) RxNames() []string { // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name // +// x-constraint: +// - /components/schemas/Device.Ethernet/properties/name +// - /components/schemas/Device.Ipv4/properties/name +// - /components/schemas/Device.Ipv6/properties/name +// - /components/schemas/Bgp.V4RouteRange/properties/name +// - /components/schemas/Bgp.V6RouteRange/properties/name +// - /components/schemas/Bgp.CMacIpRange/properties/name +// - /components/schemas/Rsvp.LspIpv4Interface.P2PEgressIpv4Lsp/properties/name +// - /components/schemas/Isis.V4RouteRange/properties/name +// - /components/schemas/Isis.V6RouteRange/properties/name +// // SetRxNames sets the []string value in the FlowRouter object func (obj *flowRouter) SetRxNames(value []string) FlowRouter { @@ -81918,6 +82399,9 @@ type StateProtocolLacpAdmin interface { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // LagMemberNames returns a []string func (obj *stateProtocolLacpAdmin) LagMemberNames() []string { if obj.obj.LagMemberNames == nil { @@ -81931,6 +82415,9 @@ func (obj *stateProtocolLacpAdmin) LagMemberNames() []string { // x-constraint: // - /components/schemas/Port/properties/name // +// x-constraint: +// - /components/schemas/Port/properties/name +// // SetLagMemberNames sets the []string value in the StateProtocolLacpAdmin object func (obj *stateProtocolLacpAdmin) SetLagMemberNames(value []string) StateProtocolLacpAdmin { @@ -82989,6 +83476,9 @@ type ActionProtocolBgpNotification interface { // x-constraint: // - /components/schemas/Device.Bgp/properties/name // +// x-constraint: +// - /components/schemas/Device.Bgp/properties/name +// // Names returns a []string func (obj *actionProtocolBgpNotification) Names() []string { if obj.obj.Names == nil { @@ -83002,6 +83492,9 @@ func (obj *actionProtocolBgpNotification) Names() []string { // x-constraint: // - /components/schemas/Device.Bgp/properties/name // +// x-constraint: +// - /components/schemas/Device.Bgp/properties/name +// // SetNames sets the []string value in the ActionProtocolBgpNotification object func (obj *actionProtocolBgpNotification) SetNames(value []string) ActionProtocolBgpNotification { @@ -83582,6 +84075,9 @@ type ActionProtocolBgpInitiateGracefulRestart interface { // x-constraint: // - /components/schemas/Device.Bgp/properties/name // +// x-constraint: +// - /components/schemas/Device.Bgp/properties/name +// // PeerNames returns a []string func (obj *actionProtocolBgpInitiateGracefulRestart) PeerNames() []string { if obj.obj.PeerNames == nil { @@ -83595,6 +84091,9 @@ func (obj *actionProtocolBgpInitiateGracefulRestart) PeerNames() []string { // x-constraint: // - /components/schemas/Device.Bgp/properties/name // +// x-constraint: +// - /components/schemas/Device.Bgp/properties/name +// // SetPeerNames sets the []string value in the ActionProtocolBgpInitiateGracefulRestart object func (obj *actionProtocolBgpInitiateGracefulRestart) SetPeerNames(value []string) ActionProtocolBgpInitiateGracefulRestart { @@ -158890,6 +159389,8 @@ func (obj *actionProtocolIpv4PingRequest) Clone() (ActionProtocolIpv4PingRequest // 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. type ActionProtocolIpv4PingRequest interface { @@ -158944,6 +159445,9 @@ type ActionProtocolIpv4PingRequest interface { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// // SrcName returns a string func (obj *actionProtocolIpv4PingRequest) SrcName() string { @@ -158956,6 +159460,9 @@ func (obj *actionProtocolIpv4PingRequest) SrcName() string { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// // SrcName returns a string func (obj *actionProtocolIpv4PingRequest) HasSrcName() bool { return obj.obj.SrcName != nil @@ -158966,6 +159473,9 @@ func (obj *actionProtocolIpv4PingRequest) HasSrcName() bool { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// // SetSrcName sets the string value in the ActionProtocolIpv4PingRequest object func (obj *actionProtocolIpv4PingRequest) SetSrcName(value string) ActionProtocolIpv4PingRequest { @@ -159205,6 +159715,8 @@ func (obj *actionProtocolIpv6PingRequest) Clone() (ActionProtocolIpv6PingRequest // 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. type ActionProtocolIpv6PingRequest interface { @@ -159259,6 +159771,9 @@ type ActionProtocolIpv6PingRequest interface { // x-constraint: // - /components/schemas/Device.Ipv6/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv6/properties/name +// // SrcName returns a string func (obj *actionProtocolIpv6PingRequest) SrcName() string { @@ -159271,6 +159786,9 @@ func (obj *actionProtocolIpv6PingRequest) SrcName() string { // x-constraint: // - /components/schemas/Device.Ipv6/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv6/properties/name +// // SrcName returns a string func (obj *actionProtocolIpv6PingRequest) HasSrcName() bool { return obj.obj.SrcName != nil @@ -159281,6 +159799,9 @@ func (obj *actionProtocolIpv6PingRequest) HasSrcName() bool { // x-constraint: // - /components/schemas/Device.Ipv6/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv6/properties/name +// // SetSrcName sets the string value in the ActionProtocolIpv6PingRequest object func (obj *actionProtocolIpv6PingRequest) SetSrcName(value string) ActionProtocolIpv6PingRequest { @@ -241436,6 +241957,9 @@ type ActionResponseProtocolIpv4PingResponse interface { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// // SrcName returns a string func (obj *actionResponseProtocolIpv4PingResponse) SrcName() string { @@ -241447,6 +241971,9 @@ func (obj *actionResponseProtocolIpv4PingResponse) SrcName() string { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv4/properties/name +// // SetSrcName sets the string value in the ActionResponseProtocolIpv4PingResponse object func (obj *actionResponseProtocolIpv4PingResponse) SetSrcName(value string) ActionResponseProtocolIpv4PingResponse { @@ -241768,6 +242295,9 @@ type ActionResponseProtocolIpv6PingResponse interface { // x-constraint: // - /components/schemas/Device.Ipv6/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv6/properties/name +// // SrcName returns a string func (obj *actionResponseProtocolIpv6PingResponse) SrcName() string { @@ -241779,6 +242309,9 @@ func (obj *actionResponseProtocolIpv6PingResponse) SrcName() string { // x-constraint: // - /components/schemas/Device.Ipv6/properties/name // +// x-constraint: +// - /components/schemas/Device.Ipv6/properties/name +// // SetSrcName sets the string value in the ActionResponseProtocolIpv6PingResponse object func (obj *actionResponseProtocolIpv6PingResponse) SetSrcName(value string) ActionResponseProtocolIpv6PingResponse { diff --git a/gosnappi/httpapi/controllers/control_controller.go b/gosnappi/httpapi/controllers/control_controller.go index b8e05aab..14a1f7ed 100644 --- a/gosnappi/httpapi/controllers/control_controller.go +++ b/gosnappi/httpapi/controllers/control_controller.go @@ -182,6 +182,8 @@ func (ctrl *controlController) responseSetControlActionError(w http.ResponseWrit SetTransmitState: POST /control/transmit Description: 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. */ @@ -256,6 +258,8 @@ func (ctrl *controlController) responseSetTransmitStateError(w http.ResponseWrit SetLinkState: POST /control/link Description: 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. */ func (ctrl *controlController) SetLinkState(w http.ResponseWriter, r *http.Request) { @@ -329,6 +333,8 @@ func (ctrl *controlController) responseSetLinkStateError(w http.ResponseWriter, SetCaptureState: POST /control/capture Description: 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. */ func (ctrl *controlController) SetCaptureState(w http.ResponseWriter, r *http.Request) { @@ -402,6 +408,8 @@ func (ctrl *controlController) responseSetCaptureStateError(w http.ResponseWrite UpdateFlows: POST /control/flows Description: 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. */ func (ctrl *controlController) UpdateFlows(w http.ResponseWriter, r *http.Request) { @@ -472,6 +480,8 @@ func (ctrl *controlController) responseUpdateFlowsError(w http.ResponseWriter, e SetRouteState: POST /control/routes Description: 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. */ func (ctrl *controlController) SetRouteState(w http.ResponseWriter, r *http.Request) { @@ -545,6 +555,8 @@ func (ctrl *controlController) responseSetRouteStateError(w http.ResponseWriter, SendPing: POST /control/ping Description: 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. */ func (ctrl *controlController) SendPing(w http.ResponseWriter, r *http.Request) { @@ -615,6 +627,8 @@ func (ctrl *controlController) responseSendPingError(w http.ResponseWriter, erro SetProtocolState: POST /control/protocols Description: 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. */ func (ctrl *controlController) SetProtocolState(w http.ResponseWriter, r *http.Request) { @@ -688,6 +702,8 @@ func (ctrl *controlController) responseSetProtocolStateError(w http.ResponseWrit SetDeviceState: POST /control/devices Description: 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. */ func (ctrl *controlController) SetDeviceState(w http.ResponseWriter, r *http.Request) { diff --git a/gosnappi/httpapi/interfaces/control_interface.go b/gosnappi/httpapi/interfaces/control_interface.go index 4668a0a8..92247c97 100644 --- a/gosnappi/httpapi/interfaces/control_interface.go +++ b/gosnappi/httpapi/interfaces/control_interface.go @@ -38,6 +38,8 @@ type ControlHandler interface { SetTransmitState: POST /control/transmit Description: 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. */ @@ -46,6 +48,8 @@ type ControlHandler interface { SetLinkState: POST /control/link Description: 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(rbody gosnappi.LinkState, r *http.Request) (gosnappi.SetLinkStateResponse, error) @@ -53,6 +57,8 @@ type ControlHandler interface { SetCaptureState: POST /control/capture Description: 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(rbody gosnappi.CaptureState, r *http.Request) (gosnappi.SetCaptureStateResponse, error) @@ -60,6 +66,8 @@ type ControlHandler interface { UpdateFlows: POST /control/flows Description: 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(rbody gosnappi.FlowsUpdate, r *http.Request) (gosnappi.UpdateFlowsResponse, error) @@ -67,6 +75,8 @@ type ControlHandler interface { SetRouteState: POST /control/routes Description: 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(rbody gosnappi.RouteState, r *http.Request) (gosnappi.SetRouteStateResponse, error) @@ -74,6 +84,8 @@ type ControlHandler interface { SendPing: POST /control/ping Description: 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(rbody gosnappi.PingRequest, r *http.Request) (gosnappi.SendPingResponse, error) @@ -81,6 +93,8 @@ type ControlHandler interface { SetProtocolState: POST /control/protocols Description: 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(rbody gosnappi.ProtocolState, r *http.Request) (gosnappi.SetProtocolStateResponse, error) @@ -88,6 +102,8 @@ type ControlHandler interface { SetDeviceState: POST /control/devices Description: 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(rbody gosnappi.DeviceState, r *http.Request) (gosnappi.SetDeviceStateResponse, error) diff --git a/gosnappi/otg/otg.pb.go b/gosnappi/otg/otg.pb.go index 60cbb6d5..f1f80a59 100644 --- a/gosnappi/otg/otg.pb.go +++ b/gosnappi/otg/otg.pb.go @@ -1,4 +1,4 @@ -// Open Traffic Generator API 0.11.5 +// Open Traffic Generator API 0.11.6 // Open Traffic Generator API defines a model-driven, vendor-neutral and standard // interface for emulating layer 2-7 network devices and generating test traffic. // @@ -17333,6 +17333,9 @@ type LagPort struct { // x-constraint: // - /components/schemas/Port/properties/name // + // x-constraint: + // - /components/schemas/Port/properties/name + // // required = true PortName string `protobuf:"bytes,1,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"` // Description missing in models @@ -17763,6 +17766,8 @@ type DeviceEthernet struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + // Deprecated: This property is deprecated in favor of property connection.port_name + // // Deprecated: This property is deprecated in favor of property connection.port_name // // The unique name of a Port or a LAG that will emulate this interface. @@ -17772,6 +17777,10 @@ type DeviceEthernet struct { // x-constraint: // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name + // - /components/schemas/Lag/properties/name PortName *string `protobuf:"bytes,1,opt,name=port_name,json=portName,proto3,oneof" json:"port_name,omitempty"` // Device connection to physical, LAG or another device. Connection *EthernetConnection `protobuf:"bytes,2,opt,name=connection,proto3,oneof" json:"connection,omitempty"` @@ -17894,11 +17903,17 @@ type EthernetConnection struct { // // x-constraint: // - /components/schemas/Port/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name PortName *string `protobuf:"bytes,2,opt,name=port_name,json=portName,proto3,oneof" json:"port_name,omitempty"` // Name of the LAG that the Ethernet interface is configured on. // // x-constraint: // - /components/schemas/Lag/properties/name + // + // x-constraint: + // - /components/schemas/Lag/properties/name LagName *string `protobuf:"bytes,3,opt,name=lag_name,json=lagName,proto3,oneof" json:"lag_name,omitempty"` // Name of the VXLAN instance (or VXLAN tunnel) that this Ethernet interface is connected // to. @@ -17906,6 +17921,10 @@ type EthernetConnection struct { // x-constraint: // - #/components/schemas/Vxlan.V4Tunnel/properties/name // - #/components/schemas/Vxlan.V6Tunnel/properties/name + // + // x-constraint: + // - #/components/schemas/Vxlan.V4Tunnel/properties/name + // - #/components/schemas/Vxlan.V6Tunnel/properties/name VxlanName *string `protobuf:"bytes,4,opt,name=vxlan_name,json=vxlanName,proto3,oneof" json:"vxlan_name,omitempty"` } @@ -18152,6 +18171,9 @@ type DeviceIpv4Loopback struct { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name + // // required = true EthName string `protobuf:"bytes,1,opt,name=eth_name,json=ethName,proto3" json:"eth_name,omitempty"` // The IPv4 Loopback address with prefix length of 32. @@ -18393,6 +18415,9 @@ type DeviceIpv6Loopback struct { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name + // // required = true EthName string `protobuf:"bytes,1,opt,name=eth_name,json=ethName,proto3" json:"eth_name,omitempty"` // The IPv6 Loopback address with prefix length of 128. @@ -18543,6 +18568,9 @@ type Layer1 struct { // // x-constraint: // - /components/schemas/Port/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name PortNames []string `protobuf:"bytes,1,rep,name=port_names,json=portNames,proto3" json:"port_names,omitempty"` // Set the speed if supported. // default = Speed.Enum.speed_10_gbps @@ -19048,6 +19076,8 @@ func (x *Layer1Ieee8021Qbb) GetPfcClass_7() int32 { return 0 } +// Under Review: Information TBD +// // Under Review: Information TBD // // Configuration for capture settings. @@ -19061,6 +19091,9 @@ type Capture struct { // // x-constraint: // - /components/schemas/Port/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name PortNames []string `protobuf:"bytes,1,rep,name=port_names,json=portNames,proto3" json:"port_names,omitempty"` // A list of filters to apply to the capturing ports. If no filters are specified then // all packets will be captured. A capture can have multiple filters. The number of @@ -20214,6 +20247,9 @@ type IsisInterface struct { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name + // // required = true EthName string `protobuf:"bytes,1,opt,name=eth_name,json=ethName,proto3" json:"eth_name,omitempty"` // The default metric cost for the interface. @@ -22558,6 +22594,10 @@ type BgpV4Interface struct { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv4Loopback/properties/name // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // - /components/schemas/Device.Ipv4Loopback/properties/name + // // required = true Ipv4Name string `protobuf:"bytes,1,opt,name=ipv4_name,json=ipv4Name,proto3" json:"ipv4_name,omitempty"` // This contains the list of BGPv4 peers configured on this interface. @@ -27560,6 +27600,10 @@ type BgpV6Interface struct { // - /components/schemas/Device.Ipv6/properties/name // - /components/schemas/Device.Ipv6Loopback/properties/name // + // x-constraint: + // - /components/schemas/Device.Ipv6/properties/name + // - /components/schemas/Device.Ipv6Loopback/properties/name + // // required = true Ipv6Name string `protobuf:"bytes,1,opt,name=ipv6_name,json=ipv6Name,proto3" json:"ipv6_name,omitempty"` // This contains the list of BGPv6 peers configured on this interface. @@ -28287,6 +28331,10 @@ type VxlanV4Tunnel struct { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv4Loopback/properties/name // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // - /components/schemas/Device.Ipv4Loopback/properties/name + // // required = true SourceInterface string `protobuf:"bytes,1,opt,name=source_interface,json=sourceInterface,proto3" json:"source_interface,omitempty"` // Description missing in models @@ -28375,6 +28423,10 @@ type VxlanV6Tunnel struct { // - /components/schemas/Device.Ipv6/properties/name // - /components/schemas/Device.Ipv6Loopback/properties/name // + // x-constraint: + // - /components/schemas/Device.Ipv6/properties/name + // - /components/schemas/Device.Ipv6Loopback/properties/name + // // required = true SourceInterface string `protobuf:"bytes,1,opt,name=source_interface,json=sourceInterface,proto3" json:"source_interface,omitempty"` // Description missing in models @@ -29052,6 +29104,9 @@ type RsvpIpv4Interface struct { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // // required = true Ipv4Name string `protobuf:"bytes,1,opt,name=ipv4_name,json=ipv4Name,proto3" json:"ipv4_name,omitempty"` // IPv4 address of the RSVP neighbor on this interface. @@ -29220,6 +29275,10 @@ type RsvpLspIpv4Interface struct { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv4Loopback/properties/name // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // - /components/schemas/Device.Ipv4Loopback/properties/name + // // required = true Ipv4Name string `protobuf:"bytes,1,opt,name=ipv4_name,json=ipv4Name,proto3" json:"ipv4_name,omitempty"` // Contains properties of Tail(Egress) LSPs. @@ -30450,6 +30509,10 @@ type FlowPort struct { // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name // + // x-constraint: + // - /components/schemas/Port/properties/name + // - /components/schemas/Lag/properties/name + // // required = true TxName string `protobuf:"bytes,1,opt,name=tx_name,json=txName,proto3" json:"tx_name,omitempty"` // The unique name of a port that is the intended receive port. @@ -30457,6 +30520,10 @@ type FlowPort struct { // x-constraint: // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name + // - /components/schemas/Lag/properties/name RxName *string `protobuf:"bytes,2,opt,name=rx_name,json=rxName,proto3,oneof" json:"rx_name,omitempty"` } @@ -30568,6 +30635,17 @@ type FlowRouter struct { // - /components/schemas/Rsvp.LspIpv4Interface.P2PIngressIpv4Lsp/properties/name // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name + // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name + // - /components/schemas/Device.Ipv4/properties/name + // - /components/schemas/Device.Ipv6/properties/name + // - /components/schemas/Bgp.V4RouteRange/properties/name + // - /components/schemas/Bgp.V6RouteRange/properties/name + // - /components/schemas/Bgp.CMacIpRange/properties/name + // - /components/schemas/Rsvp.LspIpv4Interface.P2PIngressIpv4Lsp/properties/name + // - /components/schemas/Isis.V4RouteRange/properties/name + // - /components/schemas/Isis.V6RouteRange/properties/name TxNames []string `protobuf:"bytes,2,rep,name=tx_names,json=txNames,proto3" json:"tx_names,omitempty"` // TBD // @@ -30581,6 +30659,17 @@ type FlowRouter struct { // - /components/schemas/Rsvp.LspIpv4Interface.P2PEgressIpv4Lsp/properties/name // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name + // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name + // - /components/schemas/Device.Ipv4/properties/name + // - /components/schemas/Device.Ipv6/properties/name + // - /components/schemas/Bgp.V4RouteRange/properties/name + // - /components/schemas/Bgp.V6RouteRange/properties/name + // - /components/schemas/Bgp.CMacIpRange/properties/name + // - /components/schemas/Rsvp.LspIpv4Interface.P2PEgressIpv4Lsp/properties/name + // - /components/schemas/Isis.V4RouteRange/properties/name + // - /components/schemas/Isis.V6RouteRange/properties/name RxNames []string `protobuf:"bytes,3,rep,name=rx_names,json=rxNames,proto3" json:"rx_names,omitempty"` } @@ -34482,6 +34571,11 @@ type EventRequest struct { // - /components/schemas/Port/properties/name // - /components/schemas/Bgp.V4RouteRange/name // - /components/schemas/Bgp.V6RouteRange/name + // + // x-constraint: + // - /components/schemas/Port/properties/name + // - /components/schemas/Bgp.V4RouteRange/name + // - /components/schemas/Bgp.V6RouteRange/name Source []string `protobuf:"bytes,2,rep,name=source,proto3" json:"source,omitempty"` } @@ -34722,6 +34816,9 @@ type LldpConnection struct { // // x-constraint: // - /components/schemas/Port/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name PortName *string `protobuf:"bytes,2,opt,name=port_name,json=portName,proto3,oneof" json:"port_name,omitempty"` } @@ -35661,6 +35758,8 @@ func (x *StateProtocol) GetLacp() *StateProtocolLacp { return nil } +// Deprecated: Please use `StatePortLink` instead +// // Deprecated: Please use `StatePortLink` instead // // Sets the link state of configured ports. @@ -35673,6 +35772,9 @@ type LinkState struct { // // x-constraint: // - /components/schemas/Port/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name PortNames []string `protobuf:"bytes,1,rep,name=port_names,json=portNames,proto3" json:"port_names,omitempty"` // The link state. // required = true @@ -35725,6 +35827,8 @@ func (x *LinkState) GetState() LinkState_State_Enum { return LinkState_State_unspecified } +// Deprecated: Please use `StateTrafficFlowTransmit` instead +// // Deprecated: Please use `StateTrafficFlowTransmit` instead // // Flow transmit state. @@ -35740,6 +35844,9 @@ type TransmitState struct { // // x-constraint: // - /components/schemas/Flow/properties/name + // + // x-constraint: + // - /components/schemas/Flow/properties/name FlowNames []string `protobuf:"bytes,1,rep,name=flow_names,json=flowNames,proto3" json:"flow_names,omitempty"` // The transmit state. // If the value of the state property is 'start' then all flows defined by the 'flow_names' @@ -35803,6 +35910,8 @@ func (x *TransmitState) GetState() TransmitState_State_Enum { return TransmitState_State_unspecified } +// Deprecated: Please use `StatePortCapture` instead +// // Deprecated: Please use `StatePortCapture` instead // // Control port capture state @@ -35818,6 +35927,9 @@ type CaptureState struct { // // x-constraint: // - /components/schemas/Port/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name PortNames []string `protobuf:"bytes,1,rep,name=port_names,json=portNames,proto3" json:"port_names,omitempty"` // The capture state. // required = true @@ -35870,6 +35982,8 @@ func (x *CaptureState) GetState() CaptureState_State_Enum { return CaptureState_State_unspecified } +// Deprecated: Please use `StateProtocolRoute` instead +// // Deprecated: Please use `StateProtocolRoute` instead // // Sets the device route state @@ -35886,6 +36000,12 @@ type RouteState struct { // - /components/schemas/Bgp.V6RouteRange/properties/name // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name + // + // x-constraint: + // - /components/schemas/Bgp.V4RouteRange/properties/name + // - /components/schemas/Bgp.V6RouteRange/properties/name + // - /components/schemas/Isis.V4RouteRange/properties/name + // - /components/schemas/Isis.V6RouteRange/properties/name Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // Route specific states // required = true @@ -35938,6 +36058,8 @@ func (x *RouteState) GetState() RouteState_State_Enum { return RouteState_State_unspecified } +// Deprecated: Please use `StateProtocolAll` instead +// // Deprecated: Please use `StateProtocolAll` instead // // Sets all configured protocols to `start` or `stop` state. Setting protocol state @@ -35992,6 +36114,8 @@ func (x *ProtocolState) GetState() ProtocolState_State_Enum { return ProtocolState_State_unspecified } +// 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) @@ -36062,6 +36186,9 @@ type StatePortLink struct { // // x-constraint: // - /components/schemas/Port/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name PortNames []string `protobuf:"bytes,1,rep,name=port_names,json=portNames,proto3" json:"port_names,omitempty"` // The link state. // required = true @@ -36127,6 +36254,9 @@ type StatePortCapture struct { // // x-constraint: // - /components/schemas/Port/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name PortNames []string `protobuf:"bytes,1,rep,name=port_names,json=portNames,proto3" json:"port_names,omitempty"` // The capture state. // required = true @@ -36192,6 +36322,9 @@ type StateTrafficFlowTransmit struct { // // x-constraint: // - /components/schemas/Flow/properties/name + // + // x-constraint: + // - /components/schemas/Flow/properties/name FlowNames []string `protobuf:"bytes,1,rep,name=flow_names,json=flowNames,proto3" json:"flow_names,omitempty"` // The transmit state. // If the value of the state property is 'start' then all flows defined by the 'flow_names' @@ -36321,6 +36454,12 @@ type StateProtocolRoute struct { // - /components/schemas/Bgp.V6RouteRange/properties/name // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name + // + // x-constraint: + // - /components/schemas/Bgp.V4RouteRange/properties/name + // - /components/schemas/Bgp.V6RouteRange/properties/name + // - /components/schemas/Isis.V4RouteRange/properties/name + // - /components/schemas/Isis.V6RouteRange/properties/name Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // Route states // required = true @@ -36443,6 +36582,9 @@ type StateProtocolLacpAdmin struct { // // x-constraint: // - /components/schemas/Port/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name LagMemberNames []string `protobuf:"bytes,1,rep,name=lag_member_names,json=lagMemberNames,proto3" json:"lag_member_names,omitempty"` // The LACP Member admin state. 'up' will send LACPDUs with 'sync' flag set on selected // member ports. 'down' will send LACPDUs with 'sync' flag unset on selected member @@ -36496,6 +36638,8 @@ func (x *StateProtocolLacpAdmin) GetState() StateProtocolLacpAdmin_State_Enum { return StateProtocolLacpAdmin_State_unspecified } +// Deprecated: Please use `StateProtocolLacpAdmin` instead +// // Deprecated: Please use `StateProtocolLacpAdmin` instead // // Set LACP state for specified LAG Member Port(s). @@ -36509,6 +36653,9 @@ type LacpMemberState struct { // // x-constraint: // - /components/schemas/Port/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name LagMemberPortNames []string `protobuf:"bytes,1,rep,name=lag_member_port_names,json=lagMemberPortNames,proto3" json:"lag_member_port_names,omitempty"` // The LACP Member admin state. 'up' will send LACPDUs with 'sync' flag set on selected // member ports. 'down' will send LACPDUs with 'sync' flag unset on selected member @@ -37051,6 +37198,8 @@ func (x *ActionProtocolIpv4Ping) GetRequests() []*ActionProtocolIpv4PingRequest return nil } +// 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. @@ -37065,6 +37214,9 @@ type ActionProtocolIpv4PingRequest struct { // // x-constraint: // - /components/schemas/Device.Ipv4/properties/name + // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name SrcName *string `protobuf:"bytes,1,opt,name=src_name,json=srcName,proto3,oneof" json:"src_name,omitempty"` // Destination IPv4 address to ping. DstIp *string `protobuf:"bytes,2,opt,name=dst_ip,json=dstIp,proto3,oneof" json:"dst_ip,omitempty"` @@ -37176,6 +37328,9 @@ type ActionResponseProtocolIpv4PingResponse struct { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // // required = true SrcName string `protobuf:"bytes,1,opt,name=src_name,json=srcName,proto3" json:"src_name,omitempty"` // Destination IPv4 address used for ping. @@ -37406,6 +37561,8 @@ func (x *ActionProtocolIpv6Ping) GetRequests() []*ActionProtocolIpv6PingRequest return nil } +// 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. @@ -37420,6 +37577,9 @@ type ActionProtocolIpv6PingRequest struct { // // x-constraint: // - /components/schemas/Device.Ipv6/properties/name + // + // x-constraint: + // - /components/schemas/Device.Ipv6/properties/name SrcName *string `protobuf:"bytes,1,opt,name=src_name,json=srcName,proto3,oneof" json:"src_name,omitempty"` // Destination IPv6 address to ping. DstIp *string `protobuf:"bytes,2,opt,name=dst_ip,json=dstIp,proto3,oneof" json:"dst_ip,omitempty"` @@ -37531,6 +37691,9 @@ type ActionResponseProtocolIpv6PingResponse struct { // x-constraint: // - /components/schemas/Device.Ipv6/properties/name // + // x-constraint: + // - /components/schemas/Device.Ipv6/properties/name + // // required = true SrcName string `protobuf:"bytes,1,opt,name=src_name,json=srcName,proto3" json:"src_name,omitempty"` // Destination IPv6 address used for ping. @@ -37678,6 +37841,9 @@ type ActionProtocolBgpNotification struct { // // x-constraint: // - /components/schemas/Device.Bgp/properties/name + // + // x-constraint: + // - /components/schemas/Device.Bgp/properties/name Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // Each BGP NOTIFICATION message includes an Error Code field indicating what type of // problem occurred. For certain Error Codes, an Error Subcode field provides additional @@ -37810,6 +37976,9 @@ type ActionProtocolBgpInitiateGracefulRestart struct { // // x-constraint: // - /components/schemas/Device.Bgp/properties/name + // + // x-constraint: + // - /components/schemas/Device.Bgp/properties/name PeerNames []string `protobuf:"bytes,1,rep,name=peer_names,json=peerNames,proto3" json:"peer_names,omitempty"` // Duration (in seconds) after which selected BGP peers will initiate // Graceful restart by sending the Open Message with Restart State bit set in the Graceful @@ -37942,6 +38111,9 @@ type PingIpv4 struct { // // x-constraint: // - /components/schemas/Device.Ipv4/properties/name + // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name SrcName *string `protobuf:"bytes,1,opt,name=src_name,json=srcName,proto3,oneof" json:"src_name,omitempty"` // IPv4 address to ping DstIp *string `protobuf:"bytes,2,opt,name=dst_ip,json=dstIp,proto3,oneof" json:"dst_ip,omitempty"` @@ -38003,6 +38175,9 @@ type PingIpv6 struct { // // x-constraint: // - /components/schemas/Device.Ipv6/properties/name + // + // x-constraint: + // - /components/schemas/Device.Ipv6/properties/name SrcName *string `protobuf:"bytes,1,opt,name=src_name,json=srcName,proto3,oneof" json:"src_name,omitempty"` // IPv6 addresses to ping. DstIp *string `protobuf:"bytes,2,opt,name=dst_ip,json=dstIp,proto3,oneof" json:"dst_ip,omitempty"` @@ -38163,6 +38338,10 @@ type Response struct { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv6/properties/name + // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // - /components/schemas/Device.Ipv6/properties/name SrcName *string `protobuf:"bytes,1,opt,name=src_name,json=srcName,proto3,oneof" json:"src_name,omitempty"` // Destination address. DstIp *string `protobuf:"bytes,2,opt,name=dst_ip,json=dstIp,proto3,oneof" json:"dst_ip,omitempty"` @@ -38497,6 +38676,9 @@ type PortMetricsRequest struct { // // x-constraint: // - /components/schemas/Port/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name PortNames []string `protobuf:"bytes,1,rep,name=port_names,json=portNames,proto3" json:"port_names,omitempty"` // The list of column names that the returned result set will contain. If the list is // empty then all columns will be returned. The name of the port cannot be excluded. @@ -38559,6 +38741,9 @@ type PortMetric struct { // // x-constraint: // - /components/schemas/Port/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // The state of the connection to the test port location. The format should be the configured // port location along with any custom connection state message. @@ -38722,6 +38907,9 @@ type FlowMetricsRequest struct { // // x-constraint: // - /components/schemas/Flow/properties/name + // + // x-constraint: + // - /components/schemas/Flow/properties/name FlowNames []string `protobuf:"bytes,1,rep,name=flow_names,json=flowNames,proto3" json:"flow_names,omitempty"` // A list of metric groups used to disaggregate flows. A metric group that does not // exist for a flow group MUST return an error. @@ -38799,6 +38987,9 @@ type FlowMetricGroupRequest struct { // x-constraint: // - /components/schemas/Flow/properties/packet/../metric_group // + // x-constraint: + // - /components/schemas/Flow/properties/packet/../metric_group + // // default = [] Ingress []string `protobuf:"bytes,2,rep,name=ingress,proto3" json:"ingress,omitempty"` // Disaggregate the flow metrics by egress packet header field names @@ -38807,6 +38998,9 @@ type FlowMetricGroupRequest struct { // x-constraint: // - /components/schemas/Flow/properties/egress/../metric_group // + // x-constraint: + // - /components/schemas/Flow/properties/egress/../metric_group + // // default = [] Egress []string `protobuf:"bytes,3,rep,name=egress,proto3" json:"egress,omitempty"` } @@ -39232,6 +39426,9 @@ type Bgpv4MetricsRequest struct { // // x-constraint: // - /components/schemas/Bgp.V4peer/properties/name + // + // x-constraint: + // - /components/schemas/Bgp.V4peer/properties/name PeerNames []string `protobuf:"bytes,1,rep,name=peer_names,json=peerNames,proto3" json:"peer_names,omitempty"` // The list of column names that the returned result set will contain. If the list is // empty then all columns will be returned except for any result_groups. The name of @@ -39491,6 +39688,9 @@ type Bgpv6MetricsRequest struct { // // x-constraint: // - /components/schemas/Bgp.V6peer/properties/name + // + // x-constraint: + // - /components/schemas/Bgp.V6peer/properties/name PeerNames []string `protobuf:"bytes,1,rep,name=peer_names,json=peerNames,proto3" json:"peer_names,omitempty"` // The list of column names that the returned result set will contain. If the list is // empty then all columns will be returned except for any result_groups. The name of @@ -39750,6 +39950,9 @@ type IsisMetricsRequest struct { // // x-constraint: // - /components/schemas/Device.IsisRouter/properties/name + // + // x-constraint: + // - /components/schemas/Device.IsisRouter/properties/name RouterNames []string `protobuf:"bytes,1,rep,name=router_names,json=routerNames,proto3" json:"router_names,omitempty"` // The list of column names that the returned result set will contain. If the list is // empty then all columns will be returned except for any result_groups. The name of @@ -40097,6 +40300,9 @@ type LagMetricsRequest struct { // // x-constraint: // - /components/schemas/Lag/properties/name + // + // x-constraint: + // - /components/schemas/Lag/properties/name LagNames []string `protobuf:"bytes,1,rep,name=lag_names,json=lagNames,proto3" json:"lag_names,omitempty"` // The list of column names that the returned result set will contain. If the list is // empty then all columns will be returned. The name of the LAG cannot be excluded. @@ -40159,6 +40365,9 @@ type LagMetric struct { // // x-constraint: // - /components/schemas/Lag/properties/name + // + // x-constraint: + // - /components/schemas/Lag/properties/name Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // The current operational state of the LAG. The state can be up or down. State 'up' // indicates member_ports_up >= min_links. @@ -40303,12 +40512,18 @@ type LacpMetricsRequest struct { // // x-constraint: // - /components/schemas/Lag/properties/name + // + // x-constraint: + // - /components/schemas/Lag/properties/name LagNames []string `protobuf:"bytes,1,rep,name=lag_names,json=lagNames,proto3" json:"lag_names,omitempty"` // The names of LAG members (ports) for which LACP metrics to be returned. An empty // list will return metrics for all LAG members. // // x-constraint: // - /components/schemas/Port/properties/name + // + // x-constraint: + // - /components/schemas/Port/properties/name LagMemberPortNames []string `protobuf:"bytes,2,rep,name=lag_member_port_names,json=lagMemberPortNames,proto3" json:"lag_member_port_names,omitempty"` // The list of column names that the returned result set will contain. If the list is // empty then all columns will be returned. The name of LAG and LAG member can not be @@ -40576,6 +40791,9 @@ type LldpMetricsRequest struct { // // x-constraint: // - /components/schemas/Lldp/properties/name + // + // x-constraint: + // - /components/schemas/Lldp/properties/name LldpNames []string `protobuf:"bytes,1,rep,name=lldp_names,json=lldpNames,proto3" json:"lldp_names,omitempty"` // The requested list of column names for the result set. If the list is empty then // metrics for all columns will be returned. The name of LLDP instance can not be excluded. @@ -40752,6 +40970,9 @@ type RsvpMetricsRequest struct { // // x-constraint: // - /components/schemas/Device.Rsvp/properties/name + // + // x-constraint: + // - /components/schemas/Device.Rsvp/properties/name RouterNames []string `protobuf:"bytes,1,rep,name=router_names,json=routerNames,proto3" json:"router_names,omitempty"` // The list of column names that the returned result set will contain. If the input // list is empty then all columns will be returned except for any result_groups. @@ -41350,6 +41571,9 @@ type Neighborsv4StatesRequest struct { // // x-constraint: // - /components/schemas/Device.Ethernet/properties/name + // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name EthernetNames []string `protobuf:"bytes,1,rep,name=ethernet_names,json=ethernetNames,proto3" json:"ethernet_names,omitempty"` } @@ -41474,6 +41698,9 @@ type Neighborsv6StatesRequest struct { // // x-constraint: // - /components/schemas/Device.Ethernet/properties/name + // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name EthernetNames []string `protobuf:"bytes,1,rep,name=ethernet_names,json=ethernetNames,proto3" json:"ethernet_names,omitempty"` } @@ -41599,6 +41826,10 @@ type BgpPrefixStateRequest struct { // x-constraint: // - /components/schemas/Bgp.V4Peer/properties/name // - /components/schemas/Bgp.V6Peer/properties/name + // + // x-constraint: + // - /components/schemas/Bgp.V4Peer/properties/name + // - /components/schemas/Bgp.V6Peer/properties/name BgpPeerNames []string `protobuf:"bytes,1,rep,name=bgp_peer_names,json=bgpPeerNames,proto3" json:"bgp_peer_names,omitempty"` // Specify which prefixes to return. If the list is empty or missing then all prefixes // will be returned. @@ -42316,6 +42547,9 @@ type IsisLspsStateRequest struct { // // x-constraint: // - /components/schemas/Device.IsisRouter/properties/name + // + // x-constraint: + // - /components/schemas/Device.IsisRouter/properties/name IsisRouterNames []string `protobuf:"bytes,1,rep,name=isis_router_names,json=isisRouterNames,proto3" json:"isis_router_names,omitempty"` } @@ -43504,6 +43738,9 @@ type LldpNeighborsStateRequest struct { // // x-constraint: // - /components/schemas/Lldp/properties/name + // + // x-constraint: + // - /components/schemas/Lldp/properties/name LldpNames []string `protobuf:"bytes,1,rep,name=lldp_names,json=lldpNames,proto3" json:"lldp_names,omitempty"` // Specify the neighbors for which information will be returned. If empty or missing // then information for all neighbors will be returned. @@ -43903,6 +44140,9 @@ type RsvpLspsStateRequest struct { // // x-constraint: // - /components/schemas/Device.Rsvp/properties/name + // + // x-constraint: + // - /components/schemas/Device.Rsvp/properties/name RsvpRouterNames []string `protobuf:"bytes,1,rep,name=rsvp_router_names,json=rsvpRouterNames,proto3" json:"rsvp_router_names,omitempty"` } @@ -44352,6 +44592,9 @@ type CaptureRequest struct { // x-constraint: // - /components/schemas/Port/properties/name // + // x-constraint: + // - /components/schemas/Port/properties/name + // // required = true PortName string `protobuf:"bytes,1,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"` } diff --git a/gosnappi/otg/otg.proto b/gosnappi/otg/otg.proto index 1c89ff52..b84d29f4 100644 --- a/gosnappi/otg/otg.proto +++ b/gosnappi/otg/otg.proto @@ -1,4 +1,4 @@ -/* Open Traffic Generator API 0.11.5 +/* Open Traffic Generator API 0.11.6 * Open Traffic Generator API defines a model-driven, vendor-neutral and standard * interface for emulating layer 2-7 network devices and generating test traffic. * @@ -123,6 +123,10 @@ message LagPort { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // // required = true string port_name = 1; @@ -237,6 +241,8 @@ message DeviceEthernetBase { // An Ethernet interface with IPv4 and IPv6 addresses. message DeviceEthernet { + // Deprecated: This property is deprecated in favor of property connection.port_name + // // Deprecated: This property is deprecated in favor of property connection.port_name // // The unique name of a Port or a LAG that will emulate this interface. @@ -247,6 +253,11 @@ message DeviceEthernet { // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // - /components/schemas/Lag/properties/name + // optional string port_name = 1; // Device connection to physical, LAG or another device. @@ -295,6 +306,10 @@ message EthernetConnection { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // optional string port_name = 2; // Name of the LAG that the Ethernet interface is configured on. @@ -302,6 +317,10 @@ message EthernetConnection { // x-constraint: // - /components/schemas/Lag/properties/name // + // + // x-constraint: + // - /components/schemas/Lag/properties/name + // optional string lag_name = 3; // Name of the VXLAN instance (or VXLAN tunnel) that this Ethernet interface is connected @@ -311,6 +330,11 @@ message EthernetConnection { // - #/components/schemas/Vxlan.V4Tunnel/properties/name // - #/components/schemas/Vxlan.V6Tunnel/properties/name // + // + // x-constraint: + // - #/components/schemas/Vxlan.V4Tunnel/properties/name + // - #/components/schemas/Vxlan.V6Tunnel/properties/name + // optional string vxlan_name = 4; } @@ -378,6 +402,10 @@ message DeviceIpv4Loopback { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name + // // required = true string eth_name = 1; @@ -452,6 +480,10 @@ message DeviceIpv6Loopback { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name + // // required = true string eth_name = 1; @@ -502,6 +534,10 @@ message Layer1 { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // repeated string port_names = 1; message Speed { @@ -683,6 +719,8 @@ message Layer1Ieee8021qbb { optional int32 pfc_class_7 = 9; } +// Under Review: Information TBD +// // Under Review: Information TBD // // Configuration for capture settings. @@ -694,6 +732,10 @@ message Capture { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // repeated string port_names = 1; // A list of filters to apply to the capturing ports. If no filters are specified then @@ -1012,6 +1054,10 @@ message IsisInterface { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name + // // required = true string eth_name = 1; @@ -1823,6 +1869,11 @@ message BgpV4Interface { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv4Loopback/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // - /components/schemas/Device.Ipv4Loopback/properties/name + // // required = true string ipv4_name = 1; @@ -3639,6 +3690,11 @@ message BgpV6Interface { // - /components/schemas/Device.Ipv6/properties/name // - /components/schemas/Device.Ipv6Loopback/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ipv6/properties/name + // - /components/schemas/Device.Ipv6Loopback/properties/name + // // required = true string ipv6_name = 1; @@ -3900,6 +3956,11 @@ message VxlanV4Tunnel { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv4Loopback/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // - /components/schemas/Device.Ipv4Loopback/properties/name + // // required = true string source_interface = 1; @@ -3928,6 +3989,11 @@ message VxlanV6Tunnel { // - /components/schemas/Device.Ipv6/properties/name // - /components/schemas/Device.Ipv6Loopback/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ipv6/properties/name + // - /components/schemas/Device.Ipv6Loopback/properties/name + // // required = true string source_interface = 1; @@ -4086,6 +4152,10 @@ message RsvpIpv4Interface { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // // required = true string ipv4_name = 1; @@ -4152,6 +4222,11 @@ message RsvpLspIpv4Interface { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv4Loopback/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // - /components/schemas/Device.Ipv4Loopback/properties/name + // // required = true string ipv4_name = 1; @@ -4627,6 +4702,11 @@ message FlowPort { // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // - /components/schemas/Lag/properties/name + // // required = true string tx_name = 1; @@ -4636,6 +4716,11 @@ message FlowPort { // - /components/schemas/Port/properties/name // - /components/schemas/Lag/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // - /components/schemas/Lag/properties/name + // optional string rx_name = 2; } @@ -4707,6 +4792,18 @@ message FlowRouter { // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name + // - /components/schemas/Device.Ipv4/properties/name + // - /components/schemas/Device.Ipv6/properties/name + // - /components/schemas/Bgp.V4RouteRange/properties/name + // - /components/schemas/Bgp.V6RouteRange/properties/name + // - /components/schemas/Bgp.CMacIpRange/properties/name + // - /components/schemas/Rsvp.LspIpv4Interface.P2PIngressIpv4Lsp/properties/name + // - /components/schemas/Isis.V4RouteRange/properties/name + // - /components/schemas/Isis.V6RouteRange/properties/name + // repeated string tx_names = 2; // TBD @@ -4722,6 +4819,18 @@ message FlowRouter { // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name + // - /components/schemas/Device.Ipv4/properties/name + // - /components/schemas/Device.Ipv6/properties/name + // - /components/schemas/Bgp.V4RouteRange/properties/name + // - /components/schemas/Bgp.V6RouteRange/properties/name + // - /components/schemas/Bgp.CMacIpRange/properties/name + // - /components/schemas/Rsvp.LspIpv4Interface.P2PEgressIpv4Lsp/properties/name + // - /components/schemas/Isis.V4RouteRange/properties/name + // - /components/schemas/Isis.V6RouteRange/properties/name + // repeated string rx_names = 3; } @@ -5780,6 +5889,12 @@ message EventRequest { // - /components/schemas/Bgp.V4RouteRange/name // - /components/schemas/Bgp.V6RouteRange/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // - /components/schemas/Bgp.V4RouteRange/name + // - /components/schemas/Bgp.V6RouteRange/name + // repeated string source = 2; } @@ -5853,6 +5968,10 @@ message LldpConnection { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // optional string port_name = 2; } @@ -6136,6 +6255,8 @@ message StateProtocol { optional StateProtocolLacp lacp = 4; } +// Deprecated: Please use `StatePortLink` instead +// // Deprecated: Please use `StatePortLink` instead // // Sets the link state of configured ports. @@ -6146,6 +6267,10 @@ message LinkState { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // repeated string port_names = 1; message State { @@ -6160,6 +6285,8 @@ message LinkState { State.Enum state = 2; } +// Deprecated: Please use `StateTrafficFlowTransmit` instead +// // Deprecated: Please use `StateTrafficFlowTransmit` instead // // Flow transmit state. @@ -6173,6 +6300,10 @@ message TransmitState { // x-constraint: // - /components/schemas/Flow/properties/name // + // + // x-constraint: + // - /components/schemas/Flow/properties/name + // repeated string flow_names = 1; message State { @@ -6200,6 +6331,8 @@ message TransmitState { State.Enum state = 2; } +// Deprecated: Please use `StatePortCapture` instead +// // Deprecated: Please use `StatePortCapture` instead // // Control port capture state @@ -6213,6 +6346,10 @@ message CaptureState { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // repeated string port_names = 1; message State { @@ -6227,6 +6364,8 @@ message CaptureState { State.Enum state = 2; } +// Deprecated: Please use `StateProtocolRoute` instead +// // Deprecated: Please use `StateProtocolRoute` instead // // Sets the device route state @@ -6241,6 +6380,13 @@ message RouteState { // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name // + // + // x-constraint: + // - /components/schemas/Bgp.V4RouteRange/properties/name + // - /components/schemas/Bgp.V6RouteRange/properties/name + // - /components/schemas/Isis.V4RouteRange/properties/name + // - /components/schemas/Isis.V6RouteRange/properties/name + // repeated string names = 1; message State { @@ -6255,6 +6401,8 @@ message RouteState { State.Enum state = 2; } +// Deprecated: Please use `StateProtocolAll` instead +// // Deprecated: Please use `StateProtocolAll` instead // // Sets all configured protocols to `start` or `stop` state. Setting protocol state @@ -6274,6 +6422,8 @@ message ProtocolState { State.Enum state = 1; } +// 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) @@ -6300,6 +6450,10 @@ message StatePortLink { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // repeated string port_names = 1; message State { @@ -6325,6 +6479,10 @@ message StatePortCapture { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // repeated string port_names = 1; message State { @@ -6350,6 +6508,10 @@ message StateTrafficFlowTransmit { // x-constraint: // - /components/schemas/Flow/properties/name // + // + // x-constraint: + // - /components/schemas/Flow/properties/name + // repeated string flow_names = 1; message State { @@ -6406,6 +6568,13 @@ message StateProtocolRoute { // - /components/schemas/Isis.V4RouteRange/properties/name // - /components/schemas/Isis.V6RouteRange/properties/name // + // + // x-constraint: + // - /components/schemas/Bgp.V4RouteRange/properties/name + // - /components/schemas/Bgp.V6RouteRange/properties/name + // - /components/schemas/Isis.V4RouteRange/properties/name + // - /components/schemas/Isis.V6RouteRange/properties/name + // repeated string names = 1; message State { @@ -6446,6 +6615,10 @@ message StateProtocolLacpAdmin { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // repeated string lag_member_names = 1; message State { @@ -6461,6 +6634,8 @@ message StateProtocolLacpAdmin { optional State.Enum state = 2; } +// Deprecated: Please use `StateProtocolLacpAdmin` instead +// // Deprecated: Please use `StateProtocolLacpAdmin` instead // // Set LACP state for specified LAG Member Port(s). @@ -6472,6 +6647,10 @@ message LacpMemberState { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // repeated string lag_member_port_names = 1; message State { @@ -6619,6 +6798,8 @@ message ActionProtocolIpv4Ping { repeated ActionProtocolIpv4PingRequest requests = 1; } +// 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. @@ -6631,6 +6812,10 @@ message ActionProtocolIpv4PingRequest { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // optional string src_name = 1; // Destination IPv4 address to ping. @@ -6652,6 +6837,10 @@ message ActionResponseProtocolIpv4PingResponse { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // // required = true string src_name = 1; @@ -6712,6 +6901,8 @@ message ActionProtocolIpv6Ping { repeated ActionProtocolIpv6PingRequest requests = 1; } +// 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. @@ -6724,6 +6915,10 @@ message ActionProtocolIpv6PingRequest { // x-constraint: // - /components/schemas/Device.Ipv6/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ipv6/properties/name + // optional string src_name = 1; // Destination IPv6 address to ping. @@ -6745,6 +6940,10 @@ message ActionResponseProtocolIpv6PingResponse { // x-constraint: // - /components/schemas/Device.Ipv6/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ipv6/properties/name + // // required = true string src_name = 1; @@ -6800,6 +6999,10 @@ message ActionProtocolBgpNotification { // x-constraint: // - /components/schemas/Device.Bgp/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Bgp/properties/name + // repeated string names = 1; message Choice { @@ -6855,6 +7058,10 @@ message ActionProtocolBgpInitiateGracefulRestart { // x-constraint: // - /components/schemas/Device.Bgp/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Bgp/properties/name + // repeated string peer_names = 1; // Duration (in seconds) after which selected BGP peers will initiate @@ -6893,6 +7100,10 @@ message PingIpv4 { // x-constraint: // - /components/schemas/Device.Ipv4/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // optional string src_name = 1; // IPv4 address to ping @@ -6907,6 +7118,10 @@ message PingIpv6 { // x-constraint: // - /components/schemas/Device.Ipv6/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ipv6/properties/name + // optional string src_name = 1; // IPv6 addresses to ping. @@ -6936,6 +7151,11 @@ message Response { // - /components/schemas/Device.Ipv4/properties/name // - /components/schemas/Device.Ipv6/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ipv4/properties/name + // - /components/schemas/Device.Ipv6/properties/name + // optional string src_name = 1; // Destination address. @@ -7060,6 +7280,10 @@ message PortMetricsRequest { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // repeated string port_names = 1; message ColumnNames { @@ -7092,6 +7316,10 @@ message PortMetric { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // optional string name = 1; // The state of the connection to the test port location. The format should be the configured @@ -7163,6 +7391,10 @@ message FlowMetricsRequest { // x-constraint: // - /components/schemas/Flow/properties/name // + // + // x-constraint: + // - /components/schemas/Flow/properties/name + // repeated string flow_names = 1; // A list of metric groups used to disaggregate flows. A metric group that does not @@ -7206,6 +7438,10 @@ message FlowMetricGroupRequest { // x-constraint: // - /components/schemas/Flow/properties/packet/../metric_group // + // + // x-constraint: + // - /components/schemas/Flow/properties/packet/../metric_group + // // default = [] repeated string ingress = 2; @@ -7215,6 +7451,10 @@ message FlowMetricGroupRequest { // x-constraint: // - /components/schemas/Flow/properties/egress/../metric_group // + // + // x-constraint: + // - /components/schemas/Flow/properties/egress/../metric_group + // // default = [] repeated string egress = 3; } @@ -7323,6 +7563,10 @@ message Bgpv4MetricsRequest { // x-constraint: // - /components/schemas/Bgp.V4peer/properties/name // + // + // x-constraint: + // - /components/schemas/Bgp.V4peer/properties/name + // repeated string peer_names = 1; message ColumnNames { @@ -7441,6 +7685,10 @@ message Bgpv6MetricsRequest { // x-constraint: // - /components/schemas/Bgp.V6peer/properties/name // + // + // x-constraint: + // - /components/schemas/Bgp.V6peer/properties/name + // repeated string peer_names = 1; message ColumnNames { @@ -7559,6 +7807,10 @@ message IsisMetricsRequest { // x-constraint: // - /components/schemas/Device.IsisRouter/properties/name // + // + // x-constraint: + // - /components/schemas/Device.IsisRouter/properties/name + // repeated string router_names = 1; message ColumnNames { @@ -7692,6 +7944,10 @@ message LagMetricsRequest { // x-constraint: // - /components/schemas/Lag/properties/name // + // + // x-constraint: + // - /components/schemas/Lag/properties/name + // repeated string lag_names = 1; message ColumnNames { @@ -7722,6 +7978,10 @@ message LagMetric { // x-constraint: // - /components/schemas/Lag/properties/name // + // + // x-constraint: + // - /components/schemas/Lag/properties/name + // optional string name = 1; message OperStatus { @@ -7772,6 +8032,10 @@ message LacpMetricsRequest { // x-constraint: // - /components/schemas/Lag/properties/name // + // + // x-constraint: + // - /components/schemas/Lag/properties/name + // repeated string lag_names = 1; // The names of LAG members (ports) for which LACP metrics to be returned. An empty @@ -7780,6 +8044,10 @@ message LacpMetricsRequest { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // repeated string lag_member_port_names = 2; message ColumnNames { @@ -7896,6 +8164,10 @@ message LldpMetricsRequest { // x-constraint: // - /components/schemas/Lldp/properties/name // + // + // x-constraint: + // - /components/schemas/Lldp/properties/name + // repeated string lldp_names = 1; message ColumnNames { @@ -7958,6 +8230,10 @@ message RsvpMetricsRequest { // x-constraint: // - /components/schemas/Device.Rsvp/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Rsvp/properties/name + // repeated string router_names = 1; message ColumnNames { @@ -8189,6 +8465,10 @@ message Neighborsv4StatesRequest { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name + // repeated string ethernet_names = 1; } @@ -8218,6 +8498,10 @@ message Neighborsv6StatesRequest { // x-constraint: // - /components/schemas/Device.Ethernet/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Ethernet/properties/name + // repeated string ethernet_names = 1; } @@ -8248,6 +8532,11 @@ message BgpPrefixStateRequest { // - /components/schemas/Bgp.V4Peer/properties/name // - /components/schemas/Bgp.V6Peer/properties/name // + // + // x-constraint: + // - /components/schemas/Bgp.V4Peer/properties/name + // - /components/schemas/Bgp.V6Peer/properties/name + // repeated string bgp_peer_names = 1; message PrefixFilters { @@ -8479,6 +8768,10 @@ message IsisLspsStateRequest { // x-constraint: // - /components/schemas/Device.IsisRouter/properties/name // + // + // x-constraint: + // - /components/schemas/Device.IsisRouter/properties/name + // repeated string isis_router_names = 1; } @@ -8792,6 +9085,10 @@ message LldpNeighborsStateRequest { // x-constraint: // - /components/schemas/Lldp/properties/name // + // + // x-constraint: + // - /components/schemas/Lldp/properties/name + // repeated string lldp_names = 1; // Specify the neighbors for which information will be returned. If empty or missing @@ -8950,6 +9247,10 @@ message RsvpLspsStateRequest { // x-constraint: // - /components/schemas/Device.Rsvp/properties/name // + // + // x-constraint: + // - /components/schemas/Device.Rsvp/properties/name + // repeated string rsvp_router_names = 1; } @@ -9084,6 +9385,10 @@ message CaptureRequest { // x-constraint: // - /components/schemas/Port/properties/name // + // + // x-constraint: + // - /components/schemas/Port/properties/name + // // required = true string port_name = 1; } @@ -16803,6 +17108,8 @@ service Openapi { rpc SetControlAction(SetControlActionRequest) returns (SetControlActionResponse); // 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 @@ -16810,32 +17117,46 @@ service Openapi { rpc SetTransmitState(SetTransmitStateRequest) returns (SetTransmitStateResponse); // 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. rpc SetLinkState(SetLinkStateRequest) returns (SetLinkStateResponse); // 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. rpc SetCaptureState(SetCaptureStateRequest) returns (SetCaptureStateResponse); // 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. rpc UpdateFlows(UpdateFlowsRequest) returns (UpdateFlowsResponse); // 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. rpc SetRouteState(SetRouteStateRequest) returns (SetRouteStateResponse); // 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. rpc SendPing(SendPingRequest) returns (SendPingResponse); // 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. rpc SetProtocolState(SetProtocolStateRequest) returns (SetProtocolStateResponse); // 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. rpc SetDeviceState(SetDeviceStateRequest) returns (SetDeviceStateResponse); // Description missing in models diff --git a/gosnappi/otg/otg_grpc.pb.go b/gosnappi/otg/otg_grpc.pb.go index 15f0022e..895fdc22 100644 --- a/gosnappi/otg/otg_grpc.pb.go +++ b/gosnappi/otg/otg_grpc.pb.go @@ -40,6 +40,8 @@ type OpenapiClient interface { SetControlAction(ctx context.Context, in *SetControlActionRequest, opts ...grpc.CallOption) (*SetControlActionResponse, error) // 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 @@ -47,32 +49,46 @@ type OpenapiClient interface { SetTransmitState(ctx context.Context, in *SetTransmitStateRequest, opts ...grpc.CallOption) (*SetTransmitStateResponse, error) // 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(ctx context.Context, in *SetLinkStateRequest, opts ...grpc.CallOption) (*SetLinkStateResponse, error) // 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(ctx context.Context, in *SetCaptureStateRequest, opts ...grpc.CallOption) (*SetCaptureStateResponse, error) // 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(ctx context.Context, in *UpdateFlowsRequest, opts ...grpc.CallOption) (*UpdateFlowsResponse, error) // 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(ctx context.Context, in *SetRouteStateRequest, opts ...grpc.CallOption) (*SetRouteStateResponse, error) // 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(ctx context.Context, in *SendPingRequest, opts ...grpc.CallOption) (*SendPingResponse, error) // 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(ctx context.Context, in *SetProtocolStateRequest, opts ...grpc.CallOption) (*SetProtocolStateResponse, error) // 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(ctx context.Context, in *SetDeviceStateRequest, opts ...grpc.CallOption) (*SetDeviceStateResponse, error) // Description missing in models @@ -266,6 +282,8 @@ type OpenapiServer interface { SetControlAction(context.Context, *SetControlActionRequest) (*SetControlActionResponse, error) // 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 @@ -273,32 +291,46 @@ type OpenapiServer interface { SetTransmitState(context.Context, *SetTransmitStateRequest) (*SetTransmitStateResponse, error) // 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(context.Context, *SetLinkStateRequest) (*SetLinkStateResponse, error) // 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(context.Context, *SetCaptureStateRequest) (*SetCaptureStateResponse, error) // 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(context.Context, *UpdateFlowsRequest) (*UpdateFlowsResponse, error) // 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(context.Context, *SetRouteStateRequest) (*SetRouteStateResponse, error) // 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(context.Context, *SendPingRequest) (*SendPingResponse, error) // 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(context.Context, *SetProtocolStateRequest) (*SetProtocolStateResponse, error) // 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(context.Context, *SetDeviceStateRequest) (*SetDeviceStateResponse, error) // Description missing in models