diff --git a/lib/objects.py b/lib/objects.py index a26907d8341aa3a8468e2123e0d4079992e9857c..23ecfc87d44892cf48694c83b6aafadfb7d53be2 100644 --- a/lib/objects.py +++ b/lib/objects.py @@ -237,7 +237,7 @@ class TaggableObject(ConfigObject): class ConfigData(ConfigObject): """Top-level config object.""" - __slots__ = ["cluster", "nodes", "instances"] + __slots__ = ["cluster", "nodes", "instances", "serial_no"] def ToDict(self): """Custom function for top-level config data. @@ -518,6 +518,7 @@ class Instance(TaggableObject): "hvm_nic_type", "hvm_disk_type", "vnc_bind_address", + "serial_no", ] def _ComputeSecondaryNodes(self): @@ -679,6 +680,7 @@ class Node(TaggableObject): "name", "primary_ip", "secondary_ip", + "serial_no", ]