Add the tenant_id to the block data

Change-Id: I72f9d3670bb5469eb09acd971dbc2d6acb9aabf7
This commit is contained in:
Jason Kölker 2012-02-29 17:33:06 -06:00
parent 45da662385
commit a2ffd46412
2 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ class IpConfigurationView(object):
'netmask': block.netmask,
'dns1': block.dns1,
'dns2': block.dns2,
'tenant_id': block.tenant_id,
}
def _route_data(self, route):

View File

@ -82,6 +82,7 @@ def _ip_data(ip, block):
'dns1': block.dns1,
'dns2': block.dns2,
'ip_routes': [],
'tenant_id': block.tenant_id,
},
}