2.83. hammer virt-who-config

管理 Virt Who 配置

Usage:
    hammer virt-who-config [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a virt-who configuration
 delete, destroy               Delete a virt-who configuration
 deploy                        Download and execute script for the specified virt-who configuration
 fetch                         Renders a deploy script for the specified virt-who configuration
 info, show                    Show a virt-who configuration
 list, index                   List of virt-who configurations
 update                        Update a virt-who configuration

Options:
 -h, --help                    Print help

2.83.1. Hammer virt-who-config create

创建 virt-who 配置

Usage:
    hammer virt-who-config create [OPTIONS]

Options:
 --ahv-internal-debug BOOLEAN  Option Enable debugging output is required to enable AHV internal debug. It
                               provides extra AHV debug information when both options are enabled
 --ahv-update-interval NUMBER  The frequency of VM-to-host mapping updates for AHV(in seconds)
 --blacklist VALUE             Hypervisor blacklist, applicable only when filtering mode is set to 2. Wildcards
                               and regular expressions are supported, multiple records must be separated by
                               comma.
 --debug BOOLEAN               Enable debugging output
 --exclude-host-parents VALUE  Applicable only for esx provider type. Hosts which parent (usually
                               ComputeResource) name is specified in comma-separated list in this option will
                               NOT be reported. Wildcards and regular expressions are supported, multiple
                               records must be separated by comma. Put the value into the double-quotes if it
                               contains special characters like comma. All new line characters will be removed
                               in resulting configuration file, white spaces are removed from beginning and
                               end.
 --filter-host-parents VALUE   Applicable only for esx provider type. Only hosts which parent (usually
                               ComputeResource) name is specified in comma-separated list in this option will
                               be reported. Wildcards and regular expressions are supported, multiple records
                               must be separated by comma. Put the value into the double-quotes if it contains
                               special characters like comma. All new line characters will be removed in
                               resulting configuration file, white spaces are removed from beginning and end.
 --filtering-mode ENUM         Hypervisor filtering mode
                               Possible value(s): 'none', 'whitelist', 'blacklist'
 --http-proxy VALUE            Name to search by
 --http-proxy-id NUMBER        HTTP Proxy that should be used for communication between the server on which
                               virt-who is running and the hypervisors and virtualization managers.
 --hypervisor-id ENUM          Specifies how the hypervisor will be identified.
                               Possible value(s): 'hostname', 'uuid', 'hwuuid'
 --hypervisor-password VALUE   Hypervisor password, required for all hypervisor types except for
                               libvirt/kubevirt.
 --hypervisor-server VALUE     Fully qualified host name or IP address of the hypervisor
 --hypervisor-type ENUM        Hypervisor type
                               Possible value(s): 'esx', 'hyperv', 'libvirt', 'kubevirt', 'ahv'
 --hypervisor-username VALUE   Account name by which virt-who is to connect to the hypervisor.
 --interval ENUM               Configuration interval in minutes
                               Possible value(s): '60', '120', '240', '480', '720', '1440', '2880', '4320'
 --kubeconfig-path VALUE       Configuration file containing details about how to connect to the cluster and
                               authentication details.
 --location VALUE              Set the current location context for the request
 --location-id NUMBER          Set the current location context for the request
 --location-title VALUE        Set the current location context for the request
 --name VALUE                  Configuration name
 --no-proxy VALUE              Ignore Proxy. A comma-separated list of hostnames or domains or ip addresses to
                               ignore Capsule settings for. Optionally this may be set to * to bypass proxy
                               settings for all hostnames domains or ip addresses.
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Set the current organization context for the request
 --organization-title VALUE    Set the current organization context for the request
 --prism-flavor ENUM           Select the Prism flavor you are connecting to
                               Possible value(s): 'central', 'element'
 --satellite-url VALUE         Satellite server FQDN
 --whitelist VALUE             Hypervisor whitelist, applicable only when filtering mode is set to 1. Wildcards
                               and regular expressions are supported, multiple records must be separated by
                               comma.
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.83.2. hammer virt-who-config delete

删除 virt-who 配置

Usage:
    hammer virt-who-config <delete|destroy> [OPTIONS]

Options:
 --id NUMBER                   Configuration numeric identifier
 --location VALUE              Set the current location context for the request
 --location-id NUMBER          Set the current location context for the request
 --location-title VALUE        Set the current location context for the request
 --name VALUE                  Name to search by
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Set the current organization context for the request
 --organization-title VALUE    Set the current organization context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.83.3. Hammer virt-who-config 部署

下载并执行指定 virt-who 配置的脚本

Usage:
    hammer virt-who-config deploy [OPTIONS]

Options:
 --id VALUE
 --location VALUE              Set the current location context for the request
 --location-id NUMBER          Set the current location context for the request
 --location-title VALUE        Set the current location context for the request
 --name VALUE                  Name to search by
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Set the current organization context for the request
 --organization-title VALUE    Set the current organization context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.83.4. hammer virt-who-config fetch

为指定的 virt-who 配置呈现部署脚本

Usage:
    hammer virt-who-config fetch [OPTIONS]

Options:
 --id VALUE
 --location VALUE              Set the current location context for the request
 --location-id NUMBER          Set the current location context for the request
 --location-title VALUE        Set the current location context for the request
 --name VALUE                  Name to search by
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Set the current organization context for the request
 --organization-title VALUE    Set the current organization context for the request
 -h, --help                    Print help
 -o, --output VALUE            File where the script will be written

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.83.5. hammer virt-who-config info

显示 virt-who 配置

Usage:
    hammer virt-who-config <info|show> [OPTIONS]

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --id VALUE
 --location VALUE              Set the current location context for the request
 --location-id NUMBER          Set the current location context for the request
 --location-title VALUE        Set the current location context for the request
 --name VALUE                  Name to search by
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Set the current organization context for the request
 --organization-title VALUE    Set the current organization context for the request
 -h, --help                    Print help

Predefined field sets:
  -----------------------------------------|-----|--------
  FIELDS                                   | ALL | DEFAULT
  -----------------------------------------|-----|--------
  General information/id                   | x   | x
  General information/name                 | x   | x
  General information/hypervisor type      | x   | x
  General information/hypervisor server    | x   | x
  General information/hypervisor username  | x   | x
  General information/configuration file   | x   | x
  General information/ahv prism flavor     | x   | x
  General information/ahv update frequency | x   | x
  General information/enable ahv debug     | x   | x
  General information/status               | x   | x
  Schedule/interval                        | x   | x
  Schedule/last report at                  | x   | x
  Connection/satellite server              | x   | x
  Connection/hypervisor id                 | x   | x
  Connection/filtering                     | x   | x
  Connection/excluded hosts                | x   | x
  Connection/filtered hosts                | x   | x
  Connection/filter host parents           | x   | x
  Connection/exclude host parents          | x   | x
  Connection/debug mode                    | x   | x
  Connection/ignore proxy                  | x   | x
  Http proxy/http proxy id                 | x   | x
  Http proxy/http proxy name               | x   | x
  Http proxy/http proxy url                | x   | x
  Locations/                               | x   | x
  Organizations/                           | x   | x
  -----------------------------------------|-----|--------

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.83.6. Hammer virt-who-config list

virt-who 配置列表

Usage:
    hammer virt-who-config <list|index> [OPTIONS]

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --location VALUE              Set the current location context for the request
 --location-id NUMBER          Set the current location context for the request
 --location-title VALUE        Set the current location context for the request
 --order VALUE                 Sort and order by a searchable field, e.g. '<field> DESC'
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Set the current organization context for the request
 --organization-title VALUE    Set the current organization context for the request
 --page NUMBER                 Page number, starting at 1
 --per-page VALUE              Number of results per page to return, 'all' to return all results
 --search VALUE                Filter results
 -h, --help                    Print help

Predefined field sets:
  ---------------|-----|---------|-----
  FIELDS         | ALL | DEFAULT | THIN
  ---------------|-----|---------|-----
  Id             | x   | x       | x
  Name           | x   | x       | x
  Interval       | x   | x       |
  Status         | x   | x       |
  Last report at | x   | x       |
  ---------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.83.7. Hammer virt-who-config 更新

更新 virt-who 配置

Usage:
    hammer virt-who-config update [OPTIONS]

Options:
 --ahv-internal-debug BOOLEAN  Option Enable debugging output is required to enable AHV internal debug. It
                               provides extra AHV debug information when both options are enabled
 --ahv-update-interval NUMBER  The frequency of VM-to-host mapping updates for AHV(in seconds)
 --blacklist VALUE             Hypervisor blacklist, applicable only when filtering mode is set to 2. Wildcards
                               and regular expressions are supported, multiple records must be separated by
                               comma.
 --debug BOOLEAN               Enable debugging output
 --exclude-host-parents VALUE  Applicable only for esx provider type. Hosts which parent (usually
                               ComputeResource) name is specified in comma-separated list in this option will
                               NOT be reported. Wildcards and regular expressions are supported, multiple
                               records must be separated by comma. Put the value into the double-quotes if it
                               contains special characters like comma. All new line characters will be removed
                               in resulting configuration file, white spaces are removed from beginning and
                               end.
 --filter-host-parents VALUE   Applicable only for esx provider type. Only hosts which parent (usually
                               ComputeResource) name is specified in comma-separated list in this option will
                               be reported. Wildcards and regular expressions are supported, multiple records
                               must be separated by comma. Put the value into the double-quotes if it contains
                               special characters like comma. All new line characters will be removed in
                               resulting configuration file, white spaces are removed from beginning and end.
 --filtering-mode ENUM         Hypervisor filtering mode
                               Possible value(s): 'none', 'whitelist', 'blacklist'
 --http-proxy VALUE            Name to search by
 --http-proxy-id NUMBER        HTTP Proxy that should be used for communication between the server on which
                               virt-who is running and the hypervisors and virtualization managers.
 --hypervisor-id ENUM          Specifies how the hypervisor will be identified.
                               Possible value(s): 'hostname', 'uuid', 'hwuuid'
 --hypervisor-password VALUE   Hypervisor password, required for all hypervisor types except for
                               libvirt/kubevirt.
 --hypervisor-server VALUE     Fully qualified host name or IP address of the hypervisor
 --hypervisor-type ENUM        Hypervisor type
                               Possible value(s): 'esx', 'hyperv', 'libvirt', 'kubevirt', 'ahv'
 --hypervisor-username VALUE   Account name by which virt-who is to connect to the hypervisor.
 --id NUMBER                   Configuration numeric identifier
 --interval ENUM               Configuration interval in minutes
                               Possible value(s): '60', '120', '240', '480', '720', '1440', '2880', '4320'
 --kubeconfig-path VALUE       Configuration file containing details about how to connect to the cluster and
                               authentication details.
 --location VALUE              Set the current location context for the request
 --location-id NUMBER          Set the current location context for the request
 --location-title VALUE        Set the current location context for the request
 --name VALUE                  Configuration name
 --new-name VALUE              Configuration name
 --no-proxy VALUE              Ignore Proxy. A comma-separated list of hostnames or domains or ip addresses to
                               ignore Capsule settings for. Optionally this may be set to * to bypass proxy
                               settings for all hostnames domains or ip addresses.
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Set the current organization context for the request
 --organization-title VALUE    Set the current organization context for the request
 --prism-flavor ENUM           Select the Prism flavor you are connecting to
                               Possible value(s): 'central', 'element'
 --satellite-url VALUE         Satellite server FQDN
 --whitelist VALUE             Hypervisor whitelist, applicable only when filtering mode is set to 1. Wildcards
                               and regular expressions are supported, multiple records must be separated by
                               comma.
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string