blob: 544a19c2047185e374551374efcf675c5543dd4f [file] [log] [blame]
<PARAMS>
# 0. Initialize CHOTestMonkey
# 1. Set IPv6 configure
# 2. Load network configuration files
# 4. Copy topology libs and config files to Mininet
# 5. Load topology and balances all switches
# 6. Collect and store device and link data from ONOS
# 7. Collect and store host data from ONOS
# 10. Run all enabled checks
# 70. Run randomly generated events
# 80. Replay events from log file
# 100. Do nothing
<testcases>
0,2,4,5,6,7,10,70
</testcases>
<GIT>
<pull>False</pull>
<branch>master</branch>
</GIT>
<TEST>
<topo>10</topo>
<IPv6>on</IPv6>
<restartCluster>True</restartCluster>
<dataPlaneConnectivity>True</dataPlaneConnectivity>
<numCtrl>3</numCtrl>
<pauseTest>on</pauseTest>
<caseSleep>0</caseSleep>
<ipv6Regex>10[0-9]+::[0-9]+</ipv6Regex>
<ipv4Regex>10\.[0-9]+\.[0-9]+\.[0-9]+</ipv4Regex>
<karafCliTimeout>7200000</karafCliTimeout>
<testDuration>86400</testDuration>
<package>on</package>
</TEST>
<LOGGING>
<DEBUG>org.onosproject.segmentrouting,org.onosproject.driver,org.onosproject.net.flowobjective.impl,org.onosproject.routeservice.impl,org.onosproject.routeservice.store,org.onosproject.routing.fpm,org.onosproject.mcast</DEBUG>
<TRACE>org.onosproject.events</TRACE>
</LOGGING>
<GRAPH>
<nodeCluster>CHO</nodeCluster>
<builds>20</builds>
</GRAPH>
<ENV>
<cellName>choTrellisCell</cellName>
<cellApps>drivers,openflow,segmentrouting,fpm,dhcprelay,netcfghostprovider,routeradvertisement,t3,hostprobingprovider</cellApps>
</ENV>
<EVENT>
<Event>
<status>on</status>
<typeIndex>0</typeIndex>
<typeString>NULL</typeString>
<CLI>null</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>5</rerunInterval>
<maxRerunNum>3</maxRerunNum>
</Event>
<TestPause>
<status>on</status>
<typeIndex>1</typeIndex>
<typeString>TEST_PAUSE</typeString>
<CLI>pause-test</CLI>
<CLIParamNum>0</CLIParamNum>
</TestPause>
<TestResume>
<status>on</status>
<typeIndex>2</typeIndex>
<typeString>TEST_RESUME</typeString>
<CLI>resume-test</CLI>
<CLIParamNum>0</CLIParamNum>
</TestResume>
<TestSleep>
<status>on</status>
<typeIndex>3</typeIndex>
<typeString>TEST_SLEEP</typeString>
<CLI>sleep</CLI>
<CLIParamNum>1</CLIParamNum>
</TestSleep>
<TestDebug>
<status>on</status>
<typeIndex>4</typeIndex>
<typeString>TEST_DEBUG</typeString>
<CLI>debug-test</CLI>
<CLIParamNum>0</CLIParamNum>
</TestDebug>
<TrafficCheck>
<status>on</status>
<typeIndex>12</typeIndex>
<typeString>CHECK_TRAFFIC</typeString>
<CLI>check-traffic</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>10</rerunInterval>
<maxRerunNum>3</maxRerunNum>
<pingWait>1</pingWait>
<pingTimeout>10</pingTimeout>
</TrafficCheck>
<TopoCheck>
<status>on</status>
<typeIndex>13</typeIndex>
<typeString>CHECK_TOPO</typeString>
<CLI>check-topo</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>5</rerunInterval>
<maxRerunNum>3</maxRerunNum>
</TopoCheck>
<ONOSCheck>
<status>on</status>
<typeIndex>14</typeIndex>
<typeString>CHECK_ONOS</typeString>
<CLI>check-onos</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>10</rerunInterval>
<maxRerunNum>3</maxRerunNum>
</ONOSCheck>
<RaftLogSizeCheck>
<status>on</status>
<typeIndex>15</typeIndex>
<typeString>CHECK_RAFT_LOG_SIZE</typeString>
<CLI>check-raft-size</CLI>
<CLIParamNum>0</CLIParamNum>
</RaftLogSizeCheck>
<LinkDown>
<status>on</status>
<typeIndex>20</typeIndex>
<typeString>NETWORK_LINK_DOWN</typeString>
<CLI>link-down</CLI>
<CLIParamNum>2</CLIParamNum>
</LinkDown>
<LinkUp>
<status>on</status>
<typeIndex>21</typeIndex>
<typeString>NETWORK_LINK_UP</typeString>
<CLI>link-up</CLI>
<CLIParamNum>2</CLIParamNum>
</LinkUp>
<DeviceDown>
<status>on</status>
<typeIndex>22</typeIndex>
<typeString>NETWORK_DEVICE_DOWN</typeString>
<CLI>device-down</CLI>
<CLIParamNum>1</CLIParamNum>
</DeviceDown>
<DeviceUp>
<status>on</status>
<typeIndex>23</typeIndex>
<typeString>NETWORK_DEVICE_UP</typeString>
<CLI>device-up</CLI>
<CLIParamNum>1</CLIParamNum>
</DeviceUp>
<PortDown>
<status>on</status>
<typeIndex>24</typeIndex>
<typeString>NETWORK_PORT_DOWN</typeString>
<CLI>port-down</CLI>
<CLIParamNum>2</CLIParamNum>
</PortDown>
<PortUp>
<status>on</status>
<typeIndex>25</typeIndex>
<typeString>NETWORK_PORT_UP</typeString>
<CLI>port-up</CLI>
<CLIParamNum>2</CLIParamNum>
</PortUp>
<ONOSDown>
<status>on</status>
<typeIndex>40</typeIndex>
<typeString>ONOS_ONOS_DOWN</typeString>
<CLI>onos-down</CLI>
<CLIParamNum>1</CLIParamNum>
<rerunInterval>5</rerunInterval>
<maxRerunNum>3</maxRerunNum>
</ONOSDown>
<ONOSUp>
<status>on</status>
<typeIndex>41</typeIndex>
<typeString>ONOS_ONOS_UP</typeString>
<CLI>onos-up</CLI>
<CLIParamNum>1</CLIParamNum>
<rerunInterval>5</rerunInterval>
<maxRerunNum>3</maxRerunNum>
</ONOSUp>
<SetCfg>
<status>on</status>
<typeIndex>42</typeIndex>
<typeString>ONOS_SET_CFG</typeString>
<CLI>set-cfg</CLI>
<CLIParamNum>3</CLIParamNum>
<rerunInterval>5</rerunInterval>
<maxRerunNum>3</maxRerunNum>
</SetCfg>
<BalanceMasters>
<status>on</status>
<typeIndex>44</typeIndex>
<typeString>ONOS_BALANCE_MASTERS</typeString>
<CLI>balance-masters</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>5</rerunInterval>
<maxRerunNum>3</maxRerunNum>
</BalanceMasters>
<addAllChecks>
<status>on</status>
<typeIndex>110</typeIndex>
<typeString>CHECK_ALL</typeString>
<CLI>check-all</CLI>
<CLIParamNum>0</CLIParamNum>
</addAllChecks>
</EVENT>
<SCHEDULER>
<pendingEventsCapacity>1</pendingEventsCapacity>
<runningEventsCapacity>10</runningEventsCapacity>
<scheduleLoopSleep>0.1</scheduleLoopSleep>
</SCHEDULER>
<GENERATOR>
<listenerPort>6000</listenerPort>
<insertEventRetryInterval>1</insertEventRetryInterval>
</GENERATOR>
<TOPO>
<topo10>
<fileName>hagg.py</fileName>
</topo10>
<mininetArgs>--dhcp=1 --routers=1 --ipv6=1 --ipv4=1</mininetArgs>
<loadTopoSleep>120</loadTopoSleep>
<excludeNodes>cs0,cs1,r1,r2,nat,bgp1,bgp2,dhcp,dhcp6</excludeNodes>
</TOPO>
<CASE2>
<fileName>hagg.json</fileName>
<hostFileName>hagg.host</hostFileName>
</CASE2>
<CASE4>
<lib>routinglib.py,trellislib.py,trellis_fabric.py</lib>
<conf>bgpdbgp1.conf,bgpdbgp2.conf,bgpdr1.conf,bgpdr2.conf,dhcpd6.conf,dhcpd.conf,zebradbgp1.conf,zebradbgp2.conf</conf>
</CASE4>
<CASE70>
<sleepSec>60</sleepSec>
<eventWeight>
<port-down>3</port-down>
<device-down>2</device-down>
<onos-down>1</onos-down>
</eventWeight>
<skipSwitches>leaf5</skipSwitches>
<skipLinks>spine103,spine104,leaf1,leaf6</skipLinks>
</CASE70>
<CASE80>
<filePath>/home/sdn/log-for-replay</filePath>
<sleepTime>5</sleepTime>
<skipChecks>on</skipChecks>
</CASE80>
</PARAMS>