Statistics
| Branch: | Tag: | Revision:

root / lib / opcodes.py @ a5c30dc2

History | View | Annotate | Download (45.8 kB)

# Date Author Comment
6aac5aef 05/20/2011 11:11 am Iustin Pop

Merge remote branch 'origin/devel-2.4'

  • origin/devel-2.4:
    Fix errors in hooks documentation
    Clarify a bit the noded man page
    Note --no-remember in NEWS
    Switch QA over to using instance stop --no-remember
    Implement no_remember at RAPI level
    Implement no_remember at CLI level...
bee581e2 05/16/2011 04:41 pm Michael Hanselmann

Add new iallocator mode to LUTestAllocator

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

9b64e486 05/16/2011 04:24 pm Iustin Pop

Introduce instance start/stop no_remember attribute

This will allow stopping or starting an instance without changing the
remembered state. While this seems counter-intuitive at first (it will
create cluster verify errors), it can help in a few corner cases:...

fdbe29ee 05/12/2011 07:38 pm Michael Hanselmann

gnt-debug, opcodes: Use constants for iallocator

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

4b9e8c93 05/12/2011 03:40 pm Iustin Pop

Abstract ignore_consistency opcode parameter

Two opcodes already use it and we need it for a third, time to add a
constant for it.

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

bb851c63 05/12/2011 03:40 pm Iustin Pop

Fix a bug in LUInstanceMove

The opcode parameter ignore_consistency was used in the LU, but not
actually declared in the OpCode. The patch adds it in the opcode and
the command line client.

ObQuote — Please, please, can I have static typing?

Signed-off-by: Iustin Pop <>...

93384b8c 05/11/2011 05:14 pm Guido Trotter

Merge branch 'devel-2.4'

  • devel-2.4:
    Use floppy disk and a second CDROM on KVM
    Document the selection of instance kernels
    Make root_path an optional hypervisor parameter
    Some man page updates
    Add 2 new variables to the OS scripts environment
    Add --no-wait-for-sync when converting to drbd...
3ce9a5e7 05/09/2011 06:49 pm Michael Hanselmann

opcodes: Add function for compact summary

Depending on the opcode and its parameters, the existing “Summary”
function can give a rater long summary. For displaying the summary in
logs and in the lock monitor, it should be shorter. Hence this new
function is added to just use the opcode ID with common prefixes...

456798ab 05/09/2011 02:22 pm Iustin Pop

Add --no-wait-for-sync when converting to drbd

Currently, when converting an instance from plain to DRBD, the
instance is blocked during the entire resync period. This patch adds
the --no-wait-for-sync so that the operation finishes as soon as the
DRBD sync has started, without waiting for the entire sync. This makes...

c8a96ae7 05/09/2011 12:18 pm Iustin Pop

Recreate instance disks: allow changing nodes

This patch introduces the option of changing an instance's nodes when
doing the disk recreation. The rationale is that currently if an
instance lives on a node that has gone down and is marked offline,
it's not possible to re-create the disks and reinstall the instance on...

b107fe05 04/18/2011 06:55 pm Michael Hanselmann

opcodes: Change parameter type definition for query filter

The old definition wouldn't accept integers.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

af7b6689 04/07/2011 01:24 pm Michael Hanselmann

Merge branch 'devel-2.4'

  • devel-2.4:
    LUInstanceQueryData: Don't acquire locks unless requested
    Increase the lock timeouts before we block-acquire
    daemon.py: move startup log message before prep_fn
    Display the actual memory values in N+1 failures...
dae661a4 04/06/2011 07:47 pm Michael Hanselmann

LUInstanceQueryData: Don't acquire locks unless requested

Until now LUInstanceQueryData always acquired locks for the instance(s)
and nodes involved. In combination with long-running operations this
prevented the use of “gnt-instance info”, even with the “--static”...

d5cafd31 04/06/2011 04:03 pm René Nussbaumer

