Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix-auto-bug' into fix-auto-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vhowdhur committed Jun 25, 2024
2 parents 25a27d9 + fee43e4 commit 2a56aaa
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 58 deletions.
104 changes: 52 additions & 52 deletions gosnappi/gosnappi.go
Original file line number Diff line number Diff line change
Expand Up @@ -23425,10 +23425,10 @@ type MetricsResponse interface {
setChoice(value MetricsResponseChoiceEnum) MetricsResponse
// HasChoice checks if Choice has been set in MetricsResponse
HasChoice() bool
// getter for Dhcpv4Server to set choice.
Dhcpv4Server()
// getter for Dhcpv4Client to set choice.
Dhcpv4Client()
// getter for Dhcpv4Server to set choice.
Dhcpv4Server()
// PortMetrics returns MetricsResponsePortMetricIterIter, set in MetricsResponse
PortMetrics() MetricsResponsePortMetricIter
// FlowMetrics returns MetricsResponseFlowMetricIterIter, set in MetricsResponse
Expand Down Expand Up @@ -23487,16 +23487,16 @@ func (obj *metricsResponse) Choice() MetricsResponseChoiceEnum {
return MetricsResponseChoiceEnum(obj.obj.Choice.Enum().String())
}

// getter for Dhcpv4Server to set choice
func (obj *metricsResponse) Dhcpv4Server() {
obj.setChoice(MetricsResponseChoice.DHCPV4_SERVER)
}

// getter for Dhcpv4Client to set choice
func (obj *metricsResponse) Dhcpv4Client() {
obj.setChoice(MetricsResponseChoice.DHCPV4_CLIENT)
}

// getter for Dhcpv4Server to set choice
func (obj *metricsResponse) Dhcpv4Server() {
obj.setChoice(MetricsResponseChoice.DHCPV4_SERVER)
}

// description is TBD
// Choice returns a string
func (obj *metricsResponse) HasChoice() bool {
Expand Down Expand Up @@ -400635,16 +400635,16 @@ type BgpAttributesCommunity interface {
Choice() BgpAttributesCommunityChoiceEnum
// setChoice assigns BgpAttributesCommunityChoiceEnum provided by user to BgpAttributesCommunity
setChoice(value BgpAttributesCommunityChoiceEnum) BgpAttributesCommunity
// getter for NoAdvertised to set choice.
NoAdvertised()
// getter for LlgrStale to set choice.
LlgrStale()
// getter for NoLlgr to set choice.
NoLlgr()
// getter for NoExport to set choice.
NoExport()
// getter for NoAdvertised to set choice.
NoAdvertised()
// getter for NoExportSubconfed to set choice.
NoExportSubconfed()
// getter for LlgrStale to set choice.
LlgrStale()
// CustomCommunity returns BgpAttributesCustomCommunity, set in BgpAttributesCommunity.
// BgpAttributesCustomCommunity is user defined COMMUNITY attribute containing 2 byte AS and custom 2 byte value defined by the administrator of the domain.
CustomCommunity() BgpAttributesCustomCommunity
Expand Down Expand Up @@ -400679,16 +400679,6 @@ func (obj *bgpAttributesCommunity) Choice() BgpAttributesCommunityChoiceEnum {
return BgpAttributesCommunityChoiceEnum(obj.obj.Choice.Enum().String())
}

// getter for NoAdvertised to set choice
func (obj *bgpAttributesCommunity) NoAdvertised() {
obj.setChoice(BgpAttributesCommunityChoice.NO_ADVERTISED)
}

// getter for LlgrStale to set choice
func (obj *bgpAttributesCommunity) LlgrStale() {
obj.setChoice(BgpAttributesCommunityChoice.LLGR_STALE)
}

// getter for NoLlgr to set choice
func (obj *bgpAttributesCommunity) NoLlgr() {
obj.setChoice(BgpAttributesCommunityChoice.NO_LLGR)
Expand All @@ -400699,11 +400689,21 @@ func (obj *bgpAttributesCommunity) NoExport() {
obj.setChoice(BgpAttributesCommunityChoice.NO_EXPORT)
}

// getter for NoAdvertised to set choice
func (obj *bgpAttributesCommunity) NoAdvertised() {
obj.setChoice(BgpAttributesCommunityChoice.NO_ADVERTISED)
}

// getter for NoExportSubconfed to set choice
func (obj *bgpAttributesCommunity) NoExportSubconfed() {
obj.setChoice(BgpAttributesCommunityChoice.NO_EXPORT_SUBCONFED)
}

// getter for LlgrStale to set choice
func (obj *bgpAttributesCommunity) LlgrStale() {
obj.setChoice(BgpAttributesCommunityChoice.LLGR_STALE)
}

func (obj *bgpAttributesCommunity) setChoice(value BgpAttributesCommunityChoiceEnum) BgpAttributesCommunity {
intValue, ok := otg.BgpAttributesCommunity_Choice_Enum_value[string(value)]
if !ok {
Expand Down Expand Up @@ -422981,14 +422981,14 @@ type BgpAttributesSrPolicyExplicitNullPolicy interface {
setChoice(value BgpAttributesSrPolicyExplicitNullPolicyChoiceEnum) BgpAttributesSrPolicyExplicitNullPolicy
// HasChoice checks if Choice has been set in BgpAttributesSrPolicyExplicitNullPolicy
HasChoice() bool
// getter for Unknown to set choice.
Unknown()
// getter for PushIpv4 to set choice.
PushIpv4()
// getter for DonotPush to set choice.
DonotPush()
// getter for PushIpv6 to set choice.
PushIpv6()
// getter for PushIpv4 to set choice.
PushIpv4()
// getter for Unknown to set choice.
Unknown()
// getter for PushIpv4AndIpv6 to set choice.
PushIpv4AndIpv6()
}
Expand All @@ -423014,6 +423014,16 @@ func (obj *bgpAttributesSrPolicyExplicitNullPolicy) Choice() BgpAttributesSrPoli
return BgpAttributesSrPolicyExplicitNullPolicyChoiceEnum(obj.obj.Choice.Enum().String())
}

// getter for Unknown to set choice
func (obj *bgpAttributesSrPolicyExplicitNullPolicy) Unknown() {
obj.setChoice(BgpAttributesSrPolicyExplicitNullPolicyChoice.UNKNOWN)
}

// getter for PushIpv4 to set choice
func (obj *bgpAttributesSrPolicyExplicitNullPolicy) PushIpv4() {
obj.setChoice(BgpAttributesSrPolicyExplicitNullPolicyChoice.PUSH_IPV4)
}

// getter for DonotPush to set choice
func (obj *bgpAttributesSrPolicyExplicitNullPolicy) DonotPush() {
obj.setChoice(BgpAttributesSrPolicyExplicitNullPolicyChoice.DONOT_PUSH)
Expand All @@ -423024,16 +423034,6 @@ func (obj *bgpAttributesSrPolicyExplicitNullPolicy) PushIpv6() {
obj.setChoice(BgpAttributesSrPolicyExplicitNullPolicyChoice.PUSH_IPV6)
}

// getter for PushIpv4 to set choice
func (obj *bgpAttributesSrPolicyExplicitNullPolicy) PushIpv4() {
obj.setChoice(BgpAttributesSrPolicyExplicitNullPolicyChoice.PUSH_IPV4)
}

// getter for Unknown to set choice
func (obj *bgpAttributesSrPolicyExplicitNullPolicy) Unknown() {
obj.setChoice(BgpAttributesSrPolicyExplicitNullPolicyChoice.UNKNOWN)
}

// getter for PushIpv4AndIpv6 to set choice
func (obj *bgpAttributesSrPolicyExplicitNullPolicy) PushIpv4AndIpv6() {
obj.setChoice(BgpAttributesSrPolicyExplicitNullPolicyChoice.PUSH_IPV4_AND_IPV6)
Expand Down Expand Up @@ -428848,12 +428848,12 @@ 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 LocalProtectionDesired to set choice.
LocalProtectionDesired()
// getter for SeStyleDesired to set choice.
SeStyleDesired()
// getter for LabelRecordingDesired to set choice.
LabelRecordingDesired()
}

type FlowRSVPLspTunnelFlagChoiceEnum string
Expand All @@ -428873,19 +428873,19 @@ 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 LocalProtectionDesired to set choice
func (obj *flowRSVPLspTunnelFlag) LocalProtectionDesired() {
obj.setChoice(FlowRSVPLspTunnelFlagChoice.LOCAL_PROTECTION_DESIRED)
}

// getter for SeStyleDesired to set choice
func (obj *flowRSVPLspTunnelFlag) SeStyleDesired() {
obj.setChoice(FlowRSVPLspTunnelFlagChoice.SE_STYLE_DESIRED)
}

// getter for LocalProtectionDesired to set choice
func (obj *flowRSVPLspTunnelFlag) LocalProtectionDesired() {
obj.setChoice(FlowRSVPLspTunnelFlagChoice.LOCAL_PROTECTION_DESIRED)
// getter for LabelRecordingDesired to set choice
func (obj *flowRSVPLspTunnelFlag) LabelRecordingDesired() {
obj.setChoice(FlowRSVPLspTunnelFlagChoice.LABEL_RECORDING_DESIRED)
}

// description is TBD
Expand Down Expand Up @@ -464096,10 +464096,10 @@ type FlowRSVPRecordRouteIPv4Flag interface {
setChoice(value FlowRSVPRecordRouteIPv4FlagChoiceEnum) FlowRSVPRecordRouteIPv4Flag
// HasChoice checks if Choice has been set in FlowRSVPRecordRouteIPv4Flag
HasChoice() bool
// getter for LocalProtectionAvailable to set choice.
LocalProtectionAvailable()
// getter for LocalProtectionInUse to set choice.
LocalProtectionInUse()
// getter for LocalProtectionAvailable to set choice.
LocalProtectionAvailable()
}

type FlowRSVPRecordRouteIPv4FlagChoiceEnum string
Expand All @@ -464117,16 +464117,16 @@ func (obj *flowRSVPRecordRouteIPv4Flag) Choice() FlowRSVPRecordRouteIPv4FlagChoi
return FlowRSVPRecordRouteIPv4FlagChoiceEnum(obj.obj.Choice.Enum().String())
}

// getter for LocalProtectionAvailable to set choice
func (obj *flowRSVPRecordRouteIPv4Flag) LocalProtectionAvailable() {
obj.setChoice(FlowRSVPRecordRouteIPv4FlagChoice.LOCAL_PROTECTION_AVAILABLE)
}

// getter for LocalProtectionInUse to set choice
func (obj *flowRSVPRecordRouteIPv4Flag) LocalProtectionInUse() {
obj.setChoice(FlowRSVPRecordRouteIPv4FlagChoice.LOCAL_PROTECTION_IN_USE)
}

// getter for LocalProtectionAvailable to set choice
func (obj *flowRSVPRecordRouteIPv4Flag) LocalProtectionAvailable() {
obj.setChoice(FlowRSVPRecordRouteIPv4FlagChoice.LOCAL_PROTECTION_AVAILABLE)
}

// description is TBD
// Choice returns a string
func (obj *flowRSVPRecordRouteIPv4Flag) HasChoice() bool {
Expand Down
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
--prefer-binary
PyYAML
grpcio-tools~=1.59.0 ; python_version > '3.6'
grpcio~=1.59.0 ; python_version > '3.6'
grpcio-tools~=1.35.0 ; python_version <= '3.6'
grpcio~=1.59.0 ; python_version > '3.6'
grpcio-tools~=1.59.0 ; python_version > '3.6'
grpcio~=1.35.0 ; python_version <= '3.6'
protobuf~=4.24.4 ; python_version > '3.6'
protobuf~=3.15.0 ; python_version <= '3.6'
requests
urllib3
PyYAML
protobuf~=3.15.0 ; python_version <= '3.6'
protobuf~=4.24.4 ; python_version > '3.6'
semantic_version
urllib3

0 comments on commit 2a56aaa

Please sign in to comment.