1 Commits

Author SHA1 Message Date
Vladyslav Drok
8856ad31a0 Generate necessary network metadata for ironic port groups
In ironic it is now possible to attach neutron ports to ironic port
groups. To configure them on the instance side, we need to pass the
information about them to the configdrive, which is then read by
cloud-init.

This patch amends the network metadata generated by nova because:

* neutron port's MAC can be changed by ironic during attach call,
  metadata needs to contain an up-to-date address;

* metadata needs to include additional information about the port
  group, such as it's mode and any properties set on ironic side;

* metadata needs to contain information about ports that belong to the
  selected port group.

Implements: blueprint ironic-portgroups-support
Co-Authored-By: Sam Betts <sambetts@cisco.com>
Depends-On: I0dca2c2d98184e370c08c3e05aa3edadead869af
Depends-On: Id8afa902026ce4466e96cc7bfb7fb97447d65809
Change-Id: Ic9bf6ca9e3de0068a289cbe6760cd8c4526ec7e0
2017-01-19 22:13:16 -05:00