ONOS-2480 Added FUNCoptical test. Launches opticalTest topology, checks that it loaded, tests arping, pingall, point-to-point intents and host-to-host intents. Added lincoemininetdriver.py which inherits from the mininet driver and has linc oe specific methods.
runOpticalMnScript() now tries again after a sudo mn -c if the topo fails the first time
updated topo to use admin user and removed unused linc-oe1 and renamed linc-oe2 to linc-oe
Added case explanations for the wiki. Case 21 now asserts on the pingall failing
Change-Id: I0409117d7b3e615e62a1c253e074bdef8cd7de2c
diff --git a/TestON/tests/FUNCoptical/FUNCoptical.topo b/TestON/tests/FUNCoptical/FUNCoptical.topo
new file mode 100755
index 0000000..73859bd
--- /dev/null
+++ b/TestON/tests/FUNCoptical/FUNCoptical.topo
@@ -0,0 +1,64 @@
+<TOPOLOGY>
+ <COMPONENT>
+
+ <ONOSbench>
+ <host>localhost</host>
+ <user>admin</user>
+ <password></password>
+ <type>OnosDriver</type>
+ <connect_order>1</connect_order>
+ <COMPONENTS>
+ <nodes>3</nodes>
+ </COMPONENTS>
+ </ONOSbench>
+
+ <ONOScli1>
+ <host>localhost</host>
+ <user>admin</user>
+ <password></password>
+ <type>OnosCliDriver</type>
+ <connect_order>2</connect_order>
+ <COMPONENTS> </COMPONENTS>
+ </ONOScli1>
+
+ <ONOScli2>
+ <host>localhost</host>
+ <user>admin</user>
+ <password></password>
+ <type>OnosCliDriver</type>
+ <connect_order>3</connect_order>
+ <COMPONENTS> </COMPONENTS>
+ </ONOScli2>
+
+ <ONOScli3>
+ <host>localhost</host>
+ <user>admin</user>
+ <password></password>
+ <type>OnosCliDriver</type>
+ <connect_order>4</connect_order>
+ <COMPONENTS> </COMPONENTS>
+ </ONOScli3>
+
+ <Mininet1>
+ <host>OCN</host>
+ <user>admin</user>
+ <password></password>
+ <type>MininetCliDriver</type>
+ <connect_order>5</connect_order>
+ <COMPONENTS>
+ <home>~/mininet/custom/</home>
+ </COMPONENTS>
+ </Mininet1>
+
+ <LincOE>
+ <host>OCN</host>
+ <user>admin</user>
+ <password>rocks</password>
+ <type>LincOEMininetDriver</type>
+ <connect_order>7</connect_order>
+ <COMPONENTS>
+ </COMPONENTS>
+ </LincOE>
+
+ </COMPONENT>
+</TOPOLOGY>