diff options
Diffstat (limited to 'os_net_config/objects.py')
-rw-r--r-- | os_net_config/objects.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os_net_config/objects.py b/os_net_config/objects.py index a8869ef..dd8489e 100644 --- a/os_net_config/objects.py +++ b/os_net_config/objects.py @@ -121,6 +121,7 @@ class Address(object): ip_nw = netaddr.IPNetwork(self.ip_netmask) self.ip = str(ip_nw.ip) self.netmask = str(ip_nw.netmask) + self.prefixlen = ip_nw.prefixlen self.version = ip_nw.version @staticmethod |