diff --git a/gosnappi/gosnappi.go b/gosnappi/gosnappi.go index ccea7d30..a1707140 100644 --- a/gosnappi/gosnappi.go +++ b/gosnappi/gosnappi.go @@ -400635,16 +400635,16 @@ type BgpAttributesCommunity interface { Choice() BgpAttributesCommunityChoiceEnum // setChoice assigns BgpAttributesCommunityChoiceEnum provided by user to BgpAttributesCommunity setChoice(value BgpAttributesCommunityChoiceEnum) BgpAttributesCommunity - // 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 NoExport to set choice. + NoExport() // getter for LlgrStale to set choice. LlgrStale() + // getter for NoExportSubconfed to set choice. + NoExportSubconfed() + // getter for NoLlgr to set choice. + NoLlgr() // 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 @@ -400679,9 +400679,9 @@ func (obj *bgpAttributesCommunity) Choice() BgpAttributesCommunityChoiceEnum { return BgpAttributesCommunityChoiceEnum(obj.obj.Choice.Enum().String()) } -// getter for NoLlgr to set choice -func (obj *bgpAttributesCommunity) NoLlgr() { - obj.setChoice(BgpAttributesCommunityChoice.NO_LLGR) +// getter for NoAdvertised to set choice +func (obj *bgpAttributesCommunity) NoAdvertised() { + obj.setChoice(BgpAttributesCommunityChoice.NO_ADVERTISED) } // getter for NoExport to set choice @@ -400689,9 +400689,9 @@ 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 LlgrStale to set choice +func (obj *bgpAttributesCommunity) LlgrStale() { + obj.setChoice(BgpAttributesCommunityChoice.LLGR_STALE) } // getter for NoExportSubconfed to set choice @@ -400699,9 +400699,9 @@ 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) +// getter for NoLlgr to set choice +func (obj *bgpAttributesCommunity) NoLlgr() { + obj.setChoice(BgpAttributesCommunityChoice.NO_LLGR) } func (obj *bgpAttributesCommunity) setChoice(value BgpAttributesCommunityChoiceEnum) BgpAttributesCommunity { @@ -422983,12 +422983,12 @@ type BgpAttributesSrPolicyExplicitNullPolicy interface { 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 PushIpv4AndIpv6 to set choice. PushIpv4AndIpv6() } @@ -423019,11 +423019,6 @@ 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) @@ -423034,6 +423029,11 @@ 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 PushIpv4AndIpv6 to set choice func (obj *bgpAttributesSrPolicyExplicitNullPolicy) PushIpv4AndIpv6() { obj.setChoice(BgpAttributesSrPolicyExplicitNullPolicyChoice.PUSH_IPV4_AND_IPV6) @@ -428850,10 +428850,10 @@ type FlowRSVPLspTunnelFlag interface { HasChoice() bool // getter for LocalProtectionDesired to set choice. LocalProtectionDesired() - // getter for SeStyleDesired to set choice. - SeStyleDesired() // getter for LabelRecordingDesired to set choice. LabelRecordingDesired() + // getter for SeStyleDesired to set choice. + SeStyleDesired() } type FlowRSVPLspTunnelFlagChoiceEnum string @@ -428878,16 +428878,16 @@ 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 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) +} + // description is TBD // Choice returns a string func (obj *flowRSVPLspTunnelFlag) HasChoice() bool { diff --git a/requirements.txt b/requirements.txt index c6851ce7..0616d0df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ --prefer-binary -grpcio-tools~=1.35.0 ; python_version <= '3.6' -grpcio~=1.59.0 ; python_version > '3.6' +protobuf~=4.24.4 ; python_version > '3.6' +protobuf~=3.15.0 ; python_version <= '3.6' +requests grpcio-tools~=1.59.0 ; python_version > '3.6' +grpcio~=1.59.0 ; python_version > '3.6' grpcio~=1.35.0 ; python_version <= '3.6' -requests +grpcio-tools~=1.35.0 ; python_version <= '3.6' PyYAML -protobuf~=3.15.0 ; python_version <= '3.6' -protobuf~=4.24.4 ; python_version > '3.6' semantic_version urllib3