def create_virtual_datacenter(self, datacenter, enterprise, type,
            name, netname, netaddress, netmask, netgateway):
        log.info("Creating virtual datacenter %s of type %s..." % (name, type))
        network = PrivateNetwork.builder(self.__context) \
                  .name(netname) \
                  .address(netaddress) \
                  .mask(netmask) \
                  .gateway(netgateway) \
                  .build()
        vdc = VirtualDatacenter \
              .builder(self.__context, datacenter, enterprise) \
              .name(name) \
              .hypervisorType(type) \
              .network(network) \
              .build()
        vdc.save()
        return vdc
Read config file(s) and return config items as a dict
dataset/ETHPy150Open nacx/kahuna/kahuna/plugins/environment/cloud/compute.py/CloudCompute.create_virtual_datacenter--crossover with--dataset/ETHPy150Open openstack/swift-bench/swiftbench/utils.py/readconf