O'Reilly logo

Learning OpenStack Networking (Neutron) by James Denton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Attaching instances to networks

Instances can be attached to networks in a variety of ways. At the first boot, an instance can be attached to a network using the nova boot command. Running instances can be attached to networks using the nova interface-attach command. Both methods are explained in the upcoming sections.

Attaching instances to networks using Nova boot

Instances are attached to networks at the first boot through the nova boot command, the dashboard, or the Nova API. The following nova boot flag provides a network interface to an instance:

--nic net-id=<UUID of Neutron network>

By passing the --nic flag multiple times, it is possible to attach an instance to more than one Neutron network. The following nova boot command demonstrates ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required