TLMigrateInstance: Merge failover code, allow fallback

As the code for failover for checking is almost identical it's an easy
task to switch it over to the TLMigrateInstance. This allows us to
fallback to failover if migrate fails prereq check for some reason....

6a373640 03/25/2011 03:53 pm Michael Hanselmann

Implement submitting jobs from logical units

The design details can be seen in the design document
(doc/design-lu-generated-jobs.rst).

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

abd66bf8 03/15/2011 03:04 pm Michael Hanselmann

constants: Rename QR_OP_*, add QR_VIA_RAPI

Commit 28b71a76 added a list of resources which can be queried using
LUXI. Unfortunately the variable was named “QR_OP_LUXI”, which can be
confusing. This patch renames “QR_OP_QUERY” to “QR_VIA_OP”, “QR_OP_LUXI”...

8e7078e0 03/11/2011 03:27 pm Michael Hanselmann

opcodes: Document OpQueryFields' parameters

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

beff3779 03/09/2011 11:39 am René Nussbaumer

OpOobCommand: Adding power on delay

This delays the invocation of the power on of the next node. So if you
power on a bunch of nodes it will not blow the fuse.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

c4ec0755 03/09/2011 11:39 am René Nussbaumer

OpOobCommand: Document all fields

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

8eb34306 03/08/2011 02:00 pm Apollon Oikonomopoulos

Migration and failover: add iallocator and target_node slots

Add iallocator and target_node slots to OpMigrateInstance and
OpFailoverInstance to facilitate shared-storage-backed instance mobility. Add
iallocator slot to OpMigrateNode (no explicit target_node in this case)....

4b97f902 03/01/2011 07:11 pm Apollon Oikonomopoulos

Core shared file storage support

This patch introduces core file storage support, consisting of the following:

A configure-time switch for enabling/disabling shared file storage
support and controlling the shared file storage location:
--with-shared-file-storage-dir=. Shared file storage configuration is then...

fed67843 02/16/2011 02:06 pm René Nussbaumer

Remove force_master support from LUOobCommand

As per discussion on the man-page1 update, this functionality should be
removed and replaced by just give the command to run if the user insists
of power cycle/power off the master and refuse to operate.

[1] http://groups.google.com/group/ganeti-devel/browse_thread/thread/95d4879a747cc295...

12da663a 02/15/2011 01:11 pm Michael Hanselmann

Make OpGroupRename consistent with OpInstanceRename

OpInstanceRename uses “instance_name” (like almost all other OpInstance*
opcodes), not “old_name”, to specify the original name. OpGroupRename is
made consistent by renaming “old_name” to “group_name”.
...

526a662a 02/15/2011 01:11 pm Michael Hanselmann

RAPI: Clean up instance creation, use generated docs

- Use FillOpCode and unify parameter names between RAPI and opcode
- Generate parameter documentation
- Improve opcode parameter documentation

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

45d4c81c 02/04/2011 07:05 pm Michael Hanselmann

Add opcode parameter descriptions

These will be used in automatically generated parts of the RAPI
documentation. Not all opcodes are documented so far, but each added
opcode's parameters need to be fully documented (verified by an
assertion).

Signed-off-by: Michael Hanselmann <>...

197b323b 02/04/2011 07:05 pm Michael Hanselmann

opcodes: Prepare addition of parameter descriptions

For now they're all set to None, but a following patch will set descriptions.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

8c9ee749 02/04/2011 07:05 pm Michael Hanselmann

ht: Add descriptive text representations

This patch adds text descriptions to all T* checks. Converting to a
string (e.g. str(ht.TNone)) will produce a user-readable text. This
will be used for Opcode parameter documentation.

Signed-off-by: Michael Hanselmann <>...

bfceedbe 01/31/2011 07:06 pm René Nussbaumer

Add two new opcode options to LUOobCommand

This patch adds ignore_status to ignore the offline flag of nodes
and also adds a force_master option to force operations on master node
if they will make the master unavailable (for some time).

