← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1451391] Re: --router:external=True syntax is invalid

 

** Project changed: neutron => python-neutronclient

** Changed in: python-neutronclient
   Importance: Undecided => Low

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

Title:
  --router:external=True syntax is invalid

Status in Python client library for Neutron:
  New

Bug description:
  Kilo syntax is not backward compatibility:

  [root@puma14 ~(keystone_admin)]# neutron net-create public --provider:network_type vlan --provider:physical_network physnet --provider:segmentation_id 193 --router:external=True
  usage: neutron net-create [-h] [-f {shell,table,value}] [-c COLUMN]
                            [--max-width <integer>] [--prefix PREFIX]
                            [--request-format {json,xml}]
                            [--tenant-id TENANT_ID] [--admin-state-down]
                            [--shared] [--router:external]
                            [--provider:network_type <network_type>]
                            [--provider:physical_network <physical_network_name>]
                            [--provider:segmentation_id <segmentation_id>]
                            [--vlan-transparent {True,False}]
                            NAME
  neutron net-create: error: argument --router:external: ignored explicit argument u'True'

  Current syntax supports:
  [root@puma14 ~(keystone_admin)]# neutron net-create public --provider:network_type vlan --provider:physical_network physnet --provider:segmentation_id 193 --router:external
  Created a new network:
  +---------------------------+--------------------------------------+
  | Field                     | Value                                |
  +---------------------------+--------------------------------------+
  | admin_state_up            | True                                 |
  | id                        | df7af5c2-c84b-4991-b370-f8a854c29a80 |
  | mtu                       | 0                                    |
  | name                      | public                               |
  | provider:network_type     | vlan                                 |
  | provider:physical_network | physnet                              |
  | provider:segmentation_id  | 193                                  |
  | router:external           | True                                 |
  | shared                    | False                                |
  | status                    | ACTIVE                               |
  | subnets                   |                                      |
  | tenant_id                 | 7e8736e9aba546e98be4a71a92d67a77     |
  +---------------------------+--------------------------------------+

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


References