Comment 0 for bug 1610909

Revision history for this message
Nam (namnh) wrote :

"openstack floating ip create" missed two options: --description and --project

When I run "openstack floating ip create --help" command. We have the result like below:

stack@hoainam:~/Documents/python-openstackclient$ openstack floating ip create --help
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
usage: openstack floating ip create [-h] [-f {json,shell,table,value,yaml}]
                                    [-c COLUMN] [--max-width <integer>]
                                    [--noindent] [--prefix PREFIX]
                                    [--subnet <subnet>] [--port <port>]
                                    [--floating-ip-address <floating-ip-address>]
                                    [--fixed-ip-address <fixed-ip-address>]
                                    <network>

Next step, I run "neutron floatingip-create --help" command. We have the result like below:

stack@hoainam:~/Documents/python-openstackclient$ neutron floatingip-create --help
usage: neutron floatingip-create [-h] [-f {json,shell,table,value,yaml}]
                                 [-c COLUMN] [--max-width <integer>]
                                 [--noindent] [--prefix PREFIX]
                                 [--request-format {json}]
                                 [--tenant-id TENANT_ID]
                                 [--description DESCRIPTION]
                                 [--port-id PORT_ID]
                                 [--fixed-ip-address FIXED_IP_ADDRESS]
                                 [--floating-ip-address FLOATING_IP_ADDRESS]
                                 [--subnet SUBNET_ID]
                                 [--dns-domain DNS_DOMAIN]
                                 [--dns-name DNS_NAME]
                                 FLOATING_NETWORK

That mean openstack-client missed two options: --project and --description