Managing networks in the CLI

To create networks using the OpenStack client, use the network create command that's shown here:

The --share and --no-share arguments are used to share the network with all other projects, or limit the network to the owning project, respectively. By default, networks are not shared and can only be used by the owning project. Neutron's RBAC functionality can be used to share a network between a subset of projects and will be discussed in Chapter 9, Role-Based Access Control.

The --enable and --disable arguments are used to enable or disable the administrative state of the network.

The --availability-zone-hint

Get Learning OpenStack Networking - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.