@staticmethod
def uri():
    if (CONF.libvirt.virt_type == 'uml'):
        uri = (CONF.libvirt.connection_uri or 'uml:///system')
    elif (CONF.libvirt.virt_type == 'xen'):
        uri = (CONF.libvirt.connection_uri or 'xen:///')
    elif (CONF.libvirt.virt_type == 'lxc'):
        uri = (CONF.libvirt.connection_uri or 'lxc:///')
    else:
        uri = (CONF.libvirt.connection_uri or 'qemu:///system')
    return uri
@staticmethod
def uri():
    if (CONF.libvirt.virt_type == 'uml'):
        uri = (CONF.libvirt.connection_uri or 'uml:///system')
    elif (CONF.libvirt.virt_type == 'xen'):
        uri = (CONF.libvirt.connection_uri or 'xen:///')
    elif (CONF.libvirt.virt_type == 'lxc'):
        uri = (CONF.libvirt.connection_uri or 'lxc:///')
    else:
        uri = (CONF.libvirt.connection_uri or 'qemu:///system')
    return uri