Справочник CLI
Введение
Справочник CLI содержит список команд, которые можно использовать в командной строке для управления ПО Sharx Base. В справочнике указан синтаксис команд, доступные опции и аргументы, а также краткое описание их функций.
Требования
Необходимо установить интерфейс командной строки sdc-cli.
Подробная информация приведена в статье Требования к интерфейсу командной строки.
Список команд
Примечание
Справочник доступен только на английском языке
cluster
Create new Cluster
cluster add
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name;--node_ids [NODE_IDS [NODE_IDS ...]]— list of node IDs;--vip VIP— VIP IP-address of cluster.
Delete Cluster
cluster del
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name.
Delete free node
cluster freenodes del
Optional arguments:
-h,--help— show help message and exit.
Get free nodes list
cluster freenodes list
Optional arguments:
-h,--help— show help message and exit.
Get clusters list
cluster list
Optional arguments:
-h,--help— show help message and exit.
Get metrics
cluster metrics list
Optional arguments:
-h,--help— show help message and exit.
Add Cluster node
cluster nodes add
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name;--node NODE— node ID.
Delete Cluster node
cluster nodes del
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name;--node NODE— node ID.
Get clusters node list
cluster nodes list
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name;
Modify Cluster node
cluster nodes update
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name;--node NODE— node ID;--op {start,stop}— начальное состояние узла.
Add plugin to cluster
cluster plugins add
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name;--plugin PLUGIN— plugin name.
Delete plugin from cluster
cluster plugins del
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name;--plugin PLUGIN— plugin name.
Get clusters plugin list
cluster plugins listapispec_1
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name.
Get plugin descripsion
cluster plugins show
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name;--plugin PLUGIN— plugin name.
Get plugin list
cluster repo list
Optional arguments:
-h,--help— show help message and exit.
Plugin install
cluster repo plugins add
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name;--plugin PLUGIN— plugin name.
Plugin uninstall
cluster repo plugins del
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name;--plugin PLUGIN— plugin name.
Get clusters plugin list
cluster repo plugins list
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name.
Get cluster version
cluster version list
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name.
Change VIP IP-address of cluster
cluster vip add
Optional arguments:
-h,--help— show help message and exit;--cluster CLUSTER— cluster name;--vip VIP— VIP IP-address of cluster.
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
> 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 RESOURCES_SHARE]
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 RESOURCES_SHARE - Cluster resource sharing (Default - no) ['yes', '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
> 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 RESOURCES_SHARE]
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 RESOURCES_SHARE - Cluster resource sharing (Default - no) ['yes', 'no']
Add cluster parameters
aaa cluster resource overcommit add
> aaa cluster resource overcommit add [-h] --cpu_overcommit_type CPU_OVERCOMMIT_TYPE
--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 CPU_OVERCOMMIT_TYPE - cpu overcommit type ['shares', 'quotas']
--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
Disable balloon memory overcommit on cluster
aaa cluster resource overcommit ballooning disable
> 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
> aaa cluster resource overcommit ballooning enable [-h]
arguments:
-h, --help show this help message and exit
Delete cluster parameters
aaa cluster resource overcommit del
Show cluster parameters
aaa cluster resource overcommit show
Update cluster parameters
aaa cluster resource overcommit update
> aaa cluster resource overcommit update [-h] [--cpu_overcommit_type CPU_OVERCOMMIT_TYPE]
[--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 CPU_OVERCOMMIT_TYPE - cpu overcommit type ['shares', 'quotas']
--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
Calculate resources that must be reserved for system
aaa cluster resource reserved calc
Delete reserved resources from node
aaa cluster resource reserved del
> 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
> 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
> aaa cluster resource reserved update [-h] [--overcommit_ram OVERCOMMIT_RAM]
[--reserved_system_cpu RESERVED_SYSTEM_CPU]
[--reserved_system_ram RESERVED_SYSTEM_RAM]
[--reserved_system_disk RESERVED_SYSTEM_DISK]
--uuid UUID
arguments:
-h, --help show this help message and exit
--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
--uuid UUID - Node UUID
View available RAM and CPU resources
aaa cluster resource show
Add new namespace (Virtual DC) to Cluster
aaa namespace add
> aaa namespace add [-h] --cluster CLUSTER
--ns NS
[--paths PATHS]
[--descr DESCR]
--cpu CPU
--ram RAM
[--config_name CONFIG_NAME]
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
--config_name CONFIG_NAME - The name of the configuration for defining roles
Force delete namespace (Virtual DC) from Cluster
aaa namespace clear
> 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
> 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
> 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
> 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
> 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
> 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
> aaa param add [-h] [--auth_type AUTH_TYPE]
[--auth_type_privileged AUTH_TYPE_PRIVILEGED]
[--cert CERT]
[--cert_privileged CERT_PRIVILEGED]
[--ldap LDAP]
[--ldap_sync LDAP_SYNC]
[--validation_ip VALIDATION_IP]
[--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 SESSIONS_MULTI_ORIGIN]
[--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 REQUIRE_GENERATED_PASSWORD_CHANGE]
[--whitelist_networks WHITELIST_NETWORKS]
[--tfa_client TFA_CLIENT]
[--tfa_wait_sec TFA_WAIT_SEC]
[--notif_route NOTIF_ROUTE]
[--ns_owner_access NS_OWNER_ACCESS]
arguments:
-h, --help show this help message and exit
--auth_type AUTH_TYPE - Auth type (default - BASIC) ['BASIC', 'TFA']
--auth_type_privileged AUTH_TYPE_PRIVILEGED - Auth type (default - BASIC) ['BASIC', 'TFA']
--cert CERT - Using cert for verify users connections ['yes', 'no']
--cert_privileged CERT_PRIVILEGED - Using cert for verify users connections ['yes', 'no']
--ldap LDAP - LDAP config name
--ldap_sync LDAP_SYNC - Sync data from LDAP server (default - no) ['yes', 'no']
--validation_ip VALIDATION_IP - Check client network adress (default - no) ['yes', '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 - 3 min)
--sessions_timeout_sec_privileged SESSIONS_TIMEOUT_SEC_PRIVILEGED - Session timeout (default - 3 min)
--sessions_multi_origin SESSIONS_MULTI_ORIGIN - Allow multiple user sessions from different IPs ['yes', 'no']
--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 REQUIRE_GENERATED_PASSWORD_CHANGE - Is possible to enter in namespace by user with generated password ['yes', 'no']
--whitelist_networks WHITELIST_NETWORKS - List of white networks
--tfa_client TFA_CLIENT - TFA Client factor (default - OTP) ['OTP']
--tfa_wait_sec TFA_WAIT_SEC - TFA timeout (default - 1 min)
--notif_route NOTIF_ROUTE - Route name for notifications
--ns_owner_access NS_OWNER_ACCESS - Namespace owner access (default - yes) ['yes', 'no']
Disable checks
aaa param check disable
Enable checks
aaa param check enable
Delete AAA params
aaa param del
Add LDAP config
aaa param ldap add
> 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]
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
Delete LDAP config
aaa param ldap del
> 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
> 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
> 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]
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
Show AAA params
aaa param show
> aaa param show [-h] [--filter FILTER]
arguments:
-h, --help show this help message and exit
--filter FILTER - param filter ['common', 'privileged']
Update AAA params
aaa param update
> aaa param update [-h] [--auth_type AUTH_TYPE]
[--auth_type_privileged AUTH_TYPE_PRIVILEGED]
[--cert CERT]
[--cert_privileged CERT_PRIVILEGED]
[--ldap LDAP]
[--ldap_sync LDAP_SYNC]
[--validation_ip VALIDATION_IP]
[--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 SESSIONS_MULTI_ORIGIN]
[--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 REQUIRE_GENERATED_PASSWORD_CHANGE]
[--whitelist_networks WHITELIST_NETWORKS]
[--tfa_client TFA_CLIENT]
[--tfa_wait_sec TFA_WAIT_SEC]
[--otp_code_live_period_years OTP_CODE_LIVE_PERIOD_YEARS]
[--notif_route NOTIF_ROUTE]
[--ns_owner_access NS_OWNER_ACCESS]
arguments:
-h, --help show this help message and exit
--auth_type AUTH_TYPE - Auth type (default - BASIC) ['BASIC', 'TFA']
--auth_type_privileged AUTH_TYPE_PRIVILEGED - Auth type (default - BASIC) ['BASIC', 'TFA']
--cert CERT - Using cert for verify users connections ['yes', 'no']
--cert_privileged CERT_PRIVILEGED - Using cert for verify users connections ['yes', 'no']
--ldap LDAP - LDAP config name
--ldap_sync LDAP_SYNC - Sync data from LDAP server (default - no) ['yes', 'no']
--validation_ip VALIDATION_IP - Check client network adress (default - no) ['yes', '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 - 3 min)
--sessions_timeout_sec_privileged SESSIONS_TIMEOUT_SEC_PRIVILEGED - Session timeout (default - 3 min)
--sessions_multi_origin SESSIONS_MULTI_ORIGIN - Allow multiple user sessions from different IPs ['yes', 'no']
--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 REQUIRE_GENERATED_PASSWORD_CHANGE - Is possible to enter in namespace by user with generated password ['yes', 'no']
--whitelist_networks WHITELIST_NETWORKS - List of white networks
--tfa_client TFA_CLIENT - TFA Client factor (default - OTP) ['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 NS_OWNER_ACCESS - Namespace owner access (default - yes) ['yes', 'no']
List permissions
aaa permissions list
> aaa permissions list [-h] [--cluster CLUSTER]
[--ns NS]
arguments:
-h, --help show this help message and exit
--cluster CLUSTER - cluster name
--ns NS - namespace name
Delegating permissions to namespace
aaa permissions ns add
> 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
> 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
Add new role
aaa role add
> 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 - Permission list
--descr DESCR - Role description
Delete role
aaa role del
> 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
> aaa role show [-h] --role ROLE
arguments:
-h, --help show this help message and exit
--role ROLE - Role name
Update role
aaa role update
> 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 - Permission list
--descr DESCR - Role description
Delete session
aaa session del
> 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
> 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
> 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
> 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
> 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
> 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
> aaa user cert notify [-h] --login LOGIN
arguments:
-h, --help show this help message and exit
--login LOGIN - User login
Update user certificate
aaa user cert update
Delete user (force delete user data)
aaa user clear
> aaa user clear [-h] --login LOGIN
arguments:
-h, --help show this help message and exit
--login LOGIN - User login
Delete user
aaa user del
> 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
> 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
> 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
Update user path
aaa user path update
> 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 user
aaa user self show
Show user
aaa user show
> 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
> aaa user status update [-h] --login LOGIN
--status STATUS
arguments:
-h, --help show this help message and exit
--login LOGIN - User login
--status STATUS - User status ['ACTIVE', 'BLOCKED']
Update user
aaa user update
> aaa user update [-h] --login LOGIN
[--email EMAIL]
[--roles ROLES]
[--descr DESCR]
[--passwd PASSWD]
[--prev_passwd PREV_PASSWD]
[--cert CERT]
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 CERT - Update user cert ['yes', 'no']
Update user whielist networks
aaa user whitelist update
> 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
> 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
> 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
> 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
> aaaevents event list [-h] [--operation OPERATION]
[--group GROUP]
[--level LEVEL]
[--login LOGIN]
[--limit LIMIT]
[--begin BEGIN]
[--end END]
[--full FULL]
[--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
--begin BEGIN - Start date (d/m/Y, H:M:S)
--end END - End date (d/m/Y, H:M:S)
--full FULL - Show full events message ['yes', 'no']
--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
> aaaevents event loglevel [-h] [--setlevel SETLEVEL]
arguments:
-h, --help show this help message and exit
--setlevel SETLEVEL - Minimal level of events to be saved ['INFO', 'WARN', 'CRITICAL']
Show user event
aaaevents event show
> aaaevents event show [-h] [--login LOGIN]
--uuid UUID
arguments:
-h, --help show this help message and exit
--login LOGIN - User/login name
--uuid UUID - Event UUID
Show available event types
aaaevents event types
Add AAA Events params
aaaevents param add
> 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
> 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
> 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
--ca_data CA_DATA - CA file content
--ca_file CA_FILE - path to CA file
--log_enabled LOG_ENABLED - enable logging to syslog server
Delete syslog connection configuration
aaaevents syslog del
Show syslog connection configuration
aaaevents syslog show
Update syslog connection configuration
aaaevents syslog update
> 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
goss plugin
Add goss check
goss global check add
> goss global check add [-h] --name NAME
[--descr DESCR]
[--data DATA]
[--hook_data HOOK_DATA]
[--cron CRON]
[--run_code RUN_CODE]
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 RUN_CODE - Run strategy (default - VIP) ['VIP', 'ALL']
Delete goss check
goss global check del
> 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
> 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
> 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
> goss global check update [-h] --name NAME
[--descr DESCR]
[--data DATA]
[--hook_data HOOK_DATA]
[--cron CRON]
[--run_code RUN_CODE]
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 RUN_CODE - Run strategy (default - VIP) ['VIP', 'ALL']
List goss events
goss global event list
> 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
> 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
> 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
> 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
> 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
> 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
> 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
> ipam addr allocated list [-h] --uuid UUID
arguments:
-h, --help show this help message and exit
--uuid UUID - net_uuid or subnet_uuid
test technical cmd
ipam addr free list
> 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 - {{ no such element: dict object['desc'] }}
Add virtual ip
ipam addr virtual add
> 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
> 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
> 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
> ipam iface acls add [-h] --net_uuid NET_UUID
--mac MAC
--acls ACLS
arguments:
-h, --help show this help message and exit
--net_uuid NET_UUID - Network UUID
--mac MAC - Iface MAC address
--acls ACLS - List of ACLs names
Delete ACLs from iface
ipam iface acls del
> ipam iface acls del [-h] --net_uuid NET_UUID
--mac MAC
--acls ACLS
arguments:
-h, --help show this help message and exit
--net_uuid NET_UUID - Network UUID
--mac MAC - Iface MAC address
--acls ACLS - List of ACLs names
List network interfaces
ipam iface list
> 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 y/n
Update existing VM network interface
ipam iface update
> ipam iface update [-h] --iface_id IFACE_ID
--ip_address IP_ADDRESS
arguments:
-h, --help show this help message and exit
--iface_id IFACE_ID - Interface UUID
--ip_address IP_ADDRESS - New IP address for interface
Add ACLs to network
ipam network acls add
> ipam network acls add [-h] --net_uuid NET_UUID
--acls ACLS
arguments:
-h, --help show this help message and exit
--net_uuid NET_UUID - {{ no such element: dict object['desc'] }}
--acls ACLS - List of ACLs names
Delete ACLs from network
ipam network acls del
> 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
> ipam network add [-h] --name NAME
[--ns NS]
--ipv IPV
--vlan VLAN
[--mtu MTU]
--v4_net V4_NET
[--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
--ns NS - Target namespace
--ipv IPV - Network IP version ['4', '6']
--vlan VLAN - Vlan id
--mtu MTU - MTU size
--v4_net V4_NET - IPv4 network
--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
> 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
> 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 IPAM network
ipam network show
> 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
> 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
> ipam param add [-h] --mac_prefix MAC_PREFIX
[--ipv6_group IPV6_GROUP]
--allocated_vlans ALLOCATED_VLANS
--reserved_vlans RESERVED_VLANS
[--reserved_v4_nets RESERVED_V4_NETS]
[--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
--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
Delete IPAM params
ipam param del
Show IPAM params
ipam param show
Update IPAM params
ipam param update
> 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
> 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
> 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
Update VxLAN network
ipam vxlan network update
> 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
> 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
> 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
> 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 VxLAN subnet
ipam vxlan subnet show
> 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
> 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
> lic license add [-h] --content CONTENT
arguments:
-h, --help show this help message and exit
--content CONTENT - license content
Remove license
lic license remove
> 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
> 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
> logdump export add [-h] --node NODE
[--pre_exec PRE_EXEC]
[--post_exec POST_EXEC]
[--db DB]
[--sosreport SOSREPORT]
[--passwd PASSWD]
--delete_after DELETE_AFTER
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
--db DB - Should DB state be exported? ['yes', 'no']
--sosreport SOSREPORT - Should sosreport file be exported? ['yes', 'no']
--passwd PASSWD - Password for the exported archive
--delete_after DELETE_AFTER - Date or number of days after which the archive will be deleted
Clear export task
logdump export clear
> 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
> logdump export param add [-h] [--pre_exec PRE_EXEC]
[--post_exec POST_EXEC]
[--db DB]
[--sosreport SOSREPORT]
[--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 DB - Should DB state be exported? ['yes', 'no']
--sosreport SOSREPORT - Should sosreport file be exported? ['yes', '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
> logdump export param update [-h] [--pre_exec PRE_EXEC]
[--post_exec POST_EXEC]
[--db DB]
[--sosreport SOSREPORT]
[--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 DB - Should DB state be exported? ['yes', 'no']
--sosreport SOSREPORT - Should sosreport file be exported? ['yes', 'no']
--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
> 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
> 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
> 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
> 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
> 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
> logdump import show [-h] --uuid UUID
arguments:
-h, --help show this help message and exit
--uuid UUID - Task UUID
trace
logdump trace
> 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
> metrics data fetch [-h] --name NAME
--sc_node SC_NODE
[--filters FILTERS]
[--current CURRENT]
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
--current CURRENT - Current metric or all available metrics. ['yes', 'no']
Add configuration exporter
metrics exporter add
> 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)
--nodes NODES - Selecting nodes that should collect metrics.
--retention_period RETENTION_PERIOD - Retention period in seconds. (default: 600)
--filters FILTERS - Filtering metrics name and labels
--cron CRON - Cron expression to run exporter.
Delete configuration exporter
metrics exporter del
> 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
> 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
> 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
> 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.
Delete a template
metrics template del
> metrics template del [-h] --name NAME
arguments:
-h, --help show this help message and exit
--name NAME - Template name.
Execute template
metrics template execute
> 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
> 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
> 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
> notif endpoint add [-h] --name NAME
[--type TYPE]
--url URL
[--tls TLS]
[--user USER]
[--passwd PASSWD]
[--descr DESCR]
arguments:
-h, --help show this help message and exit
--name NAME - Endpoint name
--type TYPE - Endpoint type (default - SMTP) ['SMTP']
--url URL - Server url
--tls TLS - Enable tls (default - no) ['yes', 'no']
--user USER - Service server user
--passwd PASSWD - Service server password
--descr DESCR - Endpoint description
Delete notif Endpoint
notif endpoint del
> 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
> 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
> notif endpoint update [-h] --name NAME
[--url URL]
[--tls TLS]
[--user USER]
[--passwd PASSWD]
[--descr DESCR]
arguments:
-h, --help show this help message and exit
--name NAME - Endpoint name
--url URL - Server url
--tls TLS - Enable tls (default - no) ['yes', 'no']
--user USER - Service server user
--passwd PASSWD - Service server password
--descr DESCR - Endpoint description
Add notif mailings
notif mailing add
> 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
> 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
> 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
> 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
> 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
> 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
> 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
> 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
> notif route add [-h] --name NAME
--endpoint ENDPOINT
--mailing MAILING
--sender SENDER
[--subject SUBJECT]
--template TEMPLATE
[--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
--subject SUBJECT - Message subject
--template TEMPLATE - Message template
--descr DESCR - Route description
Delete notif route
notif route del
> 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
> 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
> notif route update [-h] --name NAME
--endpoint ENDPOINT
--mailing MAILING
--sender SENDER
[--subject SUBJECT]
--template TEMPLATE
[--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
--subject SUBJECT - Message subject
--template TEMPLATE - Message template
--descr DESCR - Route description
Add notif template
notif template add
> 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
> 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
> 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
> 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
Mark cluster nodes as drain
scheduler drain add
> 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
> 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
> 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)
--descr DESCR - label description
Assign labels to cluster nodes
scheduler labels assign
> 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
> 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
> 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
> 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
> 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
Lists nodes by labels
scheduler labels nodes list
> 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
--silent SILENT - silence non-existent labels errors y/n
List labels with namespaces they're delegated to
scheduler labels ns list
> 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
Show namespaces with their labels
scheduler labels ns show
> 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
Taint labels
scheduler labels taints add
> 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
> 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
> 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
> 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
> 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
> 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
Show labels by groups where they can be used together
scheduler labels vcluster sharing
> 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
> 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
Return info about ifaces in selected vcluster or request
scheduler report iface
> scheduler report iface [-h] [--request REQUEST]
[--vcluster VCLUSTER]
arguments:
-h, --help show this help message and exit
--request REQUEST - request
--vcluster VCLUSTER - vcluster
Report on cluster nodes memory usage
scheduler report mem
Add Scheduler request
scheduler request add
> scheduler request add [-h] --vcluster VCLUSTER
[--kind KIND]
--name NAME
[--descr DESCR]
[--labels LABELS]
[--template TEMPLATE]
[--data DATA]
arguments:
-h, --help show this help message and exit
--vcluster VCLUSTER - vcluster
--kind KIND - kind
--name NAME - name
--descr DESCR - descr
--labels LABELS - labels
--template TEMPLATE - template
--data DATA - data
Add CIPF label to VM
scheduler request cips label add
> 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
> 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
> scheduler request clear [-h] --vcluster VCLUSTER
[--kind KIND]
--name NAME
arguments:
-h, --help show this help message and exit
--vcluster VCLUSTER - Vcluster name
--kind KIND - Requets type (Default - vm) ['vm']
--name NAME - Resource name
Del Scheduler request
scheduler request del
> scheduler request del [-h] --vcluster VCLUSTER
[--kind KIND]
--name NAME
[--backup BACKUP]
arguments:
-h, --help show this help message and exit
--vcluster VCLUSTER - Vcluster name
--kind KIND - Requets type (Default - vm) ['vm']
--name NAME - Resource name
--backup BACKUP - Create snapshot(delete_after=1d) VMs before delete (if enough space). Default - yes ['yes', 'no']
List Scheduler requests
scheduler request list
> 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
> scheduler request migrate [-h] --vcluster VCLUSTER
[--kind KIND]
--name NAME
--node NODE
--mode MODE
arguments:
-h, --help show this help message and exit
--vcluster VCLUSTER - Vcluster name
--kind KIND - Requets type (Default - vm) ['vm']
--name NAME - Resource name
--node NODE - Destination host
--mode MODE - Migration mode ['live', 'offline']
Show Scheduler request
scheduler request show
> scheduler request show [-h] --vcluster VCLUSTER
[--kind KIND]
--name NAME
[--show_uuid SHOW_UUID]
[--metrics METRICS]
arguments:
-h, --help show this help message and exit
--vcluster VCLUSTER - Vcluster name
--kind KIND - Requets type (Default - vm) ['vm']
--name NAME - Resource name
--show_uuid SHOW_UUID - show object uuid
--metrics METRICS - Get metrics VM ['yes', 'no']
Add snapshot request
scheduler request snapshot add
> scheduler request snapshot add [-h] --vcluster VCLUSTER
[--kind KIND]
--name NAME
--snapshot_name SNAPSHOT_NAME
[--vms VMS]
[--descr DESCR]
arguments:
-h, --help show this help message and exit
--vcluster VCLUSTER - Vcluster name
--kind KIND - Requets type (Default - vm) ['vm']
--name NAME - Resource name
--snapshot_name SNAPSHOT_NAME - Snapshot name
--vms VMS - List of VMs
--descr DESCR - Snapshot description
Snapshot clear
scheduler request snapshot clear
> scheduler request snapshot clear [-h] --name NAME
[--kind KIND]
--vcluster VCLUSTER
--uuid UUID
arguments:
-h, --help show this help message and exit
--name NAME - Resource name
--kind KIND - Requets type (Default - vm) ['vm']
--vcluster VCLUSTER - Vcluster name
--uuid UUID - Snapshot UUID
Snapshot del
scheduler request snapshot del
> scheduler request snapshot del [-h] --name NAME
[--kind KIND]
--vcluster VCLUSTER
--uuid UUID
arguments:
-h, --help show this help message and exit
--name NAME - Resource name
--kind KIND - Requets type (Default - vm) ['vm']
--vcluster VCLUSTER - Vcluster name
--uuid UUID - Snapshot UUID
Snapshots list
scheduler request snapshot list
> scheduler request snapshot list [-h] --vcluster VCLUSTER
[--kind KIND]
--name NAME
arguments:
-h, --help show this help message and exit
--vcluster VCLUSTER - Vcluster name
--kind KIND - Requets type (Default - vm) ['vm']
--name NAME - Request name
Scheduler request revert to snapshot
scheduler request snapshot revert
> scheduler request snapshot revert [-h] --vcluster VCLUSTER
[--kind KIND]
--name NAME
--uuid UUID
[--vms VMS]
arguments:
-h, --help show this help message and exit
--vcluster VCLUSTER - Vcluster name
--kind KIND - Requets type (Default - vm) ['vm']
--name NAME - Resource name
--uuid UUID - Snapshot UUID
--vms VMS - List of VMs
Snapshot show
scheduler request snapshot show
> scheduler request snapshot show [-h] --name NAME
[--kind KIND]
--vcluster VCLUSTER
--uuid UUID
arguments:
-h, --help show this help message and exit
--name NAME - Resource name
--kind KIND - Requets type (Default - vm) ['vm']
--vcluster VCLUSTER - Vcluster name
--uuid UUID - Snapshot UUID
Change Scheduler request state
scheduler request state
> scheduler request state [-h] --vcluster VCLUSTER
[--kind KIND]
--name NAME
[--vms VMS]
--state STATE
arguments:
-h, --help show this help message and exit
--vcluster VCLUSTER - Vcluster name
--kind KIND - Requets type (Default - vm) ['vm']
--name NAME - Resource name
--vms VMS - List of VMs
--state STATE - Scheduler request state ['START', 'STOP', 'REBOOT', 'SUSPEND', 'RESUME']
Scheduler request status
scheduler request status
> scheduler request status [-h] --vcluster VCLUSTER
[--kind KIND]
[--name NAME]
arguments:
-h, --help show this help message and exit
--vcluster VCLUSTER - Vcluster name
--kind KIND - Requets type (Default - vm) ['vm']
--name NAME - Request name
Update Scheduler request without re-creation vm
scheduler request update
> scheduler request update [-h] --vcluster VCLUSTER
[--kind KIND]
--name NAME
[--descr DESCR]
[--labels LABELS]
--data DATA
arguments:
-h, --help show this help message and exit
--vcluster VCLUSTER - Vcluster name
--kind KIND - Requets type (Default - vm) ['vm']
--name NAME - Resource name
--descr DESCR - Vcluster Description
--labels LABELS - {{ no such element: dict object['desc'] }}
--data DATA - Specs definition
Requests VNC connection credentials to specified VM
scheduler request vnc
> 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
--idle_timeout IDLE_TIMEOUT - wait sec before killing VNC proxy after disconnect
--hb HB - VNC proxy heartbeat sec
Add User Scheduler params
scheduler user param add
> scheduler user param add [-h] --vcluster VCLUSTER
--login LOGIN
[--rf RF]
[--isolation_strategy ISOLATION_STRATEGY]
[--drain_strategy DRAIN_STRATEGY]
[--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
--isolation_strategy ISOLATION_STRATEGY - Isolation node strategy (Default - NOTHING) ['STOP', 'NOTHING', 'RECREATE']
--drain_strategy DRAIN_STRATEGY - Drain node strategy (Default - NOTHING) ['STOP', 'NOTHING', 'MIGRATE']
--cpu CPU - User CPU limit
--ram RAM - User RAM limit
Show User Scheduler params for admin
scheduler user param admin
> 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
> 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
> 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
> 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
> scheduler user param update [-h] --vcluster VCLUSTER
--login LOGIN
[--rf RF]
[--isolation_strategy ISOLATION_STRATEGY]
[--drain_strategy DRAIN_STRATEGY]
[--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
--isolation_strategy ISOLATION_STRATEGY - Isolation node strategy (Default - NOTHING) ['STOP', 'NOTHING', 'RECREATE']
--drain_strategy DRAIN_STRATEGY - Drain node strategy (Default - NOTHING) ['STOP', 'NOTHING', 'MIGRATE']
--cpu CPU - User CPU limit
--ram RAM - User RAM limit
Add Vcluster
scheduler vcluster add
> scheduler vcluster add [-h] --name NAME
[--uuids UUIDS]
[--descr DESCR]
--labels LABELS
[--rf RF]
[--isolation_strategy ISOLATION_STRATEGY]
[--drain_strategy DRAIN_STRATEGY]
[--ulimits ULIMITS]
[--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
--uuids UUIDS - List of UUID nodes
--descr DESCR - Vcluster Description
--labels LABELS - {{ no such element: dict object['desc'] }}
--rf RF - Replication factor
--isolation_strategy ISOLATION_STRATEGY - Isolation node strategy (Default - RECREATE) ['STOP', 'NOTHING', 'RECREATE']
--drain_strategy DRAIN_STRATEGY - Drain node strategy (Default - MIGRATE) ['STOP', 'NOTHING', 'MIGRATE']
--ulimits ULIMITS - Enable user limits (Default - yes) ['yes', 'no']
--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
> scheduler vcluster clear [-h] --name NAME
arguments:
-h, --help show this help message and exit
--name NAME - Vcluster name
Del Vcluster
scheduler vcluster del
> 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
> 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
> 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
> 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 Vcluster
scheduler vcluster show
> scheduler vcluster show [-h] --name NAME
arguments:
-h, --help show this help message and exit
--name NAME - Vcluster name
Update Vcluster
scheduler vcluster update
> scheduler vcluster update [-h] --name NAME
[--descr DESCR]
[--rf RF]
[--cpu CPU]
[--ram RAM]
[--isolation_strategy ISOLATION_STRATEGY]
[--drain_strategy DRAIN_STRATEGY]
[--ulimits ULIMITS]
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
--isolation_strategy ISOLATION_STRATEGY - Isolation node strategy (Default - RECREATE) ['STOP', 'NOTHING', 'RECREATE']
--drain_strategy DRAIN_STRATEGY - Drain node strategy (Default - MIGRATE) ['STOP', 'NOTHING', 'MIGRATE']
--ulimits ULIMITS - Enable user limits (Default - yes) ['yes', 'no']
vm_template_add
scheduler vm template add
> scheduler vm template add [-h] --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]
arguments:
-h, --help show this help message and exit
--name NAME - name
--descr DESCR - descr
--vcpu VCPU - vcpu
--vram VRAM - vram
--storage STORAGE - storage
--labels LABELS - labels
--ip_addresses IP_ADDRESSES - ip_addresses
--cpu_overcommit_ratio CPU_OVERCOMMIT_RATIO - cpu_overcommit_ratio
--overcommit_tolerance OVERCOMMIT_TOLERANCE - overcommit_tolerance
--networks NETWORKS - networks
--inbounds INBOUNDS - inbounds
--outbounds OUTBOUNDS - outbounds
--nodeSelector NODESELECTOR - nodeSelector
--affinity AFFINITY - affinity
vm_template_del
scheduler vm template del
> 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
> 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
> scheduler vm template show [-h] --uuid UUID
arguments:
-h, --help show this help message and exit
--uuid UUID - uuid
vm_template_update
scheduler vm template update
> scheduler vm template update [-h] [--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]
--uuid UUID
arguments:
-h, --help show this help message and exit
--name NAME - name
--descr DESCR - descr
--vcpu VCPU - vcpu
--vram VRAM - vram
--storage STORAGE - storage
--labels LABELS - labels
--ip_addresses IP_ADDRESSES - ip_addresses
--cpu_overcommit_ratio CPU_OVERCOMMIT_RATIO - cpu_overcommit_ratio
--overcommit_tolerance OVERCOMMIT_TOLERANCE - overcommit_tolerance
--networks NETWORKS - networks
--inbounds INBOUNDS - inbounds
--outbounds OUTBOUNDS - outbounds
--nodeSelector NODESELECTOR - nodeSelector
--affinity AFFINITY - affinity
--uuid UUID - uuid
services plugin
List all systemd services from SDC_SERVICE_LIST
services available systemd list
Show systemd service from available list
services available systemd show
> 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
> services global systemd add [-h] --name NAME
--code CODE
--state STATE
[--descr DESCR]
arguments:
-h, --help show this help message and exit
--name NAME - Systemd service name
--code CODE - Run strategy (default - VIP) ['VIP', 'ALL']
--state STATE - Service state (default - start) ['start', 'stop']
--descr DESCR - Service description
Delete systemd service
services global systemd del
> 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
> 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
> services global systemd update [-h] --name NAME
--code CODE
--state STATE
[--descr DESCR]
arguments:
-h, --help show this help message and exit
--name NAME - Systemd service name
--code CODE - Run strategy (default - VIP) ['VIP', 'ALL']
--state STATE - Service state (default - start) ['start', 'stop']
--descr DESCR - Service description
signer plugin
Add sign entity
signer entity add
> signer entity add [-h] --name NAME
--mod MOD
--classz CLASSZ
[--include INCLUDE]
[--exclude EXCLUDE]
[--descr DESCR]
arguments:
-h, --help show this help message and exit
--name NAME - Entity name
--mod MOD - Plugin name
--classz CLASSZ - Module name
--include INCLUDE - List of IDs to include
--exclude EXCLUDE - List of IDs to exclude
--descr DESCR - Description
Delete sign entity
signer entity del
> signer entity del [-h] --name NAME
arguments:
-h, --help show this help message and exit
--name NAME - Entity name
List sign entities
signer entity list
Show sign entity
signer entity show
> signer entity show [-h] --name NAME
arguments:
-h, --help show this help message and exit
--name NAME - Entity name
Add sign file
signer file add
> 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
> 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
> 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
> signer key add [-h] [--algorithm ALGORITHM]
[--expire EXPIRE]
[--descr DESCR]
arguments:
-h, --help show this help message and exit
--algorithm ALGORITHM - Key algorithm (default - rsa2048) ['rsa2048', 'rsa3072', 'rsa4096']
--expire EXPIRE - Expire Date/ period (default - 365d)
--descr DESCR - Key description
Delete key
signer key del
> 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
> 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
> signer param add [-h] [--sign_cert SIGN_CERT]
[--sign_enable SIGN_ENABLE]
[--validation_interval VALIDATION_INTERVAL]
[--validation_action VALIDATION_ACTION]
[--sign_models SIGN_MODELS]
arguments:
-h, --help show this help message and exit
--sign_cert SIGN_CERT - Cert fingerprint to sign objetcs in namespace
--sign_enable SIGN_ENABLE - Enable signing (default - no) ['yes', 'no']
--validation_interval VALIDATION_INTERVAL - Inverval for validation
--validation_action VALIDATION_ACTION - Action for invalid objects (default - ERROR) ['ERROR', 'WARN']
--sign_models SIGN_MODELS - List of models for signing
Delete Signer params
signer param del
Show Signer params
signer param show
Update Signer params
signer param update
> signer param update [-h] [--sign_cert SIGN_CERT]
[--sign_enable SIGN_ENABLE]
[--validation_interval VALIDATION_INTERVAL]
[--validation_action VALIDATION_ACTION]
[--sign_models SIGN_MODELS]
arguments:
-h, --help show this help message and exit
--sign_cert SIGN_CERT - Cert fingerprint to sign objetcs in namespace
--sign_enable SIGN_ENABLE - Enable signing (default - no) ['yes', 'no']
--validation_interval VALIDATION_INTERVAL - Inverval for validation
--validation_action VALIDATION_ACTION - Action for invalid objects (default - ERROR) ['ERROR', 'WARN']
--sign_models SIGN_MODELS - List of models for signing
sign_entity_del
signer sign entity del
> 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
> 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
> 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
sign_entity_list
signer sign entity list
> 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
> 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
sign_model_del
signer sign model del
> 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
> 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
> storage libvirt backup del [-h] [--name NAME]
[--sc_node SC_NODE]
arguments:
-h, --help show this help message and exit
--name NAME - Snapshot name
--sc_node SC_NODE - Node UUID location (default - current node)
List Libvirt Backups
storage libvirt backup list
> 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
> 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
> storage libvirt backup show [-h] [--name NAME]
[--sc_node SC_NODE]
arguments:
-h, --help show this help message and exit
--name NAME - Snapshot name
--sc_node SC_NODE - Node UUID location (default - current node)
libvirt_image_upload
storage libvirt image upload
> storage libvirt image upload [-h] --name NAME
--path PATH
[--local_path LOCAL_PATH]
--type TYPE
--persistent PERSISTENT
[--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
--local_path LOCAL_PATH - Path image in local file system
--type TYPE - The volume type ['cdrom', 'system', 'datablock']
--persistent PERSISTENT - Volume is persistent (yes or no) ['yes', 'no']
--description DESCRIPTION - Volume description
libvirt_pool_add
storage libvirt pool add
> 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
libvirt_pool_clear
storage libvirt pool clear
> storage libvirt pool clear [-h] [--name NAME]
[--uuid UUID]
[--get_pool_full_info GET_POOL_FULL_INFO]
arguments:
-h, --help show this help message and exit
--name NAME - Name of Lidvirt pool
--uuid UUID - Libvirt pool UUID
--get_pool_full_info GET_POOL_FULL_INFO - Get pool full information ['yes', 'no']
libvirt_pool_del
storage libvirt pool del
> storage libvirt pool del [-h] [--name NAME]
[--uuid UUID]
[--get_pool_full_info GET_POOL_FULL_INFO]
arguments:
-h, --help show this help message and exit
--name NAME - Name of Lidvirt pool
--uuid UUID - Libvirt pool UUID
--get_pool_full_info GET_POOL_FULL_INFO - Get pool full information ['yes', 'no']
libvirt_pool_list
storage libvirt pool list
> storage libvirt pool list [-h] [--ns NS]
arguments:
-h, --help show this help message and exit
--ns NS - Name of Namespace
libvirt_pool_resources_show
storage libvirt pool resources show
libvirt_pool_show
storage libvirt pool show
> storage libvirt pool show [-h] [--name NAME]
[--uuid UUID]
[--get_pool_full_info GET_POOL_FULL_INFO]
arguments:
-h, --help show this help message and exit
--name NAME - Name of Lidvirt pool
--uuid UUID - Libvirt pool UUID
--get_pool_full_info GET_POOL_FULL_INFO - Get pool full information ['yes', 'no']
libvirt_pool_update
storage libvirt pool update
> 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
> storage libvirt snapshot add [-h] [--uuid UUID]
[--name NAME]
--vm_name VM_NAME
[--disks DISKS]
[--descr DESCR]
[--labels LABELS]
--vcluster_name VCLUSTER_NAME
arguments:
-h, --help show this help message and exit
--uuid UUID - Snapshot UUID
--name NAME - Snapshot name
--vm_name VM_NAME - VM name
--disks DISKS - List of disks images
--descr DESCR - Snapshot description
--labels LABELS - {{ no such element: dict object['desc'] }}
--vcluster_name VCLUSTER_NAME - Vcluster name
Clear Snapshot definition
storage libvirt snapshot clear
> storage libvirt snapshot clear [-h] [--name NAME]
--vm_name VM_NAME
--vcluster_name VCLUSTER_NAME
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
Del Snapshot
storage libvirt snapshot del
> storage libvirt snapshot del [-h] [--name NAME]
--vm_name VM_NAME
--vcluster_name VCLUSTER_NAME
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
List Snapshots
storage libvirt snapshot list
> storage libvirt snapshot list [-h] [--vm_name VM_NAME]
[--request_name REQUEST_NAME]
--vcluster_name VCLUSTER_NAME
arguments:
-h, --help show this help message and exit
--vm_name VM_NAME - Vm name
--request_name REQUEST_NAME - Request name
--vcluster_name VCLUSTER_NAME - Vcluster name
Show Snapshot
storage libvirt snapshot show
> storage libvirt snapshot show [-h] [--name NAME]
--vm_name VM_NAME
--vcluster_name VCLUSTER_NAME
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
libvirt_volume_add
storage libvirt volume add
> storage libvirt volume add [-h] --name NAME
--capacity CAPACITY
--type TYPE
[--frmt FRMT]
--persistent PERSISTENT
[--base_on BASE_ON]
[--source SOURCE]
[--descr DESCR]
[--labels LABELS]
arguments:
-h, --help show this help message and exit
--name NAME - Name of Lidvirt volume
--capacity CAPACITY - Volume capacity
--type TYPE - The volume type ['cdrom', 'system', 'datablock']
--frmt FRMT - Volume format (default - qcow2)
--persistent PERSISTENT - Volume is persistent (yes or no) ['yes', 'no']
--base_on BASE_ON - The volume base on name
--source SOURCE - Source volume name (clone)
--descr DESCR - Volume description
--labels LABELS - Volume labels
libvirt_volume_clear
storage libvirt volume clear
> storage libvirt volume clear [-h] [--name NAME]
[--uuid UUID]
[--get_volume_full_info GET_VOLUME_FULL_INFO]
arguments:
-h, --help show this help message and exit
--name NAME - Name of Libvirt volume
--uuid UUID - Libvirt volume UUID
--get_volume_full_info GET_VOLUME_FULL_INFO - Get volume full information ['yes', 'no']
libvirt_volume_del
storage libvirt volume del
> storage libvirt volume del [-h] [--name NAME]
[--uuid UUID]
[--get_volume_full_info GET_VOLUME_FULL_INFO]
arguments:
-h, --help show this help message and exit
--name NAME - Name of Libvirt volume
--uuid UUID - Libvirt volume UUID
--get_volume_full_info GET_VOLUME_FULL_INFO - Get volume full information ['yes', 'no']
libvirt_volume_list
storage libvirt volume list
libvirt_volume_resources_show
storage libvirt volume resources show
libvirt_volume_show
storage libvirt volume show
> storage libvirt volume show [-h] [--name NAME]
[--uuid UUID]
[--get_volume_full_info GET_VOLUME_FULL_INFO]
arguments:
-h, --help show this help message and exit
--name NAME - Name of Libvirt volume
--uuid UUID - Libvirt volume UUID
--get_volume_full_info GET_VOLUME_FULL_INFO - Get volume full information ['yes', 'no']
libvirt_volume_update
storage libvirt volume update
> storage libvirt volume update [-h] --uuid UUID
[--capacity CAPACITY]
[--type TYPE]
[--persistent PERSISTENT]
[--descr DESCR]
arguments:
-h, --help show this help message and exit
--uuid UUID - Libvirt pool UUID
--capacity CAPACITY - Volume capacity
--type TYPE - The volume type ['cdrom', 'system', 'datablock']
--persistent PERSISTENT - Volume is persistent (yes or no) ['yes', 'no']
--descr DESCR - Volume description
nfs_mount_add
storage nfs mount add
> storage nfs mount add [-h] --name NAME
--nfs_server NFS_SERVER
--shared_folder_path SHARED_FOLDER_PATH
[--mount_point MOUNT_POINT]
[--params PARAMS]
[--nodes NODES]
--ns NS
[--autocheck AUTOCHECK]
[--check_timeout CHECK_TIMEOUT]
[--descr DESCR]
--capacity CAPACITY
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
--mount_point MOUNT_POINT - Folder where shared folder should be mounted
--params PARAMS - List of params for NFS mount command
--nodes NODES - Nodes to mount
--ns NS - Namespaces to access this mount
--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_mount_connect
storage nfs mount connect
> 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
> 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
> storage nfs mount disconnect [-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
> 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
nfs_mount_nodes_del
storage nfs mount nodes del
> 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
nfs_mount_ns_add
storage nfs mount ns add
> 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
> 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
nfs_mount_show
storage nfs mount show
> 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
> 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
> 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
> storage nfs snapshot add [-h] [--uuid UUID]
--name NAME
--vm_name VM_NAME
--vcluster_name VCLUSTER_NAME
[--disks DISKS]
[--descr DESCR]
[--labels LABELS]
arguments:
-h, --help show this help message and exit
--uuid UUID - Snapshot UUID
--name NAME - Snapshot name
--vm_name VM_NAME - VM name
--vcluster_name VCLUSTER_NAME - Vcluster name
--disks DISKS - List of disks
--descr DESCR - Snapshot description
--labels LABELS - Snapshot labels
nfs_snapshot_del
storage nfs snapshot del
> 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
> 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
nfs_snapshot_show
storage nfs snapshot show
> 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
> storage nfs volume add [-h] --name NAME
--mount_uuid MOUNT_UUID
[--size SIZE]
--type TYPE
--persistent PERSISTENT
[--base_on BASE_ON]
[--descr DESCR]
[--vm_uuid VM_UUID]
[--path_to PATH_TO]
arguments:
-h, --help show this help message and exit
--name NAME - The name of the volume
--mount_uuid MOUNT_UUID - NFS mount name
--size SIZE - The volume size
--type TYPE - The volume type ['cdrom', 'system', 'datablock']
--persistent PERSISTENT - Volume is persistent (yes or no) ['yes', 'no']
--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
nfs_volume_clear
storage nfs volume clear
> storage nfs volume clear [-h] [--name NAME]
[--uuid UUID]
[--mount_uuid MOUNT_UUID]
[--get_full_name GET_FULL_NAME]
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 GET_FULL_NAME - Show full name of disk
nfs_volume_del
storage nfs volume del
> storage nfs volume del [-h] [--name NAME]
[--uuid UUID]
[--mount_uuid MOUNT_UUID]
[--get_full_name GET_FULL_NAME]
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 GET_FULL_NAME - Show full name of disk
nfs_volume_import
storage nfs volume import
> storage nfs volume import [-h] --name NAME
--mount_uuid MOUNT_UUID
--type TYPE
[--descr DESCR]
--persistent PERSISTENT
--path PATH
[--path_to PATH_TO]
arguments:
-h, --help show this help message and exit
--name NAME - The name of the volume
--mount_uuid MOUNT_UUID - NFS mount name
--type TYPE - The volume type ['cdrom', 'system', 'datablock']
--descr DESCR - Description of the volume
--persistent PERSISTENT - Volume is persistent (yes or no) ['yes', 'no']
--path PATH - path or URL of the volume
--path_to PATH_TO - Placing an object in the directory structure
nfs_volume_list
storage nfs volume list
> storage nfs volume list [-h] [--mount_uuid MOUNT_UUID]
[--get_full_name GET_FULL_NAME]
[--all ALL]
arguments:
-h, --help show this help message and exit
--mount_uuid MOUNT_UUID - Show volumes of mount
--get_full_name GET_FULL_NAME - Show full name of disk ['yes', 'no']
--all ALL - Show vm base_on volumes ['yes', 'no']
nfs_volume_show
storage nfs volume show
> storage nfs volume show [-h] [--name NAME]
[--uuid UUID]
[--mount_uuid MOUNT_UUID]
[--get_full_name GET_FULL_NAME]
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 GET_FULL_NAME - Show full name of disk
nfs_volume_used_update
storage nfs volume used update
> storage nfs volume used update [-h] --volume_uuid VOLUME_UUID
--vm_name VM_NAME
--op OP
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 OP - Update volume used ['add', 'del']
nfs_volume_vm_add
storage nfs volume vm add
> 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
> 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
> 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
> storage sp attach volume [-h] --volume_uuid VOLUME_UUID
--mode MODE
--sc_uuid SC_UUID
arguments:
-h, --help show this help message and exit
--volume_uuid VOLUME_UUID - Volume uuid
--mode MODE - The mode of the volume ['rw', 'ro']
--sc_uuid SC_UUID - UUID node to attach
Detach SP volume
storage sp detach volume
> 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
> 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 subtituted from placementGroup limit
Del reserved inside placementGroup
storage sp placementGroup resources reserved del
> 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
> 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
> 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
> 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 subtituted from placementGroup limit
Resource show for placement group
storage sp placementGroup resources show
> storage sp placementGroup resources show [-h] --place PLACE
arguments:
-h, --help show this help message and exit
--place PLACE - {{ no such element: dict object['desc'] }}
Add SP volume snapshot
storage sp snapshot add
> storage sp snapshot add [-h] --name NAME
[--descr DESCR]
--volume_uuid VOLUME_UUID
arguments:
-h, --help show this help message and exit
--name NAME - The name of the volume
--descr DESCR - Volume description
--volume_uuid VOLUME_UUID - Volume UUID
Clear SP volume snapshot
storage sp snapshot clear
> storage sp snapshot clear [-h] --uuid UUID
arguments:
-h, --help show this help message and exit
--uuid UUID - Volume UUID
Del SP volume snapshot
storage sp snapshot del
> storage sp snapshot del [-h] --uuid UUID
arguments:
-h, --help show this help message and exit
--uuid UUID - Volume UUID
List SP volume snapshot
storage sp snapshot list
> storage sp snapshot list [-h] [--volume_uuid VOLUME_UUID]
arguments:
-h, --help show this help message and exit
--volume_uuid VOLUME_UUID - {{ no such element: dict object['desc'] }}
Show SP volume snapshot
storage sp snapshot show
> storage sp snapshot show [-h] --uuid UUID
arguments:
-h, --help show this help message and exit
--uuid UUID - Volume UUID
Update SP volume snapshot
storage sp snapshot update
> 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 - Volume 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
> storage sp template add [-h] [--bw BW]
[--iops IOPS]
[--descr DESCR]
--name NAME
[--parent PARENT]
--place PLACE
--replication REPLICATION
[--reuse_server REUSE_SERVER]
--capacity CAPACITY
--ns NS
arguments:
-h, --help show this help message and exit
--bw BW - Bandwidth limit in KB
--iops IOPS - Iops limit
--descr DESCR - Volume template description
--name NAME - The name of the template
--parent PARENT - The name of the snapshot on which volumes will be based.The value must be of one of the following types: SnapshotName
--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
--reuse_server REUSE_SERVER - Allow placement of replicas on same server
--capacity CAPACITY - capacity
--ns NS - Virtual DC
Clear SP volumes templates
storage sp template clear
> 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
> 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
> 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 SP volumes template
storage sp template show
> 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
> storage sp template update [-h] [--bw BW]
[--iops IOPS]
[--descr DESCR]
--name NAME
[--parent PARENT]
[--replication REPLICATION]
[--reuse_server REUSE_SERVER]
[--capacity CAPACITY]
[--ns NS]
arguments:
-h, --help show this help message and exit
--bw BW - Bandwidth limit in KB
--iops IOPS - Iops limit
--descr DESCR - Volume template description
--name NAME - The name of the template
--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
> storage sp volume add [-h] [--bw BW]
[--iops IOPS]
[--descr DESCR]
--name NAME
[--parent PARENT]
[--reuse_server REUSE_SERVER]
--size SIZE
--template TEMPLATE
[--base_on BASE_ON]
--type TYPE
--persistent PERSISTENT
[--path_to PATH_TO]
arguments:
-h, --help show this help message and exit
--bw BW - Bandwidth limit in KB
--iops IOPS - Iops limit
--descr DESCR - Volume description
--name NAME - The name of the volume
--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
--size SIZE - The volume size in bytes.
--template TEMPLATE - The template that the volume settings are inherited from
--base_on BASE_ON - The name of an already existing volume that the new volume is to be a copy of
--type TYPE - Volume type ['cdrom', 'system', 'datablock']
--persistent PERSISTENT - Volume is persistent ['yes', 'no']
--path_to PATH_TO - Placing an object in the directory structure
Clear SP volume
storage sp volume clear
> 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
> storage sp volume del [-h] --uuid UUID
[--force FORCE]
arguments:
-h, --help show this help message and exit
--uuid UUID - Volume UUID
--force FORCE - Forced removal of snapshots. Default - no ['yes', 'no']
Export SP volume from storage to local storage
storage sp volume export
> storage sp volume export [-h] --uuid UUID
--export_name EXPORT_NAME
[--export_format EXPORT_FORMAT]
arguments:
-h, --help show this help message and exit
--uuid UUID - Volume UUID
--export_name EXPORT_NAME - Export name
--export_format EXPORT_FORMAT - Export format ['qcow2', 'iso']
Convert the SP volume to a snapshot (volume to be removed)
storage sp volume freeze
> 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
> storage sp volume fromparent [-h] --name NAME
--snapshot_uuid SNAPSHOT_UUID
--type TYPE
--persistent PERSISTENT
arguments:
-h, --help show this help message and exit
--name NAME - {{ no such element: dict object['desc'] }}
--snapshot_uuid SNAPSHOT_UUID - {{ no such element: dict object['desc'] }}
--type TYPE - Volume type ['cdrom', 'system', 'datablock']
--persistent PERSISTENT - Volume is persistent ['yes', 'no']
Import iso/qcow2 image to SP storage
storage sp volume import
> storage sp volume import [-h] --name NAME
[--descr DESCR]
--type TYPE
--template TEMPLATE
--persistent PERSISTENT
--path PATH
[--path_to PATH_TO]
[--md5hash MD5HASH]
[--sha256hash SHA256HASH]
arguments:
-h, --help show this help message and exit
--name NAME - The name of the volume
--descr DESCR - Volume description
--type TYPE - Volume type ['cdrom', 'system', 'datablock']
--template TEMPLATE - The template that the volume settings are inherited from
--persistent PERSISTENT - Volume is persistent ['yes', 'no']
--path PATH - Path to iso/qcow2 image (path folder or URL)
--path_to PATH_TO - Placing an object in the directory structure
--md5hash MD5HASH - Volume hash for validation
--sha256hash SHA256HASH - Volume hash for validation
List SP volumes
storage sp volume list
> storage sp volume list [-h] [--all ALL]
[--template TEMPLATE]
arguments:
-h, --help show this help message and exit
--all ALL - List all volumes ['yes', 'no']
--template TEMPLATE - {{ no such element: dict object['desc'] }}
Revert SP volume to snapshot
storage sp volume revert
> 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 SP volume
storage sp volume show
> 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
> 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
> storage sp volume update [-h] --uuid UUID
[--name NAME]
[--descr DESCR]
[--bw BW]
[--iops IOPS]
[--reuse_server REUSE_SERVER]
[--size SIZE]
[--type TYPE]
[--persistent PERSISTENT]
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 TYPE - Volume type ['cdrom', 'system', 'datablock']
--persistent PERSISTENT - Volume type ['yes', 'no']
Update the used status for SP volume
storage sp volume used update
> 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
> updater param add [-h] [--enable ENABLE]
[--mods MODS]
[--profile PROFILE]
[--cron CRON]
arguments:
-h, --help show this help message and exit
--enable ENABLE - Network type ['yes', 'no']
--mods MODS - List of plugins/components
--profile PROFILE - Schema profile ['dev', 'prod']
--cron CRON - CRON schedule
Delete Updater params
updater param del
Show Updater params
updater param show
Update Updater params
updater param update
> updater param update [-h] [--enable ENABLE]
[--mods MODS]
[--profile PROFILE]
[--cron CRON]
arguments:
-h, --help show this help message and exit
--enable ENABLE - Network type ['yes', 'no']
--mods MODS - List of plugins/components
--profile PROFILE - Schema profile ['dev', 'prod']
--cron CRON - CRON schedule
Add update task
updater update add
> 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
> 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