Statistics
| Branch: | Tag: | Revision:

root @ 36e247e1

Name Size
  autotools
  daemons
  devel
  doc
  lib
  man
  qa
  scripts
  test
  tools
.gitignore 995 Bytes
COPYING 17.6 kB
INSTALL 3.2 kB
Makefile.am 18.4 kB
NEWS 43.4 kB
README 190 Bytes
autogen.sh 283 Bytes
configure.ac 9.2 kB
epydoc.conf 573 Bytes
pylintrc 2.8 kB

Latest revisions

# Date Author Comment
6f076453 09/14/2010 07:49 pm Guido Trotter

Export nodegroups list (names/uuids) via ssconf

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

36e247e1 09/14/2010 07:49 pm Guido Trotter

Add nodegroup bash autocomplation

We autocomplete both by nodegroup name and uuid.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

190e3cb6 09/14/2010 07:49 pm Guido Trotter

Add node's nodegroup field

If a node doesn't have a node group we'll upgrade the config making it
the cluster default. Also the node add and removal operations are
changed to set/clear the node group correctly. Finally we populate the
"members" list of nodegroups on config load with the value from the...

6520ba14 09/14/2010 07:40 pm Guido Trotter

Check for nodegroup uuid indexing

Since the uuid is immutable the probability of it getting out of sync
between the object and the dict key is very low. Still, checking is
cheap, so we do it to be more sure nothing is wrong.

Signed-off-by: Guido Trotter <>...

eaa98a04 09/14/2010 07:40 pm Guido Trotter

config.LookupNodeGroup

This function allows a node group to be looked up by name or uuid.
If no nodegroup is specified and only one exists, that one is returned.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

f9e81396 09/14/2010 07:40 pm Guido Trotter

ConfigWriter: create the default node group

If no node groups exist we'll create a new default empty one.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

3df43542 09/14/2010 06:14 pm Guido Trotter

Add a 'nodegroups' slot to ConfigData

Also:
- reformat the slots declaration of ConfigData
- call UpgradeConfig on each node groups to handle future upgrades
- add nodegroups special case in {To,From}Dict
- add nodegroups to _AllUUIDObjects

Signed-off-by: Guido Trotter <>...

fe25a79a 09/14/2010 06:14 pm Guido Trotter

_ContainerFromDicts: handle None source

When _ContainerFromDicts is called on some element which doesn't exist
in the config, because it is yet to be upgraded, it will receive its
value as None. We take care of this case by using an empty element of
the required target type....

24a3707f 09/14/2010 06:14 pm Guido Trotter

Add a new NodeGroup config object

The "members" slot of this object is not serialized, and is discarded
when deserializing, initializing it explicitly to [].

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

84a5b33c 09/13/2010 06:35 pm Michael Hanselmann

cli: Add option definition for priority

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

View all revisions | View revisions

Also available in: Atom