This change also introduces two network interfaces:
* flat: Copies current neutron DHCP provider logic to work with
cleaning ports;
* noop: noop interface.
The default value of the network_interface is None, meaning that the
node will be using the default network interface. The default network
interface is determined the following way:
* if [DEFAULT]default_network_interface configuration option is set
(the default for it is None), the specified interface becomes the
default for all nodes;
* if it is not set, 'flat' interface will be used if the deployment
currently uses 'neutron' DHCP provider, otherwise 'noop' interface
will be used.
create_cleaning_ports and delete_cleaning_ports methods of the DHCP
providers are still being called in case of out-of-tree DHCP
providers, but this possibility will be removed completely in the
next release. If the DHCP provider logic is rewritten into a custom
network interface, please remove those methods from the provider, so
that network interface is called instead.
Reviewed: https:/ /review. openstack. org/285852 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=cde11611d93 946a1c79e406dc4 29aa5e742da729
Committed: https:/
Submitter: Jenkins
Branch: master
commit cde11611d93946a 1c79e406dc429aa 5e742da729
Author: Vasyl Saienko <email address hidden>
Date: Tue May 17 13:59:39 2016 +0300
Add network interface to base driver class
This change also introduces two network interfaces:
* flat: Copies current neutron DHCP provider logic to work with
cleaning ports;
* noop: noop interface.
The default value of the network_interface is None, meaning that the
node will be using the default network interface. The default network
interface is determined the following way:
* if [DEFAULT] default_ network_ interface configuration option is set
(the default for it is None), the specified interface becomes the
default for all nodes;
* if it is not set, 'flat' interface will be used if the deployment
currently uses 'neutron' DHCP provider, otherwise 'noop' interface
will be used.
create_ cleaning_ ports and delete_ cleaning_ ports methods of the DHCP
providers are still being called in case of out-of-tree DHCP
providers, but this possibility will be removed completely in the
next release. If the DHCP provider logic is rewritten into a custom
network interface, please remove those methods from the provider, so
that network interface is called instead.
Partial-bug: #1526403 32650ff3e2b9a32 69c3c2d5454
Co-Authored-By: Om Kumar <email address hidden>
Co-Authored-By: Vasyl Saienko <email address hidden>
Co-Authored-By: Sivaramakrishna Garimella <email address hidden>
Co-Authored-By: Vladyslav Drok <email address hidden>
Co-Authored-By: Zhenguo Niu <email address hidden>
Change-Id: I0c26582b6b6e9d