xenstore-data (MRW): vm-data/networking/02163e27b29e: {"should_create_bridge": false, "dns": ["8.8.4.4"], "label": "private", "broadcast": "10.2.1.3", "ips": [{"ip": "10.2.1.2", "netmask": "255.255.255.252", "enabled": "1"}], "mac": "02:16:3e:27:b2:9e", "rxtx_cap": 0, "should_create_vlan": false, "dhcp_server": "10.2.1.1", "gateway": "10.2.1.1"}; vm-data/networking/02163e12f68b: {"should_create_bridge": false, "dns": ["8.8.4.4"], "label": "super", "broadcast": "10.10.1.3", "ips": [{"ip": "10.10.1.2", "netmask": "255.255.255.252", "enabled": "1"}], "mac": "02:16:3e:12:f6:8b", "rxtx_cap": 0, "should_create_vlan": false, "dhcp_server": "10.10.1.1", "gateway": "10.10.1.1"}; vm-data/networking/02163e5c7ca8: {"should_create_bridge": false, "dns": ["8.8.4.4"], "label": "public", "broadcast": "10.1.1.3", "ips": [{"ip": "10.1.1.3", "netmask": "255.255.255.252", "enabled": "1"}], "mac": "02:16:3e:5c:7c:a8", "rxtx_cap": 0, "should_create_vlan": false, "dhcp_server": "10.1.1.1", "gateway": "10.1.1.1"}
As you can see here
"broadcast": "10.1.1.3", "ips": [{"ip": "10.1.1.3", "netmask": "255.255.255.252", "enabled": "1"}]
This occurred when adding 10.1.1.0/30 (silly use case I know) but the broadcast address is not being reserved and it should be.
Reviewed: https:/ /review. openstack. org/1237 github. com/openstack/ nova/commit/ a6a7e936fe8fb55 471dc1ecc41d864 4398e45ef7
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit a6a7e936fe8fb55 471dc1ecc41d864 4398e45ef7
Author: Joe Gordon <email address hidden>
Date: Tue Nov 1 12:22:13 2011 -0700
fix bug 816630
Off by one error fixed
With test case
Change-Id: I5060c0a59949d6 9d6f859a01e7cf5 fa8e0227d8a