The nova.virt.netutils Module

Network-related utilities for supporting libvirt connection code.

get_injected_network_template(network_info, use_ipv6=False, template='/home/jenkins/workspace/nova-docs/nova/virt/interfaces.template')

return a rendered network template for the given network_info

Parameters:network_infoget_instance_nw_info()

Note: this code actually depends on the legacy network_info, but will convert the type itself if necessary.

get_ip_version(cidr)
get_net_and_mask(cidr)
get_net_and_prefixlen(cidr)

Previous topic

The nova.virt.libvirt.volume_nfs Module

Next topic

The nova.virt.powervm.blockdev Module

This Page