From 347dad03f0f0ffcb780e15087749191fa687967f Mon Sep 17 00:00:00 2001 From: Github Actions Bot Date: Thu, 1 Feb 2024 09:48:49 +0000 Subject: [PATCH] Update auto generated go snappi --- gosnappi/gosnappi.go | 18 +++++++++--------- gosnappi/otg/otg.pb.go | 2 +- gosnappi/otg/otg.proto | 2 +- requirements.txt | 10 +++++----- snappi/docs/openapi.yaml | 2 +- snappi/snappi.py | 4 ++-- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/gosnappi/gosnappi.go b/gosnappi/gosnappi.go index 37df082e..43ee69f1 100644 --- a/gosnappi/gosnappi.go +++ b/gosnappi/gosnappi.go @@ -1,4 +1,4 @@ -/* Open Traffic Generator API 0.13.7 +/* Open Traffic Generator API 1.0.0 * Open Traffic Generator API defines a model-driven, vendor-neutral and standard * interface for emulating layer 2-7 network devices and generating test traffic. * @@ -250,7 +250,7 @@ type Api interface { func (api *gosnappiApi) GetLocalVersion() Version { if api.versionMeta.localVersion == nil { - api.versionMeta.localVersion = NewVersion().SetApiSpecVersion("0.13.7").SetSdkVersion("0.13.7") + api.versionMeta.localVersion = NewVersion().SetApiSpecVersion("1.0.0").SetSdkVersion("0.13.7") } return api.versionMeta.localVersion @@ -388807,10 +388807,10 @@ type FlowRSVPLspTunnelFlag interface { setChoice(value FlowRSVPLspTunnelFlagChoiceEnum) FlowRSVPLspTunnelFlag // HasChoice checks if Choice has been set in FlowRSVPLspTunnelFlag HasChoice() bool - // getter for LabelRecordingDesired to set choice. - LabelRecordingDesired() // getter for SeStyleDesired to set choice. SeStyleDesired() + // getter for LabelRecordingDesired to set choice. + LabelRecordingDesired() // getter for LocalProtectionDesired to set choice. LocalProtectionDesired() } @@ -388832,16 +388832,16 @@ func (obj *flowRSVPLspTunnelFlag) Choice() FlowRSVPLspTunnelFlagChoiceEnum { return FlowRSVPLspTunnelFlagChoiceEnum(obj.obj.Choice.Enum().String()) } -// getter for LabelRecordingDesired to set choice -func (obj *flowRSVPLspTunnelFlag) LabelRecordingDesired() { - obj.setChoice(FlowRSVPLspTunnelFlagChoice.LABEL_RECORDING_DESIRED) -} - // getter for SeStyleDesired to set choice func (obj *flowRSVPLspTunnelFlag) SeStyleDesired() { obj.setChoice(FlowRSVPLspTunnelFlagChoice.SE_STYLE_DESIRED) } +// getter for LabelRecordingDesired to set choice +func (obj *flowRSVPLspTunnelFlag) LabelRecordingDesired() { + obj.setChoice(FlowRSVPLspTunnelFlagChoice.LABEL_RECORDING_DESIRED) +} + // getter for LocalProtectionDesired to set choice func (obj *flowRSVPLspTunnelFlag) LocalProtectionDesired() { obj.setChoice(FlowRSVPLspTunnelFlagChoice.LOCAL_PROTECTION_DESIRED) diff --git a/gosnappi/otg/otg.pb.go b/gosnappi/otg/otg.pb.go index 18457872..7cad86a1 100644 --- a/gosnappi/otg/otg.pb.go +++ b/gosnappi/otg/otg.pb.go @@ -1,4 +1,4 @@ -// Open Traffic Generator API 0.13.7 +// Open Traffic Generator API 1.0.0 // Open Traffic Generator API defines a model-driven, vendor-neutral and standard // interface for emulating layer 2-7 network devices and generating test traffic. // diff --git a/gosnappi/otg/otg.proto b/gosnappi/otg/otg.proto index 9624d104..a6e1f544 100644 --- a/gosnappi/otg/otg.proto +++ b/gosnappi/otg/otg.proto @@ -1,4 +1,4 @@ -/* Open Traffic Generator API 0.13.7 +/* Open Traffic Generator API 1.0.0 * Open Traffic Generator API defines a model-driven, vendor-neutral and standard * interface for emulating layer 2-7 network devices and generating test traffic. * diff --git a/requirements.txt b/requirements.txt index c8048c00..bf651a7e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ --prefer-binary PyYAML -protobuf~=3.15.0 ; python_version <= '3.6' -protobuf~=4.23.3 ; python_version > '3.6' +requests grpcio-tools~=1.54.2 ; python_version > '3.6' -grpcio~=1.35.0 ; python_version <= '3.6' -grpcio~=1.54.2 ; python_version > '3.6' grpcio-tools~=1.35.0 ; python_version <= '3.6' -requests +grpcio~=1.54.2 ; python_version > '3.6' +grpcio~=1.35.0 ; python_version <= '3.6' +protobuf~=3.15.0 ; python_version <= '3.6' +protobuf~=4.23.3 ; python_version > '3.6' urllib3 semantic_version diff --git a/snappi/docs/openapi.yaml b/snappi/docs/openapi.yaml index d2fd20dc..e847dd42 100644 --- a/snappi/docs/openapi.yaml +++ b/snappi/docs/openapi.yaml @@ -7,7 +7,7 @@ info: \ issue](https://github.com/open-traffic-generator/models/issues) in the models\ \ repository\n- [fork the models repository](https://github.com/open-traffic-generator/models)\ \ and submit a PR" - version: 0.13.7 + version: 1.0.0 contact: url: https://github.com/open-traffic-generator/models license: diff --git a/snappi/snappi.py b/snappi/snappi.py index 2c6a1aea..4dcd7aef 100644 --- a/snappi/snappi.py +++ b/snappi/snappi.py @@ -1,4 +1,4 @@ -# Open Traffic Generator API 0.13.7 +# Open Traffic Generator API 1.0.0 # License: MIT import importlib @@ -130328,7 +130328,7 @@ class Api(object): def __init__(self, **kwargs): self._version_meta = self.version() - self._version_meta.api_spec_version = "0.13.7" + self._version_meta.api_spec_version = "1.0.0" self._version_meta.sdk_version = "0.13.7" self._version_check = kwargs.get("version_check") if self._version_check is None: