Descriptionprovider/maas: Setup networks/VLANs in cloudinit
This is possibly the final server-side task to
do in order to have VLANs/networks support in MAAS
as an MVP. Using the discovered networks and interfaces,
we prepare a few scripts to run at cloudinit time:
* install the "vlan" package (so we can configure VLANs);
* load the 8021q module for VLAN support;
* skipping eth0 (part of br0 already), for each NIC
discovered on the machine, add /etc/network/interfaces
config and bring it up. For VLANs a few extra steps
are done after their "parent" NIC is brought up
As this is an MVP, we assume the user has configured
their MAAS, nodes, and networks correctly, and also
has DHCP enabled on all networks (we lack the info
to configure the IPs statically from MAAS alone).
Live tested on MAAS (works if properly configured).
Next step will be to list machine networks in Status
and polish up some tech debt stuff (better unit tests,
more sanity checks in the CLI, etc.)
https://code.launchpad.net/~dimitern/juju-core/395-maas-setup-networks-cloudinit/+merge/215266
Requires: https://code.launchpad.net/~dimitern/juju-core/394-network-name-to-id-and-add-tags/+merge/214962
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 6
Patch Set 2 : provider/maas: Setup networks/VLANs in cloudinit #
MessagesTotal messages: 3
|