Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2005991

Summary: Add documentation for extra-dhcp-options
Product: Red Hat OpenStack Reporter: Eduardo Olivares <eolivare>
Component: documentationAssignee: Greg Rakauskas <gregraka>
Status: CLOSED CURRENTRELEASE QA Contact: RHOS Documentation Team <rhos-docs>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: ccamposr, gregraka, jamsmith, skaplons
Target Milestone: asyncKeywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2008170 2008171 (view as bug list) Environment:
Last Closed: 2022-02-07 23:03:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1801271, 2008170, 2008171    

Description Eduardo Olivares 2021-09-20 15:56:56 UTC
Description of problem:
I couldn't find any RHOSP documentation for extra-dhcp-options, which is a feature supported since OSP 7.0 by neutron (see BZ1189663). It is now going to be supported by ML2/OVN on 16.2.1 too (see BZ1801271).

My proposal:
We could add a section similar to the existing section "Chapter 18. Configuring allowed address pairs" within the Networking Guide:
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html-single/networking_guide/index#config-allowed-address-pairs_rhosp-network

We can reuse the description of the Extra DHCP option extension from upstream:
https://docs.openstack.org/api-ref/network/v2/index.html?expanded=create-port-detail#ports

We have to specify that the extra-dhcp-opts can be specified during a port creation or update (there is an issue with openstack CLI at this moment related to port update, see BZ1988438).

We need to mention that the extra-dhcp-opts specified at port creation or update are ignored if DHCP is not enabled on the subnets associated to that port.

We need to specify that no validations are performed when extra-dhcp-opts are set during a port creation or update. The wrong options will not have any effect (they will not be included in the DHCP replies sent to the VM instance), but no API/CLI failure will be raised.

Comment 5 Greg Rakauskas 2022-02-07 23:03:46 UTC
Hi,

The RHOSP 16.2 "Networking Guide" has been updated. Customers can see these
changes here:

   https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html-single/networking_guide/index#assign-dhcp-options-ports_common-network-tasks

--Greg