Add explicit network configuration to nodes.json 16/4216/1
authorTodd Malsbary <todd.malsbary@intel.com>
Mon, 26 Apr 2021 20:20:43 +0000 (13:20 -0700)
committerTodd Malsbary <todd.malsbary@intel.com>
Mon, 26 Apr 2021 23:43:58 +0000 (16:43 -0700)
commit31a860f56b53eb51a7dc4189e6959a004733115e
tree1df440bfaba390c2ea9e1105616b022b7f47a483
parent250d4db0014929adb499372a866cf45a47450681
Add explicit network configuration to nodes.json

A "net" section is added to nodes.json to provide the value of the
networkData field to the created BareMetalHost resource.  This allows
static configuration of a given host's interface, for example.

Due to limitations with the networkData field, all interfaces must now
be explicitly listed.  Previously, dhclient was run against all
interfaces on the host and gateway and DNS information was provided
via the PROVIDER_NETWORK variables in user_config.sh.  Now that
information must be provided in nodes.json.

Issue-ID: ICN-575
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Icbf29856a0e1209bd1bcfe7da563f8e6cc1057cd
README.md
deploy/metal3-vm/.gitignore
deploy/metal3-vm/03_launch_mgmt_cluster.sh
deploy/metal3-vm/lib/common.sh
deploy/metal3-vm/vm-setup/roles/libvirt/templates/ironic_nodes.json.j2
deploy/metal3/scripts/01_metal3.sh
deploy/metal3/scripts/nodes.json.sample
env/lib/common.sh
user_config.sh