Listing networks in the CLI

To list networks known to Neutron, use the openstack network list command, as shown in the following screenshot:

The list output provides the network ID, network name, and any associated subnets. An OpenStack user with the admin role can see all networks, while regular users can see shared networks and networks within their respective projects.

If tags are utilized, the results may be filtered using the following parameters:

  • --tags <tag>: Lists networks which have all given tag(s)
  • --any-tags <tag>: Lists networks which have any given tag(s)
  • --not-tags <tag>: Excludes networks which have all given tag(s)
  • --not-any-tags <tag>: Excludes networks which have any given tag(s)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset