Merge "Improve the SCPFscaleTopo Test - The test result assert by verifing topology, not pingall result - Remove retry function for pingall - Tests topolgy start from 5x5 to 15x15"
diff --git a/TestON/tests/FUNCipv6Intent/FUNCipv6Intent.py b/TestON/tests/FUNCipv6Intent/FUNCipv6Intent.py
index f3c7f1e..9ee99fb 100644
--- a/TestON/tests/FUNCipv6Intent/FUNCipv6Intent.py
+++ b/TestON/tests/FUNCipv6Intent/FUNCipv6Intent.py
@@ -236,6 +236,21 @@
onpass="Successfully start ONOS cli",
onfail="Failed to start ONOS cli" )
+ main.step( "Checking that ONOS is ready" )
+ for i in range( 10 ):
+ ready = True
+ for i in range( int( main.scale[ 0 ] ) ):
+ output = main.CLIs[ i ].summary()
+ if not output:
+ ready = False
+ time.sleep( 30 )
+ utilities.assert_equals( expect=True, actual=ready,
+ onpass="ONOS summary command succeded",
+ onfail="ONOS summary command failed" )
+ if not ready:
+ main.cleanup()
+ main.exit()
+
main.step( "setup the ipv6NeighbourDiscovery" )
cfgResult1 = main.CLIs[0].setCfg( "org.onosproject.proxyarp.ProxyArp", "ipv6NeighborDiscovery", "true" )
cfgResult2 = main.CLIs[0].setCfg( "org.onosproject.provider.host.impl.HostLocationProvider", "ipv6NeighborDiscovery", "true" )