Product SiteDocumentation Site

7.5. Interface lifecycle management

In libvirt parlance, "creating" an interface means making it active, or "bringing it up", and "deleting" an interface means making it inactive, or "bringing it down". On hosts using the netcf backend for interface configuration (eg Fedora, RHEL), this is the same as calling the system shell scripts "ifup" and "ifdown" for the interface.

7.5.1. Activating an interface

virInterfaceCreate makes the given inactive interface active ("up"). On success, it returns 0. If there is any problem making the interface active, -1 is returned.