Bug 1189663

Summary: [RFE][neutron]: Extra DHCP Options for IPv4 and IPv6
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-neutronAssignee: Sridhar Gaddam <sgaddam>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: chrisw, markmc, nyechiel, oblaut, sgaddam, tfreger, yeylon
Target Milestone: Upstream M2Keywords: FutureFeature
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/neutron/+spec/extra-dhcp-opts-ipv4-ipv6
Whiteboard: upstream_milestone_kilo-2 upstream_definition_approved upstream_status_implemented
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:20:27 UTC Type: ---
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: 1228176, 1232677    
Bug Blocks:    

Description RHOS Integration 2015-02-05 14:23:42 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/neutron/+spec/extra-dhcp-opts-ipv4-ipv6.

Description:

* Currently extra_dhcp_opts only works for DHCPv4 or DHCPv6 address on a
  port without any validation. Since a port can have both IPv4 and IPv6
  address, we need to find a new way to specify extra dhcp options for
  DHCPv4 and DHCPv6, respectively.

* There is no validation of DHCP options, therefore any option name and value
  can be specified for a port. 
  We also need to validate the option name, value and version before applying it.

Specification URL (additional information):

https://github.com/openstack/neutron-specs/blob/master/specs/kilo/extra-dhcp-opts-ipv4-ipv6.rst

Comment 3 Eran Kuris 2015-06-03 09:33:38 UTC
Hi Sridhar ,  I finished to write the test plan and I attached it to "External Trackers". Please take a look for final review and tell me if you have any comments . thanks you very much .

Comment 4 Sridhar Gaddam 2015-06-04 03:21:23 UTC
Hello Eran,

Thanks for incorporating the comments. Some minor comments (which I have emailed you). Please update it accordingly.

Thanks,
--Sridhar.

Comment 5 Eran Kuris 2015-06-04 11:14:01 UTC
The RFE tested and its looked work , there  is a bug that prevent to test one scenario :
 https://bugzilla.redhat.com/show_bug.cgi?id=1228176
 
same in launchpad: 
https://bugs.launchpad.net/neutron/+bug/1456206?comments=all

RFE tested on :OSP 7 build 2015-06-02.1  on rhel 7.1
# rpm -qa |grep neutron 
python-neutron-2015.1.0-1.el7ost.noarch
openstack-neutron-openvswitch-2015.1.0-1.el7ost.noarch
python-neutronclient-2.4.0-1.el7ost.noarch
openstack-neutron-2015.1.0-1.el7ost.noarch
openstack-neutron-ml2-2015.1.0-1.el7ost.noarch
openstack-neutron-lbaas-2015.1.0-3.el7ost.noarch
python-neutron-fwaas-2015.1.0-3.el7ost.noarch
openstack-neutron-fwaas-2015.1.0-3.el7ost.noarch
openstack-neutron-common-2015.1.0-1.el7ost.noarch
python-neutron-lbaas-2015.1.0-3.el7ost.noarch

test run : 
https://tcms.engineering.redhat.com/run/248773/

Comment 7 errata-xmlrpc 2015-08-05 13:20:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548