[Bug 1589432] Re: neutron cli puts the required parameters into option arguments group
Armando Migliaccio
1589432 at bugs.launchpad.net
Wed Aug 24 01:17:00 UTC 2016
Ryan should give a look at this, please bear in mind that we are in the
process of switching to the openstack client and as such we may favor
fixing issues in the OSC plugin rather than native neutronclient, which
I expect to be signaled for deprecation as soon as Ocata opens up.
** Also affects: python-neutronclient
Importance: Undecided
Status: New
** Changed in: python-neutronclient
Status: New => Incomplete
** Changed in: python-neutronclient (Ubuntu)
Status: Triaged => Invalid
** Changed in: python-neutronclient
Assignee: (unassigned) => Ryan Tidwell (ryan-tidwell)
--
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 openstack-manuals:
Invalid
Status in python-neutronclient:
Incomplete
Status in python-neutronclient package in Ubuntu:
Invalid
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/openstack-manuals/+bug/1589432/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list