Fix string to refer external AAI network 35/69235/2
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Thu, 27 Sep 2018 05:37:36 +0000 (11:07 +0530)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Thu, 27 Sep 2018 05:44:32 +0000 (05:44 +0000)
Fix string to refer external AAI network to "ext-aai-network".

Change-Id: I2c3325131c0470f33c426012e99d2150d626ee67
Issue-ID: OPTFRA-334
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
osdf/optimizers/routeopt/simple_route_opt.py

index ed179c9..060e1ed 100644 (file)
@@ -44,7 +44,7 @@ class RouteOpt:
         :return:
         """
         for relationship in logical_link["relationship-list"]["relationship"]:
-            if relationship["related-to"] == "external-aai-network":
+            if relationship["related-to"] == "ext-aai-network":
                 return True
         return False