Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dhcpv6' into dhcpv6
Browse files Browse the repository at this point in the history
  • Loading branch information
alakendu committed Aug 7, 2024
2 parents b8d9ac9 + f284afa commit b90e368
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 61 deletions.
114 changes: 57 additions & 57 deletions gosnappi/gosnappi.go
Original file line number Diff line number Diff line change
Expand Up @@ -24819,12 +24819,12 @@ type MetricsResponse interface {
HasChoice() bool
// getter for Dhcpv4Server to set choice.
Dhcpv4Server()
// getter for Dhcpv4Client to set choice.
Dhcpv4Client()
// getter for Dhcpv6Server to set choice.
Dhcpv6Server()
// getter for Dhcpv6Client to set choice.
Dhcpv6Client()
// getter for Dhcpv4Client to set choice.
Dhcpv4Client()
// PortMetrics returns MetricsResponsePortMetricIterIter, set in MetricsResponse
PortMetrics() MetricsResponsePortMetricIter
// FlowMetrics returns MetricsResponseFlowMetricIterIter, set in MetricsResponse
Expand Down Expand Up @@ -24896,11 +24896,6 @@ 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 Dhcpv6Server to set choice
func (obj *metricsResponse) Dhcpv6Server() {
obj.setChoice(MetricsResponseChoice.DHCPV6_SERVER)
Expand All @@ -24911,6 +24906,11 @@ func (obj *metricsResponse) Dhcpv6Client() {
obj.setChoice(MetricsResponseChoice.DHCPV6_CLIENT)
}

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

// description is TBD
// Choice returns a string
func (obj *metricsResponse) HasChoice() bool {
Expand Down Expand Up @@ -110627,16 +110627,16 @@ type Dhcpv6OptionsOptionsRequest interface {
setChoice(value Dhcpv6OptionsOptionsRequestChoiceEnum) Dhcpv6OptionsOptionsRequest
// HasChoice checks if Choice has been set in Dhcpv6OptionsOptionsRequest
HasChoice() bool
// getter for VendorInformation to set choice.
VendorInformation()
// getter for Sztp to set choice.
Sztp()
// getter for NameServers to set choice.
NameServers()
// getter for BootfileUrl to set choice.
BootfileUrl()
// getter for Sztp to set choice.
Sztp()
// getter for VendorInformation to set choice.
VendorInformation()
// getter for Fqdn to set choice.
Fqdn()
// getter for NameServers to set choice.
NameServers()
// Custom returns Dhcpv6OptionsCustom, set in Dhcpv6OptionsOptionsRequest.
// Dhcpv6OptionsCustom is the Custom option is used to provide a not well known option in the message between a client and a server.
Custom() Dhcpv6OptionsCustom
Expand Down Expand Up @@ -110671,31 +110671,31 @@ func (obj *dhcpv6OptionsOptionsRequest) Choice() Dhcpv6OptionsOptionsRequestChoi
return Dhcpv6OptionsOptionsRequestChoiceEnum(obj.obj.Choice.Enum().String())
}

// getter for VendorInformation to set choice
func (obj *dhcpv6OptionsOptionsRequest) VendorInformation() {
obj.setChoice(Dhcpv6OptionsOptionsRequestChoice.VENDOR_INFORMATION)
// getter for BootfileUrl to set choice
func (obj *dhcpv6OptionsOptionsRequest) BootfileUrl() {
obj.setChoice(Dhcpv6OptionsOptionsRequestChoice.BOOTFILE_URL)
}

// getter for Sztp to set choice
func (obj *dhcpv6OptionsOptionsRequest) Sztp() {
obj.setChoice(Dhcpv6OptionsOptionsRequestChoice.SZTP)
}

// getter for NameServers to set choice
func (obj *dhcpv6OptionsOptionsRequest) NameServers() {
obj.setChoice(Dhcpv6OptionsOptionsRequestChoice.NAME_SERVERS)
}

// getter for BootfileUrl to set choice
func (obj *dhcpv6OptionsOptionsRequest) BootfileUrl() {
obj.setChoice(Dhcpv6OptionsOptionsRequestChoice.BOOTFILE_URL)
// getter for VendorInformation to set choice
func (obj *dhcpv6OptionsOptionsRequest) VendorInformation() {
obj.setChoice(Dhcpv6OptionsOptionsRequestChoice.VENDOR_INFORMATION)
}

// getter for Fqdn to set choice
func (obj *dhcpv6OptionsOptionsRequest) Fqdn() {
obj.setChoice(Dhcpv6OptionsOptionsRequestChoice.FQDN)
}

// getter for NameServers to set choice
func (obj *dhcpv6OptionsOptionsRequest) NameServers() {
obj.setChoice(Dhcpv6OptionsOptionsRequestChoice.NAME_SERVERS)
}

// The Option Request option is used to identify a list of options in a message between a client and a server. The option code is 6. - Vendor_specific information option, requested by clients for vendor-specific informations from servers. - DNS Recursive Name Server Option, requested by clients to get the list ofIPv6 addresses of DNS recursive name
// servers to which DNS queries may be sent by the client resolver in order of preference.
// - Client FQDN option - indicates whether the client or the DHCP server should update DNS with the AAAA record
Expand Down Expand Up @@ -418842,14 +418842,14 @@ type BgpAttributesCommunity interface {
Choice() BgpAttributesCommunityChoiceEnum
// setChoice assigns BgpAttributesCommunityChoiceEnum provided by user to BgpAttributesCommunity
setChoice(value BgpAttributesCommunityChoiceEnum) BgpAttributesCommunity
// getter for NoExportSubconfed to set choice.
NoExportSubconfed()
// getter for LlgrStale to set choice.
LlgrStale()
// getter for NoLlgr to set choice.
NoLlgr()
// getter for LlgrStale to set choice.
LlgrStale()
// getter for NoExport to set choice.
NoExport()
// getter for NoExportSubconfed to set choice.
NoExportSubconfed()
// getter for NoAdvertised to set choice.
NoAdvertised()
// CustomCommunity returns BgpAttributesCustomCommunity, set in BgpAttributesCommunity.
Expand Down Expand Up @@ -418886,26 +418886,26 @@ func (obj *bgpAttributesCommunity) Choice() BgpAttributesCommunityChoiceEnum {
return BgpAttributesCommunityChoiceEnum(obj.obj.Choice.Enum().String())
}

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

// 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)
}

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

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

// getter for NoAdvertised to set choice
func (obj *bgpAttributesCommunity) NoAdvertised() {
obj.setChoice(BgpAttributesCommunityChoice.NO_ADVERTISED)
Expand Down Expand Up @@ -441190,14 +441190,14 @@ type BgpAttributesSrPolicyExplicitNullPolicy interface {
HasChoice() bool
// getter for Unknown to set choice.
Unknown()
// getter for PushIpv6 to set choice.
PushIpv6()
// getter for PushIpv4 to set choice.
PushIpv4()
// getter for PushIpv4AndIpv6 to set choice.
PushIpv4AndIpv6()
// getter for DonotPush to set choice.
DonotPush()
// getter for PushIpv6 to set choice.
PushIpv6()
}

type BgpAttributesSrPolicyExplicitNullPolicyChoiceEnum string
Expand Down Expand Up @@ -441226,11 +441226,6 @@ func (obj *bgpAttributesSrPolicyExplicitNullPolicy) Unknown() {
obj.setChoice(BgpAttributesSrPolicyExplicitNullPolicyChoice.UNKNOWN)
}

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

// getter for PushIpv4 to set choice
func (obj *bgpAttributesSrPolicyExplicitNullPolicy) PushIpv4() {
obj.setChoice(BgpAttributesSrPolicyExplicitNullPolicyChoice.PUSH_IPV4)
Expand All @@ -441246,6 +441241,11 @@ func (obj *bgpAttributesSrPolicyExplicitNullPolicy) DonotPush() {
obj.setChoice(BgpAttributesSrPolicyExplicitNullPolicyChoice.DONOT_PUSH)
}

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

// The Explicit NULL Label policy.
// Choice returns a string
func (obj *bgpAttributesSrPolicyExplicitNullPolicy) HasChoice() bool {
Expand Down Expand Up @@ -447055,12 +447055,12 @@ type FlowRSVPLspTunnelFlag interface {
setChoice(value FlowRSVPLspTunnelFlagChoiceEnum) FlowRSVPLspTunnelFlag
// HasChoice checks if Choice has been set in FlowRSVPLspTunnelFlag
HasChoice() bool
// getter for SeStyleDesired to set choice.
SeStyleDesired()
// getter for LocalProtectionDesired to set choice.
LocalProtectionDesired()
// getter for LabelRecordingDesired to set choice.
LabelRecordingDesired()
// getter for SeStyleDesired to set choice.
SeStyleDesired()
}

type FlowRSVPLspTunnelFlagChoiceEnum string
Expand All @@ -447080,6 +447080,11 @@ func (obj *flowRSVPLspTunnelFlag) Choice() FlowRSVPLspTunnelFlagChoiceEnum {
return FlowRSVPLspTunnelFlagChoiceEnum(obj.obj.Choice.Enum().String())
}

// 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)
Expand All @@ -447090,11 +447095,6 @@ 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 {
Expand Down Expand Up @@ -482303,10 +482303,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 @@ -482324,16 +482324,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
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
--prefer-binary
grpcio-tools~=1.59.0 ; python_version > '3.6'
grpcio~=1.35.0 ; python_version <= '3.6'
PyYAML
grpcio~=1.59.0 ; python_version > '3.6'
grpcio-tools~=1.59.0 ; python_version > '3.6'
grpcio-tools~=1.35.0 ; python_version <= '3.6'
PyYAML
grpcio~=1.35.0 ; python_version <= '3.6'
requests
protobuf~=3.15.0 ; python_version <= '3.6'
protobuf~=4.24.4 ; python_version > '3.6'
semantic_version
urllib3
semantic_version

0 comments on commit b90e368

Please sign in to comment.