2021-04-26 17:48:43 +00:00
|
|
|
*** Settings ***
|
|
|
|
Variables ../../../variables/common.py
|
|
|
|
|
2021-02-08 05:05:17 +00:00
|
|
|
*** Keywords ***
|
|
|
|
|
|
|
|
Create Containers
|
2021-04-26 17:48:43 +00:00
|
|
|
Log Create Private Container
|
2021-08-24 11:13:36 +00:00
|
|
|
${PRIV_CID_GEN} = Create container ${USER_KEY} 0x18888888 ${COMMON_PLACEMENT_RULE}
|
2021-04-26 17:48:43 +00:00
|
|
|
Container Existing ${USER_KEY} ${PRIV_CID_GEN}
|
2021-02-08 05:05:17 +00:00
|
|
|
|
|
|
|
Log Create Public Container
|
2021-08-24 11:13:36 +00:00
|
|
|
${PUBLIC_CID_GEN} = Create container ${USER_KEY} 0x1FFFFFFF ${COMMON_PLACEMENT_RULE}
|
2021-04-26 17:48:43 +00:00
|
|
|
Container Existing ${USER_KEY} ${PUBLIC_CID_GEN}
|
2021-02-08 05:05:17 +00:00
|
|
|
|
2021-04-26 17:48:43 +00:00
|
|
|
Log Create Read-Only Container
|
2021-08-24 11:13:36 +00:00
|
|
|
${READONLY_CID_GEN} = Create container ${USER_KEY} 0x1FFF88FF ${COMMON_PLACEMENT_RULE}
|
2021-04-26 17:48:43 +00:00
|
|
|
Container Existing ${USER_KEY} ${READONLY_CID_GEN}
|
2021-02-08 05:05:17 +00:00
|
|
|
|
|
|
|
Set Global Variable ${PRIV_CID} ${PRIV_CID_GEN}
|
|
|
|
Set Global Variable ${PUBLIC_CID} ${PUBLIC_CID_GEN}
|
|
|
|
Set Global Variable ${READONLY_CID} ${READONLY_CID_GEN}
|
|
|
|
|
|
|
|
Generate file
|
|
|
|
[Arguments] ${SIZE}
|
|
|
|
${FILE_S_GEN} = Generate file of bytes ${SIZE}
|
|
|
|
${FILE_S_HASH_GEN} = Get file hash ${FILE_S_GEN}
|
|
|
|
|
|
|
|
Set Global Variable ${FILE_S} ${FILE_S_GEN}
|
|
|
|
Set Global Variable ${FILE_S_HASH} ${FILE_S_HASH_GEN}
|