cybertron / openstack-virtual-baremetal

Tools for using OpenStack instances as baremetal deployment targets
20 stars 19 forks source link

Fix build-nodes-json for routed networks #46

Closed hjensas closed 6 years ago

hjensas commented 6 years ago

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.

hjensas commented 6 years ago

oh, sorry there is a bug.