osc client missing extra-dhcp-opts option

Bug #1742187 reported by Thomas Morin on 2018-01-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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]
openstack port create: error: unrecognized arguments: --extra-dhcp-opt

description: updated

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
Reedip (reedip-banerjee) wrote :

This is stuck...
Can be used to move this issue forward

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers