From 7a27503f1b442baef4b9b81d4336cd89daeab0b8 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 18 Oct 2020 23:13:12 -0400 Subject: [PATCH] Allow network-less managed networks Allows the specification of network-less managed networks, acting like bridged networks but over the VXLAN system instead. Closes #107 --- client-cli/pvc.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client-cli/pvc.py b/client-cli/pvc.py index c205b118..2a7bcd75 100755 --- a/client-cli/pvc.py +++ b/client-cli/pvc.py @@ -1183,10 +1183,6 @@ def net_add(vni, description, nettype, domain, ip_network, ip_gateway, ip6_netwo IPv6 is fully supported with --ipnet6 and --gateway6 in addition to or instead of IPv4. PVC will configure DHCPv6 in a semi-managed configuration for the network if set. """ - if nettype == 'managed' and not ip_network and not ip6_network: - click.echo('Error: At least one of "-i" / "--ipnet" or "-i6" / "--ipnet6" must be specified.') - exit(1) - retcode, retmsg = pvc_network.net_add(config, vni, description, nettype, domain, name_servers, ip_network, ip_gateway, ip6_network, ip6_gateway, dhcp_flag, dhcp_start, dhcp_end) cleanup(retcode, retmsg)