← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1453671] [NEW] --port_security_enabled flag does not exist in neutron net/port-create/update help

 

Public bug reported:

When printing  help of  neutron net-create  / neutron net-update / neutron port-create / neutron port-update 
there is no explanation of new flag : --port_security_enabled.

version:

# rpm -qa |grep neutron
python-neutronclient-2.3.11-1.el7.noarch
openstack-neutron-2015.1.0-1.el7.noarch
openstack-neutron-ml2-2015.1.0-1.el7.noarch
openstack-neutron-lbaas-2015.1.0-1.el7.noarch
openstack-neutron-openvswitch-2015.1.0-1.el7.noarch
python-neutron-2015.1.0-1.el7.noarch
openstack-neutron-common-2015.1.0-1.el7.noarch
python-neutron-lbaas-2015.1.0-1.el7.noarch


example of help output(It is relevant to all the commands I mentioned up) : 
# neutron help net-create 
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>]
                          NAME

Create a network for a given tenant.

positional arguments:
  NAME                  Name of network to create.

optional arguments:
  -h, --help            show this help message and exit
  --request-format {json,xml}
                        The XML or JSON request format.
  --tenant-id TENANT_ID
                        The owner tenant ID.
  --admin-state-down    Set admin state up to false.
  --shared              Set the network as shared.
  --router:external     Set network as external, it is only available for
                        admin
  --provider:network_type <network_type>
                        The physical mechanism by which the virtual network is
                        implemented.
  --provider:physical_network <physical_network_name>
                        Name of the physical network over which the virtual
                        network is implemented.
  --provider:segmentation_id <segmentation_id>
                        VLAN ID for VLAN networks or tunnel-id for GRE/VXLAN
                        networks.

output formatters:
  output formatter options

  -f {shell,table,value}, --format {shell,table,value}
                        the output format, defaults to table
  -c COLUMN, --column COLUMN
                        specify the column(s) to include, can be repeated

table formatter:
  --max-width <integer>
                        Maximum display width, 0 to disable

shell formatter:
  a format a UNIX shell can parse (variable="value")

  --prefix PREFIX       add a prefix to all variable names

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  --port_security_enabled flag  does not exist in neutron net/port-
  create/update help

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  When printing  help of  neutron net-create  / neutron net-update / neutron port-create / neutron port-update 
  there is no explanation of new flag : --port_security_enabled.

  version:

  # rpm -qa |grep neutron
  python-neutronclient-2.3.11-1.el7.noarch
  openstack-neutron-2015.1.0-1.el7.noarch
  openstack-neutron-ml2-2015.1.0-1.el7.noarch
  openstack-neutron-lbaas-2015.1.0-1.el7.noarch
  openstack-neutron-openvswitch-2015.1.0-1.el7.noarch
  python-neutron-2015.1.0-1.el7.noarch
  openstack-neutron-common-2015.1.0-1.el7.noarch
  python-neutron-lbaas-2015.1.0-1.el7.noarch

  
  example of help output(It is relevant to all the commands I mentioned up) : 
  # neutron help net-create 
  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>]
                            NAME

  Create a network for a given tenant.

  positional arguments:
    NAME                  Name of network to create.

  optional arguments:
    -h, --help            show this help message and exit
    --request-format {json,xml}
                          The XML or JSON request format.
    --tenant-id TENANT_ID
                          The owner tenant ID.
    --admin-state-down    Set admin state up to false.
    --shared              Set the network as shared.
    --router:external     Set network as external, it is only available for
                          admin
    --provider:network_type <network_type>
                          The physical mechanism by which the virtual network is
                          implemented.
    --provider:physical_network <physical_network_name>
                          Name of the physical network over which the virtual
                          network is implemented.
    --provider:segmentation_id <segmentation_id>
                          VLAN ID for VLAN networks or tunnel-id for GRE/VXLAN
                          networks.

  output formatters:
    output formatter options

    -f {shell,table,value}, --format {shell,table,value}
                          the output format, defaults to table
    -c COLUMN, --column COLUMN
                          specify the column(s) to include, can be repeated

  table formatter:
    --max-width <integer>
                          Maximum display width, 0 to disable

  shell formatter:
    a format a UNIX shell can parse (variable="value")

    --prefix PREFIX       add a prefix to all variable names

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


Follow ups

References