Merge "Fix missing nsx v3 layer3 api changes"

This commit is contained in:
Jenkins 2015-10-09 19:21:36 +00:00 committed by Gerrit Code Review
commit 0e5c1f4ac6

View File

@ -103,7 +103,8 @@ def remove_router_link_port(tier1_uuid, tier0_uuid):
"not found at the backend"), tier1_uuid) "not found at the backend"), tier1_uuid)
return return
tier1_link_port_id = tier1_link_port['id'] tier1_link_port_id = tier1_link_port['id']
tier0_link_port_id = tier1_link_port['linked_logical_router_port_id'] tier0_link_port_id = (
tier1_link_port['linked_logical_router_port_id'].get('target_id'))
nsxlib.delete_logical_router_port(tier1_link_port_id) nsxlib.delete_logical_router_port(tier1_link_port_id)
nsxlib.delete_logical_router_port(tier0_link_port_id) nsxlib.delete_logical_router_port(tier0_link_port_id)