[Kimchi-devel] [PATCH][Kimchi] Issue #1006: Invalid subnet value when editing a network raise an error
Ramon Medeiros
ramonn at linux.vnet.ibm.com
Thu Oct 6 13:36:16 UTC 2016
Signed-off-by: Ramon Medeiros <ramonn at linux.vnet.ibm.com>
---
model/networks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/model/networks.py b/model/networks.py
index b9d363a..be4eec2 100644
--- a/model/networks.py
+++ b/model/networks.py
@@ -146,7 +146,7 @@ class NetworksModel(object):
try:
ip = ipaddr.IPNetwork(netaddr)
except ValueError:
- raise InvalidParameter("KCHNET0003E", {'subent': netaddr,
+ raise InvalidParameter("KCHNET0003E", {'subnet': netaddr,
'network': params['name']})
if ip.ip == ip.network:
--
2.7.4
More information about the Kimchi-devel
mailing list