Skip to content

exordos_compute_hypervisors_add#

Add a new hypervisor

Usage#

 Usage: exordos compute hypervisors add [OPTIONS]

Options#

  • output:
    • Type: choice
    • Default: table
    • Usage: --output -o

Output format; JSON prints one resource object (an array for bulk creation).

  • uuid:
    • Type: uuid
    • Default: none
    • Usage: -u --uuid

UUID of the hypervisor

  • name:
    • Type: text
    • Default: hypervisor
    • Usage: -n --name

Name of the hypervisor

  • description:
    • Type: text
    • Default: ``
    • Usage: -D --description

Description of the hypervisor

  • avail_cores:

    • Type: integer
    • Default: sentinel.unset
    • Usage: --avail-cores
  • avail_ram:

    • Type: integer
    • Default: sentinel.unset
    • Usage: --avail-ram
  • cores_ratio:

    • Type: float
    • Default: sentinel.unset
    • Usage: --cores-ratio
  • ram_ratio:

    • Type: float
    • Default: sentinel.unset
    • Usage: --ram-ratio
  • machine_type:

    • Type: choice
    • Default: sentinel.unset
    • Usage: -m --machine-type
  • driver_spec:

    • Type: text
    • Default: sentinel.unset
    • Usage: --driver-spec

Additional filters to pass to the api. The format is 'key=value'. For example: --driver-spec a=b --driver-spec e=f

  • help:
    • Type: boolean
    • Default: false
    • Usage: --help

Show this message and exit.

CLI Help#

 Usage: exordos compute hypervisors add [OPTIONS]

 Add a new hypervisor

╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --output        -o  [json|html|table|yaml]  Output format; JSON prints one resource object (an array for bulk creation).                                                                                                                                                                                 │
│ --uuid          -u  UUID                    UUID of the hypervisor                                                                                                                                                                                                                                       │
│ --name          -n  TEXT                    Name of the hypervisor                                                                                                                                                                                                                                       │
│ --description   -D  TEXT                    Description of the hypervisor                                                                                                                                                                                                                                │
│ --avail-cores       INTEGER                                                                                                                                                                                                                                                                              │
│ --avail-ram         INTEGER                                                                                                                                                                                                                                                                              │
│ --cores-ratio       FLOAT                                                                                                                                                                                                                                                                                │
│ --ram-ratio         FLOAT                                                                                                                                                                                                                                                                                │
│ --machine-type  -m  [vm|hw]                                                                                                                                                                                                                                                                              │
│ --driver-spec       TEXT                    Additional filters to pass to the api. The format is 'key=value'. For example: --driver-spec a=b --driver-spec e=f                                                                                                                                           │
│ --help                                      Show this message and exit.                                                                                                                                                                                                                                  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