Revision a0c9f010 lib/opcodes.py
b/lib/opcodes.py | ||
---|---|---|
159 | 159 |
return op |
160 | 160 |
|
161 | 161 |
|
162 |
class OpInitCluster(OpCode): |
|
163 |
"""Initialise the cluster.""" |
|
164 |
OP_ID = "OP_CLUSTER_INIT" |
|
165 |
__slots__ = ["cluster_name", "secondary_ip", "hypervisor_type", |
|
166 |
"vg_name", "mac_prefix", "def_bridge", "master_netdev", |
|
167 |
"file_storage_dir"] |
|
168 |
|
|
169 |
|
|
170 | 162 |
class OpDestroyCluster(OpCode): |
171 | 163 |
"""Destroy the cluster.""" |
172 | 164 |
OP_ID = "OP_CLUSTER_DESTROY" |
Also available in: Unified diff