← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1271948] Re: Unexpected response in agent-list command with --field param

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => juno-1

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

Title:
  Unexpected response in agent-list command with --field param

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  On Neutron Havana (server and client). If you read the documentation
  about agent-list command you can read this:

  # neutron help agent-list
  ...
    -F FIELD, --field FIELD
                          specify the field(s) to be returned by server, can be
                          repeated
  ...

  I think there is a problem with "--field FIELD" parameter. If you try
  this command you obtain an unexpected response:

  # neutron agent-list --field agent_type
  'alive'

  I think 'alive' is NOT the expected response for that request. I was
  expected to obtain something like:

  # neutron agent-list --field agent_type
  +--------------------+
  | agent_type         |
  +--------------------+
  | DHCP agent         |
  | Open vSwitch agent |
  +--------------------+

  But, if you try to obtain "alive" field, the response is the expected
  one.

  # neutron agent-list --field alive
  +-------+
  | alive |
  +-------+
  | :-)   |
  | :-)   |
  +-------+

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


References