Signed-off-by: René Nussbaumer <>...

c9c41373 01/26/2011 06:53 pm Iustin Pop

Deactivate disks: allow skipping hypervisor checks

In some cases (e.g. the hypervisor not running at all), we might want
to force disk deactivation, skipping the hypervisor checks. I believe
this is not a good thing to do all the time, so this patch adds the...

5f074973 01/25/2011 07:00 pm Michael Hanselmann

ht: Add TMaybeDict check

This replaces a number of equal “ht.TOr(ht.TDict, ht.TNone)” checks.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

b04808ea 01/24/2011 05:32 pm René Nussbaumer

Modify LUOobCommand to support multiple nodes

This will change the result of this LU to a query like result. A list of
tuples with information about the state of the data.

It also includes the modification to the commands calling this opcode.

Signed-off-by: René Nussbaumer <>...

c6afb1ca 01/18/2011 01:47 pm Iustin Pop

Rename OpGetTags and LUGetTags

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

715462e7 01/18/2011 01:47 pm Iustin Pop

Rename OpSearchTags and LUSearchTags

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

d1602edc 01/18/2011 01:47 pm Iustin Pop

Rename OpAddTags and LUAddTags

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

b469eb4d 01/18/2011 01:47 pm Iustin Pop

Rename OpTestJobqueue and LUTestJobqueue

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

ff0d18e6 01/18/2011 01:47 pm Iustin Pop

Check consistency of the class names and OP_ID

As the class names should be now consistent with the OP_IDs, we add a
check for wrongly-defined OP_IDs.

However, the future removal of the hand-coded OP_IDs will render this
obsolete, so this check is introduced just to make sure that the...

e89a9021 01/18/2011 01:47 pm Iustin Pop

Remove hard-coded OP_ID definitions

The removal requires adding a few pylint ignores, as it cannot know that
OP_ID will be defined at runtime.

Also switch the asserts to check for non-declaration.

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

c873d91c 01/18/2011 01:47 pm Iustin Pop

Rename OpStartupInstance and LUStartupInstance

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

d817d49f 01/18/2011 01:47 pm Iustin Pop

Rename OpAddNode and LUAddNode

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

0ae89533 01/18/2011 01:47 pm Iustin Pop

Rename OpNodeEvacuationStrategy and LUNodeEvacuationStrategy

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

5b14a488 01/18/2011 01:47 pm Iustin Pop

Rename OpMigrateNode and LUMigrateNode

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

2cee4077 01/18/2011 01:47 pm Iustin Pop

Rename OpModifyNodeStorage and LUModifyNodeStorage

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

e0d4735f 01/18/2011 01:47 pm Iustin Pop

Rename OpPowercycleNode and LUPowercycleNode

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

2237687b 01/18/2011 01:47 pm Iustin Pop

Rename OpQueryNodes and LUQueryNodes

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

8ed55bfd 01/18/2011 01:47 pm Iustin Pop

Rename OpQueryNodeVolumes and LUQueryNodeVolumes

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

ad8d0595 01/18/2011 01:47 pm Iustin Pop

Rename OpQueryNodeStorage and LUQueryNodeStorage

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

73d565a3 01/18/2011 01:47 pm Iustin Pop

Rename OpRemoveNode and LURemoveNode

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

f13973c4 01/18/2011 01:47 pm Iustin Pop

Rename OpSetNodeParams and LUSetNodeParams

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

da2d02e7 01/18/2011 01:47 pm Iustin Pop

Rename OpDiagnoseOS and LUDiagnoseOS

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

3f0ab95f 01/18/2011 01:47 pm Iustin Pop

Rename OpDelTags and LUDelTags

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

75c866c2 01/18/2011 01:47 pm Iustin Pop

Rename OpMigrateInstance and LUMigrateInstance

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

0091b480 01/18/2011 01:47 pm Iustin Pop

Rename OpMoveInstance and LUMoveInstance

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

