*** Variables ***
${CAR_SHARD} shard-car-config
${NUM_CARS} ${60}
-@{controllers} ${CONTROLLER} ${CONTROLLER1} ${CONTROLLER2}
+@{controllers} ${ODL_SYSTEM_IP} ${ODL_SYSTEM_2_IP} ${ODL_SYSTEM_3_IP}
${KARAF_HOME} ${WORKSPACE}/${BUNDLEFOLDER}
${START_TIMEOUT} 300s
${STOP_TIMEOUT} 180s
Clean All Journals
[Documentation] Clean the journals of all the controllers in the cluster
Clean One Or More Journals @{controllers}
+ Clean One Or More Snapshots @{controllers}
Start All Controllers
[Documentation] Start all the controllers in the cluster
Attempt To Add A Car To The Leader
[Documentation] Add car should fail as both followers are down
- AddCar ${CURRENT_CAR_LEADER} ${RESTCONFPORT} ${1} 500
+ AddCar ${CURRENT_CAR_LEADER} ${RESTCONFPORT} ${1} 500 503
Sleep 2
${resp} Getcars ${CURRENT_CAR_LEADER} ${RESTCONFPORT} ${1}
Should Not Be Equal As Strings ${resp.status_code} 200
Get All The Cars From The Second Follower
[Documentation] Add cars to the follower and verify
Wait Until Keyword Succeeds ${START_TIMEOUT} 2s Get Cars And Verify @{CAR_FOLLOWERS}[1] ${NUM_CARS}
-