Adds network_id to the ip_blocks view

Change-Id: I1ff225af98cc10624e5ff2866f1cad98c412a4f7
This commit is contained in:
Matt Dietz 2012-01-25 20:08:34 +00:00
parent 0032811305
commit eb294a5b69
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ class IpConfigurationView(object):
'cidr': block.cidr,
'broadcast': block.broadcast,
'gateway': block.gateway,
'network_id': block.network_id,
'netmask': block.netmask,
'dns1': block.dns1,
'dns2': block.dns2,

View File

@ -75,6 +75,7 @@ def _ip_data(ip, block):
'ip_block': {
'id': block.id,
'cidr': block.cidr,
'network_id': block.network_id,
'broadcast': block.broadcast,
'gateway': block.gateway,
'netmask': block.netmask,