forked from TrueCloudLab/frostfs-testlib
[#338] Added ns args for func container create
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
This commit is contained in:
parent
cd15be3b7c
commit
890e1288a9
1 changed files with 4 additions and 0 deletions
|
@ -111,6 +111,8 @@ def create_container(
|
||||||
options: Optional[dict] = None,
|
options: Optional[dict] = None,
|
||||||
await_mode: bool = True,
|
await_mode: bool = True,
|
||||||
wait_for_creation: bool = True,
|
wait_for_creation: bool = True,
|
||||||
|
nns_zone: str = None,
|
||||||
|
nns_name: str = None,
|
||||||
timeout: Optional[str] = CLI_DEFAULT_TIMEOUT,
|
timeout: Optional[str] = CLI_DEFAULT_TIMEOUT,
|
||||||
) -> str:
|
) -> str:
|
||||||
"""
|
"""
|
||||||
|
@ -143,6 +145,8 @@ def create_container(
|
||||||
result = cli.container.create(
|
result = cli.container.create(
|
||||||
rpc_endpoint=endpoint,
|
rpc_endpoint=endpoint,
|
||||||
policy=rule,
|
policy=rule,
|
||||||
|
nns_name=nns_name,
|
||||||
|
nns_zone=nns_zone,
|
||||||
basic_acl=basic_acl,
|
basic_acl=basic_acl,
|
||||||
attributes=attributes,
|
attributes=attributes,
|
||||||
name=name,
|
name=name,
|
||||||
|
|
Loading…
Reference in a new issue