parent
0bf130077c
commit
5f5f4dd421
|
@ -1025,6 +1025,72 @@ def vm_flush_locks(domain):
|
||||||
cleanup(retcode, retmsg)
|
cleanup(retcode, retmsg)
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# pvc vm vcpu
|
||||||
|
###############################################################################
|
||||||
|
@click.group(name='vcpu', short_help='Manage vCPU counts of a virtual machine.', context_settings=CONTEXT_SETTINGS)
|
||||||
|
def vm_vcpu():
|
||||||
|
"""
|
||||||
|
Manage the vCPU counts of a virtual machine in the PVC cluster."
|
||||||
|
"""
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# pvc vm memory
|
||||||
|
###############################################################################
|
||||||
|
@click.group(name='memory', short_help='Manage provisioned memory of a virtual machine.', context_settings=CONTEXT_SETTINGS)
|
||||||
|
def vm_memory():
|
||||||
|
"""
|
||||||
|
Manage the provisioned memory of a virtual machine in the PVC cluster."
|
||||||
|
"""
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# pvc vm network
|
||||||
|
###############################################################################
|
||||||
|
@click.group(name='network', short_help='Manage attached networks of a virtual machine.', context_settings=CONTEXT_SETTINGS)
|
||||||
|
def vm_network():
|
||||||
|
"""
|
||||||
|
Manage the attached networks of a virtual machine in the PVC cluster."
|
||||||
|
"""
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# pvc vm volume
|
||||||
|
###############################################################################
|
||||||
|
@click.group(name='volume', short_help='Manage attached volumes of a virtual machine.', context_settings=CONTEXT_SETTINGS)
|
||||||
|
def vm_volume():
|
||||||
|
"""
|
||||||
|
Manage the attached volumes of a virtual machine in the PVC cluster."
|
||||||
|
"""
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# pvc vm serial-console
|
||||||
|
###############################################################################
|
||||||
|
@click.group(name='serial-console', short_help='Manage serial consoles of a virtual machine.', context_settings=CONTEXT_SETTINGS)
|
||||||
|
def vm_serialconsole():
|
||||||
|
"""
|
||||||
|
Manage the serial consoles of a virtual machine in the PVC cluster."
|
||||||
|
"""
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# pvc vm vnc-console
|
||||||
|
###############################################################################
|
||||||
|
@click.group(name='vnc-console', short_help='Manage VNC consoles of a virtual machine.', context_settings=CONTEXT_SETTINGS)
|
||||||
|
def vm_vncconsole():
|
||||||
|
"""
|
||||||
|
Manage the VNC consoles of a virtual machine in the PVC cluster."
|
||||||
|
"""
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# pvc vm log
|
# pvc vm log
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@ -3832,6 +3898,32 @@ cli_node.add_command(node_unflush)
|
||||||
cli_node.add_command(node_info)
|
cli_node.add_command(node_info)
|
||||||
cli_node.add_command(node_list)
|
cli_node.add_command(node_list)
|
||||||
|
|
||||||
|
# vm_vcpu.add_command(vm_vcpu_get)
|
||||||
|
# vm_vcpu.add_command(vm_vcpu_set)
|
||||||
|
|
||||||
|
# vm_memory.add_command(vm_memory_get)
|
||||||
|
# vm_memory.add_command(vm_memory_set)
|
||||||
|
|
||||||
|
# vm_network.add_command(vm_network_list)
|
||||||
|
# vm_network.add_command(vm_network_add)
|
||||||
|
# vm_network.add_command(vm_network_modify)
|
||||||
|
# vm_network_add_command(vm_network_remove)
|
||||||
|
|
||||||
|
# vm_volume.add_command(vm_volume_list)
|
||||||
|
# vm_volume.add_command(vm_volume_add)
|
||||||
|
# vm_volume.add_command(vm_volume_modify)
|
||||||
|
# vm_volume_add_command(vm_volume_remove)
|
||||||
|
|
||||||
|
# vm_serialconsole.add_command(vm_serialconsole_list)
|
||||||
|
# vm_serialconsole.add_command(vm_serialconsole_add)
|
||||||
|
# vm_serialconsole.add_command(vm_serialconsole_modify)
|
||||||
|
# vm_serialconsole_add_command(vm_serialconsole_remove)
|
||||||
|
|
||||||
|
# vm_vncconsole.add_command(vm_vncconsole_list)
|
||||||
|
# vm_vncconsole.add_command(vm_vncconsole_add)
|
||||||
|
# vm_vncconsole.add_command(vm_vncconsole_modify)
|
||||||
|
# vm_vncconsole_add_command(vm_vncconsole_remove)
|
||||||
|
|
||||||
cli_vm.add_command(vm_define)
|
cli_vm.add_command(vm_define)
|
||||||
cli_vm.add_command(vm_meta)
|
cli_vm.add_command(vm_meta)
|
||||||
cli_vm.add_command(vm_modify)
|
cli_vm.add_command(vm_modify)
|
||||||
|
@ -3847,6 +3939,12 @@ cli_vm.add_command(vm_move)
|
||||||
cli_vm.add_command(vm_migrate)
|
cli_vm.add_command(vm_migrate)
|
||||||
cli_vm.add_command(vm_unmigrate)
|
cli_vm.add_command(vm_unmigrate)
|
||||||
cli_vm.add_command(vm_flush_locks)
|
cli_vm.add_command(vm_flush_locks)
|
||||||
|
cli_vm.add_command(vm_vcpu)
|
||||||
|
cli_vm.add_command(vm_memory)
|
||||||
|
cli_vm.add_command(vm_network)
|
||||||
|
cli_vm.add_command(vm_volume)
|
||||||
|
cli_vm.add_command(vm_serialconsole)
|
||||||
|
cli_vm.add_command(vm_vncconsole)
|
||||||
cli_vm.add_command(vm_info)
|
cli_vm.add_command(vm_info)
|
||||||
cli_vm.add_command(vm_log)
|
cli_vm.add_command(vm_log)
|
||||||
cli_vm.add_command(vm_list)
|
cli_vm.add_command(vm_list)
|
||||||
|
|
Loading…
Reference in New Issue