fixed ips configuration added
Change-Id: I9eaba8d73ffcc8f49e9ddcbec2f5d3530b4cda4c
This commit is contained in:
parent
16e3a440e7
commit
112503b716
|
@ -127,3 +127,17 @@ class NetworkingBaseConfig(ConfigSectionInterface):
|
|||
at: networking.networks.common.tools.resources
|
||||
"""
|
||||
return json.loads(self.get("delete_resources", '{}'))
|
||||
|
||||
@property
|
||||
def fixed_ips_to_add(self):
|
||||
"""
|
||||
Adding fixed ip's to server
|
||||
"""
|
||||
return int(self.get("fixed_ips_to_add", 2))
|
||||
|
||||
@property
|
||||
def multiple_fixed_ips_to_add(self):
|
||||
"""
|
||||
Adding multiple fixed ip's to server
|
||||
"""
|
||||
return int(self.get('multiple_fixed_ips_to_add', 4))
|
||||
|
|
Loading…
Reference in New Issue