]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Enable adding new tag with options
authorTan Lin <tan.lin.good@gmail.com>
Thu, 23 Oct 2014 11:00:22 +0000 (19:00 +0800)
committerLin Tan <tan.lin.good@gmail.com>
Thu, 15 Jan 2015 01:23:01 +0000 (09:23 +0800)
commit434665eb785a3abec654b6dd0b57ac2c78b0ced8
tree0155f8b29b80115773be54b4deeda7c1ca10df8a
parent4e776e87a32746e5f7a6d0d7771a70fcb491df64
Enable adding new tag with options

It is useful to add a new tag when update the options
with dnsmasq.
We have a use case in Ironic to support ipxe with dnsmasq.
It looks like this:
dhcp_opts.append({'opt_name': 'tag:!ipxe,bootfile-name',
                  'opt_value': CONF.pxe.pxe_bootfile_name})

Change-Id: Idfaae9e8f8b7582f988e9da8707ef7d4823c6ff4
Closes-Bug: #1384577
neutron/agent/linux/dhcp.py
neutron/tests/unit/test_linux_dhcp.py