def _create_libvirt_nets(libvirt_create):
    for net, net_xml in libvirt_create.items():
        libvirt.createNetwork(net_xml)
Esempio n. 2
0
def create_libvirt_nets(libvirt_create):
    for net_xml in six.itervalues(libvirt_create):
        libvirt.createNetwork(net_xml)