Skip to content

Commit

Permalink
Update auto generated go snappi
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Feb 1, 2024
1 parent d6186d8 commit 347dad0
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
18 changes: 9 additions & 9 deletions gosnappi/gosnappi.go
Original file line number Diff line number Diff line change
@@ -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.
*
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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()
}
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion gosnappi/otg/otg.pb.go
Original file line number Diff line number Diff line change
@@ -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.
//
Expand Down
2 changes: 1 addition & 1 deletion gosnappi/otg/otg.proto
Original file line number Diff line number Diff line change
@@ -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.
*
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion snappi/docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions snappi/snappi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Open Traffic Generator API 0.13.7
# Open Traffic Generator API 1.0.0
# License: MIT

import importlib
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 347dad0

Please sign in to comment.