- Set Suite Variable ${prev_root_vol_id} ${root_vol_id}
- Set Suite Variable ${prev_ordinary_vol_id} ${ordinary_vol_id}
- ${volume_match}= Get Persistent Volumes Attached To Vm ${ns_id}
- Set Suite Variable ${volume_match}
- Set Volume Id ${volume_match} 0
- Set Volume Id ${volume_match} 1
- Should Be Equal As Strings ${root_vol_id} ${prev_root_vol_id} msg=Existing root volume is not attached to server
- Should Be Equal As Strings ${ordinary_vol_id} ${prev_ordinary_vol_id} msg=Existing ordinary volume is not attached to server
-
+ [Documentation] Get the identifiers of the persistent volumes attached to VM in the second NS instance and verify that they are the same
+ ... of the first NS instance.
+ Set Suite Variable ${PREV_ROOT_VOL_ID} ${ROOT_VOL_ID}
+ Set Suite Variable ${PREV_ORDINARY_VOL_ID} ${ORDINARY_VOL_ID}
+ ${volume_match}= Get Persistent Volumes Attached To Vm ${NS_ID}
+ Set Suite Variable ${VOLUME_MATCH}
+ Set Volume Id ${VOLUME_MATCH} 0
+ Set Volume Id ${VOLUME_MATCH} 1
+ Should Be Equal As Strings ${ROOT_VOL_ID} ${PREV_ROOT_VOL_ID} msg=Existing root volume is not attached to server
+ Should Be Equal As Strings ${ORDINARY_VOL_ID} ${PREV_ORDINARY_VOL_ID} msg=Existing ordinary volume is not attached to server