2021-04-26 17:48:43 +00:00
|
|
|
*** Settings ***
|
|
|
|
Variables ../../../variables/common.py
|
2021-08-27 09:18:00 +00:00
|
|
|
Variables ../../../variables/acl.py
|
2021-04-26 17:48:43 +00:00
|
|
|
|
2021-08-31 15:16:19 +00:00
|
|
|
*** Variables ***
|
|
|
|
${CONTAINER_WAIT_INTERVAL} = 1 min
|
|
|
|
|
2021-02-08 05:05:17 +00:00
|
|
|
*** Keywords ***
|
|
|
|
|
|
|
|
Create Containers
|
2021-04-26 17:48:43 +00:00
|
|
|
Log Create Private Container
|
2021-09-03 11:51:57 +00:00
|
|
|
${PRIV_CID_GEN} = Create container ${USER_KEY} ${PRIVATE_ACL} ${COMMON_PLACEMENT_RULE}
|
|
|
|
Wait Until Keyword Succeeds ${MORPH_BLOCK_TIME} ${CONTAINER_WAIT_INTERVAL}
|
2021-08-31 15:16:19 +00:00
|
|
|
... Container Existing ${USER_KEY} ${PRIV_CID_GEN}
|
2021-02-08 05:05:17 +00:00
|
|
|
|
|
|
|
Log Create Public Container
|
2021-09-03 11:51:57 +00:00
|
|
|
${PUBLIC_CID_GEN} = Create container ${USER_KEY} ${PUBLIC_ACL} ${COMMON_PLACEMENT_RULE}
|
|
|
|
Wait Until Keyword Succeeds ${MORPH_BLOCK_TIME} ${CONTAINER_WAIT_INTERVAL}
|
2021-08-31 15:16:19 +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-09-03 11:51:57 +00:00
|
|
|
${READONLY_CID_GEN} = Create container ${USER_KEY} ${READONLY_ACL} ${COMMON_PLACEMENT_RULE}
|
|
|
|
Wait Until Keyword Succeeds ${MORPH_BLOCK_TIME} ${CONTAINER_WAIT_INTERVAL}
|
2021-08-31 15:16:19 +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}
|