When using routed networks, i.e multiple provision networks
passing in the evironment file to build-nodes-json did'nt work.
It resulted in key errors when looking up the mac address of the
provision_net interface.
This change automates this by creating a provision_net_map, mapping
baremetal_port id's to subnet names.
Also deprecates the --provision-net option as it is no longer needed.
When using routed networks, i.e multiple provision networks passing in the evironment file to build-nodes-json did'nt work. It resulted in key errors when looking up the mac address of the provision_net interface.
This change automates this by creating a provision_net_map, mapping baremetal_port id's to subnet names.
Also deprecates the --provision-net option as it is no longer needed.