]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
DHCP agent: add 'bridged' property to interface driver
authorNeil Jerram <Neil.Jerram@metaswitch.com>
Mon, 27 Jul 2015 13:26:59 +0000 (14:26 +0100)
committerNeil Jerram <Neil.Jerram@metaswitch.com>
Wed, 26 Aug 2015 15:55:26 +0000 (16:55 +0100)
commit298d225e2962d41ae08f2777facc938a84bf4ef9
treee8339e3715da78746b9561cdd41a88deef9167da
parent12aa832ede1e27e68d055fedf699de53ec57746d
DHCP agent: add 'bridged' property to interface driver

This allows a custom interface driver to use the reference DHCP agent
to provide DHCP service to unbridged TAP interfaces, by overriding the
definition of the property as follows.

    @property
    def bridged(self):
        return False

Partial-Bug: #1486649
Change-Id: I2c6bbd9df6833a65088173b021790eb23e64616b
neutron/agent/linux/dhcp.py
neutron/agent/linux/interface.py
neutron/tests/unit/agent/linux/test_dhcp.py