Don't bother splitting name_servers

This commit is contained in:
2019-12-27 12:15:57 -05:00
parent bc22c008dd
commit e82b851643
2 changed files with 2 additions and 8 deletions

View File

@ -657,9 +657,6 @@ def net_add(vni, description, nettype, domain, name_servers,
"""
Add a virtual client network to the PVC cluster.
"""
if name_servers is not None:
name_servers = name_servers.split(',')
zk_conn = pvc_common.startZKConnection(config['coordinators'])
retflag, retdata = pvc_network.add_network(zk_conn, vni, description, nettype, domain, name_servers,
ip4_network, ip4_gateway, ip6_network, ip6_gateway,
@ -682,9 +679,6 @@ def net_modify(vni, description, domain, name_servers,
"""
Modify a virtual client network in the PVC cluster.
"""
if name_servers is not None:
name_servers = name_servers.split(',')
zk_conn = pvc_common.startZKConnection(config['coordinators'])
retflag, retdata = pvc_network.modify_network(zk_conn, vni, description, domain, name_servers,
ip4_network, ip4_gateway, ip6_network, ip6_gateway,