← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1432373] Re: Horizon: port create missing options

 

All features except extra-dhcp-opts are already supported or covered by other bugs, so marking this as Invalid.
if extra-dhcp-opts support is needed, it should be filed as a separate specific bug.

** Changed in: horizon
    Milestone: next => None

** Changed in: horizon
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1432373

Title:
  Horizon: port create missing options

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  nova-manage version: 2015.1

  In Horizon, port create is missing options compared to CLI:
       --tenant-id
       --mac-address
       --fixed-ip
       --security-group
       --no-security-groups
       --extra-dhcp-opt

  *************************************************************************
  ubuntu@trusty1:~/devstack$ neutron help port-create
  usage: neutron port-create [-h] [-f {html,json,shell,table,value,yaml}]
                             [-c COLUMN] [--max-width <integer>]
                             [--prefix PREFIX] [--request-format {json,xml}]
                             [--tenant-id TENANT_ID] [--name NAME]
                             [--admin-state-down] [--mac-address MAC_ADDRESS]
                             [--device-id DEVICE_ID]
                             [--fixed-ip subnet_id=SUBNET,ip_address=IP_ADDR]
                             [--security-group SECURITY_GROUP | --no-security-groups]
                             [--extra-dhcp-opt EXTRA_DHCP_OPTS]
                             NETWORK

  Create a port for a given tenant.

  positional arguments:
    NETWORK               Network ID or name this port belongs to.

  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.
    --name NAME           Name of this port.
    --admin-state-down    Set admin state up to false.
    --mac-address MAC_ADDRESS
                          MAC address of this port.
    --device-id DEVICE_ID
                          Device ID of this port.
    --fixed-ip subnet_id=SUBNET,ip_address=IP_ADDR
                          Desired IP and/or subnet for this port:
                          subnet_id=<name_or_id>,ip_address=<ip>.You can repeat
                          this option.
    --security-group SECURITY_GROUP
                          Security group associated with the port. You can
                          repeat this option.
    --no-security-groups  Associate no security groups with the port.
    --extra-dhcp-opt EXTRA_DHCP_OPTS
                          Extra dhcp options to be assigned to this port:
                          opt_name=<dhcp_option_name>,opt_value=<value>. You can
                          repeat this option.

  *************************************************************************

  Steps to repro:
  1. Log in Horizon as admin.
  2. At left panel, Admin->System->Networks.
  3. Select a network by clicking on the Network Name.
  4. Ports->Create Port

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


References