f2af0bec 01/18/2011 01:47 pm Iustin Pop

Rename OpQueryInstances and LUQueryInstances

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

dc28c4e4 01/18/2011 01:47 pm Iustin Pop

Rename OpQueryInstanceData and LUQueryInstanceData

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

90ab1a95 01/18/2011 01:47 pm Iustin Pop

Rename OpRebootInstance and LURebootInstance

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

6b273e78 01/18/2011 01:47 pm Iustin Pop

Rename OpRecreateInstanceDisks and LURecreateInstanceDisks

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

5073fd8f 01/18/2011 01:47 pm Iustin Pop

Rename OpReinstallInstance and LUReinstallInstance

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

3cd2d4b1 01/18/2011 01:47 pm Iustin Pop

Rename OpRemoveInstance and LURemoveInstance

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

5659e2e2 01/18/2011 01:47 pm Iustin Pop

Rename OpRenameInstance and LURenameInstance

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

668f755d 01/18/2011 01:47 pm Iustin Pop

Rename OpReplaceDisks and LUReplaceDisks

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

9a3cc7ae 01/18/2011 01:47 pm Iustin Pop

Rename OpSetInstanceParams and LUSetInstanceParams

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

ee3e37a7 01/18/2011 01:47 pm Iustin Pop

Rename OpShutdownInstance and LUShutdownInstance

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

bd8210a7 01/18/2011 01:47 pm Iustin Pop

Rename OpVerifyDisks and LUVerifyDisks

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

fabf1731 01/18/2011 01:47 pm Iustin Pop

Rename OpAddGroup and LUAddGroup

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

934704ae 01/18/2011 01:47 pm Iustin Pop

Rename OpAssignGroupNodes and LUAssignGroupNodes

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

d4d654bd 01/18/2011 01:47 pm Iustin Pop

Rename OpQueryGroups and LUQueryGroups

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

4d1baa51 01/18/2011 01:47 pm Iustin Pop

Rename OpRemoveGroup and LURemoveGroup

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

a8173e82 01/18/2011 01:47 pm Iustin Pop

Rename OpRenameGroup and LURenameGroup

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

7cbf74f0 01/18/2011 01:47 pm Iustin Pop

Rename OpSetGroupParams and LUSetGroupParams

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

83f5d475 01/18/2011 01:47 pm Iustin Pop

Rename OpActivateInstanceDisks and LUActivateInstanceDisks

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

cc0dec7b 01/18/2011 01:47 pm Iustin Pop

Rename OpConnectConsole and LUConnectConsole

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

e1530b10 01/18/2011 01:47 pm Iustin Pop

Rename OpCreateInstance and LUCreateInstance

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

e176281f 01/18/2011 01:47 pm Iustin Pop

Rename OpDeactivateInstanceDisks and LUDeactivateInstanceDisks

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

019dbee1 01/18/2011 01:47 pm Iustin Pop

Rename OpFailoverInstance and LUFailoverInstance

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

60472d29 01/18/2011 01:47 pm Iustin Pop

Rename OpGrowDisk and LUGrowDisk

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

71910715 01/18/2011 01:47 pm Iustin Pop

Rename OpPrepareExport and LUPrepareExport

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

7ca2d4d8 01/18/2011 01:47 pm Iustin Pop

Rename OpQueryExports and LUQueryExports

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

ca5890ad 01/18/2011 01:47 pm Iustin Pop

Rename OpRemoveExport and LURemoveExport

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

2f093ea0 01/18/2011 01:47 pm Iustin Pop

Rename OpQueryConfigValues and LUQueryConfigValues

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

c6d43e9e 01/18/2011 01:47 pm Iustin Pop

Rename OpDestroyCluster and LUDestroyCluster

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

bc84ffa7 01/18/2011 01:47 pm Iustin Pop

Rename OpPostInitCluster and LUPostInitCluster

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

a2f7ab92 01/18/2011 01:47 pm Iustin Pop

