Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 1 | """ |
| 2 | Description: This test is to determine if ONOS can handle |
| 3 | dynamic scaling of the cluster size. |
| 4 | |
| 5 | List of test cases: |
| 6 | CASE1: Compile ONOS and push it to the test machines |
| 7 | CASE2: Assign devices to controllers |
| 8 | CASE21: Assign mastership to controllers |
| 9 | CASE3: Assign intents |
| 10 | CASE4: Ping across added host intents |
| 11 | CASE5: Reading state of ONOS |
| 12 | CASE6: The scaling case. |
| 13 | CASE7: Check state after control plane failure |
| 14 | CASE8: Compare topo |
| 15 | CASE9: Link s3-s28 down |
| 16 | CASE10: Link s3-s28 up |
| 17 | CASE11: Switch down |
| 18 | CASE12: Switch up |
| 19 | CASE13: Clean up |
| 20 | CASE14: start election app on all onos nodes |
| 21 | CASE15: Check that Leadership Election is still functional |
| 22 | CASE16: Install Distributed Primitives app |
| 23 | CASE17: Check for basic functionality with distributed primitives |
| 24 | """ |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 25 | class HAscaling: |
| 26 | |
| 27 | def __init__( self ): |
| 28 | self.default = '' |
| 29 | |
| 30 | def CASE1( self, main ): |
| 31 | """ |
| 32 | CASE1 is to compile ONOS and push it to the test machines |
| 33 | |
| 34 | Startup sequence: |
| 35 | cell <name> |
| 36 | onos-verify-cell |
| 37 | NOTE: temporary - onos-remove-raft-logs |
| 38 | onos-uninstall |
| 39 | start mininet |
| 40 | git pull |
| 41 | mvn clean install |
| 42 | onos-package |
| 43 | onos-install -f |
| 44 | onos-wait-for-start |
| 45 | start cli sessions |
| 46 | start tcpdump |
| 47 | """ |
| 48 | import time |
| 49 | import os |
| 50 | import re |
| 51 | main.log.info( "ONOS HA test: Restart all ONOS nodes - " + |
| 52 | "initialization" ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 53 | # set global variables |
| 54 | # These are for csv plotting in jenkins |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 55 | main.HAlabels = [] |
| 56 | main.HAdata = [] |
| 57 | try: |
| 58 | from tests.dependencies.ONOSSetup import ONOSSetup |
| 59 | main.testSetUp = ONOSSetup() |
| 60 | except ImportError: |
| 61 | main.log.error( "ONOSSetup not found exiting the test" ) |
| 62 | main.exit() |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 63 | |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 64 | main.testSetUp.envSetupDescription() |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 65 | try: |
| 66 | from tests.HA.dependencies.HA import HA |
| 67 | main.HA = HA() |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 68 | from tests.HA.HAswapNodes.dependencies.Server import Server |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 69 | main.Server = Server() |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 70 | |
| 71 | # load some variables from the params file |
| 72 | cellName = main.params[ 'ENV' ][ 'cellName' ] |
| 73 | main.apps = main.params[ 'ENV' ][ 'appString' ] |
| 74 | main.numCtrls = int( main.params[ 'num_controllers' ] ) |
| 75 | if main.ONOSbench.maxNodes and\ |
| 76 | main.ONOSbench.maxNodes < main.numCtrls: |
| 77 | main.numCtrls = int( main.ONOSbench.maxNodes ) |
| 78 | main.maxNodes = main.numCtrls |
| 79 | stepResult = main.testSetUp.envSetup( hasNode=True ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 80 | except Exception as e: |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 81 | main.testSetUp.envSetupException( e ) |
| 82 | main.testSetUp.evnSetupConclusion( stepResult ) |
| 83 | main.HA.generateGraph( "HAscaling", index=1 ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 84 | |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 85 | main.testSetUp.ONOSSetUp( main.Mininet1, cellName=cellName, removeLog=True, |
| 86 | extraApply=main.HA.customizeOnosService, |
| 87 | arg=main.HA.scalingMetadata, |
| 88 | extraClean=main.HA.cleanUpOnosService, |
| 89 | installMax=True ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 90 | |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 91 | main.HA.initialSetUp( True ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 92 | |
| 93 | def CASE2( self, main ): |
| 94 | """ |
| 95 | Assign devices to controllers |
| 96 | """ |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 97 | main.HA.assignDevices( main ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 98 | |
| 99 | def CASE21( self, main ): |
| 100 | """ |
| 101 | Assign mastership to controllers |
| 102 | """ |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 103 | main.HA.assignMastership( main ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 104 | |
| 105 | def CASE3( self, main ): |
| 106 | """ |
| 107 | Assign intents |
| 108 | """ |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 109 | main.HA.assignIntents( main ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 110 | |
| 111 | def CASE4( self, main ): |
| 112 | """ |
| 113 | Ping across added host intents |
| 114 | """ |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 115 | main.HA.pingAcrossHostIntent( main, True, True ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 116 | |
| 117 | def CASE5( self, main ): |
| 118 | """ |
| 119 | Reading state of ONOS |
| 120 | """ |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 121 | main.HA.readingState( main ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 122 | |
| 123 | def CASE6( self, main ): |
| 124 | """ |
| 125 | The Scaling case. |
| 126 | """ |
| 127 | import time |
| 128 | import re |
| 129 | assert main.numCtrls, "main.numCtrls not defined" |
| 130 | assert main, "main not defined" |
| 131 | assert utilities.assert_equals, "utilities.assert_equals not defined" |
| 132 | assert main.CLIs, "main.CLIs not defined" |
| 133 | assert main.nodes, "main.nodes not defined" |
| 134 | try: |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 135 | main.HAlabels |
| 136 | except ( NameError, AttributeError ): |
| 137 | main.log.error( "main.HAlabels not defined, setting to []" ) |
| 138 | main.HAlabels = [] |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 139 | try: |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 140 | main.HAdata |
| 141 | except ( NameError, AttributeError ): |
| 142 | main.log.error( "main.HAdata not defined, setting to []" ) |
| 143 | main.HAdata = [] |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 144 | |
Jon Hall | 69b2b98 | 2016-05-11 12:04:59 -0700 | [diff] [blame] | 145 | main.case( "Scale the number of nodes in the ONOS cluster" ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 146 | |
| 147 | main.step( "Checking ONOS Logs for errors" ) |
| 148 | for i in main.activeNodes: |
Jon Hall | f37d44d | 2017-05-24 10:37:30 -0700 | [diff] [blame] | 149 | node = main.nodes[ i ] |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 150 | main.log.debug( "Checking logs for errors on " + node.name + ":" ) |
| 151 | main.log.warn( main.ONOSbench.checkLogs( node.ip_address ) ) |
| 152 | |
| 153 | """ |
| 154 | pop # of nodes from a list, might look like 1,3b,3,5b,5,7b,7,7b,5,5b,3... |
| 155 | modify cluster.json file appropriately |
| 156 | install/deactivate node as needed |
| 157 | """ |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 158 | try: |
| 159 | prevNodes = main.activeNodes |
Jon Hall | f37d44d | 2017-05-24 10:37:30 -0700 | [diff] [blame] | 160 | scale = main.scaling.pop( 0 ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 161 | if "e" in scale: |
| 162 | equal = True |
| 163 | else: |
| 164 | equal = False |
Jon Hall | f37d44d | 2017-05-24 10:37:30 -0700 | [diff] [blame] | 165 | main.numCtrls = int( re.search( "\d+", scale ).group( 0 ) ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 166 | main.log.info( "Scaling to {} nodes".format( main.numCtrls ) ) |
| 167 | genResult = main.Server.generateFile( main.numCtrls, equal=equal ) |
| 168 | utilities.assert_equals( expect=main.TRUE, actual=genResult, |
| 169 | onpass="New cluster metadata file generated", |
| 170 | onfail="Failled to generate new metadata file" ) |
| 171 | time.sleep( 5 ) # Give time for nodes to read new file |
| 172 | except IndexError: |
| 173 | main.cleanup() |
| 174 | main.exit() |
| 175 | |
| 176 | main.activeNodes = [ i for i in range( 0, main.numCtrls ) ] |
| 177 | newNodes = [ x for x in main.activeNodes if x not in prevNodes ] |
| 178 | |
| 179 | main.step( "Start new nodes" ) # OR stop old nodes? |
| 180 | started = main.TRUE |
| 181 | for i in newNodes: |
Jon Hall | f37d44d | 2017-05-24 10:37:30 -0700 | [diff] [blame] | 182 | started = main.ONOSbench.onosStart( main.nodes[ i ].ip_address ) and main.TRUE |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 183 | utilities.assert_equals( expect=main.TRUE, actual=started, |
| 184 | onpass="ONOS started", |
| 185 | onfail="ONOS start NOT successful" ) |
| 186 | |
| 187 | main.step( "Checking if ONOS is up yet" ) |
| 188 | for i in range( 2 ): |
| 189 | onosIsupResult = main.TRUE |
| 190 | for i in main.activeNodes: |
Jon Hall | f37d44d | 2017-05-24 10:37:30 -0700 | [diff] [blame] | 191 | node = main.nodes[ i ] |
Jon Hall | 168c186 | 2017-01-31 17:35:34 -0800 | [diff] [blame] | 192 | main.ONOSbench.onosSecureSSH( node=node.ip_address ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 193 | started = main.ONOSbench.isup( node.ip_address ) |
| 194 | if not started: |
| 195 | main.log.error( node.name + " didn't start!" ) |
| 196 | onosIsupResult = onosIsupResult and started |
| 197 | if onosIsupResult == main.TRUE: |
| 198 | break |
| 199 | utilities.assert_equals( expect=main.TRUE, actual=onosIsupResult, |
| 200 | onpass="ONOS started", |
| 201 | onfail="ONOS start NOT successful" ) |
| 202 | |
Jon Hall | 6509dbf | 2016-06-21 17:01:17 -0700 | [diff] [blame] | 203 | main.step( "Starting ONOS CLI sessions" ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 204 | cliResults = main.TRUE |
| 205 | threads = [] |
| 206 | for i in main.activeNodes: |
Jon Hall | f37d44d | 2017-05-24 10:37:30 -0700 | [diff] [blame] | 207 | t = main.Thread( target=main.CLIs[ i ].startOnosCli, |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 208 | name="startOnosCli-" + str( i ), |
Jon Hall | f37d44d | 2017-05-24 10:37:30 -0700 | [diff] [blame] | 209 | args=[ main.nodes[ i ].ip_address ] ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 210 | threads.append( t ) |
| 211 | t.start() |
| 212 | |
| 213 | for t in threads: |
| 214 | t.join() |
| 215 | cliResults = cliResults and t.result |
| 216 | utilities.assert_equals( expect=main.TRUE, actual=cliResults, |
| 217 | onpass="ONOS cli started", |
| 218 | onfail="ONOS clis did not start" ) |
| 219 | |
| 220 | main.step( "Checking ONOS nodes" ) |
| 221 | nodeResults = utilities.retry( main.HA.nodesCheck, |
| 222 | False, |
Jon Hall | f37d44d | 2017-05-24 10:37:30 -0700 | [diff] [blame] | 223 | args=[ main.activeNodes ], |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 224 | attempts=5 ) |
| 225 | utilities.assert_equals( expect=True, actual=nodeResults, |
| 226 | onpass="Nodes check successful", |
| 227 | onfail="Nodes check NOT successful" ) |
| 228 | |
| 229 | for i in range( 10 ): |
| 230 | ready = True |
| 231 | for i in main.activeNodes: |
Jon Hall | f37d44d | 2017-05-24 10:37:30 -0700 | [diff] [blame] | 232 | cli = main.CLIs[ i ] |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 233 | output = cli.summary() |
| 234 | if not output: |
| 235 | ready = False |
| 236 | if ready: |
| 237 | break |
| 238 | time.sleep( 30 ) |
| 239 | utilities.assert_equals( expect=True, actual=ready, |
| 240 | onpass="ONOS summary command succeded", |
| 241 | onfail="ONOS summary command failed" ) |
| 242 | if not ready: |
| 243 | main.cleanup() |
| 244 | main.exit() |
| 245 | |
| 246 | # Rerun for election on new nodes |
| 247 | runResults = main.TRUE |
| 248 | for i in main.activeNodes: |
Jon Hall | f37d44d | 2017-05-24 10:37:30 -0700 | [diff] [blame] | 249 | cli = main.CLIs[ i ] |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 250 | run = cli.electionTestRun() |
| 251 | if run != main.TRUE: |
| 252 | main.log.error( "Error running for election on " + cli.name ) |
| 253 | runResults = runResults and run |
| 254 | utilities.assert_equals( expect=main.TRUE, actual=runResults, |
| 255 | onpass="Reran for election", |
| 256 | onfail="Failed to rerun for election" ) |
| 257 | |
| 258 | # TODO: Make this configurable |
| 259 | time.sleep( 60 ) |
| 260 | for node in main.activeNodes: |
Jon Hall | f37d44d | 2017-05-24 10:37:30 -0700 | [diff] [blame] | 261 | main.log.warn( "\n****************** {} **************".format( main.nodes[ node ].ip_address ) ) |
| 262 | main.log.debug( main.CLIs[ node ].nodes( jsonFormat=False ) ) |
| 263 | main.log.debug( main.CLIs[ node ].leaders( jsonFormat=False ) ) |
| 264 | main.log.debug( main.CLIs[ node ].partitions( jsonFormat=False ) ) |
| 265 | main.log.debug( main.CLIs[ node ].apps( jsonFormat=False ) ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 266 | |
| 267 | def CASE7( self, main ): |
| 268 | """ |
| 269 | Check state after ONOS scaling |
| 270 | """ |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 271 | |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 272 | main.HA.checkStateAfterONOS( main, afterWhich=1 ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 273 | |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 274 | main.step( "Leadership Election is still functional" ) |
| 275 | # Test of LeadershipElection |
| 276 | leaderList = [] |
| 277 | leaderResult = main.TRUE |
| 278 | |
| 279 | for i in main.activeNodes: |
Jon Hall | f37d44d | 2017-05-24 10:37:30 -0700 | [diff] [blame] | 280 | cli = main.CLIs[ i ] |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 281 | leaderN = cli.electionTestLeader() |
| 282 | leaderList.append( leaderN ) |
| 283 | if leaderN == main.FALSE: |
| 284 | # error in response |
| 285 | main.log.error( "Something is wrong with " + |
| 286 | "electionTestLeader function, check the" + |
| 287 | " error logs" ) |
| 288 | leaderResult = main.FALSE |
| 289 | elif leaderN is None: |
| 290 | main.log.error( cli.name + |
| 291 | " shows no leader for the election-app." ) |
| 292 | leaderResult = main.FALSE |
| 293 | if len( set( leaderList ) ) != 1: |
| 294 | leaderResult = main.FALSE |
| 295 | main.log.error( |
| 296 | "Inconsistent view of leader for the election test app" ) |
| 297 | # TODO: print the list |
| 298 | utilities.assert_equals( |
| 299 | expect=main.TRUE, |
| 300 | actual=leaderResult, |
| 301 | onpass="Leadership election passed", |
| 302 | onfail="Something went wrong with Leadership election" ) |
| 303 | |
| 304 | def CASE8( self, main ): |
| 305 | """ |
| 306 | Compare topo |
| 307 | """ |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 308 | main.HA.compareTopo( main ) |
Jon Hall | d2871c2 | 2016-07-26 11:01:14 -0700 | [diff] [blame] | 309 | |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 310 | def CASE9( self, main ): |
| 311 | """ |
| 312 | Link s3-s28 down |
| 313 | """ |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 314 | main.HA.linkDown( main ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 315 | |
| 316 | def CASE10( self, main ): |
| 317 | """ |
| 318 | Link s3-s28 up |
| 319 | """ |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 320 | main.HA.linkUp( main ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 321 | |
| 322 | def CASE11( self, main ): |
| 323 | """ |
| 324 | Switch Down |
| 325 | """ |
| 326 | # NOTE: You should probably run a topology check after this |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 327 | main.HA.switchDown( main ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 328 | |
| 329 | def CASE12( self, main ): |
| 330 | """ |
| 331 | Switch Up |
| 332 | """ |
| 333 | # NOTE: You should probably run a topology check after this |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 334 | main.HA.switchUp( main ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 335 | |
| 336 | def CASE13( self, main ): |
| 337 | """ |
| 338 | Clean up |
| 339 | """ |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 340 | main.HA.cleanUp( main ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 341 | |
| 342 | main.step( "Stopping webserver" ) |
Jon Hall | f37d44d | 2017-05-24 10:37:30 -0700 | [diff] [blame] | 343 | status = main.Server.stop() |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 344 | utilities.assert_equals( expect=main.TRUE, actual=status, |
| 345 | onpass="Stop Server", |
| 346 | onfail="Failled to stop SimpleHTTPServer" ) |
| 347 | del main.Server |
| 348 | |
| 349 | def CASE14( self, main ): |
| 350 | """ |
| 351 | start election app on all onos nodes |
| 352 | """ |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 353 | main.HA.startElectionApp( main ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 354 | |
| 355 | def CASE15( self, main ): |
| 356 | """ |
| 357 | Check that Leadership Election is still functional |
| 358 | 15.1 Run election on each node |
| 359 | 15.2 Check that each node has the same leaders and candidates |
| 360 | 15.3 Find current leader and withdraw |
| 361 | 15.4 Check that a new node was elected leader |
| 362 | 15.5 Check that that new leader was the candidate of old leader |
| 363 | 15.6 Run for election on old leader |
| 364 | 15.7 Check that oldLeader is a candidate, and leader if only 1 node |
| 365 | 15.8 Make sure that the old leader was added to the candidate list |
| 366 | |
| 367 | old and new variable prefixes refer to data from before vs after |
| 368 | withdrawl and later before withdrawl vs after re-election |
| 369 | """ |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 370 | main.HA.isElectionFunctional( main ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 371 | |
| 372 | def CASE16( self, main ): |
| 373 | """ |
| 374 | Install Distributed Primitives app |
| 375 | """ |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 376 | main.HA.installDistributedPrimitiveApp( main ) |
Jon Hall | 9ebd1bd | 2016-04-19 01:37:17 -0700 | [diff] [blame] | 377 | |
| 378 | def CASE17( self, main ): |
| 379 | """ |
| 380 | Check for basic functionality with distributed primitives |
| 381 | """ |
Devin Lim | 58046fa | 2017-07-05 16:55:00 -0700 | [diff] [blame] | 382 | main.HA.checkDistPrimitivesFunc( main ) |