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