X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/b6e82a65b184b4e2fd065821d3ff29cddb90950e..acec9d51f4aea4b4571fcee477bea935487b8b83:/lib/opcodes.py diff --git a/lib/opcodes.py b/lib/opcodes.py index ad47169..094d085 100644 --- a/lib/opcodes.py +++ b/lib/opcodes.py @@ -159,14 +159,6 @@ class OpCode(BaseJO): return op -class OpInitCluster(OpCode): - """Initialise the cluster.""" - OP_ID = "OP_CLUSTER_INIT" - __slots__ = ["cluster_name", "secondary_ip", "hypervisor_type", - "vg_name", "mac_prefix", "def_bridge", "master_netdev", - "file_storage_dir"] - - class OpDestroyCluster(OpCode): """Destroy the cluster.""" OP_ID = "OP_CLUSTER_DESTROY" @@ -282,7 +274,8 @@ class OpCreateInstance(OpCode): "disk_template", "snode", "swap_size", "mode", "vcpus", "ip", "bridge", "src_node", "src_path", "start", "wait_for_sync", "ip_check", "mac", - "kernel_path", "initrd_path", "hvm_boot_order", + "kernel_path", "initrd_path", "hvm_boot_order", "hvm_acpi", + "hvm_pae", "hvm_cdrom_image_path", "vnc_bind_address", "file_storage_dir", "file_driver", "iallocator", ] @@ -372,7 +365,8 @@ class OpSetInstanceParams(OpCode): OP_ID = "OP_INSTANCE_SET_PARAMS" __slots__ = [ "instance_name", "mem", "vcpus", "ip", "bridge", "mac", - "kernel_path", "initrd_path", "hvm_boot_order", + "kernel_path", "initrd_path", "hvm_boot_order", "hvm_acpi", + "hvm_pae", "hvm_cdrom_image_path", "vnc_bind_address" ]