[Bug 1589432] Re: neutron cli puts the required parameters into option arguments group

Darek Smigiel 1589432 at bugs.launchpad.net
Thu Jun 9 18:21:51 UTC 2016


** Changed in: python-neutronclient
       Status: New => Confirmed

** Changed in: python-neutronclient
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-neutronclient in Ubuntu.
https://bugs.launchpad.net/bugs/1589432

Title:
  neutron cli puts the required parameters into option arguments group

Status in python-neutronclient:
  Confirmed
Status in python-neutronclient package in Ubuntu:
  Triaged

Bug description:
  In neutron cli, there are many scenario like below, some parameters
  such as --peer-ip and --remote-as are defined as required ones, but
  they are put into optional arguments group. That is wrong.

  usage: neutron bgp-peer-create [-h] [-f {json,shell,table,value,yaml}]
                                 [-c COLUMN] [--max-width <integer>]
                                 [--noindent] [--prefix PREFIX]
                                 [--request-format {json}]
                                 [--tenant-id TENANT_ID] --peer-ip
                                 PEER_IP_ADDRESS --remote-as PEER_REMOTE_AS
                                 [--auth-type PEER_AUTH_TYPE]
                                 [--password AUTH_PASSWORD]
                                 NAME

  Create a BGP Peer.

  positional arguments:
    NAME                  Name of the BGP peer to create.

  optional arguments:
    -h, --help            show this help message and exit
    --request-format {json}
                          DEPRECATED! Only JSON request format is supported.
    --tenant-id TENANT_ID
                          The owner tenant ID.
    --peer-ip PEER_IP_ADDRESS
                          Peer IP address.
    --remote-as PEER_REMOTE_AS
                          Peer AS number. (Integer in [1, 65535] is allowed.)
    --auth-type PEER_AUTH_TYPE
                          Authentication algorithm. Supported algorithms:
                          none(default), md5
    --password AUTH_PASSWORD
                          Authentication password.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-neutronclient/+bug/1589432/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list