Merge lp:~jtv/maas/warn-unconfigured-ip into lp:~maas-committers/maas/trunk
Status: | Merged |
---|---|
Approved by: | Jeroen T. Vermeulen |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3042 |
Proposed branch: | lp:~jtv/maas/warn-unconfigured-ip |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
225 lines (+126/-4) 3 files modified
src/maasserver/templates/maasserver/node_view.html (+9/-2) src/maasserver/views/nodes.py (+36/-0) src/maasserver/views/tests/test_nodes.py (+81/-2) |
To merge this branch: | bzr merge lp:~jtv/maas/warn-unconfigured-ip |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+235259@code.launchpad.net |
Commit message
Warn on the Node page if a node has static IPv6 addresses that can't be configured on the node. IPv6 address configuration is currently only supported with Ubuntu, using the fast installer.
Description of the change
The warning shows up in two places: a big colourful detailed message at the top of the page, and a warning triangle next to the “IP addresses” heading with a tooltip that says the node's IPv6 addresses are not configured. It's terse, but hopefully it combines well with the full notice at the top of the page.
I chose to show the warning only while the node has an owner. Otherwise, the node's operating-system property is meaningless: it will be reset before the node is ever deployed.
Eventually, we hope this notice can go away as we will support IPv6 on all operating systems.
Jeroen
Grand. It's cool to watch the IPv6 work progressing.