Skip to content

Commit

Permalink
Merge pull request #105 from DMTF/DHCPv6-Operating-Modes
Browse files Browse the repository at this point in the history
Updated setnet in rf_manager_config.py to allow for the 'Enabled' value for DHCPv6 control
  • Loading branch information
mraineri authored Jul 7, 2023
2 parents 6019329 + b36048f commit be64ca6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ usage: rf_manager_config.py setnet [-h] [--id ID] [--ipv4address IPV4ADDRESS]
[--dhcpv4 {On,Off}]
[--ipv6addresses IPV6ADDRESSES [IPV6ADDRESSES ...]]
[--ipv6gateways IPV6GATEWAYS [IPV6GATEWAYS ...]]
[--dhcpv6 {Stateful,Stateless,Disabled}]
[--dhcpv6 {Stateful,Stateless,Disabled,Enabled}]
[--vlan {On,Off}] [--vlanid VLANID]
[--vlanpriority VLANPRIORITY]
Expand All @@ -360,7 +360,7 @@ optional arguments:
--ipv6gateways IPV6GATEWAYS [IPV6GATEWAYS ...], -ipv6gateways IPV6GATEWAYS [IPV6GATEWAYS ...]
The static IPv6 default gateways to set with prefix
length
--dhcpv6 {Stateful,Stateless,Disabled}, -dhcpv6 {Stateful,Stateless,Disabled}
--dhcpv6 {Stateful,Stateless,Disabled,Enabled}, -dhcpv6 {Stateful,Stateless,Disabled,Enabled}
The DHCPv6 configuration to set
--vlan {On,Off}, -vlan {On,Off}
The VLAN enabled configuration to set
Expand Down
2 changes: 1 addition & 1 deletion scripts/rf_manager_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
setnet_argget.add_argument( "--dhcpv4", "-dhcpv4", type = str, help = "The DHCPv4 configuration to set", choices = [ "On", "Off" ] )
setnet_argget.add_argument( "--ipv6addresses", "-ipv6addresses", type = str, nargs = '+', help = "The static IPv6 addresses to set with prefix length" )
setnet_argget.add_argument( "--ipv6gateways", "-ipv6gateways", type = str, nargs = '+', help = "The static IPv6 default gateways to set with prefix length" )
setnet_argget.add_argument( "--dhcpv6", "-dhcpv6", type = str, help = "The DHCPv6 configuration to set", choices = [ "Stateful", "Stateless", "Disabled" ] )
setnet_argget.add_argument( "--dhcpv6", "-dhcpv6", type = str, help = "The DHCPv6 configuration to set", choices = [ "Stateful", "Stateless", "Disabled", "Enabled" ] )
setnet_argget.add_argument( "--vlan", "-vlan", type = str, help = "The VLAN enabled configuration to set", choices = [ "On", "Off" ] )
setnet_argget.add_argument( "--vlanid", "-vlanid", type = int, help = "The VLAN ID to set" )
setnet_argget.add_argument( "--vlanpriority", "-vlanpriority", type = int, help = "The VLAN priority to set" )
Expand Down

0 comments on commit be64ca6

Please sign in to comment.