← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1742187] Re: osc client missing extra-dhcp-opts option

 

** Changed in: python-openstackclient
       Status: New => Fix Released

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

Title:
  osc client missing extra-dhcp-opts option

Status in neutron:
  Invalid
Status in python-openstackclient:
  Fix Released

Bug description:
  An option to use the extra-dhcp-opt API extension seems to be missing
  from the osc plugin for neutron:

  stack@tm-devstack-master-01:~$ openstack extension list |grep extra_dhcp_opt
  | Neutron Extra DHCP options                                                                   | extra_dhcp_opt                  | Extra options configuration for DHCP. For example PXE boot options to DHCP clients can be specified (e.g. tftp-server, server-ip-address, bootfile-name) |

  => the corresponding API extension is enabled in this setup

  stack@tm-devstack-master-01:~$ openstack port create 2>&1 |grep extra

  => nothing about extra dhcp opt in the CLI help

  stack@tm-devstack-master-01:~$ openstack port create --network foo --extra-dhcp-opt opt_name=42,opt_value=55
  usage: openstack port create [-h] [-f {json,shell,table,value,yaml}]
                               [-c COLUMN] [--max-width <integer>] [--fit-width]
                               [--print-empty] [--noindent] [--prefix PREFIX]
                               --network <network> [--description <description>]
                               [--device <device-id>]
                               [--mac-address <mac-address>]
                               [--device-owner <device-owner>]
                               [--vnic-type <vnic-type>] [--host <host-id>]
                               [--dns-name dns-name]
                               [--fixed-ip subnet=<subnet>,ip-address=<ip-address>]
                               [--binding-profile <binding-profile>]
                               [--enable | --disable] [--project <project>]
                               [--project-domain <project-domain>]
                               [--security-group <security-group> | --no-security-group]
                               [--qos-policy <qos-policy>]
                               [--enable-port-security | --disable-port-security]
                               [--allowed-address ip-address=<ip-address>[,mac-address=<mac-address>]]
                               [--tag <tag> | --no-tag]
                               <name>
  openstack port create: error: unrecognized arguments: --extra-dhcp-opt

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



References