blob: fc839ecbbce30418afe95acc2901d37994678c90 [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
# 70. Run randomly generated events
# 100. Do nothing
<testcases>
0,2,4,5,6,7,70
</testcases>
<GIT>
<pull>False</pull>
<branch>master</branch>
</GIT>
<TEST>
<topo>10</topo>
<IPv6>on</IPv6>
<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>
<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>5</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>
<IntentCheck>
<status>off</status>
<typeIndex>10</typeIndex>
<typeString>CHECK_INTENT</typeString>
<CLI>check-intent</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>5</rerunInterval>
<maxRerunNum>5</maxRerunNum>
</IntentCheck>
<FlowCheck>
<status>off</status>
<typeIndex>11</typeIndex>
<typeString>CHECK_FLOW</typeString>
<CLI>check-flow</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>5</rerunInterval>
<maxRerunNum>5</maxRerunNum>
<coreFlowNum>3</coreFlowNum>
<coreFlowNum6>5</coreFlowNum6>
</FlowCheck>
<TrafficCheck>
<status>on</status>
<typeIndex>12</typeIndex>
<typeString>CHECK_TRAFFIC</typeString>
<CLI>check-traffic</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>10</rerunInterval>
<maxRerunNum>10</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>5</maxRerunNum>
</TopoCheck>
<ONOSCheck>
<status>on</status>
<typeIndex>14</typeIndex>
<typeString>CHECK_ONOS</typeString>
<CLI>check-onos</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>10</rerunInterval>
<maxRerunNum>5</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>5</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>5</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>5</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>5</maxRerunNum>
</BalanceMasters>
<addAllChecks>
<status>on</status>
<typeIndex>110</typeIndex>
<typeString>CHECK_ALL</typeString>
<CLI>check-all</CLI>
<CLIParamNum>0</CLIParamNum>
</addAllChecks>
<randomLinkToggle>
<status>on</status>
<typeIndex>120</typeIndex>
<typeString>NETWORK_LINK_RANDOM_TOGGLE</typeString>
<CLI>link-toggle-random</CLI>
<CLIParamNum>1</CLIParamNum>
<sleepBeforeCheck>10</sleepBeforeCheck>
</randomLinkToggle>
<randomLinkGroupToggle>
<status>on</status>
<typeIndex>121</typeIndex>
<typeString>NETWORK_LINK_GROUP_RANDOM_TOGGLE</typeString>
<CLI>link-group-toggle-random</CLI>
<CLIParamNum>3</CLIParamNum>
<sleepBeforeCheck>10</sleepBeforeCheck>
</randomLinkGroupToggle>
<randomDeviceToggle>
<status>on</status>
<typeIndex>122</typeIndex>
<typeString>NETWORK_DEVICE_RANDOM_TOGGLE</typeString>
<CLI>device-toggle-random</CLI>
<CLIParamNum>1</CLIParamNum>
<sleepBeforeCheck>10</sleepBeforeCheck>
</randomDeviceToggle>
<randomDeviceGroupToggle>
<status>on</status>
<typeIndex>123</typeIndex>
<typeString>NETWORK_DEVICE_GROUP_RANDOM_TOGGLE</typeString>
<CLI>device-group-toggle-random</CLI>
<CLIParamNum>3</CLIParamNum>
<sleepBeforeCheck>10</sleepBeforeCheck>
</randomDeviceGroupToggle>
<randomONOSToggle>
<status>on</status>
<typeIndex>140</typeIndex>
<typeString>ONOS_ONOS_RANDOM_TOGGLE</typeString>
<CLI>onos-toggle-random</CLI>
<CLIParamNum>1</CLIParamNum>
<sleepBeforeCheck>10</sleepBeforeCheck>
</randomONOSToggle>
</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>90</loadTopoSleep>
</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>30</sleepSec>
<addHostIntentWeight>0</addHostIntentWeight>
<addPointIntentWeight>0</addPointIntentWeight>
<linkDownWeight>0</linkDownWeight>
<deviceDownWeight>2</deviceDownWeight>
<portDownWeight>3</portDownWeight>
<onosDownWeight>1</onosDownWeight>
<toggleFlowObj>0</toggleFlowObj>
</CASE70>
<CASE80>
<filePath>/home/sdn/log-for-replay</filePath>
<sleepTime>10</sleepTime>
<skipChecks>on</skipChecks>
</CASE80>
</PARAMS>