osc client missing extra-dhcp-opts option

Bug #1742187 reported by Thomas Morin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Medium
Unassigned
python-openstackclient
Fix Released
Undecided
Unassigned

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

description: updated
Revision history for this message
Hirofumi Ichihara (ichihara-hirofumi) wrote :

This is bug in openstack client. I'm not sure that we need to fix neutron client.

Changed in neutron:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :

This is stuck...
Can be used to move this issue forward
https://review.openstack.org/#/c/356263/

Revision history for this message
Brian Haley (brian-haley) wrote :

Seems to be fixed in 68809fce5a1073659001a87aee4f9407affd5d0e

Changed in neutron:
status: Confirmed → Invalid
Changed in python-openstackclient:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.