fixed ips configuration added

Change-Id: I9eaba8d73ffcc8f49e9ddcbec2f5d3530b4cda4c
This commit is contained in:
Basavaraj Lamani 2018-09-25 17:52:38 +05:30
parent 16e3a440e7
commit 112503b716
1 changed files with 14 additions and 0 deletions

View File

@ -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))