Descriptionprovider/maas: Get machine NICs in StartInstance
If networks were specified, in StartInstance the
MAAS provider now requests the node details from
the server, which contain XML data from lshw that
was gathered at commissioning time. The XML is
parsed to extract a map of interface name to
MAC address. This is needed so that in a follow-up
we'll combine the information from there and from
a GetNetworksList call to return []NetworkInfo
from StartInstance.
Live tested on MAAS and whitebox tested the XML
parsing helper only, because gomaasapi's test
server does not support getting node details yet.
https://code.launchpad.net/~dimitern/juju-core/390-maas-get-node-nics/+merge/214528
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 2
Patch Set 2 : provider/maas: Get machine NICs in StartInstance #
MessagesTotal messages: 5
|