Commit aa4ea79a authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

cyclades: Rename attribute to 'router:external'

Rename 'external_router' attribute of network to 'router:external' as
defined in the API.
parent 34a07ef7
......@@ -171,7 +171,7 @@ def network_to_dict(network, detail=True):
d['created'] = api.utils.isoformat(network.created)
d['status'] = state
d['public'] = network.public
d['external_router'] = network.external_router
d['router:external'] = network.external_router
d['admin_state_up'] = True
d['subnets'] = list(network.subnets.values_list('id', flat=True))
d['SNF:floating_ip_pool'] = network.floating_ip_pool
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment