Add the tenant_id to the block data
Change-Id: I72f9d3670bb5469eb09acd971dbc2d6acb9aabf7
This commit is contained in:
parent
45da662385
commit
a2ffd46412
@ -53,6 +53,7 @@ class IpConfigurationView(object):
|
|||||||
'netmask': block.netmask,
|
'netmask': block.netmask,
|
||||||
'dns1': block.dns1,
|
'dns1': block.dns1,
|
||||||
'dns2': block.dns2,
|
'dns2': block.dns2,
|
||||||
|
'tenant_id': block.tenant_id,
|
||||||
}
|
}
|
||||||
|
|
||||||
def _route_data(self, route):
|
def _route_data(self, route):
|
||||||
|
@ -82,6 +82,7 @@ def _ip_data(ip, block):
|
|||||||
'dns1': block.dns1,
|
'dns1': block.dns1,
|
||||||
'dns2': block.dns2,
|
'dns2': block.dns2,
|
||||||
'ip_routes': [],
|
'ip_routes': [],
|
||||||
|
'tenant_id': block.tenant_id,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user