b6a2919b61
Names are easier to use for humans, so let's allow them. The actual name -> UUID convertion happens during validation and its result is cached for each interface instance. This change will allow recreating a network without changing Ironic configuration or setting a network name in advance (e.g. by an installer). Note that when names are used, an administrator is responsible for ensuring that no other networks have the same name (names are not unique in Neutron). Change-Id: I9905bdc3f778310ba191b2bed6eb11bad11a2846 Closes-Bug: #1614938
38 lines
1.1 KiB
ReStructuredText
38 lines
1.1 KiB
ReStructuredText
.. _configure-cleaning:
|
|
|
|
Configure the Bare Metal service for cleaning
|
|
=============================================
|
|
|
|
.. note:: If you configured the Bare Metal service to use `Node cleaning`_
|
|
(which is enabled by default), you will need to set the
|
|
``cleaning_network`` configuration option.
|
|
|
|
.. _`Node cleaning`: http://docs.openstack.org/developer/ironic/deploy/cleaning.html#node-cleaning
|
|
|
|
#. Note the network UUID (the `id` field) of the network you created in
|
|
:ref:`configure-networking` or another network you created for cleaning:
|
|
|
|
.. code-block:: console
|
|
|
|
$ neutron net-list
|
|
|
|
#. Configure the cleaning network UUID via the ``cleaning_network``
|
|
option in the Bare Metal service configuration file
|
|
(``/etc/ironic/ironic.conf``). In the following, replace ``NETWORK_UUID``
|
|
with the UUID you noted in the previous step:
|
|
|
|
.. code-block:: ini
|
|
|
|
[neutron]
|
|
cleaning_network = NETWORK_UUID
|
|
|
|
#. Restart the Bare Metal service's ironic-conductor:
|
|
|
|
.. code-block:: console
|
|
|
|
Fedora/RHEL7/CentOS7:
|
|
sudo systemctl restart openstack-ironic-conductor
|
|
|
|
Ubuntu:
|
|
sudo service ironic-conductor restart
|