← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1424474] [NEW] agent-update: wrong help message for AGENT arg "ID or name of agent to update"

 

Public bug reported:

agent-update command takes only ID to specify an agent, but the help
message says "ID or name".

(.venv)ubuntu@dev07:~/python-neutronclient (master)$ neutron help agent-update
usage: neutron agent-update [-h] [--request-format {json,xml}]
                            [--admin-state-down] [--description DESCRIPTION]
                            AGENT

Updates the admin status and description for a specified agent.

positional arguments:
  AGENT                 ID or name of agent to update.

optional arguments:
  -h, --help            show this help message and exit
  --request-format {json,xml}
                        The XML or JSON request format.
  --admin-state-down    Set admin state up of the agent to false.
  --description DESCRIPTION
                        Description for the agent.

** Affects: python-neutronclient
     Importance: Medium
     Assignee: Akihiro Motoki (amotoki)
         Status: In Progress

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

Title:
  agent-update: wrong help message for AGENT arg "ID or name of agent to
  update"

Status in Python client library for Neutron:
  In Progress

Bug description:
  agent-update command takes only ID to specify an agent, but the help
  message says "ID or name".

  (.venv)ubuntu@dev07:~/python-neutronclient (master)$ neutron help agent-update
  usage: neutron agent-update [-h] [--request-format {json,xml}]
                              [--admin-state-down] [--description DESCRIPTION]
                              AGENT

  Updates the admin status and description for a specified agent.

  positional arguments:
    AGENT                 ID or name of agent to update.

  optional arguments:
    -h, --help            show this help message and exit
    --request-format {json,xml}
                          The XML or JSON request format.
    --admin-state-down    Set admin state up of the agent to false.
    --description DESCRIPTION
                          Description for the agent.

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


Follow ups

References