puppet-ironic/releasenotes/notes/add_net_name_to_uuid_transformation-81a91758991935d0.yaml
Vasyl Saienko 8a80e6fb46 Add ability to translate net name to UUID
This patch adds ability to translate network name to UUID when
setting options in ironic_config.

For example to translate network name to uuid for provision_network,
cleaning_network:

ironic_config {
  'neutron/cleaning_network': value => 'baremetal', transform_to => 'net_uuid';
  'neutron/provisioning_network': value => 'baremetal', transform_to => 'net_uuid';
}

or by defining ::ironic::conductor class with the following variables:

class {'::ironic::conductor':
  cleaning_network_name     => 'cleaning_network',
  provisioning_network_name => 'provisioning_network'
}

Change-Id: I7ee49c6fec7fcbddbd06e401272e83325c8fdc73
2017-03-27 10:45:11 +03:00

8 lines
354 B
YAML

---
features:
- Add the ability to specify a name string for the provisioning_network in
ironic_config using the transform_to argument.
Add ``cleaning_network_name`` and ``provisioning_network_name`` options to
::ironic::conductor class. Theirs names will be automatically converted to
UUIDs and appropriate config options will be set.