Network identity shows broadcast address instead of the network's address
Bug #1274465 reported by
Dan Poler
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Raphaël Badin |
Bug Description
1. Log into MAAS
2. Click the gear
3. Under Cluster Controllers, click the edit icon next to Cluster master
4. Create a new network, e.g.
- Network Interface = em1
- IP = 10.0.0.1
- Subnet mask = 255.255.255.0
- Broadcast IP = 10.0.0.255
- Router IP = 10.0.0.1
- IP range low = 10.0.0.11
- IP range high = 10.0.0.21
- Foreign DHCP ID = <blank>
5. Save Interface
Observed behavior
The "Edit Cluster Controller" page will show the newly-configured interface "Network" name of 10.0.0.255/24.
Expected behavior
10.0.0.255 is not a valid network identifier - that's the network's broadcast address. The valid identifier of the network would be 10.0.0.0/24.
Related branches
lp:~rvb/maas/bug-1274465
- Julian Edwards (community): Approve
-
Diff: 56 lines (+14/-4)2 files modifiedsrc/maasserver/models/nodegroupinterface.py (+3/-1)
src/maasserver/models/tests/test_nodegroupinterface.py (+11/-3)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: ui |
Changed in maas: | |
milestone: | none → 14.04 |
assignee: | nobody → Raphaël Badin (rvb) |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
(I should have mentioned: I have not tested various combinations and network sizes - meaning, does the network name print correctly if using a different netmask length or different network range).