Справочник CLI
Введение
Справочник CLI содержит список команд, которые можно использовать в командной строке для управления ПО Sharx Base. В справочнике указан синтаксис команд, доступные опции и аргументы, а также краткое описание их функций.
Требования
Необходимо установить интерфейс командной строки sdc-cli.
Подробная информация приведена в статье Требования к интерфейсу командной строки.
Список команд
Примечание
Справочник доступен только на английском языке
cluster
Create new Cluster
cluster add
usage: cluster add [-h] --node_ids <NODE_IDS ...>
--vip <VIP>
[--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--node_ids <NODE_IDS ...> list of node IDs
--vip <VIP> VIP IP-address of cluster
--cluster <CLUSTER> cluster name
Delete Cluster
cluster del
usage: cluster del [-h] [--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--cluster <CLUSTER> cluster name
Delete free node
cluster freenodes del
Get free nodes list
cluster freenodes list
Get clusters list
cluster list
Get metrics
cluster metrics list
Add Cluster node
cluster nodes add
usage: cluster nodes add [-h] --node <NODE>
[--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--node <NODE> node ID
--cluster <CLUSTER> cluster name
Delete Cluster node
cluster nodes del
usage: cluster nodes del [-h] --node <NODE>
[--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--node <NODE> node ID
--cluster <CLUSTER> cluster name
Get clusters node list
cluster nodes list
usage: cluster nodes list [-h] [--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--cluster <CLUSTER> cluster name
Modify Cluster node
cluster nodes update
usage: cluster nodes update [-h] --node <NODE>
--op <start|stop>
[--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--node <NODE> node ID
--op <start|stop> node initial state
--cluster <CLUSTER> cluster name
Add plugin to cluster
cluster plugins add
usage: cluster plugins add [-h] --plugin <PLUGIN>
[--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--plugin <PLUGIN> plugin name
--cluster <CLUSTER> cluster name
Delete plugin from cluster
cluster plugins del
usage: cluster plugins del [-h] --plugin <PLUGIN>
[--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--plugin <PLUGIN> plugin name
--cluster <CLUSTER> cluster name
Get clusters plugin list
cluster plugins list
usage: cluster plugins list [-h] [--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--cluster <CLUSTER> cluster name
Get plugin description
cluster plugins show
usage: cluster plugins show [-h] --plugin <PLUGIN>
[--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--plugin <PLUGIN> plugin name
--cluster <CLUSTER> cluster name
Get plugin list
cluster repo list
Plugin install
cluster repo plugins add
usage: cluster repo plugins add [-h] --plugin <PLUGIN>
[--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--plugin <PLUGIN> plugin name
--cluster <CLUSTER> cluster name
Plugin uninstall
cluster repo plugins del
usage: cluster repo plugins del [-h] --plugin <PLUGIN>
[--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--plugin <PLUGIN> plugin name
--cluster <CLUSTER> cluster name
Get repo plugins list
cluster repo plugins list
usage: cluster repo plugins list [-h] [--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--cluster <CLUSTER> cluster name
Get cluster version
cluster version list
usage: cluster version list [-h] [--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--cluster <CLUSTER> cluster name
Change VIP IP-address of cluster
cluster vip add
usage: cluster vip add [-h] --vip <VIP>
[--cluster <CLUSTER>]
arguments:
-h, --help Show this help message and exit
--vip <VIP> VIP IP-address of cluster
--cluster <CLUSTER> cluster name
login
User Authorization in the Cluster
login
usage: login [-h] --cluster <CLUSTER>
--ns <NS>
[--cluster_to <CLUSTER_TO>]
[--ns_to <NS_TO>]
[--cert <CERT>]
arguments:
-h, --help Show this help message and exit
--cluster <CLUSTER> cluster name
--ns <NS> namespace name
--cluster_to <CLUSTER_TO> the name of the other cluster where you need to log in
--ns_to <NS_TO> the name of the other namespace where you need to log in
--cert <CERT> keyID gpg certificate
aaa plugin
View available RAM and CPU resources by nodes
aaa cluster nodes resource show
Add HA resources to cluster
aaa cluster resource ha add
usage: aaa cluster resource ha add [-h] [--reserved_ha_cpu <RESERVED_HA_CPU>]
[--reserved_ha_ram <RESERVED_HA_RAM>]
[--reserved_ha_disk <RESERVED_HA_DISK>]
[--resources_share <yes|no>]
arguments:
-h, --help Show this help message and exit
--reserved_ha_cpu <RESERVED_HA_CPU> Reserved HA CPU percent
--reserved_ha_ram <RESERVED_HA_RAM> Reserved HA RAM percent
--reserved_ha_disk <RESERVED_HA_DISK> Reserved HA Disk percent
--resources_share <yes|no> Cluster resource sharing (Default - no)
Delete HA resources from cluster
aaa cluster resource ha del
Show HA resources from cluster
aaa cluster resource ha show
Update HA resources to cluster
aaa cluster resource ha update
usage: aaa cluster resource ha update [-h] [--reserved_ha_cpu <RESERVED_HA_CPU>]
[--reserved_ha_ram <RESERVED_HA_RAM>]
[--reserved_ha_disk <RESERVED_HA_DISK>]
[--resources_share <yes|no>]
arguments:
-h, --help Show this help message and exit
--reserved_ha_cpu <RESERVED_HA_CPU> Reserved HA CPU percent
--reserved_ha_ram <RESERVED_HA_RAM> Reserved HA RAM percent
--reserved_ha_disk <RESERVED_HA_DISK> Reserved HA Disk percent
--resources_share <yes|no> Cluster resource sharing (Default - no)
Add cluster parameters
aaa cluster resource overcommit add
usage: aaa cluster resource overcommit add [-h] --cpu_overcommit_type <shares|quotas>
--default_cpu_overcommit_ratio <DEFAULT_CPU_OVERCOMMIT_RATIO>
[--cpu_quota_period <CPU_QUOTA_PERIOD>]
[--node_memory_limit <NODE_MEMORY_LIMIT>]
[--ram_overcommit <RAM_OVERCOMMIT>]
[--default_overcommit_tolerance <DEFAULT_OVERCOMMIT_TOLERANCE>]
arguments:
-h, --help Show this help message and exit
--cpu_overcommit_type <shares|quotas> cpu overcommit type
--default_cpu_overcommit_ratio <DEFAULT_CPU_OVERCOMMIT_RATIO> cluster default cpu overcommit ratio
--cpu_quota_period <CPU_QUOTA_PERIOD> an interval in microseconds for cpu runtime quota
--node_memory_limit <NODE_MEMORY_LIMIT> node memory max usage limit percent (default: 98)
--ram_overcommit <RAM_OVERCOMMIT> ram overcommit percent
--default_overcommit_tolerance <DEFAULT_OVERCOMMIT_TOLERANCE> clsuter default VM overcommit tolerance
Disable balloon memory overcommit on cluster
aaa cluster resource overcommit ballooning disable
usage: aaa cluster resource overcommit ballooning disable [-h]
arguments:
-h, --help Show this help message and exit
Enable balloon memory overcommit on cluster
aaa cluster resource overcommit ballooning enable
usage: aaa cluster resource overcommit ballooning enable [-h]
arguments:
-h, --help Show this help message and exit
Delete cluster parameters
aaa cluster resource overcommit del
usage: aaa cluster resource overcommit del [-h]
arguments:
-h, --help Show this help message and exit
Show cluster parameters
aaa cluster resource overcommit show
usage: aaa cluster resource overcommit show [-h]
arguments:
-h, --help Show this help message and exit
Update cluster parameters
aaa cluster resource overcommit update
usage: aaa cluster resource overcommit update [-h] [--cpu_overcommit_type <shares|quotas>]
[--default_cpu_overcommit_ratio <DEFAULT_CPU_OVERCOMMIT_RATIO>]
[--cpu_quota_period <CPU_QUOTA_PERIOD>]
[--node_memory_limit <NODE_MEMORY_LIMIT>]
[--ram_overcommit <RAM_OVERCOMMIT>]
[--default_overcommit_tolerance <DEFAULT_OVERCOMMIT_TOLERANCE>]
arguments:
-h, --help Show this help message and exit
--cpu_overcommit_type <shares|quotas> cpu overcommit type
--default_cpu_overcommit_ratio <DEFAULT_CPU_OVERCOMMIT_RATIO> cluster default cpu overcommit ratio
--cpu_quota_period <CPU_QUOTA_PERIOD> an interval in microseconds for cpu runtime quota
--node_memory_limit <NODE_MEMORY_LIMIT> node memory max usage limit percent
--ram_overcommit <RAM_OVERCOMMIT> ram overcommit percent
--default_overcommit_tolerance <DEFAULT_OVERCOMMIT_TOLERANCE> clsuter default VM overcommit tolerance
Collect and set reserved resources required by system
aaa cluster resource reserved apply
usage: aaa cluster resource reserved apply [-h]
arguments:
-h, --help Show this help message and exit
Calculate resources that must be reserved for system
aaa cluster resource reserved calc
usage: aaa cluster resource reserved calc [-h]
arguments:
-h, --help Show this help message and exit
Delete reserved resources from node
aaa cluster resource reserved del
usage: aaa cluster resource reserved del [-h] --uuids <UUIDS ...>
arguments:
-h, --help Show this help message and exit
--uuids <UUIDS ...> List of UUID nodes
Show reserved resources from node
aaa cluster resource reserved show
usage: aaa cluster resource reserved show [-h] --uuids <UUIDS ...>
arguments:
-h, --help Show this help message and exit
--uuids <UUIDS ...> List of UUID nodes
Update reserved resources to node
aaa cluster resource reserved update
usage: aaa cluster resource reserved update [-h] --uuid <UUID>
[--overcommit_ram <OVERCOMMIT_RAM>]
[--reserved_system_cpu <RESERVED_SYSTEM_CPU>]
[--reserved_system_ram <RESERVED_SYSTEM_RAM>]
[--reserved_system_disk <RESERVED_SYSTEM_DISK>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Node UUID
--overcommit_ram <OVERCOMMIT_RAM> Overcommit RAM (float)
--reserved_system_cpu <RESERVED_SYSTEM_CPU> Reserved CPU count
--reserved_system_ram <RESERVED_SYSTEM_RAM> Reserved RAM count
--reserved_system_disk <RESERVED_SYSTEM_DISK> Reserved Disk count
View available RAM and CPU resources
aaa cluster resource show
Add new namespace (Virtual DC) to Cluster
aaa namespace add
usage: aaa namespace add [-h] --cluster <CLUSTER>
--ns <NS>
--cpu <CPU>
--ram <RAM>
[--paths <PATHS>]
[--descr <DESCR>]
[--config_name <CONFIG_NAME>]
arguments:
-h, --help Show this help message and exit
--cluster <CLUSTER> Cluster name
--ns <NS> Namespace name
--cpu <CPU> namespace CPU
--ram <RAM> RAM
--paths <PATHS> Directory tree as JSON object
--descr <DESCR> Namespace description
--config_name <CONFIG_NAME> The name of the configuration for defining roles
Force delete namespace (Virtual DC) from Cluster
aaa namespace clear
usage: aaa namespace clear [-h] --cluster <CLUSTER>
--ns <NS>
arguments:
-h, --help Show this help message and exit
--cluster <CLUSTER> Cluster name
--ns <NS> Namespace name
Delete namespace (Virtual DC) from Cluster
aaa namespace del
usage: aaa namespace del [-h] --ns <NS>
--cluster <CLUSTER>
[--force <FORCE>]
arguments:
-h, --help Show this help message and exit
--ns <NS> Namespace to delete
--cluster <CLUSTER> Cluster containing namespace to be deleted
--force <FORCE> Provide the name of the namespace to force-delete it
List namespaces (Virtual DC) from Cluster
aaa namespace list
usage: aaa namespace list [-h] --cluster <CLUSTER>
arguments:
-h, --help Show this help message and exit
--cluster <CLUSTER> Cluster name
Present paths structure of namespace
aaa namespace path show
Update paths of current namespace (Virtual DC)
aaa namespace path update
usage: aaa namespace path update [-h] [--paths <PATHS>]
arguments:
-h, --help Show this help message and exit
--paths <PATHS> Directory tree as JSON object
Show namespace (Virtual DC) from Cluster
aaa namespace show
usage: aaa namespace show [-h] --cluster <CLUSTER>
--ns <NS>
arguments:
-h, --help Show this help message and exit
--cluster <CLUSTER> Cluster name
--ns <NS> Namespace name
Update namespace (Virtual DC) to Cluster
aaa namespace update
usage: aaa namespace update [-h] --cluster <CLUSTER>
--ns <NS>
[--paths <PATHS>]
[--descr <DESCR>]
[--cpu <CPU>]
[--ram <RAM>]
arguments:
-h, --help Show this help message and exit
--cluster <CLUSTER> Cluster name
--ns <NS> Namespace name
--paths <PATHS> Directory tree as JSON object
--descr <DESCR> Namespace description
--cpu <CPU> Namespace CPU
--ram <RAM> RAM
Add AAA params
aaa param add
usage: aaa param add [-h] [--auth_type <BASIC|TFA>]
[--auth_type_privileged <BASIC|TFA>]
[--cert <yes|no>]
[--cert_privileged <yes|no>]
[--ldap <LDAP>]
[--ldap_sync <yes|no>]
[--validation_ip <yes|no>]
[--acc_delete_days <ACC_DELETE_DAYS>]
[--acc_block_unused_days <ACC_BLOCK_UNUSED_DAYS>]
[--acc_block_unused_days_privileged <ACC_BLOCK_UNUSED_DAYS_PRIVILEGED>]
[--acc_block_try_cnt <ACC_BLOCK_TRY_CNT>]
[--acc_block_try_cnt_privileged <ACC_BLOCK_TRY_CNT_PRIVILEGED>]
[--acc_block_try_timeout_sec <ACC_BLOCK_TRY_TIMEOUT_SEC>]
[--acc_block_try_timeout_sec_privileged <ACC_BLOCK_TRY_TIMEOUT_SEC_PRIVILEGED>]
[--acc_block_try_suspend_sec <ACC_BLOCK_TRY_SUSPEND_SEC>]
[--acc_block_try_suspend_sec_privileged <ACC_BLOCK_TRY_SUSPEND_SEC_PRIVILEGED>]
[--sessions_max_cnt <SESSIONS_MAX_CNT>]
[--sessions_max_cnt_privileged <SESSIONS_MAX_CNT_PRIVILEGED>]
[--sessions_timeout_sec <SESSIONS_TIMEOUT_SEC>]
[--sessions_timeout_sec_privileged <SESSIONS_TIMEOUT_SEC_PRIVILEGED>]
[--sessions_multi_origin <yes|no>]
[--password_pattern <PASSWORD_PATTERN>]
[--password_pattern_privileged <PASSWORD_PATTERN_PRIVILEGED>]
[--password_salt <PASSWORD_SALT>]
[--password_diff_cnt <PASSWORD_DIFF_CNT>]
[--password_diff_cnt_privileged <PASSWORD_DIFF_CNT_PRIVILEGED>]
[--password_exp_days <PASSWORD_EXP_DAYS>]
[--password_exp_days_privileged <PASSWORD_EXP_DAYS_PRIVILEGED>]
[--password_min_exp_days <PASSWORD_MIN_EXP_DAYS>]
[--password_min_exp_days_privileged <PASSWORD_MIN_EXP_DAYS_PRIVILEGED>]
[--password_min_change <PASSWORD_MIN_CHANGE>]
[--password_min_change_privileged <PASSWORD_MIN_CHANGE_PRIVILEGED>]
[--require_generated_password_change <yes|no>]
[--whitelist_networks <WHITELIST_NETWORKS ...>]
[--tfa_client <OTP>]
[--tfa_wait_sec <TFA_WAIT_SEC>]
[--notif_route <NOTIF_ROUTE>]
[--ns_owner_access <yes|no>]
arguments:
-h, --help Show this help message and exit
--auth_type <BASIC|TFA> Auth type (default - BASIC)
--auth_type_privileged <BASIC|TFA> Auth type (default - BASIC)
--cert <yes|no> Using cert for verify users connections
--cert_privileged <yes|no> Using cert for verify users connections
--ldap <LDAP> LDAP config name
--ldap_sync <yes|no> Sync data from LDAP server (default - no)
--validation_ip <yes|no> Check client network adress (default - no)
--acc_delete_days <ACC_DELETE_DAYS> Days after completly delete account (default - 45 days)
--acc_block_unused_days <ACC_BLOCK_UNUSED_DAYS> Days after block unused account (default - 45 days)
--acc_block_unused_days_privileged <ACC_BLOCK_UNUSED_DAYS_PRIVILEGED> Days after block unused account (default - 45 days)
--acc_block_try_cnt <ACC_BLOCK_TRY_CNT> Try login count before suspend (default - 3)
--acc_block_try_cnt_privileged <ACC_BLOCK_TRY_CNT_PRIVILEGED> Try login count before suspend (default - 3)
--acc_block_try_timeout_sec <ACC_BLOCK_TRY_TIMEOUT_SEC> Try login interval counting (default - 5 min)
--acc_block_try_timeout_sec_privileged <ACC_BLOCK_TRY_TIMEOUT_SEC_PRIVILEGED> Try login interval counting (default - 5 min)
--acc_block_try_suspend_sec <ACC_BLOCK_TRY_SUSPEND_SEC> Try login suspend timeout (default - 60 min)
--acc_block_try_suspend_sec_privileged <ACC_BLOCK_TRY_SUSPEND_SEC_PRIVILEGED> Try login suspend timeout (default - 60 min)
--sessions_max_cnt <SESSIONS_MAX_CNT> Max number of user sessions (default - 2)
--sessions_max_cnt_privileged <SESSIONS_MAX_CNT_PRIVILEGED> Max number of user sessions (default - 2)
--sessions_timeout_sec <SESSIONS_TIMEOUT_SEC> Session timeout (default - 5 min)
--sessions_timeout_sec_privileged <SESSIONS_TIMEOUT_SEC_PRIVILEGED> Session timeout (default - 5 min)
--sessions_multi_origin <yes|no> Allow multiple user sessions from different IPs
--password_pattern <PASSWORD_PATTERN> Password regexp pattern (default - min 8 + UpperCase + LowerCase + Number + Spec char )
--password_pattern_privileged <PASSWORD_PATTERN_PRIVILEGED> Password regexp pattern (default - min 8 + UpperCase + LowerCase + Number + Spec char )
--password_salt <PASSWORD_SALT> Additional password salt (default - empty)
--password_diff_cnt <PASSWORD_DIFF_CNT> Password difference count char (default - 4)
--password_diff_cnt_privileged <PASSWORD_DIFF_CNT_PRIVILEGED> Password difference count char (default - 4)
--password_exp_days <PASSWORD_EXP_DAYS> Password expiration period (default - 60 days)
--password_exp_days_privileged <PASSWORD_EXP_DAYS_PRIVILEGED> Password expiration period (default - 60 days)
--password_min_exp_days <PASSWORD_MIN_EXP_DAYS> Password min expiration period (default - 10 days)
--password_min_exp_days_privileged <PASSWORD_MIN_EXP_DAYS_PRIVILEGED> Password min expiration period (default - 10 days)
--password_min_change <PASSWORD_MIN_CHANGE> Password min change count symbols (default - 2)
--password_min_change_privileged <PASSWORD_MIN_CHANGE_PRIVILEGED> Password min change count symbols (default - 2)
--require_generated_password_change <yes|no> Is possible to enter in namespace by user with generated password
--whitelist_networks <WHITELIST_NETWORKS ...> List of white networks
--tfa_client <OTP> TFA Client factor (default - OTP)
--tfa_wait_sec <TFA_WAIT_SEC> TFA timeout (default - 1 min)
--notif_route <NOTIF_ROUTE> Route name for notifications
--ns_owner_access <yes|no> Namespace owner access (default - yes)
Disable checks
aaa param check disable
Enable checks
aaa param check enable
Show checks status
aaa param check status
Delete AAA params
aaa param del
Add LDAP config
aaa param ldap add
usage: aaa param ldap add [-h] --name <NAME>
[--url <URL>]
[--ca_data <CA_DATA>]
[--ca_file <CA_FILE>]
[--user <USER>]
[--passwd <PASSWD>]
[--base_dn <BASE_DN>]
[--query_group <QUERY_GROUP>]
[--query_user <QUERY_USER>]
[--query_active_users <QUERY_ACTIVE_USERS>]
[--user_map <USER_MAP>]
[--group_map <GROUP_MAP>]
[--default_path <DEFAULT_PATH>]
[--notif_route <NOTIF_ROUTE>]
[--error_limit <ERROR_LIMIT>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Config name
--url <URL> Server URL
--ca_data <CA_DATA> Ldap server certificate contents
--ca_file <CA_FILE> Ldap server certificate
--user <USER> Service user
--passwd <PASSWD> Service passwd
--base_dn <BASE_DN> LDAP base DN
--query_group <QUERY_GROUP> LDAP query to get groups
--query_user <QUERY_USER> LDAP query to get users
--query_active_users <QUERY_ACTIVE_USERS> LDAP query to get active users
--user_map <USER_MAP> User mapping attributes
--group_map <GROUP_MAP> Group mapping attributes
--default_path <DEFAULT_PATH> Default path for loaded users
--notif_route <NOTIF_ROUTE> Route name for send notifications about LDAP errors
--error_limit <ERROR_LIMIT> Limit the number of LDAP errors before will be send notification
--descr <DESCR> Ldap description
Delete LDAP config
aaa param ldap del
usage: aaa param ldap del [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Config name
List LDAP config
aaa param ldap list
Show LDAP config
aaa param ldap show
usage: aaa param ldap show [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Config name
Update LDAP config
aaa param ldap update
usage: aaa param ldap update [-h] --name <NAME>
[--url <URL>]
[--ca_data <CA_DATA>]
[--ca_file <CA_FILE>]
[--user <USER>]
[--passwd <PASSWD>]
[--base_dn <BASE_DN>]
[--query_group <QUERY_GROUP>]
[--query_user <QUERY_USER>]
[--query_active_users <QUERY_ACTIVE_USERS>]
[--user_map <USER_MAP>]
[--group_map <GROUP_MAP>]
[--default_path <DEFAULT_PATH>]
[--notif_route <NOTIF_ROUTE>]
[--error_limit <ERROR_LIMIT>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Config name
--url <URL> Server URL
--ca_data <CA_DATA> Ldap server certificate contents
--ca_file <CA_FILE> Ldap server certificate
--user <USER> Service user
--passwd <PASSWD> Service passwd
--base_dn <BASE_DN> LDAP base DN
--query_group <QUERY_GROUP> LDAP query to get groups
--query_user <QUERY_USER> LDAP query to get users
--query_active_users <QUERY_ACTIVE_USERS> LDAP query to get active users
--user_map <USER_MAP> User mapping attributes
--group_map <GROUP_MAP> Group mapping attributes
--default_path <DEFAULT_PATH> Default path for loaded users
--notif_route <NOTIF_ROUTE> Route name for send notifications about LDAP errors
--error_limit <ERROR_LIMIT> Limit the number of LDAP errors before will be send notification
--descr <DESCR> Ldap description
Show AAA params
aaa param show
usage: aaa param show [-h] [--filter <common|privileged>]
arguments:
-h, --help Show this help message and exit
--filter <common|privileged> param filter
Update AAA params
aaa param update
usage: aaa param update [-h] [--auth_type <BASIC|TFA>]
[--auth_type_privileged <BASIC|TFA>]
[--cert <yes|no>]
[--cert_privileged <yes|no>]
[--ldap <LDAP>]
[--ldap_sync <yes|no>]
[--validation_ip <yes|no>]
[--acc_delete_days <ACC_DELETE_DAYS>]
[--acc_block_unused_days <ACC_BLOCK_UNUSED_DAYS>]
[--acc_block_try_cnt <ACC_BLOCK_TRY_CNT>]
[--acc_block_try_cnt_privileged <ACC_BLOCK_TRY_CNT_PRIVILEGED>]
[--acc_block_try_timeout_sec <ACC_BLOCK_TRY_TIMEOUT_SEC>]
[--acc_block_try_timeout_sec_privileged <ACC_BLOCK_TRY_TIMEOUT_SEC_PRIVILEGED>]
[--acc_block_try_suspend_sec <ACC_BLOCK_TRY_SUSPEND_SEC>]
[--acc_block_try_suspend_sec_privileged <ACC_BLOCK_TRY_SUSPEND_SEC_PRIVILEGED>]
[--sessions_max_cnt <SESSIONS_MAX_CNT>]
[--sessions_max_cnt_privileged <SESSIONS_MAX_CNT_PRIVILEGED>]
[--sessions_timeout_sec <SESSIONS_TIMEOUT_SEC>]
[--sessions_timeout_sec_privileged <SESSIONS_TIMEOUT_SEC_PRIVILEGED>]
[--sessions_multi_origin <yes|no>]
[--password_pattern <PASSWORD_PATTERN>]
[--password_pattern_privileged <PASSWORD_PATTERN_PRIVILEGED>]
[--password_salt <PASSWORD_SALT>]
[--password_diff_cnt <PASSWORD_DIFF_CNT>]
[--password_diff_cnt_privileged <PASSWORD_DIFF_CNT_PRIVILEGED>]
[--password_exp_days <PASSWORD_EXP_DAYS>]
[--password_exp_days_privileged <PASSWORD_EXP_DAYS_PRIVILEGED>]
[--password_min_exp_days <PASSWORD_MIN_EXP_DAYS>]
[--password_min_exp_days_privileged <PASSWORD_MIN_EXP_DAYS_PRIVILEGED>]
[--password_min_change <PASSWORD_MIN_CHANGE>]
[--password_min_change_privileged <PASSWORD_MIN_CHANGE_PRIVILEGED>]
[--require_generated_password_change <yes|no>]
[--whitelist_networks <WHITELIST_NETWORKS ...>]
[--tfa_client <OTP>]
[--tfa_wait_sec <TFA_WAIT_SEC>]
[--otp_code_live_period_years <OTP_CODE_LIVE_PERIOD_YEARS>]
[--notif_route <NOTIF_ROUTE>]
[--ns_owner_access <yes|no>]
arguments:
-h, --help Show this help message and exit
--auth_type <BASIC|TFA> Auth type (default - BASIC)
--auth_type_privileged <BASIC|TFA> Auth type (default - BASIC)
--cert <yes|no> Using cert for verify users connections
--cert_privileged <yes|no> Using cert for verify users connections
--ldap <LDAP> LDAP config name
--ldap_sync <yes|no> Sync data from LDAP server (default - no)
--validation_ip <yes|no> Check client network adress (default - no)
--acc_delete_days <ACC_DELETE_DAYS> Days after completly delete account (default - 45 days)
--acc_block_unused_days <ACC_BLOCK_UNUSED_DAYS> Days after block unused account (default - 45 days)
--acc_block_try_cnt <ACC_BLOCK_TRY_CNT> Try login count before suspend (default - 3)
--acc_block_try_cnt_privileged <ACC_BLOCK_TRY_CNT_PRIVILEGED> Try login count before suspend (default - 3)
--acc_block_try_timeout_sec <ACC_BLOCK_TRY_TIMEOUT_SEC> Try login interval counting (default - 5 min)
--acc_block_try_timeout_sec_privileged <ACC_BLOCK_TRY_TIMEOUT_SEC_PRIVILEGED> Try login interval counting (default - 5 min)
--acc_block_try_suspend_sec <ACC_BLOCK_TRY_SUSPEND_SEC> Try login suspend timeout (default - 60 min)
--acc_block_try_suspend_sec_privileged <ACC_BLOCK_TRY_SUSPEND_SEC_PRIVILEGED> Try login suspend timeout (default - 60 min)
--sessions_max_cnt <SESSIONS_MAX_CNT> Max number of user sessions (default - 2)
--sessions_max_cnt_privileged <SESSIONS_MAX_CNT_PRIVILEGED> Max number of user sessions (default - 2)
--sessions_timeout_sec <SESSIONS_TIMEOUT_SEC> Session timeout (default - 5 min)
--sessions_timeout_sec_privileged <SESSIONS_TIMEOUT_SEC_PRIVILEGED> Session timeout (default - 5 min)
--sessions_multi_origin <yes|no> Allow multiple user sessions from different IPs
--password_pattern <PASSWORD_PATTERN> Password regexp pattern (default - min 8 + UpperCase + LowerCase + Number + Spec char )
--password_pattern_privileged <PASSWORD_PATTERN_PRIVILEGED> Password regexp pattern (default - min 8 + UpperCase + LowerCase + Number + Spec char )
--password_salt <PASSWORD_SALT> Additional password salt (default - empty)
--password_diff_cnt <PASSWORD_DIFF_CNT> Password difference count char (default - 4)
--password_diff_cnt_privileged <PASSWORD_DIFF_CNT_PRIVILEGED> Password difference count char (default - 4)
--password_exp_days <PASSWORD_EXP_DAYS> Password expiration period (default - 60 days)
--password_exp_days_privileged <PASSWORD_EXP_DAYS_PRIVILEGED> Password expiration period (default - 60 days)
--password_min_exp_days <PASSWORD_MIN_EXP_DAYS> Password min expiration period (default - 10 days)
--password_min_exp_days_privileged <PASSWORD_MIN_EXP_DAYS_PRIVILEGED> Password min expiration period (default - 10 days)
--password_min_change <PASSWORD_MIN_CHANGE> Password min change count symbols (default - 2)
--password_min_change_privileged <PASSWORD_MIN_CHANGE_PRIVILEGED> Password min change count symbols (default - 2)
--require_generated_password_change <yes|no> Is possible to enter in namespace by user with generated password
--whitelist_networks <WHITELIST_NETWORKS ...> List of white networks
--tfa_client <OTP> TFA Client factor (default - OTP)
--tfa_wait_sec <TFA_WAIT_SEC> TFA timeout (default - 1 min)
--otp_code_live_period_years <OTP_CODE_LIVE_PERIOD_YEARS> The time period from the moment the OTP-code is installed when it will be valid (in years)
--notif_route <NOTIF_ROUTE> Route name for notifications
--ns_owner_access <yes|no> Namespace owner access (default - yes)
List permissions
aaa permissions list
usage: aaa permissions list [-h] [--cluster <CLUSTER>]
[--ns <NS>]
[--plugin <PLUGIN>]
[--accessibility <c|a>]
arguments:
-h, --help Show this help message and exit
--cluster <CLUSTER> List of permissions requested for cluster
--ns <NS> List of permissions requested for namespace
--plugin <PLUGIN> Filter by plugin
--accessibility <c|a> Filter by accessibility
Delegating permissions to namespace
aaa permissions ns add
usage: aaa permissions ns add [-h] --ns <NS>
--permissions <PERMISSIONS ...>
arguments:
-h, --help Show this help message and exit
--ns <NS> Namespace to modify permissions list
--permissions <PERMISSIONS ...> Permissions list
Delete permissions from namespace
aaa permissions ns del
usage: aaa permissions ns del [-h] --ns <NS>
--permissions <PERMISSIONS ...>
arguments:
-h, --help Show this help message and exit
--ns <NS> Namespace to modify permissions list
--permissions <PERMISSIONS ...> Permissions list
Shows available or unavailable permissions in namespace
aaa permissions ns list
usage: aaa permissions ns list [-h] --ns <NS>
[--filter <FILTER>]
arguments:
-h, --help Show this help message and exit
--ns <NS> List of permissions requested for namespace
--filter <FILTER> Filter of permissions requested for namespace (default: enable)
Add new role
aaa role add
usage: aaa role add [-h] --role <ROLE>
--permissions <PERMISSIONS ...>
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--role <ROLE> Role name
--permissions <PERMISSIONS ...> List of permissions
--descr <DESCR> Description of the role
Delete role
aaa role del
usage: aaa role del [-h] --role <ROLE>
arguments:
-h, --help Show this help message and exit
--role <ROLE> Role name
List roles
aaa role list
Show role
aaa role show
usage: aaa role show [-h] --role <ROLE>
arguments:
-h, --help Show this help message and exit
--role <ROLE> Role name
Update role
aaa role update
usage: aaa role update [-h] --role <ROLE>
[--permissions <PERMISSIONS ...>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--role <ROLE> Role name
--permissions <PERMISSIONS ...> List of permissions
--descr <DESCR> Description of the role
Delete session
aaa session del
usage: aaa session del [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Session UUID
List sessions
aaa session list
Set user active time
aaa user active add
usage: aaa user active add [-h] --login <LOGIN>
[--date_from <DATE_FROM>]
[--date_before <DATE_BEFORE>]
[--active_weekdays <ACTIVE_WEEKDAYS ...>]
[--time_from <TIME_FROM>]
[--time_before <TIME_BEFORE>]
arguments:
-h, --help Show this help message and exit
--login <LOGIN> User login
--date_from <DATE_FROM> date user is active from
--date_before <DATE_BEFORE> date user is active before
--active_weekdays <ACTIVE_WEEKDAYS ...> user active weekdays
--time_from <TIME_FROM> daily time user is active from
--time_before <TIME_BEFORE> daily time user is active before
Delete user active time
aaa user active del
usage: aaa user active del [-h] --login <LOGIN>
arguments:
-h, --help Show this help message and exit
--login <LOGIN> login
Show user active time
aaa user active show
usage: aaa user active show [-h] --login <LOGIN>
arguments:
-h, --help Show this help message and exit
--login <LOGIN> login
Update user active time
aaa user active update
usage: aaa user active update [-h] --login <LOGIN>
[--date_from <DATE_FROM>]
[--date_before <DATE_BEFORE>]
[--active_weekdays <ACTIVE_WEEKDAYS ...>]
[--time_from <TIME_FROM>]
[--time_before <TIME_BEFORE>]
arguments:
-h, --help Show this help message and exit
--login <LOGIN> User login
--date_from <DATE_FROM> date user is active from
--date_before <DATE_BEFORE> date user is active before
--active_weekdays <ACTIVE_WEEKDAYS ...> user active weekdays
--time_from <TIME_FROM> daily time user is active from
--time_before <TIME_BEFORE> daily time user is active before
Add new user
aaa user add
usage: aaa user add [-h] --login <LOGIN>
--path <PATH>
[--email <EMAIL>]
[--whitelist_networks <WHITELIST_NETWORKS ...>]
[--roles <ROLES ...>]
[--descr <DESCR>]
[--passwd <PASSWD>]
arguments:
-h, --help Show this help message and exit
--login <LOGIN> User login
--path <PATH> User path
--email <EMAIL> User email
--whitelist_networks <WHITELIST_NETWORKS ...> List of white networks
--roles <ROLES ...> User roles
--descr <DESCR> User description
--passwd <PASSWD> User password
Send namespace cert to user(s)
aaa user cert notify
usage: aaa user cert notify [-h] --login <LOGIN>
arguments:
-h, --help Show this help message and exit
--login <LOGIN> User login
Delete user (force delete user data)
aaa user clear
usage: aaa user clear [-h] --login <LOGIN>
arguments:
-h, --help Show this help message and exit
--login <LOGIN> User login
Delete user
aaa user del
usage: aaa user del [-h] --login <LOGIN>
arguments:
-h, --help Show this help message and exit
--login <LOGIN> User login
List users
aaa user list
Delete yourself OTP token
aaa user otp del
Delete OTP token of user
aaa user otp user del
usage: aaa user otp user del [-h] --login <LOGIN>
arguments:
-h, --help Show this help message and exit
--login <LOGIN> User login whose otp-code needs to be deleted
Update your email or password
aaa user param update
usage: aaa user param update [-h] [--email <EMAIL>]
[--passwd <PASSWD>]
[--prev_passwd <PREV_PASSWD>]
arguments:
-h, --help Show this help message and exit
--email <EMAIL> User email
--passwd <PASSWD> User password
--prev_passwd <PREV_PASSWD> User last password
Reset user password
aaa user passwd reset
usage: aaa user passwd reset [-h] --login <LOGIN>
arguments:
-h, --help Show this help message and exit
--login <LOGIN> User login
Update user path
aaa user path update
usage: aaa user path update [-h] --login <LOGIN>
--path <PATH>
arguments:
-h, --help Show this help message and exit
--login <LOGIN> User login
--path <PATH> User path
Show all ns paths available to user
aaa user self path access show
Show user (self)
aaa user self show
Show user
aaa user show
usage: aaa user show [-h] --login <LOGIN>
arguments:
-h, --help Show this help message and exit
--login <LOGIN> User login
Update user status
aaa user status update
usage: aaa user status update [-h] --login <LOGIN>
--status <ACTIVE|BLOCKED>
arguments:
-h, --help Show this help message and exit
--login <LOGIN> User login
--status <ACTIVE|BLOCKED> User status
Update user
aaa user update
usage: aaa user update [-h] --login <LOGIN>
[--email <EMAIL>]
[--roles <ROLES ...>]
[--descr <DESCR>]
[--passwd <PASSWD>]
[--prev_passwd <PREV_PASSWD>]
[--cert <yes|no>]
arguments:
-h, --help Show this help message and exit
--login <LOGIN> User login
--email <EMAIL> User email
--roles <ROLES ...> User roles
--descr <DESCR> User description
--passwd <PASSWD> User password
--prev_passwd <PREV_PASSWD> User last password
--cert <yes|no> Update user cert (default: no)
Update user whielist networks
aaa user whitelist update
usage: aaa user whitelist update [-h] --login <LOGIN>
--whitelist_networks <WHITELIST_NETWORKS ...>
arguments:
-h, --help Show this help message and exit
--login <LOGIN> User login
--whitelist_networks <WHITELIST_NETWORKS ...> List of white networks
aaaevents plugin
Set notif route used if case there is not enough space for storing security events. Running without params returns current route used
aaaevents archive freespacelimitnotifroute
usage: aaaevents archive freespacelimitnotifroute [-h] [--setroute <SETROUTE>]
arguments:
-h, --help Show this help message and exit
--setroute <SETROUTE> Notif route used for lack of free space notification. Use None to switch it off
Make aaaevents archive file manually (all events to be deleted from aaaevents log)
aaaevents archive make
usage: aaaevents archive make [-h] --up_to_date <UP_TO_DATE>
arguments:
-h, --help Show this help message and exit
--up_to_date <UP_TO_DATE> all the events in the log up to the desired date to be archived format yyyy-mm-dd (ex. 2023-10-13) for date UTC timezone or negative integer (ex. -10) to provide offset from current date
Show event defaults
aaaevents event defaults
Show avaliable events
aaaevents event desc
usage: aaaevents event desc [-h] [--filter <FILTER>]
arguments:
-h, --help Show this help message and exit
--filter <FILTER> Plugin filter
List user events
aaaevents event list
usage: aaaevents event list [-h] [--operation <OPERATION>]
[--group <GROUP>]
[--level <LEVEL>]
[--login <LOGIN>]
[--limit <LIMIT>]
[--begin <BEGIN>]
[--end <END>]
[--full <yes|no>]
[--obj_uuid <OBJ_UUID>]
arguments:
-h, --help Show this help message and exit
--operation <OPERATION> Operation name
--group <GROUP> Event group name
--level <LEVEL> Event level name
--login <LOGIN> User/login name
--limit <LIMIT> Number of events (default: 10)
--begin <BEGIN> Start date (d/m/Y, H:M:S)
--end <END> End date (d/m/Y, H:M:S)
--full <yes|no> Show full events message
--obj_uuid <OBJ_UUID> Target obj_uuid of the event
Set minimal level of events to be logged. Running without params returns current level (default - INFO)
aaaevents event loglevel
usage: aaaevents event loglevel [-h] [--setlevel <INFO|WARN|CRITICAL>]
arguments:
-h, --help Show this help message and exit
--setlevel <INFO|WARN|CRITICAL> Minimal level of events to be saved
Show user event
aaaevents event show
usage: aaaevents event show [-h] --uuid <UUID>
[--login <LOGIN>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Event UUID
--login <LOGIN> User/login name
Show available event types
aaaevents event types
Add AAA Events params
aaaevents param add
usage: aaaevents param add [-h] [--ttl_days <TTL_DAYS>]
[--events_params <EVENTS_PARAMS>]
arguments:
-h, --help Show this help message and exit
--ttl_days <TTL_DAYS> TTL in days for events (must be in [92, 1096] range)
--events_params <EVENTS_PARAMS> Events parameters (group, level, prop)
Delete AAA events params
aaaevents param del
Show AAA Events params
aaaevents param show
Update AAA Events params
aaaevents param update
usage: aaaevents param update [-h] [--ttl_days <TTL_DAYS>]
[--events_params <EVENTS_PARAMS>]
arguments:
-h, --help Show this help message and exit
--ttl_days <TTL_DAYS> TTL in days for events (must be in [92, 1096] range)
--events_params <EVENTS_PARAMS> Events parameters (group, level, prop)
Add new syslog connection configuration
aaaevents syslog add
usage: aaaevents syslog add [-h] --protocol <PROTOCOL>
--address <ADDRESS>
[--port <PORT>]
[--use_tls <USE_TLS>]
[--ca_data <CA_DATA>]
[--ca_file <CA_FILE>]
[--log_enabled <LOG_ENABLED>]
arguments:
-h, --help Show this help message and exit
--protocol <PROTOCOL> protocol to use when logging to syslog
--address <ADDRESS> syslog server address
--port <PORT> syslog server connection port
--use_tls <USE_TLS> use secure connection to syslog server (default: no)
--ca_data <CA_DATA> CA file content
--ca_file <CA_FILE> path to CA file
--log_enabled <LOG_ENABLED> enable logging to syslog server (default: no)
Delete syslog connection configuration
aaaevents syslog del
Show syslog connection configuration
aaaevents syslog show
Update syslog connection configuration
aaaevents syslog update
usage: aaaevents syslog update [-h] [--protocol <PROTOCOL>]
[--address <ADDRESS>]
[--port <PORT>]
[--use_tls <USE_TLS>]
[--ca_data <CA_DATA>]
[--ca_file <CA_FILE>]
[--log_enabled <LOG_ENABLED>]
arguments:
-h, --help Show this help message and exit
--protocol <PROTOCOL> protocol to use when logging to syslog
--address <ADDRESS> syslog server address
--port <PORT> port
--use_tls <USE_TLS> use secure connection to syslog server
--ca_data <CA_DATA> CA file content
--ca_file <CA_FILE> path to CA file
--log_enabled <LOG_ENABLED> enable logging to syslog server
checker plugin
Define a new procedure for use in the cluster.
checker procedure add
usage: checker procedure add [-h] --name <NAME>
--definition <DEFINITION>
[--json <yes|no>]
[--validate <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of the procedure. Must be unique within the cluster.
--definition <DEFINITION> Yaml definition of the procedure.
--json <yes|no> Should the output of this command be returned as json?
--validate <yes|no> Should this command just validate the passed definition instead of adding it?
Remove a procedure from cluster. Also undelegates and unschedules it from all namespaces.
checker procedure del
usage: checker procedure del [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of the procedure to be undefined.
Delegate a procedure to namespaces, making it possible to schedule it.
checker procedure delegate
usage: checker procedure delegate [-h] --name <NAME>
--ns <NS ...>
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of the procedure to be (un)delegated.
--ns <NS ...> Namespace(s) this procedure should be (un)delegated to(from).
Manually execute a procedure.
checker procedure execute
usage: checker procedure execute [-h] --name <NAME>
[--vars <VARS>]
[--json <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of the procedure to be executed.
--vars <VARS> Default variables to be set. (default: {})
--json <yes|no> Should the output of this command be returned as json?
Stop a procedure from execution
checker procedure interrupt
usage: checker procedure interrupt [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> UUID of running procedure to interrupt
List all registered procedures.
checker procedure list all
usage: checker procedure list all [-h] [--ns <NS ...>]
arguments:
-h, --help Show this help message and exit
--ns <NS ...> Filter namespaces to show
List procedures delegated to this namespace.
checker procedure list ns
Schedule a procedure to run within this namespace.
checker procedure schedule add
usage: checker procedure schedule add [-h] --name <NAME>
--cron <CRON>
[--vars <VARS>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of the procedure to be scheduled.
--cron <CRON> Cron schedule to run at.
--vars <VARS> Default variables to be set. (default: {})
Unschedule a procedure.
checker procedure schedule del
usage: checker procedure schedule del [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> UUID of a scheduled procedure to remove
Show all procedures scheduled to run in this namespace.
checker procedure schedule list
Show all procedures scheduled to run in this namespace.
checker procedure schedule update
usage: checker procedure schedule update [-h] --uuid <UUID>
--cron <CRON>
[--vars <VARS>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> UUID of a scheduled procedure to remove
--cron <CRON> Cron schedule to run at.
--vars <VARS> Default variables to be set.
Show detailed description of the procedure.
checker procedure show
usage: checker procedure show [-h] --name <NAME>
[--json <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of the procedure to show.
--json <yes|no> Should the output of this command be returned as json?
Clears the status log by deleting all statuses of already completed procedures.
checker procedure status clear
Delete status of a procedure from a list. This is only possible for completed procedures.
checker procedure status del
usage: checker procedure status del [-h] --uuid <UUID>
[--json <yes|no>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Task UUID of a procedure.
--json <yes|no> Should the output of this command be returned as json?
List statuses of all executed procedures
checker procedure status list
Show status of a completed or in-progress procedure.
checker procedure status show
usage: checker procedure status show [-h] --uuid <UUID>
[--json <yes|no>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Task UUID of a procedure.
--json <yes|no> Should the output of this command be returned as json?
Undelegate a procedure from namespaces, making it inaccessible to schedule.
checker procedure undelegate
usage: checker procedure undelegate [-h] --name <NAME>
--ns <NS ...>
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of the procedure to be (un)delegated.
--ns <NS ...> Namespace(s) this procedure should be (un)delegated to(from).
Update definition of an existing procedure.
checker procedure update
usage: checker procedure update [-h] --name <NAME>
--definition <DEFINITION>
[--json <yes|no>]
[--validate <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of the procedure. Must be unique within the cluster.
--definition <DEFINITION> Yaml definition of the procedure.
--json <yes|no> Should the output of this command be returned as json?
--validate <yes|no> Should this command just validate the passed definition instead of adding it?
commands plugin
Shows bmc info
commands ipmi info
usage: commands ipmi info [-h] --node_uuid <NODE_UUID>
arguments:
-h, --help Show this help message and exit
--node_uuid <NODE_UUID> cluster node uuid
Set node IPMI credentials
commands ipmi node add
usage: commands ipmi node add [-h] --node_uuid <NODE_UUID>
--ipmi_addr <IPMI_ADDR>
--user <USER>
--password <PASSWORD>
[--node_name <NODE_NAME>]
[--ipmi_port <IPMI_PORT>]
arguments:
-h, --help Show this help message and exit
--node_uuid <NODE_UUID> cluster node uuid
--ipmi_addr <IPMI_ADDR> ipmi address
--user <USER> ipmi user
--password <PASSWORD> ipmi password
--node_name <NODE_NAME> node name
--ipmi_port <IPMI_PORT> ipmi port (default: 623)
Removes node IPMI credentials
commands ipmi node del
usage: commands ipmi node del [-h] --node_uuid <NODE_UUID>
arguments:
-h, --help Show this help message and exit
--node_uuid <NODE_UUID> cluster node uuid
List IPMI credentials by node
commands ipmi node list
Show node IPMI credentials
commands ipmi node show
usage: commands ipmi node show [-h] --node_uuid <NODE_UUID>
arguments:
-h, --help Show this help message and exit
--node_uuid <NODE_UUID> cluster node uuid
Update node IPMI credentials
commands ipmi node update
usage: commands ipmi node update [-h] --node_uuid <NODE_UUID>
[--node_name <NODE_NAME>]
[--ipmi_addr <IPMI_ADDR>]
[--ipmi_port <IPMI_PORT>]
[--user <USER>]
[--password <PASSWORD>]
arguments:
-h, --help Show this help message and exit
--node_uuid <NODE_UUID> cluster node uuid
--node_name <NODE_NAME> node name
--ipmi_addr <IPMI_ADDR> ipmi address
--ipmi_port <IPMI_PORT> ipmi port
--user <USER> ipmi user
--password <PASSWORD> new ipmi password
Poweroff node
commands ipmi power off
usage: commands ipmi power off [-h] --node_uuid <NODE_UUID>
arguments:
-h, --help Show this help message and exit
--node_uuid <NODE_UUID> cluster node uuid
Poweron node
commands ipmi power on
usage: commands ipmi power on [-h] --node_uuid <NODE_UUID>
arguments:
-h, --help Show this help message and exit
--node_uuid <NODE_UUID> cluster node uuid
Reset node power
commands ipmi power reset
usage: commands ipmi power reset [-h] --node_uuid <NODE_UUID>
[--mode <warm|cold>]
arguments:
-h, --help Show this help message and exit
--node_uuid <NODE_UUID> cluster node uuid
--mode <warm|cold> reset mode (default: warm) (default: warm)
goss plugin
Add goss check
goss global check add
usage: goss global check add [-h] --name <NAME>
[--descr <DESCR>]
[--data <DATA>]
[--hook_data <HOOK_DATA>]
[--cron <CRON>]
[--run_code <VIP|ALL>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Check name
--descr <DESCR> Check description
--data <DATA> Check data
--hook_data <HOOK_DATA> Hook data
--cron <CRON> CRON schedule
--run_code <VIP|ALL> Run strategy (default - VIP)
Delete goss check
goss global check del
usage: goss global check del [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Check name
List goss check
goss global check list
Run check
goss global check run
usage: goss global check run [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Check name
Show goss check
goss global check show
usage: goss global check show [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Check name
Update goss check
goss global check update
usage: goss global check update [-h] --name <NAME>
[--descr <DESCR>]
[--data <DATA>]
[--hook_data <HOOK_DATA>]
[--cron <CRON>]
[--run_code <VIP|ALL>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Check name
--descr <DESCR> Check description
--data <DATA> Check data
--hook_data <HOOK_DATA> Hook data
--cron <CRON> CRON schedule
--run_code <VIP|ALL> Run strategy (default - VIP)
List goss events
goss global event list
usage: goss global event list [-h] [--limit <LIMIT>]
arguments:
-h, --help Show this help message and exit
--limit <LIMIT> Limit count events
Show event
goss global event show
usage: goss global event show [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Uuid of the event
hardware plugin
List hardware events
hardware event list
usage: hardware event list [-h] --server_id <SERVER_ID>
--event_id <EVENT_ID>
[--limit <LIMIT>]
arguments:
-h, --help Show this help message and exit
--server_id <SERVER_ID> Node UUID
--event_id <EVENT_ID> Event ID name
--limit <LIMIT> Limit count events
ipam plugin
Add ACLs rules
ipam acl add
usage: ipam acl add [-h] --data <DATA>
arguments:
-h, --help Show this help message and exit
--data <DATA> ACLs rules as JSON string
Del ACL rule
ipam acl del
usage: ipam acl del [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> ACL name
List ACLs rules
ipam acl list
Show ACLs rules
ipam acl show
usage: ipam acl show [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> ACL name
Update ACLs rules
ipam acl update
usage: ipam acl update [-h] --name <NAME>
--data <DATA>
arguments:
-h, --help Show this help message and exit
--name <NAME> ACL name
--data <DATA> ACLs rules as JSON string
List allocated ip in vnet
ipam addr allocated list
usage: ipam addr allocated list [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> net_uuid or subnet_uuid
List free ip in vnet
ipam addr free list
usage: ipam addr free list [-h] --uuid <UUID>
[--full_output <FULL_OUTPUT>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> net_uuid or subnet_uuid
--full_output <FULL_OUTPUT>
Add virtual ip
ipam addr virtual add
usage: ipam addr virtual add [-h] --net_uuid <NET_UUID>
--ip <IP>
arguments:
-h, --help Show this help message and exit
--net_uuid <NET_UUID> Network UUID
--ip <IP> Virtual IP
Del virtual ip
ipam addr virtual del
usage: ipam addr virtual del [-h] --net_uuid <NET_UUID>
--ip <IP>
arguments:
-h, --help Show this help message and exit
--net_uuid <NET_UUID> Network UUID
--ip <IP> Virtual IP
List virtual ip
ipam addr virtual list
usage: ipam addr virtual list [-h] --net_uuid <NET_UUID>
arguments:
-h, --help Show this help message and exit
--net_uuid <NET_UUID> Network UUID
Add ACLs to iface
ipam iface acls add
usage: ipam iface acls add [-h] --net_uuid <NET_UUID>
--iface_uuid <IFACE_UUID>
--acls <ACLS ...>
arguments:
-h, --help Show this help message and exit
--net_uuid <NET_UUID> Network UUID
--iface_uuid <IFACE_UUID> Network interface UUID
--acls <ACLS ...> List of ACLs names
Delete ACLs from iface
ipam iface acls del
usage: ipam iface acls del [-h] --net_uuid <NET_UUID>
--iface_uuid <IFACE_UUID>
--acls <ACLS ...>
arguments:
-h, --help Show this help message and exit
--net_uuid <NET_UUID> Network UUID
--iface_uuid <IFACE_UUID> Network interface UUID
--acls <ACLS ...> List of ACLs names
List network interfaces
ipam iface list
usage: ipam iface list [-h] [--net_uuid <NET_UUID>]
[--vxlan_uuid <VXLAN_UUID>]
[--show_acl <SHOW_ACL>]
arguments:
-h, --help Show this help message and exit
--net_uuid <NET_UUID> Network UUID
--vxlan_uuid <VXLAN_UUID> VxLAN UUID
--show_acl <SHOW_ACL> Show ACL rules for interface yes/no (default: no)
Show users with existing VM network interface rights
ipam iface rights
usage: ipam iface rights [-h] --iface_uuid <IFACE_UUID>
arguments:
-h, --help Show this help message and exit
--iface_uuid <IFACE_UUID> Interface UUID
Update existing VM network interface
ipam iface update
usage: ipam iface update [-h] --iface_uuid <IFACE_UUID>
--ip <IP>
arguments:
-h, --help Show this help message and exit
--iface_uuid <IFACE_UUID> Interface UUID
--ip <IP> New IP address for interface
Add ACLs to network
ipam network acls add
usage: ipam network acls add [-h] --net_uuid <NET_UUID>
--acls <ACLS ...>
arguments:
-h, --help Show this help message and exit
--net_uuid <NET_UUID>
--acls <ACLS ...> List of ACLs names
Delete ACLs from network
ipam network acls del
usage: ipam network acls del [-h] --net_uuid <NET_UUID>
--acls <ACLS ...>
arguments:
-h, --help Show this help message and exit
--net_uuid <NET_UUID> Network UUID
--acls <ACLS ...> List of ACLs names
Add IPAM network
ipam network add
usage: ipam network add [-h] --name <NAME>
--ipv <4|6>
--vlan <VLAN>
--v4_net <V4_NET>
[--ns <NS>]
[--mtu <MTU>]
[--v4_pref <V4_PREF>]
[--v4_mask <V4_MASK>]
[--v4_start <V4_START>]
[--v4_end <V4_END>]
[--v4_gw <V4_GW>]
[--v4_dns1 <V4_DNS1>]
[--v4_dns2 <V4_DNS2>]
[--v6_dns1 <V6_DNS1>]
[--v6_dns2 <V6_DNS2>]
[--v6_np <V6_NP>]
[--v6_gw <V6_GW>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Network name
--ipv <4|6> Network IP version
--vlan <VLAN> Vlan id
--v4_net <V4_NET> IPv4 network
--ns <NS> Target namespace
--mtu <MTU> MTU size
--v4_pref <V4_PREF> IPv4 network prefix
--v4_mask <V4_MASK> IPv4 network mask
--v4_start <V4_START> IPv4 network start address
--v4_end <V4_END> IPv4 network end address
--v4_gw <V4_GW> IPv4 network gateway address
--v4_dns1 <V4_DNS1> IPv4 dns
--v4_dns2 <V4_DNS2> IPv4 dns
--v6_dns1 <V6_DNS1> IPv6 dns
--v6_dns2 <V6_DNS2> IPv6 dns
--v6_np <V6_NP> IPv6 network np
--v6_gw <V6_GW> IPv6 network gateway address
--descr <DESCR> Description
Delete IPAM network
ipam network del
usage: ipam network del [-h] --net_uuid <NET_UUID>
arguments:
-h, --help Show this help message and exit
--net_uuid <NET_UUID> Network UUID
List IPAM VLANs or VxLANs
ipam network list
usage: ipam network list [-h] [--show_acl <SHOW_ACL>]
arguments:
-h, --help Show this help message and exit
--show_acl <SHOW_ACL> should show acls
Show users with IPAM network rights
ipam network rights
usage: ipam network rights [-h] --net_uuid <NET_UUID>
arguments:
-h, --help Show this help message and exit
--net_uuid <NET_UUID> Network UUID
Show IPAM network
ipam network show
usage: ipam network show [-h] --net_uuid <NET_UUID>
[--show_acl <SHOW_ACL>]
arguments:
-h, --help Show this help message and exit
--net_uuid <NET_UUID> Network UUID
--show_acl <SHOW_ACL> should show acls
Update IPAM VLAN or VxLAN
ipam network update
usage: ipam network update [-h] --net_uuid <NET_UUID>
[--name <NAME>]
[--ns <NS>]
[--mtu <MTU>]
[--v4_gw <V4_GW>]
[--v6_gw <V6_GW>]
[--descr <DESCR>]
[--v4_start <V4_START>]
[--v4_end <V4_END>]
[--v4_dns1 <V4_DNS1>]
[--v4_dns2 <V4_DNS2>]
arguments:
-h, --help Show this help message and exit
--net_uuid <NET_UUID> Network UUID
--name <NAME> Network name
--ns <NS> Target namespace
--mtu <MTU> MTU size
--v4_gw <V4_GW> IPv4 network gateway address
--v6_gw <V6_GW> IPv6 network gateway address
--descr <DESCR> Description
--v4_start <V4_START> IPv4 network start address
--v4_end <V4_END> IPv4 network end address
--v4_dns1 <V4_DNS1> IPv4 dns
--v4_dns2 <V4_DNS2> IPv4 dns
Add IPAM params
ipam param add
usage: ipam param add [-h] --mac_prefix <MAC_PREFIX ...>
--allocated_vlans <ALLOCATED_VLANS ...>
--reserved_vlans <RESERVED_VLANS ...>
--bridge <BRIDGE>
[--ipv6_group <IPV6_GROUP>]
[--reserved_v4_nets <RESERVED_V4_NETS ...>]
[--mtu <MTU>]
[--vtep_if <VTEP_IF>]
[--vxlan_vid_range <VXLAN_VID_RANGE ...>]
arguments:
-h, --help Show this help message and exit
--mac_prefix <MAC_PREFIX ...> List of MACs
--allocated_vlans <ALLOCATED_VLANS ...> List of allocated vlans
--reserved_vlans <RESERVED_VLANS ...> List of reserved vlans
--bridge <BRIDGE> Bridge interface
--ipv6_group <IPV6_GROUP> IPv6 group
--reserved_v4_nets <RESERVED_V4_NETS ...> List of reserved ipv4 /24 networks
--mtu <MTU> MTU size
--vtep_if <VTEP_IF> VTEP interface name
--vxlan_vid_range <VXLAN_VID_RANGE ...> List of allocated vlans for VxLAN networks
Delete IPAM params
ipam param del
Show IPAM params
ipam param show
Update IPAM params
ipam param update
usage: ipam param update [-h] [--mac_prefix <MAC_PREFIX ...>]
[--ipv6_group <IPV6_GROUP>]
[--allocated_vlans <ALLOCATED_VLANS ...>]
[--reserved_vlans <RESERVED_VLANS ...>]
[--reserved_v4_nets <RESERVED_V4_NETS ...>]
[--v4_gw <V4_GW>]
[--mtu <MTU>]
[--bridge <BRIDGE>]
[--vtep_if <VTEP_IF>]
[--vxlan_vid_range <VXLAN_VID_RANGE ...>]
arguments:
-h, --help Show this help message and exit
--mac_prefix <MAC_PREFIX ...> List of MACs
--ipv6_group <IPV6_GROUP> IPv6 group
--allocated_vlans <ALLOCATED_VLANS ...> List of allocated vlans
--reserved_vlans <RESERVED_VLANS ...> List of reserved vlans
--reserved_v4_nets <RESERVED_V4_NETS ...> List of reserved ipv4 /24 networks
--v4_gw <V4_GW> IPv4 network gateway address
--mtu <MTU> MTU size
--bridge <BRIDGE> Bridge interface
--vtep_if <VTEP_IF> VTEP interface name
--vxlan_vid_range <VXLAN_VID_RANGE ...> List of allocated vlans for VxLAN networks
Define VxLAN network
ipam vxlan network add
usage: ipam vxlan network add [-h] --name <NAME>
[--ns <NS>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> VxLAN network name
--ns <NS> VxLAN target namespace
--descr <DESCR> VxLAN network description
Delete VxLAN network
ipam vxlan network del
usage: ipam vxlan network del [-h] --vxlan_uuid <VXLAN_UUID>
arguments:
-h, --help Show this help message and exit
--vxlan_uuid <VXLAN_UUID> VxLAN UUID
List all cluster VxLAN networks
ipam vxlan network list
Show users with VxLAN network rights
ipam vxlan network rights
usage: ipam vxlan network rights [-h] --vxlan_uuid <VXLAN_UUID>
arguments:
-h, --help Show this help message and exit
--vxlan_uuid <VXLAN_UUID> VxLAN UUID
Update VxLAN network
ipam vxlan network update
usage: ipam vxlan network update [-h] --vxlan_uuid <VXLAN_UUID>
[--name <NAME>]
[--ns <NS>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--vxlan_uuid <VXLAN_UUID> VxLAN UUID
--name <NAME> VxLAN network name
--ns <NS> VxLAN target namespace
--descr <DESCR> VxLAN network description
Create VxLAN subnet
ipam vxlan subnet add
usage: ipam vxlan subnet add [-h] --name <NAME>
--vxlan_uuid <VXLAN_UUID>
--network <NETWORK>
--ip_first <IP_FIRST>
--ip_last <IP_LAST>
[--gateway <GATEWAY>]
[--dns_1 <DNS_1>]
[--dns_2 <DNS_2>]
[--desc <DESC>]
arguments:
-h, --help Show this help message and exit
--name <NAME> network name
--vxlan_uuid <VXLAN_UUID> parent VxLAN UUID
--network <NETWORK> network address
--ip_first <IP_FIRST> network ip range start
--ip_last <IP_LAST> network ip range end
--gateway <GATEWAY> default gateway address
--dns_1 <DNS_1> dns1 server address
--dns_2 <DNS_2> dns2 server address
--desc <DESC> network description
Delete VxLAN subnet
ipam vxlan subnet del
usage: ipam vxlan subnet del [-h] --subnet_uuid <SUBNET_UUID>
arguments:
-h, --help Show this help message and exit
--subnet_uuid <SUBNET_UUID> subnet UUID
List VxLAN subnets
ipam vxlan subnet list
usage: ipam vxlan subnet list [-h] [--vxlan_uuid <VXLAN_UUID>]
arguments:
-h, --help Show this help message and exit
--vxlan_uuid <VXLAN_UUID> parent VxLAN UUID
Show users with VxLAN subnet rights
ipam vxlan subnet rights
usage: ipam vxlan subnet rights [-h] --subnet_uuid <SUBNET_UUID>
arguments:
-h, --help Show this help message and exit
--subnet_uuid <SUBNET_UUID> subnet UUID
Show VxLAN subnet
ipam vxlan subnet show
usage: ipam vxlan subnet show [-h] --subnet_uuid <SUBNET_UUID>
arguments:
-h, --help Show this help message and exit
--subnet_uuid <SUBNET_UUID> subnet UUID
Update VxLAN subnet
ipam vxlan subnet update
usage: ipam vxlan subnet update [-h] --subnet_uuid <SUBNET_UUID>
[--name <NAME>]
[--ip_first <IP_FIRST>]
[--ip_last <IP_LAST>]
[--gateway <GATEWAY>]
[--dns_1 <DNS_1>]
[--dns_2 <DNS_2>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--subnet_uuid <SUBNET_UUID> subnet UUID
--name <NAME> network name
--ip_first <IP_FIRST> network ip range start
--ip_last <IP_LAST> network ip range end
--gateway <GATEWAY> default gateway address
--dns_1 <DNS_1> dns1 server address
--dns_2 <DNS_2> dns2 server address
--descr <DESCR> network description
lic plugin
Add license to product
lic license add
usage: lic license add [-h] --content <CONTENT>
arguments:
-h, --help Show this help message and exit
--content <CONTENT> license content
Remove license
lic license remove
usage: lic license remove [-h] --force <FORCE>
arguments:
-h, --help Show this help message and exit
--force <FORCE> fill with cluster name to ensure you understand what you are doing
Show license data
lic license show
Update product license
lic license update
usage: lic license update [-h] --content <CONTENT>
arguments:
-h, --help Show this help message and exit
--content <CONTENT> license content
Shows cluster registration info, used for requesting a license and licensing checks
lic registration info
Generates data required to acquire the product license
lic registration requestdata
logdump plugin
Add export task
logdump export add
usage: logdump export add [-h] --node <NODE ...>
--delete_after <DELETE_AFTER>
[--pre_exec <PRE_EXEC ...>]
[--post_exec <POST_EXEC ...>]
[--db <yes|no>]
[--sosreport <yes|no>]
[--passwd <PASSWD>]
arguments:
-h, --help Show this help message and exit
--node <NODE ...> Node names
--delete_after <DELETE_AFTER> Date or number of days after which the archive will be deleted
--pre_exec <PRE_EXEC ...> List of pre commands
--post_exec <POST_EXEC ...> List of post commands
--db <yes|no> Should DB state be exported?
--sosreport <yes|no> Should sosreport file be exported?
--passwd <PASSWD> Password for the exported archive
Clear export task
logdump export clear
usage: logdump export clear [-h] --uuid <UUID>
[--node <NODE>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Task UUID
--node <NODE> Node UUID
List all export tasks
logdump export list
Add Exports params
logdump export param add
usage: logdump export param add [-h] [--pre_exec <PRE_EXEC ...>]
[--post_exec <POST_EXEC ...>]
[--db <yes|no>]
[--sosreport <yes|no>]
[--passwd <PASSWD>]
arguments:
-h, --help Show this help message and exit
--pre_exec <PRE_EXEC ...> List of pre commands
--post_exec <POST_EXEC ...> List of post commands
--db <yes|no> Should DB state be exported? (default: no)
--sosreport <yes|no> Should sosreport file be exported? (default: no)
--passwd <PASSWD> Password for the exported archive
Delete Exports params
logdump export param del
Show Exports params
logdump export param show
Update Exports params
logdump export param update
usage: logdump export param update [-h] [--pre_exec <PRE_EXEC ...>]
[--post_exec <POST_EXEC ...>]
[--db <yes|no>]
[--sosreport <yes|no>]
[--path <PATH>]
[--passwd <PASSWD>]
arguments:
-h, --help Show this help message and exit
--pre_exec <PRE_EXEC ...> List of pre commands
--post_exec <POST_EXEC ...> List of post commands
--db <yes|no> Should DB state be exported?
--sosreport <yes|no> Should sosreport file be exported?
--path <PATH> Path to the dir where the archive will be exported to
--passwd <PASSWD> Password for the exported archive
Show export task
logdump export show
usage: logdump export show [-h] --uuid <UUID>
[--node <NODE>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Task UUID
--node <NODE> Node UUID
Add import task
logdump import add
usage: logdump import add [-h] --node <NODE ...>
[--pre_exec <PRE_EXEC ...>]
[--post_exec <POST_EXEC ...>]
[--zip <ZIP>]
arguments:
-h, --help Show this help message and exit
--node <NODE ...> Node names
--pre_exec <PRE_EXEC ...> List of pre commands
--post_exec <POST_EXEC ...> List of post commands
--zip <ZIP> Zip file name
Clear import task
logdump import clear
usage: logdump import clear [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Task UUID
List all imports tasks
logdump import list
Add Imports params
logdump import param add
usage: logdump import param add [-h] [--pre_exec <PRE_EXEC ...>]
[--post_exec <POST_EXEC ...>]
arguments:
-h, --help Show this help message and exit
--pre_exec <PRE_EXEC ...> List of pre commands
--post_exec <POST_EXEC ...> List of post commands
Delete Imports params
logdump import param del
Show Imports params
logdump import param show
Update Imports params
logdump import param update
usage: logdump import param update [-h] [--pre_exec <PRE_EXEC ...>]
[--post_exec <POST_EXEC ...>]
arguments:
-h, --help Show this help message and exit
--pre_exec <PRE_EXEC ...> List of pre commands
--post_exec <POST_EXEC ...> List of post commands
Show import task
logdump import show
usage: logdump import show [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Task UUID
trace
logdump trace
usage: logdump trace [-h] --trace_token <TRACE_TOKEN>
arguments:
-h, --help Show this help message and exit
--trace_token <TRACE_TOKEN> trace_token
metrics plugin
Metric data fetch from database
metrics data fetch
usage: metrics data fetch [-h] --name <NAME>
--sc_node <SC_NODE>
[--filters <FILTERS>]
[--current <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Exporter name.
--sc_node <SC_NODE> UUID node
--filters <FILTERS> Filtering metrics name and labels (default: [{}])
--current <yes|no> Current metric or all available metrics. (default: yes)
Add configuration exporter
metrics exporter add
usage: metrics exporter add [-h] --name <NAME>
--port <PORT>
[--metrics_path <METRICS_PATH>]
[--nodes <NODES ...>]
[--retention_period <RETENTION_PERIOD>]
[--filters <FILTERS>]
[--cron <CRON>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Exporter name.
--port <PORT> Port to listen on for web interface and telemetry.
--metrics_path <METRICS_PATH> The path to take metrics. (default: /metrics) (default: /metrics)
--nodes <NODES ...> Selecting nodes that should collect metrics. (default: *)
--retention_period <RETENTION_PERIOD> Retention period in seconds. (default: 600) (default: 600)
--filters <FILTERS> Filtering metrics name and labels
--cron <CRON> Cron expression to run exporter.
Delete configuration exporter
metrics exporter del
usage: metrics exporter del [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Exporter name.
List configuration exporter
metrics exporter list
Show configuration exporter
metrics exporter show
usage: metrics exporter show [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Exporter name.
Update configuration exporter
metrics exporter update
usage: metrics exporter update [-h] --name <NAME>
[--port <PORT>]
[--metrics_path <METRICS_PATH>]
[--nodes <NODES ...>]
[--retention_period <RETENTION_PERIOD>]
[--filters <FILTERS>]
[--cron <CRON>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Exporter name.
--port <PORT> Port to listen on for web interface and telemetry.
--metrics_path <METRICS_PATH> The path to take metrics.
--nodes <NODES ...> Selecting nodes that should collect metrics
--retention_period <RETENTION_PERIOD> Retention period in seconds
--filters <FILTERS> Filtering metrics name and labels
--cron <CRON> Cron expression to run exporter.
Add a template
metrics template add
usage: metrics template add [-h] --name <NAME>
[--data <DATA>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Template name.
--data <DATA> Template data. (default: [{}])
Delete a template
metrics template del
usage: metrics template del [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Template name.
Execute template
metrics template execute
usage: metrics template execute [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Template name.
List templates
metrics template list
Show template
metrics template show
usage: metrics template show [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Template name.
Update configuration exporter
metrics template update
usage: metrics template update [-h] --name <NAME>
[--data <DATA>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Template name.
--data <DATA> Template data.
notif plugin
Add notif Endpoint
notif endpoint add
usage: notif endpoint add [-h] --name <NAME>
--url <URL>
[--type <SMTP>]
[--tls <yes|no>]
[--user <USER>]
[--passwd <PASSWD>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Endpoint name
--url <URL> Server url
--type <SMTP> Endpoint type (default - SMTP) (default: SMTP)
--tls <yes|no> Enable tls (default - no) (default: no)
--user <USER> Service server user
--passwd <PASSWD> Service server password
--descr <DESCR> Endpoint description
Delete notif Endpoint
notif endpoint del
usage: notif endpoint del [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Endpoint name
List notif Endpoints
notif endpoint list
Show notif Endpoint
notif endpoint show
usage: notif endpoint show [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Endpoint name
Update notif Endpoint
notif endpoint update
usage: notif endpoint update [-h] --name <NAME>
[--url <URL>]
[--tls <yes|no>]
[--user <USER>]
[--passwd <PASSWD>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Endpoint name
--url <URL> Server url
--tls <yes|no> Enable tls (default - no) (default: no)
--user <USER> Service server user
--passwd <PASSWD> Service server password
--descr <DESCR> Endpoint description
Add notif mailings
notif mailing add
usage: notif mailing add [-h] --name <NAME>
--addresses <ADDRESSES ...>
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Mailings name
--addresses <ADDRESSES ...> List of addresses for message
--descr <DESCR> Mailings description
Delete notif mailings
notif mailing del
usage: notif mailing del [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Mailings name
List notif mailings
notif mailing list
Show notif mailings
notif mailing show
usage: notif mailing show [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Mailings name
Update notif mailings
notif mailing update
usage: notif mailing update [-h] --name <NAME>
--addresses <ADDRESSES ...>
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Mailings name
--addresses <ADDRESSES ...> List of addresses for message
--descr <DESCR> Mailings description
Add message to send
notif message add
usage: notif message add [-h] [--route <ROUTE>]
[--data <DATA>]
arguments:
-h, --help Show this help message and exit
--route <ROUTE> Notif route used to send
--data <DATA> Message data
Delete message
notif message del
usage: notif message del [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Message UUID
List last messages
notif message list
usage: notif message list [-h] [--limit <LIMIT>]
arguments:
-h, --help Show this help message and exit
--limit <LIMIT> Limit count messages
Show message info by uuid
notif message show
usage: notif message show [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Message UUID
Add notif route
notif route add
usage: notif route add [-h] --name <NAME>
--endpoint <ENDPOINT>
--mailing <MAILING>
--sender <SENDER>
--template <TEMPLATE>
[--subject <SUBJECT>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Entry point of route
--endpoint <ENDPOINT> Endpoint name
--mailing <MAILING> Mailing name
--sender <SENDER> Message sender
--template <TEMPLATE> Message template
--subject <SUBJECT> Message subject
--descr <DESCR> Route description
Delete notif route
notif route del
usage: notif route del [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Entry point of route
List notif routes
notif route list
Show notif route
notif route show
usage: notif route show [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Entry point of route
Update notif route
notif route update
usage: notif route update [-h] --name <NAME>
--endpoint <ENDPOINT>
--mailing <MAILING>
--sender <SENDER>
--template <TEMPLATE>
[--subject <SUBJECT>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Entry point of route
--endpoint <ENDPOINT> Endpoint name
--mailing <MAILING> Mailing name
--sender <SENDER> Message sender
--template <TEMPLATE> Message template
--subject <SUBJECT> Message subject
--descr <DESCR> Route description
Add notif template
notif template add
usage: notif template add [-h] --name <NAME>
[--data <DATA>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Template name
--data <DATA> Template data (Jinja)
--descr <DESCR> Mailings description
Delete notif template
notif template del
usage: notif template del [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Template name
List notif templates
notif template list
Show notif template
notif template show
usage: notif template show [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Template name
Update notif template
notif template update
usage: notif template update [-h] --name <NAME>
[--data <DATA>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Template name
--data <DATA> Template data (Jinja)
--descr <DESCR> Mailings description
scheduler plugin
List all cluster VMs by nodes
scheduler cluster request list
usage: scheduler cluster request list [-h] [--ns <NS>]
[--node_uuid <NODE_UUID>]
arguments:
-h, --help Show this help message and exit
--ns <NS> Show VMs in this namespace
--node_uuid <NODE_UUID> Show VMs on this node
Mark cluster nodes as drain
scheduler drain add
usage: scheduler drain add [-h] --nodes <NODES ...>
arguments:
-h, --help Show this help message and exit
--nodes <NODES ...> list of nodes (or *)
Remove drain from nodes
scheduler drain del
usage: scheduler drain del [-h] --nodes <NODES ...>
arguments:
-h, --help Show this help message and exit
--nodes <NODES ...> list of nodes (or *)
Create new labels in cluster
scheduler labels add
usage: scheduler labels add [-h] --labels <LABELS ...>
--nodes <NODES ...>
[--taints <TAINTS>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--labels <LABELS ...> list of labels to add
--nodes <NODES ...> list of nodes (or *) to assign labels to
--taints <TAINTS> taint labels as NoSchedule (y/n) (default: n)
--descr <DESCR> label description
Assign labels to cluster nodes
scheduler labels assign
usage: scheduler labels assign [-h] --labels <LABELS ...>
--nodes <NODES ...>
arguments:
-h, --help Show this help message and exit
--labels <LABELS ...> list of labels to assign
--nodes <NODES ...> list of nodes (or *) to assign labels to
Delete cluster labels
scheduler labels del
usage: scheduler labels del [-h] --labels <LABELS ...>
arguments:
-h, --help Show this help message and exit
--labels <LABELS ...> list of labels to delete
Delegate cluster labels to namespaces
scheduler labels delegate ns
usage: scheduler labels delegate ns [-h] --ns <NS ...>
--labels <LABELS ...>
arguments:
-h, --help Show this help message and exit
--ns <NS ...> list of namespaces (or *)
--labels <LABELS ...> list of labels to delegate
Mark labels as ignored, either globally or in certain namespaces
scheduler labels ignore
usage: scheduler labels ignore [-h] --labels <LABELS ...>
[--ns <NS ...>]
arguments:
-h, --help Show this help message and exit
--labels <LABELS ...> list of labels to ignore
--ns <NS ...> list of namespaces (or *) to ignore labels in (will ignore provided labels only in these namespaces)
List all cluster labels
scheduler labels list
usage: scheduler labels list [-h] [--nodes <NODES ...>]
[--filter <FILTER>]
arguments:
-h, --help Show this help message and exit
--nodes <NODES ...> nodes to list (or *)
--filter <FILTER> labels filter: a - all, i - ignored, u - unignored (default: a)
Lists nodes by labels
scheduler labels nodes list
usage: scheduler labels nodes list [-h] --labels <LABELS ...>
[--strict <STRICT>]
[--silent <SILENT>]
arguments:
-h, --help Show this help message and exit
--labels <LABELS ...> List of labels to search nodes by
--strict <STRICT> list nodes that have full set of given labels y/n (default: n)
--silent <SILENT> silence non-existent labels errors y/n (default: n)
List labels with namespaces they're delegated to
scheduler labels ns list
usage: scheduler labels ns list [-h] [--ns <NS ...>]
[--filter <FILTER>]
arguments:
-h, --help Show this help message and exit
--ns <NS ...> list of namespaces (or *)
--filter <FILTER> labels filter: a - all, i - ignored, u - unignored (default: a)
Show namespaces with their labels
scheduler labels ns show
usage: scheduler labels ns show [-h] [--ns <NS ...>]
[--filter <FILTER>]
arguments:
-h, --help Show this help message and exit
--ns <NS ...> List of namespaces (or *)
--filter <FILTER> labels filter: a - all, i - ignored, u - unignored (default: a)
Taint labels
scheduler labels taints add
usage: scheduler labels taints add [-h] --labels <LABELS ...>
arguments:
-h, --help Show this help message and exit
--labels <LABELS ...> list of labels to taint
Remove taint from labels
scheduler labels taints del
usage: scheduler labels taints del [-h] --labels <LABELS ...>
arguments:
-h, --help Show this help message and exit
--labels <LABELS ...> list of labels to remove taint from
Mark labels as unignored
scheduler labels unignore
usage: scheduler labels unignore [-h] --labels <LABELS ...>
[--ns <NS ...>]
arguments:
-h, --help Show this help message and exit
--labels <LABELS ...> list of labels to unignore
--ns <NS ...> list of namespaces (or *) to unignore labels in
Add namespace labels to vclusters
scheduler labels vcluster add
usage: scheduler labels vcluster add [-h] --vcluster <VCLUSTER ...>
--labels <LABELS ...>
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER ...> list of vclusters (or *)
--labels <LABELS ...> list of labels to add
Delete labels from vcluster
scheduler labels vcluster del
usage: scheduler labels vcluster del [-h] --vcluster <VCLUSTER ...>
--labels <LABELS ...>
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER ...> list of vclusters (or *)
--labels <LABELS ...> list of labels to del
List labels with current namespace vclusters
scheduler labels vcluster list
usage: scheduler labels vcluster list [-h] [--vcluster <VCLUSTER ...>]
[--filter <FILTER>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER ...> list of vclusters (or *)
--filter <FILTER> labels filter: a - all, i - ignored, u - unignored (default: a)
Show labels by groups where they can be used together
scheduler labels vcluster sharing
usage: scheduler labels vcluster sharing [-h] --vcluster <VCLUSTER>
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> vcluster
Show current namespace vclusters with their labels
scheduler labels vcluster show
usage: scheduler labels vcluster show [-h] --vcluster <VCLUSTER ...>
[--filter <FILTER>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER ...> List of vclusters (or *)
--filter <FILTER> labels filter: a - all, i - ignored, u - unignored (default: a)
Return info about ifaces in selected vcluster or request
scheduler report iface
usage: scheduler report iface [-h] [--request <REQUEST>]
[--vcluster <VCLUSTER>]
arguments:
-h, --help Show this help message and exit
--request <REQUEST> request (default: *)
--vcluster <VCLUSTER> vcluster (default: *)
Report on cluster nodes memory usage
scheduler report mem
Add Scheduler request
scheduler request add
usage: scheduler request add [-h] --vcluster <VCLUSTER>
--name <NAME>
[--kind <KIND>]
[--descr <DESCR>]
[--labels <LABELS>]
[--template <TEMPLATE>]
[--data <DATA>]
[--type <common|linked_clone>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Virtual cluster name
--name <NAME> Request name
--kind <KIND> Request type (default: vm)
--descr <DESCR> VM description
--labels <LABELS> List of VM labels
--template <TEMPLATE> VM template UUID
--data <DATA> VM specification definition
--type <common|linked_clone> VM type (default: common)
Add CIPF label to VM
scheduler request cips label add
usage: scheduler request cips label add [-h] --vcluster <VCLUSTER>
--name <NAME>
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--name <NAME> Resource name
Remove CIPF label from VM
scheduler request cips label del
usage: scheduler request cips label del [-h] --vcluster <VCLUSTER>
--name <NAME>
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--name <NAME> Resource name
Clear Scheduler request
scheduler request clear
usage: scheduler request clear [-h] --vcluster <VCLUSTER>
--name <NAME>
[--kind <vm>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--name <NAME> Resource name
--kind <vm> Requets type (Default - vm) (default: vm)
Del Scheduler request
scheduler request del
usage: scheduler request del [-h] --vcluster <VCLUSTER>
--name <NAME>
[--kind <vm>]
[--backup <yes|no>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--name <NAME> Resource name
--kind <vm> Requets type (Default - vm) (default: vm)
--backup <yes|no> Create snapshot(delete_after=1d) VMs before delete (if enough space). Default - yes (default: yes)
List Scheduler requests
scheduler request list
usage: scheduler request list [-h] --vcluster <VCLUSTER>
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
Migrate Scheduler request
scheduler request migrate
usage: scheduler request migrate [-h] --vcluster <VCLUSTER>
--name <NAME>
--node <NODE>
--mode <live|offline>
[--kind <vm>]
[--usbforce <y|n>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--name <NAME> Resource name
--node <NODE> Destination host
--mode <live|offline> Migration mode
--kind <vm> Requets type (Default - vm) (default: vm)
--usbforce <y|n> Force USB devices reconnect during live migration (default: n)
Reschedules all vms from the provided node.
WARNING: This operation must run only if the requested node is powered off! Running this for an active node might lead to data loss!
scheduler request reschedule
usage: scheduler request reschedule [-h] --node_uuid <NODE_UUID>
arguments:
-h, --help Show this help message and exit
--node_uuid <NODE_UUID> uuid of node from which vms should be rescheduled
Show users with scheduler request rights
scheduler request rights
usage: scheduler request rights [-h] --vcluster <VCLUSTER>
--name <NAME>
[--kind <vm>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--name <NAME> Resource name
--kind <vm> Requets type (Default - vm) (default: vm)
Show Scheduler request
scheduler request show
usage: scheduler request show [-h] --vcluster <VCLUSTER>
--name <NAME>
[--kind <vm>]
[--show_uuid <SHOW_UUID>]
[--metrics <yes|no>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--name <NAME> Resource name
--kind <vm> Requets type (Default - vm) (default: vm)
--show_uuid <SHOW_UUID> show object uuid
--metrics <yes|no> Get metrics VM (default: no)
Add snapshot request
scheduler request snapshot add
usage: scheduler request snapshot add [-h] --vcluster <VCLUSTER>
--name <NAME>
--snapshot_name <SNAPSHOT_NAME>
[--kind <vm>]
[--vms <VMS ...>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--name <NAME> Resource name
--snapshot_name <SNAPSHOT_NAME> Snapshot name
--kind <vm> Requets type (Default - vm) (default: vm)
--vms <VMS ...> List of VMs (default: *)
--descr <DESCR> Snapshot description
Snapshot clear
scheduler request snapshot clear
usage: scheduler request snapshot clear [-h] --name <NAME>
--vcluster <VCLUSTER>
--uuid <UUID>
[--kind <vm>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Resource name
--vcluster <VCLUSTER> Vcluster name
--uuid <UUID> Snapshot UUID
--kind <vm> Requets type (Default - vm) (default: vm)
Snapshot del
scheduler request snapshot del
usage: scheduler request snapshot del [-h] --name <NAME>
--vcluster <VCLUSTER>
--uuid <UUID>
[--kind <vm>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Resource name
--vcluster <VCLUSTER> Vcluster name
--uuid <UUID> Snapshot UUID
--kind <vm> Requets type (Default - vm) (default: vm)
Snapshots list
scheduler request snapshot list
usage: scheduler request snapshot list [-h] --vcluster <VCLUSTER>
--name <NAME>
[--kind <vm>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--name <NAME> Request name
--kind <vm> Requets type (Default - vm) (default: vm)
Scheduler request revert to snapshot
scheduler request snapshot revert
usage: scheduler request snapshot revert [-h] --vcluster <VCLUSTER>
--name <NAME>
--uuid <UUID>
[--kind <vm>]
[--vms <VMS ...>]
[--force <yes|no>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--name <NAME> Resource name
--uuid <UUID> Snapshot UUID
--kind <vm> Requets type (Default - vm) (default: vm)
--vms <VMS ...> List of VMs (default: *)
--force <yes|no> Forced removal of NFS snapshots in the middle of the backing chain (default: no)
Snapshot show
scheduler request snapshot show
usage: scheduler request snapshot show [-h] --name <NAME>
--vcluster <VCLUSTER>
--uuid <UUID>
[--kind <vm>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Resource name
--vcluster <VCLUSTER> Vcluster name
--uuid <UUID> Snapshot UUID
--kind <vm> Requets type (Default - vm) (default: vm)
Change Scheduler request state
scheduler request state
usage: scheduler request state [-h] --vcluster <VCLUSTER>
--name <NAME>
--state <START|STOP|REBOOT|SUSPEND|RESUME>
[--kind <vm>]
[--vms <VMS ...>]
[--force <yes|no>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--name <NAME> Resource name
--state <START|STOP|REBOOT|SUSPEND|RESUME> Scheduler request state
--kind <vm> Requets type (Default - vm) (default: vm)
--vms <VMS ...> List of VMs (default: *)
--force <yes|no> force change the state of VM (apply only for state STOP and REBOOT). Default: no (default: no)
Scheduler request status
scheduler request status
usage: scheduler request status [-h] --vcluster <VCLUSTER>
[--kind <vm>]
[--name <NAME>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--kind <vm> Requets type (Default - vm) (default: vm)
--name <NAME> Request name
Update Scheduler request without re-creation vm
scheduler request update
usage: scheduler request update [-h] --vcluster <VCLUSTER>
--name <NAME>
--data <DATA>
[--kind <vm>]
[--descr <DESCR>]
[--labels <LABELS>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--name <NAME> Resource name
--data <DATA> Specs definition
--kind <vm> Requets type (Default - vm) (default: vm)
--descr <DESCR> Vcluster Description
--labels <LABELS>
Requests VNC connection credentials to specified VM
scheduler request vnc
usage: scheduler request vnc [-h] --vcluster <VCLUSTER>
--name <NAME>
--vm_name <VM_NAME>
[--timeout <TIMEOUT>]
[--idle_timeout <IDLE_TIMEOUT>]
[--hb <HB>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--name <NAME> Resource name
--vm_name <VM_NAME> VM name
--timeout <TIMEOUT> wait sec to kill VNC proxy before connect (default: 15)
--idle_timeout <IDLE_TIMEOUT> wait sec before killing VNC proxy after disconnect (default: 10)
--hb <HB> VNC proxy heartbeat sec (default: 5)
Register USB device
scheduler usbdev add
usage: scheduler usbdev add [-h] --node_uuid <NODE_UUID>
--ns <NS>
--bus <BUS>
--dev <DEV>
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--node_uuid <NODE_UUID> cluster node UUID
--ns <NS> USB device target namespace
--bus <BUS> USB bus number
--dev <DEV> USB dev number
--descr <DESCR> user description (default='')
Attach USB device to VM
scheduler usbdev attach
usage: scheduler usbdev attach [-h] --dev_uuid <DEV_UUID>
--vm_uuid <VM_UUID>
arguments:
-h, --help Show this help message and exit
--dev_uuid <DEV_UUID> device UUID
--vm_uuid <VM_UUID> VM UUID
Show available USB devices by node
scheduler usbdev avail list
usage: scheduler usbdev avail list [-h] [--all <ALL>]
arguments:
-h, --help Show this help message and exit
--all <ALL> <y|n> show with registered devices (default=n) (default: n)
Unregister USB device
scheduler usbdev del
usage: scheduler usbdev del [-h] --dev_uuid <DEV_UUID>
arguments:
-h, --help Show this help message and exit
--dev_uuid <DEV_UUID> device UUID
Removes devices that are not present on nodes
scheduler usbdev delmissing
Detach USB device from VM
scheduler usbdev detach
usage: scheduler usbdev detach [-h] --dev_uuid <DEV_UUID>
[--force <FORCE>]
arguments:
-h, --help Show this help message and exit
--dev_uuid <DEV_UUID> device UUID
--force <FORCE> <y|n> bypass VM filesystem validation (default='n') (default: n)
Show registered USB devices
scheduler usbdev list
Update USB device data
scheduler usbdev update
usage: scheduler usbdev update [-h] --dev_uuid <DEV_UUID>
[--ns <NS>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--dev_uuid <DEV_UUID> device UUID
--ns <NS> USB device new target namespace
--descr <DESCR> user new description
Add User Scheduler params
scheduler user param add
usage: scheduler user param add [-h] --vcluster <VCLUSTER>
--login <LOGIN>
[--rf <RF>]
[--drain_strategy <STOP|NOTHING|MIGRATE>]
[--cpu <CPU>]
[--ram <RAM>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--login <LOGIN> User Login
--rf <RF> Replication factor
--drain_strategy <STOP|NOTHING|MIGRATE> Drain node strategy (Default - NOTHING)
--cpu <CPU> User CPU limit
--ram <RAM> User RAM limit
Show User Scheduler params for admin
scheduler user param admin
usage: scheduler user param admin [-h] --vcluster <VCLUSTER>
--login <LOGIN>
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--login <LOGIN> User Login
Delete User Scheduler params
scheduler user param del
usage: scheduler user param del [-h] --vcluster <VCLUSTER>
--login <LOGIN>
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--login <LOGIN> User Login
List User Scheduler params
scheduler user param list
usage: scheduler user param list [-h] --vcluster <VCLUSTER>
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
Show User Scheduler params
scheduler user param show
usage: scheduler user param show [-h] --vcluster <VCLUSTER>
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
Update User Scheduler params
scheduler user param update
usage: scheduler user param update [-h] --vcluster <VCLUSTER>
--login <LOGIN>
[--rf <RF>]
[--drain_strategy <STOP|NOTHING|MIGRATE>]
[--cpu <CPU>]
[--ram <RAM>]
arguments:
-h, --help Show this help message and exit
--vcluster <VCLUSTER> Vcluster name
--login <LOGIN> User Login
--rf <RF> Replication factor
--drain_strategy <STOP|NOTHING|MIGRATE> Drain node strategy (Default - NOTHING)
--cpu <CPU> User CPU limit
--ram <RAM> User RAM limit
Add Vcluster
scheduler vcluster add
usage: scheduler vcluster add [-h] --name <NAME>
--labels <LABELS ...>
[--descr <DESCR>]
[--rf <RF>]
[--drain_strategy <STOP|NOTHING|MIGRATE>]
[--ulimits <yes|no>]
[--cpu <CPU>]
[--ram <RAM>]
[--vcpu_scaling <VCPU_SCALING>]
[--vram_scaling <VRAM_SCALING>]
[--path_to <PATH_TO>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Vcluster name
--labels <LABELS ...>
--descr <DESCR> Vcluster Description
--rf <RF> Replication factor
--drain_strategy <STOP|NOTHING|MIGRATE> Drain node strategy (Default - MIGRATE)
--ulimits <yes|no> Enable user limits (Default - yes)
--cpu <CPU> Vcluster CPU limit
--ram <RAM> Vcluster RAM limit
--vcpu_scaling <VCPU_SCALING> should system reserve 2x vcpu per domain for potential scaling in future
--vram_scaling <VRAM_SCALING> should system reserve 2x vram per domain for potential scaling in future
--path_to <PATH_TO> Placing an object in the directory structure
Clear Vcluster definition
scheduler vcluster clear
usage: scheduler vcluster clear [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Vcluster name
Del Vcluster
scheduler vcluster del
usage: scheduler vcluster del [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Vcluster name
List Vclusters
scheduler vcluster list
Add Vcluster nodes
scheduler vcluster nodes add
usage: scheduler vcluster nodes add [-h] --name <NAME>
--uuids <UUIDS ...>
arguments:
-h, --help Show this help message and exit
--name <NAME> Vcluster name
--uuids <UUIDS ...> List of UUID nodes
Del Vcluster nodes
scheduler vcluster nodes del
usage: scheduler vcluster nodes del [-h] --name <NAME>
--uuids <UUIDS ...>
arguments:
-h, --help Show this help message and exit
--name <NAME> Vcluster name
--uuids <UUIDS ...> List of UUID nodes
List Vcluster nodes
scheduler vcluster nodes list
usage: scheduler vcluster nodes list [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Vcluster name
View available RAM and CPU resources for Namespace
scheduler vcluster resource show
Show users with scheduler vcluster rights
scheduler vcluster rights
usage: scheduler vcluster rights [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Vcluster name
Show Vcluster
scheduler vcluster show
usage: scheduler vcluster show [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Vcluster name
Update Vcluster
scheduler vcluster update
usage: scheduler vcluster update [-h] --name <NAME>
[--descr <DESCR>]
[--rf <RF>]
[--cpu <CPU>]
[--ram <RAM>]
[--drain_strategy <STOP|NOTHING|MIGRATE>]
[--ulimits <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Vcluster name
--descr <DESCR> Vcluster Description
--rf <RF> Replication factor
--cpu <CPU> Vcluster CPU limit
--ram <RAM> Vcluster RAM limit
--drain_strategy <STOP|NOTHING|MIGRATE> Drain node strategy (Default - MIGRATE)
--ulimits <yes|no> Enable user limits (Default - yes)
Add VM template
scheduler vm template add
usage: scheduler vm template add [-h] --name <NAME>
--vcpu <VCPU>
--vram <VRAM>
--storage <STORAGE>
--nodeSelector <NODESELECTOR>
[--descr <DESCR>]
[--labels <LABELS>]
[--ip_addresses <IP_ADDRESSES>]
[--cpu_overcommit_ratio <CPU_OVERCOMMIT_RATIO>]
[--overcommit_tolerance <OVERCOMMIT_TOLERANCE>]
[--networks <NETWORKS>]
[--inbounds <INBOUNDS>]
[--outbounds <OUTBOUNDS>]
[--affinity <AFFINITY>]
[--type <common|linked_clone>]
[--path_to <PATH_TO>]
arguments:
-h, --help Show this help message and exit
--name <NAME> VM template name
--vcpu <VCPU> Number of vCPUs
--vram <VRAM> vRAM in MB/GB
--storage <STORAGE> Storage type (libvirt|sp|nfs)
--nodeSelector <NODESELECTOR> List of labels for VM placement
--descr <DESCR> VM template description
--labels <LABELS> List of VM labels
--ip_addresses <IP_ADDRESSES> List of IP addresses
--cpu_overcommit_ratio <CPU_OVERCOMMIT_RATIO> Default CPU overcommit ratio for the cluster (range: 1-4)
--overcommit_tolerance <OVERCOMMIT_TOLERANCE> VM tolerance to overcommit (range: 0-3)
--networks <NETWORKS> List of network IDs
--inbounds <INBOUNDS> Inbound traffic limit in kbps
--outbounds <OUTBOUNDS> Outbounds traffic limit in kbps
--affinity <AFFINITY> VM placement rules
--type <common|linked_clone> VM type (default: common)
--path_to <PATH_TO> VM template placement path
vm_template_del
scheduler vm template del
usage: scheduler vm template del [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> uuid
vm_template_from
scheduler vm template from
usage: scheduler vm template from [-h] --vm_uuid <VM_UUID>
arguments:
-h, --help Show this help message and exit
--vm_uuid <VM_UUID> vm_uuid
vm_template_list
scheduler vm template list
vm_template_show
scheduler vm template show
usage: scheduler vm template show [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> uuid
Update VM template
scheduler vm template update
usage: scheduler vm template update [-h] --uuid <UUID>
[--name <NAME>]
[--descr <DESCR>]
[--vcpu <VCPU>]
[--vram <VRAM>]
[--storage <STORAGE>]
[--labels <LABELS>]
[--ip_addresses <IP_ADDRESSES>]
[--cpu_overcommit_ratio <CPU_OVERCOMMIT_RATIO>]
[--overcommit_tolerance <OVERCOMMIT_TOLERANCE>]
[--networks <NETWORKS>]
[--inbounds <INBOUNDS>]
[--outbounds <OUTBOUNDS>]
[--nodeSelector <NODESELECTOR>]
[--affinity <AFFINITY>]
[--type <common|linked_clone>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> VM template UUID
--name <NAME> VM template name
--descr <DESCR> VM template description
--vcpu <VCPU> Number of vCPUs
--vram <VRAM> vRAM in MB/GB
--storage <STORAGE> Storage type (libvirt|sp|nfs)
--labels <LABELS> List of VM labels
--ip_addresses <IP_ADDRESSES> List of IP addresses
--cpu_overcommit_ratio <CPU_OVERCOMMIT_RATIO> Default CPU overcommit ratio for the cluster (range: 1-4)
--overcommit_tolerance <OVERCOMMIT_TOLERANCE> VM tolerance to overcommit (range: 0-3)
--networks <NETWORKS> List of network IDs
--inbounds <INBOUNDS> Inbound traffic limit in kbps
--outbounds <OUTBOUNDS> Outbounds traffic limit in kbps
--nodeSelector <NODESELECTOR> List of labels for VM placement
--affinity <AFFINITY> VM placement rules
--type <common|linked_clone> VM type (default: common)
services plugin
List all systemd services from SDC_SERVICE_LIST
services available systemd list
Show systemd service from available list
services available systemd show
usage: services available systemd show [-h] --unit <UNIT>
--uuid <UUID>
arguments:
-h, --help Show this help message and exit
--unit <UNIT> Systemd service name
--uuid <UUID> Node UUID
Add systemd service
services global systemd add
usage: services global systemd add [-h] --name <NAME>
--code <VIP|ALL>
--state <start|stop>
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Systemd service name
--code <VIP|ALL> Run strategy
--state <start|stop> Service state
--descr <DESCR> Service description
Delete systemd service
services global systemd del
usage: services global systemd del [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Systemd service name
List systemd services
services global systemd list
Show systemd service
services global systemd show
usage: services global systemd show [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> Systemd service name
Update systemd service
services global systemd update
usage: services global systemd update [-h] --name <NAME>
--code <VIP|ALL>
--state <start|stop>
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Systemd service name
--code <VIP|ALL> Run strategy
--state <start|stop> Service state
--descr <DESCR> Service description
signer plugin
Add sign file
signer file add
usage: signer file add [-h] --node <NODE>
--filepath <FILEPATH>
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--node <NODE> Node UUID
--filepath <FILEPATH> Path to file
--descr <DESCR> Description
Delete sign file
signer file del
usage: signer file del [-h] --node <NODE>
[--filepath <FILEPATH>]
arguments:
-h, --help Show this help message and exit
--node <NODE> Node UUID
--filepath <FILEPATH> Path to file
List sign files
signer file list
Show sign file
signer file show
usage: signer file show [-h] --node <NODE>
--filepath <FILEPATH>
arguments:
-h, --help Show this help message and exit
--node <NODE> Node UUID
--filepath <FILEPATH> Path to file
Add key
signer key add
usage: signer key add [-h] [--algorithm <rsa2048|rsa3072|rsa4096>]
[--expire <EXPIRE>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--algorithm <rsa2048|rsa3072|rsa4096> Key algorithm (default - rsa2048) (default: rsa2048)
--expire <EXPIRE> Expire Date/ period (default - 365d) (default: 365d)
--descr <DESCR> Key description
Delete key
signer key del
usage: signer key del [-h] [--keyid <KEYID>]
arguments:
-h, --help Show this help message and exit
--keyid <KEYID> Key ID
List keys
signer key list
Show key
signer key show
usage: signer key show [-h] --keyid <KEYID>
arguments:
-h, --help Show this help message and exit
--keyid <KEYID> Key ID
Add Signer params
signer param add
usage: signer param add [-h] [--sign_enable <yes|no>]
[--validation_action <ERROR|WARN>]
[--sign_models <SIGN_MODELS ...>]
[--sign_objects <SIGN_OBJECTS ...>]
[--sign_objects_exclude <SIGN_OBJECTS_EXCLUDE ...>]
arguments:
-h, --help Show this help message and exit
--sign_enable <yes|no> Enable signing (default - no)
--validation_action <ERROR|WARN> Action for invalid objects (default - ERROR) (default: ERROR)
--sign_models <SIGN_MODELS ...> List of models for signing
--sign_objects <SIGN_OBJECTS ...> A set of objects that exist within the VDC and need to be validated
--sign_objects_exclude <SIGN_OBJECTS_EXCLUDE ...> A set of objects to exclude from the model being signed and that do not require validation
Delete Signer params
signer param del
Show Signer params
signer param show
Update Signer params
signer param update
usage: signer param update [-h] [--sign_enable <yes|no>]
[--validation_action <ERROR|WARN>]
[--sign_models <SIGN_MODELS ...>]
[--sign_objects <SIGN_OBJECTS ...>]
[--sign_objects_exclude <SIGN_OBJECTS_EXCLUDE ...>]
arguments:
-h, --help Show this help message and exit
--sign_enable <yes|no> Enable signing (default - no)
--validation_action <ERROR|WARN> Action for invalid objects (default - ERROR) (default: ERROR)
--sign_models <SIGN_MODELS ...> List of models for signing
--sign_objects <SIGN_OBJECTS ...> A set of objects that exist within the VDC and need to be validated
--sign_objects_exclude <SIGN_OBJECTS_EXCLUDE ...> A set of objects to exclude from the model being signed and that do not require validation
sign_entity_del
signer sign entity del
usage: signer sign entity del [-h] --pk <PK>
arguments:
-h, --help Show this help message and exit
--pk <PK> pk
sign_entity_disable
signer sign entity disable
usage: signer sign entity disable [-h] --pk <PK>
arguments:
-h, --help Show this help message and exit
--pk <PK> pk
sign_entity_enable
signer sign entity enable
usage: signer sign entity enable [-h] --pk <PK>
[--force_sign <FORCE_SIGN>]
arguments:
-h, --help Show this help message and exit
--pk <PK> pk
--force_sign <FORCE_SIGN> force_sign (default: no)
sign_entity_list
signer sign entity list
usage: signer sign entity list [-h] --model <MODEL>
arguments:
-h, --help Show this help message and exit
--model <MODEL> model
sign_model_add
signer sign model add
usage: signer sign model add [-h] --models <MODELS ...>
[--force_sign <FORCE_SIGN>]
arguments:
-h, --help Show this help message and exit
--models <MODELS ...> models
--force_sign <FORCE_SIGN> force_sign (default: no)
sign_model_del
signer sign model del
usage: signer sign model del [-h] --models <MODELS ...>
arguments:
-h, --help Show this help message and exit
--models <MODELS ...> models
sign_model_list
signer sign model list
storage plugin
Create backup task
storage libvirt backup add
usage: storage libvirt backup add [-h] --vm_name <VM_NAME>
[--sc_node <SC_NODE>]
[--disks <DISKS ...>]
[--timeout <TIMEOUT>]
arguments:
-h, --help Show this help message and exit
--vm_name <VM_NAME> VM name
--sc_node <SC_NODE> Node, where vm located
--disks <DISKS ...> vm disks to backup
--timeout <TIMEOUT> timeout for backup
Del backup task
storage libvirt backup del
usage: storage libvirt backup del [-h] [--name <NAME>]
[--sc_node <SC_NODE>]
arguments:
-h, --help Show this help message and exit
--name <NAME> VM name
--sc_node <SC_NODE> Node UUID location (default - current node)
List Libvirt Backups
storage libvirt backup list
usage: storage libvirt backup list [-h] [--sc_node <SC_NODE>]
arguments:
-h, --help Show this help message and exit
--sc_node <SC_NODE> Node UUID location (default - current node)
View full VM description from backup
storage libvirt backup lookup
usage: storage libvirt backup lookup [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> VM name
Show Backup
storage libvirt backup show
usage: storage libvirt backup show [-h] [--name <NAME>]
[--sc_node <SC_NODE>]
arguments:
-h, --help Show this help message and exit
--name <NAME> VM name
--sc_node <SC_NODE> Node UUID location (default - current node)
Upload Libvirt volume from image
storage libvirt image upload
usage: storage libvirt image upload [-h] --name <NAME>
--path <PATH>
--type <cdrom|system|datablock>
--persistent <yes|no>
[--path_to <PATH_TO>]
[--local_path <LOCAL_PATH>]
[--description <DESCRIPTION>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of Libvirt volume what will be created
--path <PATH> Path image in file system
--type <cdrom|system|datablock> The volume type
--persistent <yes|no> Volume is persistent (yes or no)
--path_to <PATH_TO> Placing an object in the directory structure
--local_path <LOCAL_PATH> Path image in local file system
--description <DESCRIPTION> Volume description
Create Libvirt Pool
storage libvirt pool add
usage: storage libvirt pool add [-h] --name <NAME>
--capacity <CAPACITY>
--ns <NS>
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of Lidvirt pool
--capacity <CAPACITY> Pool capacity
--ns <NS> Namespace what is attached libvirt pool
--descr <DESCR> Libvirt pool description
Clear information about Libvirt pool from database
storage libvirt pool clear
usage: storage libvirt pool clear [-h] [--name <NAME>]
[--uuid <UUID>]
[--get_pool_full_info <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of Lidvirt pool
--uuid <UUID> Libvirt pool UUID
--get_pool_full_info <yes|no> Get pool full information (default: no)
Delete Libvirt pool
storage libvirt pool del
usage: storage libvirt pool del [-h] [--name <NAME>]
[--uuid <UUID>]
[--get_pool_full_info <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of Lidvirt pool
--uuid <UUID> Libvirt pool UUID
--get_pool_full_info <yes|no> Get pool full information (default: no)
List of Libvirt pools
storage libvirt pool list
usage: storage libvirt pool list [-h] [--ns <NS>]
arguments:
-h, --help Show this help message and exit
--ns <NS> Name of Namespace
Show available memory on cluster nodes
storage libvirt pool resources show
usage: storage libvirt pool resources show [-h]
arguments:
-h, --help Show this help message and exit
Show users with libvirt storage pool rights
storage libvirt pool rights
usage: storage libvirt pool rights [-h] [--name <NAME>]
[--uuid <UUID>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of Libvirt pool
--uuid <UUID> Libvirt pool UUID
Show information about Libvirt pool
storage libvirt pool show
usage: storage libvirt pool show [-h] [--name <NAME>]
[--uuid <UUID>]
[--get_pool_full_info <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of Lidvirt pool
--uuid <UUID> Libvirt pool UUID
--get_pool_full_info <yes|no> Get pool full information (default: no)
Update Libvirt pool
storage libvirt pool update
usage: storage libvirt pool update [-h] --name <NAME>
[--capacity <CAPACITY>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of Lidvirt pool
--capacity <CAPACITY> Pool capacity
--descr <DESCR> Libvirt pool description
Add Snapshot
storage libvirt snapshot add
usage: storage libvirt snapshot add [-h] --vm_name <VM_NAME>
--vcluster_name <VCLUSTER_NAME>
[--uuid <UUID>]
[--name <NAME>]
[--disks <DISKS ...>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--vm_name <VM_NAME> VM name
--vcluster_name <VCLUSTER_NAME> Vcluster name
--uuid <UUID> Snapshot UUID
--name <NAME> Snapshot name
--disks <DISKS ...> List of disks images
--descr <DESCR> Snapshot description
Clear Snapshot definition
storage libvirt snapshot clear
usage: storage libvirt snapshot clear [-h] --vm_name <VM_NAME>
--vcluster_name <VCLUSTER_NAME>
[--name <NAME>]
arguments:
-h, --help Show this help message and exit
--vm_name <VM_NAME> VM name
--vcluster_name <VCLUSTER_NAME> Vcluster name
--name <NAME> Snapshot name
Del Snapshot
storage libvirt snapshot del
usage: storage libvirt snapshot del [-h] --vm_name <VM_NAME>
--vcluster_name <VCLUSTER_NAME>
[--name <NAME>]
arguments:
-h, --help Show this help message and exit
--vm_name <VM_NAME> VM name
--vcluster_name <VCLUSTER_NAME> Vcluster name
--name <NAME> Snapshot name
List Snapshots
storage libvirt snapshot list
usage: storage libvirt snapshot list [-h] --vcluster_name <VCLUSTER_NAME>
[--vm_name <VM_NAME>]
[--request_name <REQUEST_NAME>]
arguments:
-h, --help Show this help message and exit
--vcluster_name <VCLUSTER_NAME> Vcluster name
--vm_name <VM_NAME> Vm name
--request_name <REQUEST_NAME> Request name
Show users with libvirt snapshot rights
storage libvirt snapshot rights
usage: storage libvirt snapshot rights [-h] --vm_name <VM_NAME>
--vcluster_name <VCLUSTER_NAME>
[--name <NAME>]
arguments:
-h, --help Show this help message and exit
--vm_name <VM_NAME> VM name
--vcluster_name <VCLUSTER_NAME> Vcluster name
--name <NAME> Snapshot name
Show Snapshot
storage libvirt snapshot show
usage: storage libvirt snapshot show [-h] --vm_name <VM_NAME>
--vcluster_name <VCLUSTER_NAME>
[--name <NAME>]
arguments:
-h, --help Show this help message and exit
--vm_name <VM_NAME> VM name
--vcluster_name <VCLUSTER_NAME> Vcluster name
--name <NAME> Snapshot name
Create Libvirt Volume
storage libvirt volume add
usage: storage libvirt volume add [-h] --name <NAME>
--capacity <CAPACITY>
--type <cdrom|system|datablock>
--persistent <yes|no>
[--frmt <FRMT>]
[--base_on <BASE_ON>]
[--path_to <PATH_TO>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of Lidvirt volume
--capacity <CAPACITY> Volume capacity
--type <cdrom|system|datablock> The volume type
--persistent <yes|no> Volume is persistent (yes or no)
--frmt <FRMT> Volume format (default - qcow2) (default: qcow2)
--base_on <BASE_ON> The volume base on name
--path_to <PATH_TO> Placing an object in the directory structure
--descr <DESCR> Volume description
Clear information about Libvirt volume from database
storage libvirt volume clear
usage: storage libvirt volume clear [-h] [--name <NAME>]
[--uuid <UUID>]
[--get_volume_full_info <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of Libvirt volume
--uuid <UUID> Libvirt volume UUID
--get_volume_full_info <yes|no> Get volume full information (default: no)
Delete Libvirt volume
storage libvirt volume del
usage: storage libvirt volume del [-h] [--name <NAME>]
[--uuid <UUID>]
[--del_type <secure|common>]
[--del_iter <DEL_ITER>]
[--get_volume_full_info <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of Libvirt volume
--uuid <UUID> Libvirt volume UUID
--del_type <secure|common> The type of deletion. Default value: `common` — normal delete without secure wipe (default: common)
--del_iter <DEL_ITER> The number of deletion cycles. It is indicated in natural numbers from 1 to 3 (default: 2)
--get_volume_full_info <yes|no> Get volume full information (default: no)
List of Libvirt volumes
storage libvirt volume list
usage: storage libvirt volume list [-h] [--all <yes|no>]
arguments:
-h, --help Show this help message and exit
--all <yes|no> Show base_on volumes (default: no)
Show available memory in Libvirt pool
storage libvirt volume resources show
usage: storage libvirt volume resources show [-h]
arguments:
-h, --help Show this help message and exit
Show users with libvirt storage volume rights
storage libvirt volume rights
usage: storage libvirt volume rights [-h] [--name <NAME>]
[--uuid <UUID>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of Libvirt volume
--uuid <UUID> Libvirt volume UUID
Show Information about Libvirt volume
storage libvirt volume show
usage: storage libvirt volume show [-h] [--name <NAME>]
[--uuid <UUID>]
[--get_volume_full_info <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of Libvirt volume
--uuid <UUID> Libvirt volume UUID
--get_volume_full_info <yes|no> Get volume full information (default: no)
Update Libvirt volume
storage libvirt volume update
usage: storage libvirt volume update [-h] --uuid <UUID>
[--capacity <CAPACITY>]
[--type <cdrom|system|datablock>]
[--persistent <yes|no>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Libvirt pool UUID
--capacity <CAPACITY> Volume capacity
--type <cdrom|system|datablock> The volume type
--persistent <yes|no> Volume is persistent (yes or no)
--descr <DESCR> Volume description
nfs_mount_add
storage nfs mount add
usage: storage nfs mount add [-h] --name <NAME>
--nfs_server <NFS_SERVER>
--shared_folder_path <SHARED_FOLDER_PATH>
--ns <NS ...>
--capacity <CAPACITY>
[--mount_point <MOUNT_POINT>]
[--params <PARAMS>]
[--nodes <NODES ...>]
[--autocheck <AUTOCHECK>]
[--check_timeout <CHECK_TIMEOUT>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Name of NFS mount
--nfs_server <NFS_SERVER> IP of NFS server
--shared_folder_path <SHARED_FOLDER_PATH> Path to shared folder
--ns <NS ...> Namespaces to access this mount
--capacity <CAPACITY> Mount capacity limit
--mount_point <MOUNT_POINT> Folder where shared folder should be mounted
--params <PARAMS> List of params for NFS mount command (default: defaults)
--nodes <NODES ...> Nodes to mount (default: *)
--autocheck <AUTOCHECK> Enable autocheck for this mount (default: yes)
--check_timeout <CHECK_TIMEOUT> Time between checks in seconds (default: 300)
--descr <DESCR> Mount description
nfs_mount_connect
storage nfs mount connect
usage: storage nfs mount connect [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Mount UUID
nfs_mount_del
storage nfs mount del
usage: storage nfs mount del [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Mount UUID
nfs_mount_disconnect
storage nfs mount disconnect
usage: storage nfs mount disconnect [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Mount UUID
Show NFS mount space limits
storage nfs mount limit show
usage: storage nfs mount limit show [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Mount UUID
nfs_mount_list
storage nfs mount list
nfs_mount_nodes_add
storage nfs mount nodes add
usage: storage nfs mount nodes add [-h] --uuid <UUID>
[--nodes <NODES ...>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Mount UUID
--nodes <NODES ...> Node UUIDs (default: *)
nfs_mount_nodes_del
storage nfs mount nodes del
usage: storage nfs mount nodes del [-h] --uuid <UUID>
[--nodes <NODES ...>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Mount UUID
--nodes <NODES ...> Node UUIDs (default: *)
nfs_mount_ns_add
storage nfs mount ns add
usage: storage nfs mount ns add [-h] --uuid <UUID>
--ns <NS ...>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Mount UUID
--ns <NS ...> Namespaces
nfs_mount_ns_del
storage nfs mount ns del
usage: storage nfs mount ns del [-h] --uuid <UUID>
--ns <NS ...>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Mount UUID
--ns <NS ...> Namespaces
Show mount info
storage nfs mount rights
usage: storage nfs mount rights [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Mount UUID
nfs_mount_show
storage nfs mount show
usage: storage nfs mount show [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Mount UUID
nfs_mount_test
storage nfs mount test
usage: storage nfs mount test [-h] --uuid <UUID>
[--nodes <NODES ...>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Mount UUID
--nodes <NODES ...> Nodes to check
nfs_mount_update
storage nfs mount update
usage: storage nfs mount update [-h] --uuid <UUID>
[--name <NAME>]
[--nfs_server <NFS_SERVER>]
[--shared_folder_path <SHARED_FOLDER_PATH>]
[--mount_point <MOUNT_POINT>]
[--params <PARAMS>]
[--autocheck <AUTOCHECK>]
[--check_timeout <CHECK_TIMEOUT>]
[--descr <DESCR>]
[--capacity <CAPACITY>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Mount UUID
--name <NAME> Name of NFS mount
--nfs_server <NFS_SERVER> IP of NFS server
--shared_folder_path <SHARED_FOLDER_PATH> Path to shared folder
--mount_point <MOUNT_POINT> Folder where shared folder should be mounted
--params <PARAMS> List of params for NFS mount command
--autocheck <AUTOCHECK> Enable autocheck for this mount
--check_timeout <CHECK_TIMEOUT> Time between checks in seconds
--descr <DESCR> Mount description
--capacity <CAPACITY> Mount capacity limit
nfs_snapshot_add
storage nfs snapshot add
usage: storage nfs snapshot add [-h] --name <NAME>
--vm_name <VM_NAME>
--vcluster_name <VCLUSTER_NAME>
[--uuid <UUID>]
[--disks <DISKS ...>]
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> Snapshot name
--vm_name <VM_NAME> VM name
--vcluster_name <VCLUSTER_NAME> Vcluster name
--uuid <UUID> Snapshot UUID
--disks <DISKS ...> List of disks (default: *)
--descr <DESCR> Snapshot description
nfs_snapshot_del
storage nfs snapshot del
usage: storage nfs snapshot del [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Snapshot UUID
nfs_snapshot_list
storage nfs snapshot list
usage: storage nfs snapshot list [-h] --vcluster_name <VCLUSTER_NAME>
[--request_name <REQUEST_NAME>]
[--vm_name <VM_NAME>]
arguments:
-h, --help Show this help message and exit
--vcluster_name <VCLUSTER_NAME> Vcluster name
--request_name <REQUEST_NAME> Request name
--vm_name <VM_NAME> VM name
Show Snapshot
storage nfs snapshot rights
usage: storage nfs snapshot rights [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Snapshot UUID
nfs_snapshot_show
storage nfs snapshot show
usage: storage nfs snapshot show [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Snapshot UUID
nfs_volume_add
storage nfs volume add
usage: storage nfs volume add [-h] --name <NAME>
--mount_uuid <MOUNT_UUID>
--type <cdrom|system|datablock>
--persistent <yes|no>
[--size <SIZE>]
[--base_on <BASE_ON>]
[--descr <DESCR>]
[--vm_uuid <VM_UUID>]
[--path_to <PATH_TO>]
[--bus <virtio|sata|ide|scsi>]
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the volume
--mount_uuid <MOUNT_UUID> NFS mount name
--type <cdrom|system|datablock> The volume type
--persistent <yes|no> Volume is persistent (yes or no)
--size <SIZE> The volume size
--base_on <BASE_ON> The volume base on name
--descr <DESCR> Description of the volume
--vm_uuid <VM_UUID> Vm uuid
--path_to <PATH_TO> Placing an object in the directory structure
--bus <virtio|sata|ide|scsi> Bus to connect volume to VM
nfs_volume_clear
storage nfs volume clear
usage: storage nfs volume clear [-h] [--name <NAME>]
[--uuid <UUID>]
[--mount_uuid <MOUNT_UUID>]
[--get_full_name <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the volume
--uuid <UUID> The uuid of the volume
--mount_uuid <MOUNT_UUID> NFS mount uuid
--get_full_name <yes|no> Show full name of disk (default: no)
nfs_volume_del
storage nfs volume del
usage: storage nfs volume del [-h] [--name <NAME>]
[--uuid <UUID>]
[--mount_uuid <MOUNT_UUID>]
[--get_full_name <yes|no>]
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the volume
--uuid <UUID> The uuid of the volume
--mount_uuid <MOUNT_UUID> NFS mount uuid
--get_full_name <yes|no> Show full name of disk (default: no)
nfs_volume_import
storage nfs volume import
usage: storage nfs volume import [-h] --name <NAME>
--mount_uuid <MOUNT_UUID>
--type <cdrom|system|datablock>
--persistent <yes|no>
--path <PATH>
[--descr <DESCR>]
[--path_to <PATH_TO>]
[--bus <virtio|sata|ide|scsi>]
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the volume
--mount_uuid <MOUNT_UUID> NFS mount name
--type <cdrom|system|datablock> The volume type
--persistent <yes|no> Volume is persistent (yes or no)
--path <PATH> path or URL of the volume
--descr <DESCR> Description of the volume
--path_to <PATH_TO> Placing an object in the directory structure
--bus <virtio|sata|ide|scsi> Bus to connect volume to VM
nfs_volume_list
storage nfs volume list
usage: storage nfs volume list [-h] [--mount_uuid <MOUNT_UUID>]
[--get_full_name <yes|no>]
[--all <yes|no>]
arguments:
-h, --help Show this help message and exit
--mount_uuid <MOUNT_UUID> Show volumes of mount
--get_full_name <yes|no> Show full name of disk (default: no)
--all <yes|no> Show vm base_on volumes (default: no)
Show NFS volume
storage nfs volume rights
usage: storage nfs volume rights [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Volume UUID
nfs_volume_show
storage nfs volume show
usage: storage nfs volume show [-h] --uuid <UUID>
[--name <NAME>]
[--mount_uuid <MOUNT_UUID>]
[--get_full_name <yes|no>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> The uuid of the volume
--name <NAME> The name of the volume
--mount_uuid <MOUNT_UUID> NFS mount uuid
--get_full_name <yes|no> Show full name of disk (default: no)
nfs_volume_update
storage nfs volume update
usage: storage nfs volume update [-h] --uuid <UUID>
[--descr <DESCR>]
[--bus <virtio|sata|ide|scsi>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> The uuid of the volume
--descr <DESCR> Description of the volume
--bus <virtio|sata|ide|scsi> Bus to connect volume to VM
nfs_volume_used_update
storage nfs volume used update
usage: storage nfs volume used update [-h] --volume_uuid <VOLUME_UUID>
--vm_name <VM_NAME>
--op <add|del>
arguments:
-h, --help Show this help message and exit
--volume_uuid <VOLUME_UUID> The uuid of the volume
--vm_name <VM_NAME> The name of the vm
--op <add|del> Update volume used
nfs_volume_vm_add
storage nfs volume vm add
usage: storage nfs volume vm add [-h] --volume_uuid <VOLUME_UUID>
--vm_uuid <VM_UUID>
[--vm_name <VM_NAME>]
arguments:
-h, --help Show this help message and exit
--volume_uuid <VOLUME_UUID> The uuid of the volume
--vm_uuid <VM_UUID> The uuid of the vm
--vm_name <VM_NAME> The name of the vm
nfs_volume_vm_del
storage nfs volume vm del
usage: storage nfs volume vm del [-h] --volume_uuid <VOLUME_UUID>
--vm_uuid <VM_UUID>
[--vm_name <VM_NAME>]
arguments:
-h, --help Show this help message and exit
--volume_uuid <VOLUME_UUID> The uuid of the volume
--vm_uuid <VM_UUID> The uuid of the vm
--vm_name <VM_NAME> The name of the vm
List SP volumes attached
storage sp attach list
Show attach SP volume
storage sp attach show
usage: storage sp attach show [-h] --volume_uuid <VOLUME_UUID>
[--sc_uuid <SC_UUID>]
arguments:
-h, --help Show this help message and exit
--volume_uuid <VOLUME_UUID> Volume UUID
--sc_uuid <SC_UUID> UUID node to attach
Attach SP volume
storage sp attach volume
usage: storage sp attach volume [-h] --volume_uuid <VOLUME_UUID>
--mode <rw|ro>
--sc_uuid <SC_UUID>
arguments:
-h, --help Show this help message and exit
--volume_uuid <VOLUME_UUID> Volume uuid
--mode <rw|ro> The mode of the volume
--sc_uuid <SC_UUID> UUID node to attach
Detach SP volume
storage sp detach volume
usage: storage sp detach volume [-h] --volume_uuid <VOLUME_UUID>
--sc_uuid <SC_UUID>
[--force <FORCE>]
arguments:
-h, --help Show this help message and exit
--volume_uuid <VOLUME_UUID> Volume uuid
--sc_uuid <SC_UUID> UUID node to attach
--force <FORCE> The clients on which to attach the volume as read only
The name of a placement group which describes the disks to be used
storage sp placementGroup list
Add amount reserved inside placementGroup
storage sp placementGroup resources reserved add
usage: storage sp placementGroup resources reserved add [-h] --place <PLACE>
[--reserved <RESERVED>]
arguments:
-h, --help Show this help message and exit
--place <PLACE> PlacementGroup name
--reserved <RESERVED> Value substituted from placementGroup limit
Del reserved inside placementGroup
storage sp placementGroup resources reserved del
usage: storage sp placementGroup resources reserved del [-h] --place <PLACE>
arguments:
-h, --help Show this help message and exit
--place <PLACE> PlacementGroup name
List reserved inside placementGroup
storage sp placementGroup resources reserved list
usage: storage sp placementGroup resources reserved list [-h]
arguments:
-h, --help Show this help message and exit
Show reserved inside placementGroup
storage sp placementGroup resources reserved show
usage: storage sp placementGroup resources reserved show [-h] --place <PLACE>
arguments:
-h, --help Show this help message and exit
--place <PLACE> PlacementGroup name
Update amount reserved inside placementGroup
storage sp placementGroup resources reserved update
usage: storage sp placementGroup resources reserved update [-h] --place <PLACE>
[--reserved <RESERVED>]
arguments:
-h, --help Show this help message and exit
--place <PLACE> PlacementGroup name
--reserved <RESERVED> Value substituted from placementGroup limit
Resource show for placement group
storage sp placementGroup resources show
usage: storage sp placementGroup resources show [-h] --place <PLACE>
arguments:
-h, --help Show this help message and exit
--place <PLACE>
Add SP volume snapshot
storage sp snapshot add
usage: storage sp snapshot add [-h] --name <NAME>
--volume_uuid <VOLUME_UUID>
[--descr <DESCR>]
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the snapshot
--volume_uuid <VOLUME_UUID> Volume UUID
--descr <DESCR> Snapshot description
Clear SP volume snapshot
storage sp snapshot clear
usage: storage sp snapshot clear [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Snapshot UUID
Del SP volume snapshot
storage sp snapshot del
usage: storage sp snapshot del [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Snapshot UUID
List SP volume snapshot
storage sp snapshot list
usage: storage sp snapshot list [-h] [--volume_uuid <VOLUME_UUID>]
arguments:
-h, --help Show this help message and exit
--volume_uuid <VOLUME_UUID>
Show users with SP volume snapshot rights
storage sp snapshot rights
usage: storage sp snapshot rights [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Snapshot UUID
Show SP volume snapshot
storage sp snapshot show
usage: storage sp snapshot show [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Snapshot UUID
Update SP volume snapshot
storage sp snapshot update
usage: storage sp snapshot update [-h] --uuid <UUID>
[--name <NAME>]
[--descr <DESCR>]
[--delete_after <DELETE_AFTER>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Snapshot UUID
--name <NAME> Snapshot name
--descr <DESCR> Description of snapshot
--delete_after <DELETE_AFTER> Delete snapshots after X seconds (If not 0 set targetDeleteDate relative to the current time)
Add SP volume template
storage sp template add
usage: storage sp template add [-h] --name <NAME>
--place <PLACE>
--replication <REPLICATION>
--capacity <CAPACITY>
--ns <NS>
[--bw <BW>]
[--iops <IOPS>]
[--descr <DESCR>]
[--parent <PARENT>]
[--reuse_server <REUSE_SERVER>]
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the template
--place <PLACE> The name of a placement group which describes the disks to be used for all but the last replica
--replication <REPLICATION> A default number of copies to be kept by StoragePool.The value must be of one of the following types: Replication
--capacity <CAPACITY> capacity
--ns <NS> Virtual DC
--bw <BW> Bandwidth limit in KB
--iops <IOPS> Iops limit
--descr <DESCR> Volume template description
--parent <PARENT> The name of the snapshot on which volumes will be based.The value must be of one of the following types: SnapshotName
--reuse_server <REUSE_SERVER> Allow placement of replicas on same server
Clear SP volumes templates
storage sp template clear
usage: storage sp template clear [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the template
Delete SP volumes template
storage sp template del
usage: storage sp template del [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the template
List SP volumes template limit
storage sp template limit list
View SP volumes template limit
storage sp template limit show
usage: storage sp template limit show [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the template
List SP volumes templates
storage sp template list
Show users with SP volumes template rights
storage sp template rights
usage: storage sp template rights [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the template
Show SP volumes template
storage sp template show
usage: storage sp template show [-h] --name <NAME>
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the template
Update SP volume template
storage sp template update
usage: storage sp template update [-h] --name <NAME>
[--bw <BW>]
[--iops <IOPS>]
[--descr <DESCR>]
[--parent <PARENT>]
[--replication <REPLICATION>]
[--reuse_server <REUSE_SERVER>]
[--capacity <CAPACITY>]
[--ns <NS>]
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the template
--bw <BW> Bandwidth limit in KB
--iops <IOPS> Iops limit
--descr <DESCR> Volume template description
--parent <PARENT> The name of the snapshot on which volumes will be based.The value must be of one of the following types: SnapshotName
--replication <REPLICATION> Replication copies count
--reuse_server <REUSE_SERVER> Allow placement of replicas on same server
--capacity <CAPACITY> Template size limit
--ns <NS> Namespace owner
Add SP volume
storage sp volume add
usage: storage sp volume add [-h] --name <NAME>
--size <SIZE>
--template <TEMPLATE>
--type <cdrom|system|datablock>
--persistent <yes|no>
[--bw <BW>]
[--iops <IOPS>]
[--descr <DESCR>]
[--parent <PARENT>]
[--reuse_server <REUSE_SERVER>]
[--base_on <BASE_ON>]
[--path_to <PATH_TO>]
[--bus <virtio|sata|ide|scsi>]
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the volume
--size <SIZE> The volume size with a unit suffix, Mb or Gb (e.g. 1024Mb, 2Gb).
--template <TEMPLATE> The template that the volume settings are inherited from
--type <cdrom|system|datablock> Volume type
--persistent <yes|no> Volume is persistent
--bw <BW> Bandwidth limit in KB
--iops <IOPS> Iops limit
--descr <DESCR> Volume description
--parent <PARENT> The name of the snapshot on which volumes will be based.The value must be of one of the following types: SnapshotName
--reuse_server <REUSE_SERVER> Allow placement of replicas on same server
--base_on <BASE_ON> The name of an already existing volume that the new volume is to be a copy of
--path_to <PATH_TO> Placing an object in the directory structure
--bus <virtio|sata|ide|scsi> Bus to connect volume to VM
Clear SP volume
storage sp volume clear
usage: storage sp volume clear [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Volume UUID
Delete SP volume
storage sp volume del
usage: storage sp volume del [-h] --uuid <UUID>
[--force <yes|no>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Volume UUID
--force <yes|no> Forced removal of snapshots. Default - no (default: no)
Export SP volume from storage to local storage
storage sp volume export
usage: storage sp volume export [-h] --uuid <UUID>
--export_name <EXPORT_NAME>
[--export_format <qcow2|iso>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Volume UUID
--export_name <EXPORT_NAME> Export name
--export_format <qcow2|iso> Export format
Convert the SP volume to a snapshot (volume to be removed)
storage sp volume freeze
usage: storage sp volume freeze [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Volume UUID
Create SP volume from volume or snapshot
storage sp volume fromparent
usage: storage sp volume fromparent [-h] --name <NAME>
--snapshot_uuid <SNAPSHOT_UUID>
--type <cdrom|system|datablock>
--persistent <yes|no>
arguments:
-h, --help Show this help message and exit
--name <NAME>
--snapshot_uuid <SNAPSHOT_UUID>
--type <cdrom|system|datablock> Volume type
--persistent <yes|no> Volume is persistent
Import iso/qcow2 image to SP storage
storage sp volume import
usage: storage sp volume import [-h] --name <NAME>
--type <cdrom|system|datablock>
--template <TEMPLATE>
--persistent <yes|no>
--path <PATH>
[--descr <DESCR>]
[--path_to <PATH_TO>]
[--md5hash <MD5HASH>]
[--sha256hash <SHA256HASH>]
[--bus <virtio|sata|ide|scsi>]
arguments:
-h, --help Show this help message and exit
--name <NAME> The name of the volume
--type <cdrom|system|datablock> Volume type
--template <TEMPLATE> The template that the volume settings are inherited from
--persistent <yes|no> Volume is persistent
--path <PATH> Path to iso/qcow2 image (path folder or URL)
--descr <DESCR> Volume description
--path_to <PATH_TO> Placing an object in the directory structure
--md5hash <MD5HASH> Volume hash for validation
--sha256hash <SHA256HASH> Volume hash for validation
--bus <virtio|sata|ide|scsi> Bus to connect volume to VM
List SP volumes
storage sp volume list
usage: storage sp volume list [-h] [--all <yes|no>]
[--template <TEMPLATE>]
arguments:
-h, --help Show this help message and exit
--all <yes|no> List all volumes (default: no)
--template <TEMPLATE>
Revert SP volume to snapshot
storage sp volume revert
usage: storage sp volume revert [-h] --uuid <UUID>
--snapshot_uuid <SNAPSHOT_UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Volume UUID
--snapshot_uuid <SNAPSHOT_UUID> Snapshot uuid
Show users with SP volume rights
storage sp volume rights
usage: storage sp volume rights [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Volume UUID
Show SP volume
storage sp volume show
usage: storage sp volume show [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Volume UUID
sp_volume_status
storage sp volume status
usage: storage sp volume status [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Volume uuid
Update SP volume
storage sp volume update
usage: storage sp volume update [-h] --uuid <UUID>
[--name <NAME>]
[--descr <DESCR>]
[--bw <BW>]
[--iops <IOPS>]
[--reuse_server <REUSE_SERVER>]
[--size <SIZE>]
[--type <cdrom|system|datablock>]
[--persistent <yes|no>]
[--bus <virtio|sata|ide|scsi>]
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Volume UUID
--name <NAME> Volume name
--descr <DESCR> Volume description
--bw <BW> Bandwidth limit in KB
--iops <IOPS> Iops limit
--reuse_server <REUSE_SERVER> Allow placement of replicas on same server
--size <SIZE> The volume size.
--type <cdrom|system|datablock> Volume type
--persistent <yes|no> Volume type
--bus <virtio|sata|ide|scsi> Bus to connect volume to VM
Update the used status for SP volume
storage sp volume used update
usage: storage sp volume used update [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Volume UUID
updater plugin
Add Updater params
updater param add
usage: updater param add [-h] [--enable <yes|no>]
[--mods <MODS ...>]
[--profile <dev|prod>]
[--cron <CRON>]
arguments:
-h, --help Show this help message and exit
--enable <yes|no> Network type
--mods <MODS ...> List of plugins/components
--profile <dev|prod> Schema profile
--cron <CRON> CRON schedule
Delete Updater params
updater param del
Show Updater params
updater param show
Update Updater params
updater param update
usage: updater param update [-h] [--enable <yes|no>]
[--mods <MODS ...>]
[--profile <dev|prod>]
[--cron <CRON>]
arguments:
-h, --help Show this help message and exit
--enable <yes|no> Network type
--mods <MODS ...> List of plugins/components
--profile <dev|prod> Schema profile
--cron <CRON> CRON schedule
Add update task
updater update add
usage: updater update add [-h] [--node <NODE>]
[--mods <MODS ...>]
arguments:
-h, --help Show this help message and exit
--node <NODE> Node name
--mods <MODS ...> List of plugins/components
Clear update task
updater update clear
usage: updater update clear [-h] --uuid <UUID>
arguments:
-h, --help Show this help message and exit
--uuid <UUID> Task UUID
List all updates
updater update list
Show update
updater update show