Change Subnet.ipversion from String to IpVersion for avoiding to cause internal server error,by Passing the supported parameter(4/6) only.
Openstack converted the parameter[ip_version] to integer.

Signed-off-by: benn-cs <benn.cs@fengruyi.com>