Revision e11a1b77
ID | e11a1b773e9e419c778e63a44b075d47953beefc |
config.py, objects.py: more node group support
In particular:
- add AddNodeGroup and RemoveNodeGroup in config.py
- refactor _UpgradeConfig to make use of _UnlockedAddNodeGroup
- add support for objects.NodeGroup in ConfigWriter.Update; add missing
"serial_no" attribute to NodeGroup objects
- update NodeGroup.UpgradeConfig to set mtime and serial_no if missing
(the refactored code in _UpgradeConfig was not settting mtime nor ctime)
Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Files
- added
- modified
- copied
- renamed
- deleted