Network identity shows broadcast address instead of the network's address

Bug #1274465 reported by Dan Poler
16
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

Raphaël Badin (rvb)
Changed in maas:
status: New → Triaged
importance: Undecided → High
tags: added: ui
Revision history for this message
Dan Poler (l-dan) wrote :

(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).

tags: added: micro-cluster
Raphaël Badin (rvb)
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.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.