"ip",
"netmask",
"netdev",
- "ip_family"
+ "ip_family",
]
class NIC(ConfigObject):
"""Config object representing a network card."""
- __slots__ = ["mac", "ip", "network", "nicparams"]
+ __slots__ = ["mac", "ip", "network", "nicparams", "netinfo"]
@classmethod
def CheckParameterSyntax(cls, nicparams):
elif disk_template == constants.DT_RBD:
result.append(FillDict(constants.DISK_LD_DEFAULTS[constants.LD_RBD], {
- constants.LDP_POOL: dt_params[constants.RBD_POOL]
+ constants.LDP_POOL: dt_params[constants.RBD_POOL],
}))
return result
return True
-class Network(ConfigObject):
+class Network(TaggableObject):
"""Object representing a network definition for ganeti.
"""