Commit 061af273 authored by Andrea Spadaccini's avatar Andrea Spadaccini
Browse files

Add object representing the master network params


Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 91ae95fd
......@@ -315,6 +315,25 @@ class TaggableObject(ConfigObject):
return obj
class MasterNetworkParameters(ConfigObject):
"""Network configuration parameters for the master
@ivar name: master name
@ivar ip: master IP
@ivar netmask: master netmask
@ivar netdev: master network device
@ivar ip_family: master IP family
"""
__slots__ = [
"name",
"ip",
"netmask",
"netdev",
"ip_family"
]
class ConfigData(ConfigObject):
"""Top-level config object."""
__slots__ = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment