← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1346121] Re: Help text for neutron router-create lists 'distributed' as a positional argument

 

The fix has been reverted. There's a new patch/bug around this subject:
https://bugs.launchpad.net/neutron/+bug/1347960

** Project changed: neutron => python-neutronclient

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

Title:
  Help text for neutron router-create lists 'distributed' as a
  positional argument

Status in Python client library for Neutron:
  In Progress

Bug description:
  With the following patch merged:
  https://review.openstack.org/#/c/106147/

  neutron router-create -h
  usage: neutron router-create [-h] [-f {shell,table,value}] [-c COLUMN]
                               [--variable VARIABLE] [--prefix PREFIX]
                               [--request-format {json,xml}]
                               [--tenant-id TENANT_ID] [--admin-state-down]
                               NAME

  Create a router for a given tenant.

  positional arguments:
    NAME                  Name of router to create.
    distributed           Create a distributed router.

  The distributed flag doesn't appear in the usage block, but appears as
  a positional argument when it is not.

  neutron router-create r1 distributed doesn't work, while neutron
  router-create r1 --distributed does.

  To summarize:
  distributed shouldn't appear in the positional arguments list, but should instead appear in the usage block.

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


References