dragonflow dhcp_app don't support VM pxe boot

Bug #1585170 reported by reedhe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
Fix Released
Medium
rajiv

Bug Description

please support this feature through extra_dhcp_opts

Li Ma (nick-ma-z)
Changed in dragonflow:
importance: Undecided → Medium
Revision history for this message
Yuli (stremovsky) wrote :

We can add this feature to wishlist.

Is it ok ?

rajiv (rajiv-kumar)
Changed in dragonflow:
assignee: nobody → rajiv (rajiv-kumar)
Revision history for this message
Omer Anson (omer-anson) wrote :
Changed in dragonflow:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to dragonflow (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/475167

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Related fix proposed to branch: master
Review: https://review.openstack.org/475718

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to dragonflow (master)

Reviewed: https://review.openstack.org/320398
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=976ce08a5a9f33cce08eb49793570e8af3528244
Submitter: Jenkins
Branch: master

commit 976ce08a5a9f33cce08eb49793570e8af3528244
Author: Eyal Leshem <email address hidden>
Date: Mon Jun 12 18:02:18 2017 +0300

    move extra-dhcp-options from list to dictonary

    This commit only change dhcp-options from list to dictonary that map between TAG to value -
    for enable usable search when answering to the dchp "Parmater Request List"

    Change-Id: Id03fae3908fcd43c03ff18641694a2a218f4ea11
    Related-bug: #1585170

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to dragonflow (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/477438

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Related fix proposed to branch: master
Review: https://review.openstack.org/478949

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Related fix proposed to branch: master
Review: https://review.openstack.org/480231

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to dragonflow (master)

Reviewed: https://review.openstack.org/478949
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=ab76ca52f0d12938ed89681a614c7d7f4205947b
Submitter: Jenkins
Branch: master

commit ab76ca52f0d12938ed89681a614c7d7f4205947b
Author: Eyal Leshem <email address hidden>
Date: Thu Jun 29 17:34:40 2017 +0300

    spec for extra-dhcp-opts

    Related-bug: #1585170

    Change-Id: I2556d75fdf922c3c1a4705bae7c426d32fd98a50

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/477438
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=492487b65e82358540b6f520fe2d152d2671d568
Submitter: Jenkins
Branch: master

commit 492487b65e82358540b6f520fe2d152d2671d568
Author: Eyal Leshem <email address hidden>
Date: Mon Jun 26 10:31:55 2017 +0300

    Create field type of DhcpOptsDictField

    As json accept only string as keys - when creating int -> string field type
    The key will serialize as "str" and the validate will fail when desrialzing it.

    so change the extra-dhcp option to DhcpOptsDictField
    (Field type that represent dhcp-opt - according to neutron extra_dhcp_opts spec)

    In addtion add unit-test that validate the serialization and de-serialization..

    Related-bug: #1585170

    Change-Id: I9b24e2968bbef09f5b6b630f6e7a1ba49f3bfef7

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/475167
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=27cae35c5cf7d15f32b2be4f77a7635c475a05b8
Submitter: Jenkins
Branch: master

commit 27cae35c5cf7d15f32b2be4f77a7635c475a05b8
Author: Eyal Leshem <email address hidden>
Date: Thu Jun 15 17:10:26 2017 +0300

    Move add-option part when receiving DHCP-packet to function

    (also add unit test that create fake-l2-port
    and send fake-dhcp-packet to this port and check that
    we are getting an answer

    Change-Id: Id787bfac497fab0bec767871557f7aacb45fcef1
    Related-bug: #1585170

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/475718
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=f62f82148164b00489984de56e2268d68b8621e9
Submitter: Jenkins
Branch: master

commit f62f82148164b00489984de56e2268d68b8621e9
Author: Eyal Leshem <email address hidden>
Date: Thu Jun 15 17:10:26 2017 +0300

    Answer to "Parameter Request List" option in DHCP app

    According to RFC 2131 the dhcp-server should try to answer
    as many of the requested parameters as possible.

    This commit implements this behaviour by answering according
    to the extra-dhcp-opts that defined by neutron.
    (https://specs.openstack.org/openstack/neutron-specs/specs/api/extra_dhcp_options__extra-dhcp-opt_.html)

    This should enable PXE boot - by answering the "TFTP server name"
    and "Bootfile name" according to the user configuration

    Change-Id: If513ece70d409cabb71a46f14cd8b1e8c8325e1c
    Related-bug: #1585170

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/480231
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=a923b9d1609ff0f068d409094df7639b37cbde76
Submitter: Jenkins
Branch: master

commit a923b9d1609ff0f068d409094df7639b37cbde76
Author: Eyal Leshem <email address hidden>
Date: Tue Jul 4 16:45:56 2017 +0300

    Add support for dnsmsq and dhcpd dhcp-option-names

    Change-Id: Ic00449abfba9f1104876b1d68d61d7023d7348c4
    Related-bug: #1585170

Omer Anson (omer-anson)
Changed in dragonflow:
status: In Progress → 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.