[Kimchi-devel] [PATCH][Kimchi] Issue #1006: Invalid subnet value when editing a network raise an error
Paulo Ricardo Paz Vital
pvital at linux.vnet.ibm.com
Thu Oct 6 13:51:41 UTC 2016
Reviewed-By: Paulo Vital <pvital at linux.vnet.ibm.com>
On Thu, 2016-10-06 at 10:36 -0300, Ramon Medeiros wrote:
> 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:
More information about the Kimchi-devel
mailing list