Rename OpQueryClusterInfo and LUQueryClusterInfo

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

d1240007 01/18/2011 01:47 pm Iustin Pop

Rename OpRedistributeConfig and LURedistributeConfig

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

e126df25 01/18/2011 01:47 pm Iustin Pop

Rename OpRenameCluster and LURenameCluster

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

5d01aca3 01/18/2011 01:47 pm Iustin Pop

Rename OpRepairDiskSizes and LURepairDiskSizes

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

a6682fdc 01/18/2011 01:47 pm Iustin Pop

Rename OpSetClusterParams and LUSetClusterParams

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

a3d32770 01/18/2011 01:47 pm Iustin Pop

Rename OpVerifyCluster and LUVerifyCluster

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

a703bf43 01/18/2011 01:47 pm Iustin Pop

Fix the OP_ID of OpAssignGroupNodes

Commit 96276ae added the above opcode, but forgot to update the OP_ID
per our previous mailing list discussions. This patch makes the OP_ID
be consistent with the other IDs (OP_$object_$action).

Signed-off-by: Iustin Pop <>...

4ff922a2 01/18/2011 01:47 pm Iustin Pop

Rename OpExportInstance and LUExportInstance

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

96276ae7 01/10/2011 06:32 pm Adeodato Simo

Add OpAssignGroupNodes and LUAssignGroupNodes

This operation allows to assign nodes to a group, verifying whether
the change would leave any mirrored instance split between different
node groups.

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

687c10d9 01/10/2011 02:41 pm Iustin Pop

Generalize the OpCode-should-be-in-mcpu test

Currently, the unittest TestDispatchTable in mcpu unittest does a
hard-coded approach to test whether an opcode should be included or
not in the mcpu.Processor dispatch table. This is not flexible, so we
replace it with two changes:...

f7c8f153 01/05/2011 07:28 pm Michael Hanselmann

Fix OpSetInstanceParams.disk_template check

When moving the opcode parameters I moved two or three checks from an
opcode's CheckArguments function to the type checks. This was one of
them and unfortunately I didn't notice the parameter can be None.

Signed-off-by: Michael Hanselmann <>...

1cbef6d8 01/05/2011 12:42 pm Michael Hanselmann

Migrate code verifying opcode parameters to base class

This allows the function to be used in other places as well.
An optional parameter is added to control whether default
values should be set. Unittests are added, providing full
coverage.

Signed-off-by: Michael Hanselmann <>...

dbc96028 01/05/2011 12:40 pm Michael Hanselmann

Improve tests for OP_ID

… by detecting duplicates.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

65e183af 01/05/2011 12:40 pm Michael Hanselmann

opcodes: Add opcode parameter definitions

This is the first step for migrating them from cmdlib. A metaclass is
used to define “__slots__” upon class creation time (not instantiation).

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

0ecef64c 12/17/2010 06:50 pm René Nussbaumer

LUSetNodeParams: Add support for powered state

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

792af3ad 12/15/2010 05:35 pm René Nussbaumer

Rename (Op|LU)OutOfBand to (Op|LU)OobCommand

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

90e99856 12/13/2010 06:33 pm Adeodato Simo

Add the "alloc_policy" attribute to node groups

This can be set at group creation time and via OpSetGroupParams. The default
is "preferred", and existing node groups from previous Ganeti version will
get the attribute set to this value.

Signed-off-by: Adeodato Simo <>...

4da7909a 12/13/2010 06:33 pm Adeodato Simo

Add modification of node groups (OpCode/LU/CLI)

With this commit, only modification of the "ndparams" attribute is
supported.

Signed-off-by: Adeodato Simo <>
Reviewed-by: Guido Trotter <>

483be60d 12/13/2010 06:32 pm Adeodato Simo

Introduce OpAddGroup.ndparams and expose in CLI

Signed-off-by: Adeodato Simo <>
Reviewed-by: Guido Trotter <>