← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1616416] [NEW] The result of qos-bandwidth-limit-rule-show is different from help

 

Public bug reported:

In master branch
I add '-F id' in command qos-bandwidth-limit-rule-show, the prompt information is:show_bandwidth_limit_rule() got an unexpected keyword argument 'fields',  but '-F' is in help informations. 

neutron qos-bandwidth-limit-rule-show  c26581b0-de0d-4cf7-b14a-6cb3af3a209a policy1 -F id
show_bandwidth_limit_rule() got an unexpected keyword argument 'fields'

but '-F' in help informations:

[root@devstack162 devstack]# neutron help qos-bandwidth-limit-rule-show
usage: neutron qos-bandwidth-limit-rule-show [-h]
                                             [-f {json,shell,table,value,yaml}]
                                             [-c COLUMN]
                                             [--max-width <integer>]
                                             [--noindent] [--prefix PREFIX]
                                             [--request-format {json}] [-D]
                                             [-F FIELD]
                                             BANDWIDTH_LIMIT_RULE QOS_POLICY

Show information about the given qos bandwidth limit rule.

positional arguments:
  BANDWIDTH_LIMIT_RULE  ID of bandwidth_limit_rule to look up.
  QOS_POLICY            ID or name of the QoS policy.

optional arguments:
  -h, --help            show this help message and exit
  --request-format {json}
                        DEPRECATED! Only JSON request format is supported.
  -D, --show-details    Show detailed information.
  -F FIELD, --field FIELD
                        Specify the field(s) to be returned by server. You can
                        repeat this option.

** Affects: neutron
     Importance: Undecided
     Assignee: QunyingRan (ran-qunying)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => QunyingRan (ran-qunying)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1616416

Title:
  The result of qos-bandwidth-limit-rule-show is different from help

Status in neutron:
  New

Bug description:
  In master branch
  I add '-F id' in command qos-bandwidth-limit-rule-show, the prompt information is:show_bandwidth_limit_rule() got an unexpected keyword argument 'fields',  but '-F' is in help informations. 

  neutron qos-bandwidth-limit-rule-show  c26581b0-de0d-4cf7-b14a-6cb3af3a209a policy1 -F id
  show_bandwidth_limit_rule() got an unexpected keyword argument 'fields'

  but '-F' in help informations:

  [root@devstack162 devstack]# neutron help qos-bandwidth-limit-rule-show
  usage: neutron qos-bandwidth-limit-rule-show [-h]
                                               [-f {json,shell,table,value,yaml}]
                                               [-c COLUMN]
                                               [--max-width <integer>]
                                               [--noindent] [--prefix PREFIX]
                                               [--request-format {json}] [-D]
                                               [-F FIELD]
                                               BANDWIDTH_LIMIT_RULE QOS_POLICY

  Show information about the given qos bandwidth limit rule.

  positional arguments:
    BANDWIDTH_LIMIT_RULE  ID of bandwidth_limit_rule to look up.
    QOS_POLICY            ID or name of the QoS policy.

  optional arguments:
    -h, --help            show this help message and exit
    --request-format {json}
                          DEPRECATED! Only JSON request format is supported.
    -D, --show-details    Show detailed information.
    -F FIELD, --field FIELD
                          Specify the field(s) to be returned by server. You can
                          repeat this option.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1616416/+subscriptions


Follow ups