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