diff options
author | Steven Hardy <shardy@redhat.com> | 2016-01-07 22:26:28 +0000 |
---|---|---|
committer | Steven Hardy <shardy@redhat.com> | 2016-07-01 14:34:39 +0100 |
commit | 8a0f5efc1aaff8b3904b73b9b0606bbc4c049815 (patch) | |
tree | ddc1cfbafc38c416c3314ba7284238463612ed64 /environments/manage-firewall.yaml | |
parent | 30a11c81b16b6dde9dc80800f8c807421ae1f3fa (diff) |
Add example of creating per-node os-net-config mappings
Adds an example of proving a mapping file for all nodes, then
extracting the data for each node based on a lookup of the mac address.
Some assumptions are made (e.g the hard-coded reference to eth0), but
it should be easily modified to suit specific environments.
Usage via an enviroment file will look like:
resource_registry:
OS::TripleO::NodeUserData: os-net-config-mappings.yaml
parameter_defaults:
NetConfigDataLookup:
host1:
nic1: "00:c8:7c:e6:f0:2e"
host2:
nic1: "00:18:7d:99:0c:b6"
Note this version requires liberty heat in the undercloud due to the
use of a new str_replace feature to serialize the json parameter.
Change-Id: I7da9c9d8805e676a383e888a7d77f05d3432ab12
Diffstat (limited to 'environments/manage-firewall.yaml')
0 files changed, 0 insertions, 0 deletions