[#3] Added generate proto script create container method
Signed-off-by: Ilyas Niyazov <i.niyazov@yadro.com>
This commit is contained in:
parent
19282f13cc
commit
297e107b10
52 changed files with 1380 additions and 74 deletions
16
tests/helpers/params_container.py
Normal file
16
tests/helpers/params_container.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
from frostfs_sdk import ContainerCreateParam, WaitParam, Container, PlacementPolicy, Replica, BasicAcl
|
||||
|
||||
|
||||
class ParamsContainerHelper:
|
||||
def create_params_container_create(self):
|
||||
req_container_create = ContainerCreateParam(
|
||||
container=Container(
|
||||
placementPolicy=PlacementPolicy(
|
||||
replicas=[Replica(count=1)],
|
||||
unique=True,
|
||||
backup_factory=0
|
||||
)
|
||||
),
|
||||
wait_params=WaitParam()
|
||||
)
|
||||
return req_container_create
|
Loading…
Add table
Add a link
Reference in a new issue