[Bug 1589432] Re: neutron cli puts the required parameters into option arguments group
Akihiro Motoki
1589432 at bugs.launchpad.net
Tue Apr 18 23:32:00 UTC 2017
neutron CLI is deprecated and there is no plan to change the existing
command lines except bug fixes.
It is a CLI development decision how to implement requires parameters
(positional vs option style) from various point of view. The bug
reported does not harm any features and we do not change the current
behavior anymore.
** Changed in: python-neutronclient
Status: Incomplete => Won't Fix
--
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:
Won't Fix
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