7 Commits

Author SHA1 Message Date
ranp
bb5ffb0cc8 Find OverlayTransportZone from host switch
Use host switch to get overlay transport zone from 3.0.0.
Get from tn['host_switch_spec']['host_switches'][0]
['transport_zone_endpoints'] since 3.0.0.
Get from tn['transport_zone_endpoints'] before 3.0.0.

Change-Id: I26b5756fe28fcaff7541002623dc982eb2dbee70
2019-10-27 05:05:41 -07:00
Shih-Hao Li
43d0482cc6 Find tier0's tranzport_zone via advanced_config
When finding the overlay transport zone of a tier0 router,
if its advanced_config already has transport_zone_id defined,
then return it directly. Otherwise search through the edge nodes
in the corresponding edge_cluster.

Change-Id: Idf1efd9d0cd2c2ef5af895d22fc156630d855488
2019-10-22 19:09:11 -07:00
Durgesh Rane
b0126b6fef Add and Get centralized service port with Manager API
Added support to create centralized service port to attach Tier1
router to Logical Switch
Added support to get centralized service port for a given Tier1
router

Change-Id: I4e017b8e11c5fd6bfcd689238e0f71ebd29c379e
2019-06-28 16:21:00 -07:00
Quan Tian
837e15ed22 Add return value to add_router_link_port method
Add return value to add_router_link_port method then an API call could
be saved if client code needs the ports.

Change-Id: I5cc2f33be75888e014fda9aad3f4e0c80674ea27
2019-01-27 08:32:06 +00:00
Adit Sarfaty
98ed976475 Fix get_connected_t0_transit_net ot return the IP we need
Change-Id: I10846d53a77647bf2147bae923484c5422faf896
2018-07-29 15:53:47 +03:00
Adit Sarfaty
d21bee4ed5 New api for getting router port transit cidr
Change-Id: I82bb71186ccba599ff81c24d624b51167c58c521
2018-07-25 11:04:37 +03:00
Adit Sarfaty
18b03b993f Add router lib unittests
Change-Id: I86ac6564d4df1f3d0ee76da6d49b7476c642ffaf
2018-07-25 11:02:02 +03:00