diff options
Diffstat (limited to 'scripts/cxmanage')
-rwxr-xr-x | scripts/cxmanage | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/cxmanage b/scripts/cxmanage index 897724a..f2b7fc6 100755 --- a/scripts/cxmanage +++ b/scripts/cxmanage @@ -44,7 +44,8 @@ from cxmanage_api.cli.commands.mc import mcreset_command from cxmanage_api.cli.commands.fw import fwupdate_command, fwinfo_command from cxmanage_api.cli.commands.sensor import sensor_command from cxmanage_api.cli.commands.fabric import ipinfo_command, macaddrs_command, \ - partition_config_command, uplink_info_command, uplinks_command + partition_config_command, uplink_info_command, uplinks_command, \ + networks_command from cxmanage_api.cli.commands.config import config_reset_command, \ config_boot_command, config_pxe_command from cxmanage_api.cli.commands.info import info_command @@ -283,6 +284,11 @@ def build_parser(): help='get uplinks') uplinks.set_defaults(func=uplinks_command) + # networks command + networks = subparsers.add_parser('networks', + help='get networks') + networks.set_defaults(func=networks_command) + # config command config = subparsers.add_parser('config', help='configure hosts') config_subs = config.add_subparsers() |