MAAS doesn't offer an API to get network interfaces information for a node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Unassigned |
Bug Description
Right now Juju needs to do several API calls in order to get all the networking details for a node: networks attached to the node, connected MACs, and then parse the lshw XML output (which is fragile and doesn't cover cases where a complex networking setup is done post commissioning and hardware discovery - e.g. bonding, etc.). This works, but as mentioned in bug #1304857, Juju ideally needs a new MAAS API to return all network interfaces of a node, including the network name of the NIC, MAC(s), interface names and device indices (if possible - e.g. "eth0" has index 0, but it depends on udev rules, etc.), and (when MAAS has that info) dependencies (i.e. "eth0" is the "parent" interface of a VLAN virtual NIC "eth0.42"). I'm sure Landscape or other users of MAAS will find this information useful.
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.7.2 |
milestone: | 1.7.2 → none |
summary: |
- new API to get network interfaces information for a node + MAAS doesn't offer an API to get network interfaces information for a + node |
tags: | added: landscape |
tags: | added: juju-net |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hi folks, this should certainly have a milestone set. If we're modelling network and disks in 1.8, then we need APIs to ask about the network interfaces and disks for a given node.