r = list()
for net in range(base, base + subnet_size):
subnet = "{0}.{1}.0/{2}".format(prefix, net, mask)
- r.append(ipaddress.ip_network(unicode(subnet)))
+ r.append(ipaddress.ip_network(subnet))
return r
cpu_period, cpu_quota = self._calculate_cpu_cfs_values(
float(cpu_bw))
- # check if we need to deploy the management ports (defined as
- # type:management both on in the vnfd and nsd)
+ # check if we need to deploy the management ports
intfs = vnfd.get("connection_points", [])
mgmt_intf_names = []
if USE_DOCKER_MGMT: