aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2018-09-27 11:07:36 +0530
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2018-09-27 05:44:32 +0000
commitcdbc1f78d5784a282c3026a5188d8cdfb681f568 (patch)
tree3c0b4621064821ecdf14023809d1471eed1c09e5
parente93d457429f0cb5eb01c5a5ec78c912c1e911a9a (diff)
Fix string to refer external AAI network
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>
-rw-r--r--osdf/optimizers/routeopt/simple_route_opt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdf/optimizers/routeopt/simple_route_opt.py b/osdf/optimizers/routeopt/simple_route_opt.py
index ed179c9..060e1ed 100644
--- a/osdf/optimizers/routeopt/simple_route_opt.py
+++ b/osdf/optimizers/routeopt/simple_route_opt.py
@@ -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