home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

virsh attach-device <vm-name> [--persistent] <xml-filename>

Attaches a network interface to a vRouter.

virsh attach-device vm-name [ --persistent ] xml-filename

Nonpersistent. The interface is detached during the router shutdown sequence.

vm-name
The name of the guest VM (the vRouter).
persistent

Causes the interface to remain attached to the device after the router is powered on after being shut down.

xml-filename
The name of the XML file that specifies the interface parameters.

Use this command to attach a network interface to a vRouter. If you do not use the persistent keyword, the interface is detached during the router shutdown sequence. To ensure that the interface remains attached, use the persistent keyword.