commit | 0e538bc998bf63057528ee7f43c411d09144a178 | [log] [tgz] |
---|---|---|
author | Jeremy Ronquillo <jeremyr@onlab.us> | Tue Jun 13 15:16:09 2017 -0700 |
committer | Jeremy Ronquillo <jeremyr@onlab.us> | Wed Jun 14 10:59:00 2017 -0700 |
tree | 0c020036fcb441deeedcb3ddcaeaea9099b2c5fc | |
parent | 1dd7931cd8c797dea3608ade437a6274843e318b [diff] |
[ONOS-6623]: Fix parsing of hosts json Change-Id: I7e612bb9a1b8e5e63894b2698ab40db653ad6473
diff --git a/TestON/tests/FUNC/FUNCintent/dependencies/FuncIntentFunction.py b/TestON/tests/FUNC/FUNCintent/dependencies/FuncIntentFunction.py index f295b11..9159e4d 100644 --- a/TestON/tests/FUNC/FUNCintent/dependencies/FuncIntentFunction.py +++ b/TestON/tests/FUNC/FUNCintent/dependencies/FuncIntentFunction.py
@@ -1992,8 +1992,8 @@ main.hostsData[ host ][ 'id' ] = hostj[ 'id' ] main.hostsData[ host ][ 'vlan' ] = hostj[ 'vlan' ] main.hostsData[ host ][ 'location' ] = \ - hostj[ 'location' ][ 'elementId' ] + '/' + \ - hostj[ 'location' ][ 'port' ] + hostj[ 'locations' ][ 0 ][ 'elementId' ] + '/' + \ + hostj[ 'locations' ][ 0 ][ 'port' ] main.hostsData[ host ][ 'ipAddresses' ] = hostj[ 'ipAddresses' ] return main.TRUE except ValueError: