Minor fixes for FUNCbgpls
Change-Id: I35d553de8f5e9195b9a59b77a875eefb228081ba
diff --git a/TestON/tests/FUNC/FUNCbgpls/FUNCbgpls.params b/TestON/tests/FUNC/FUNCbgpls/FUNCbgpls.params
index 89202a5..cefc4f1 100755
--- a/TestON/tests/FUNC/FUNCbgpls/FUNCbgpls.params
+++ b/TestON/tests/FUNC/FUNCbgpls/FUNCbgpls.params
@@ -18,7 +18,7 @@
<ENV>
<cellName>bgp_ls</cellName>
- <cellApps>drivers,openflow,proxyarp,mobility</cellApps>
+ <cellApps>drivers,openflow,proxyarp,mobility,pcep-api</cellApps>
</ENV>
<CTRL>
diff --git a/TestON/tests/FUNC/FUNCbgpls/FUNCbgpls.topo b/TestON/tests/FUNC/FUNCbgpls/FUNCbgpls.topo
index fc1bf21..17debe1 100755
--- a/TestON/tests/FUNC/FUNCbgpls/FUNCbgpls.topo
+++ b/TestON/tests/FUNC/FUNCbgpls/FUNCbgpls.topo
@@ -2,7 +2,7 @@
<COMPONENT>
<ONOSbench>
- <host>OCN</host>
+ <host>localhost</host>
<user>sdn</user>
<password>rocks</password>
<type>OnosDriver</type>
@@ -12,7 +12,7 @@
</ONOSbench>
<ONOScli1>
- <host>OCN</host>
+ <host>localhost</host>
<user>sdn</user>
<password>rocks</password>
<type>OnosCliDriver</type>
diff --git a/TestON/tests/FUNC/FUNCbgpls/dependencies/Nbdata.py b/TestON/tests/FUNC/FUNCbgpls/dependencies/Nbdata.py
index 14f1500..ccf4084 100644
--- a/TestON/tests/FUNC/FUNCbgpls/dependencies/Nbdata.py
+++ b/TestON/tests/FUNC/FUNCbgpls/dependencies/Nbdata.py
@@ -24,7 +24,6 @@
self.bgpPeer = []
self.routerId = ''
self.peerIp = ''
- #self.org_bgp = []
def ipValue( self, localip, remoteip ):
self.routerId = localip
@@ -79,7 +78,7 @@
return self.list1
def checkLinks( self, linksResp ):
- #Declaring the links values
+ # Declaring the links values
links = { 'link1_src': "1650.5555.0055", 'link1_dst': "1660.6666.0066",
'link2_src': "1630.3333.0033", 'link2_dst': "1620.2222.0022",
'link3_src': "1660.6666.0066", 'link3_dst': "1650.5555.0055",
@@ -104,7 +103,7 @@
'link22_src': "1660.6666.0066", 'link4_dst': "1640.4444.0044"
}
- #Comparing the Links
+ # Comparing the Links
for x in xrange( 22 ):
link_src_info = linksResp[ x ][ 'src' ][ 'device' ]
link_dst_info = linksResp[ x ][ 'dst' ][ 'device' ]