Atom feed of this document
  
 

 Basic Networking operations

To learn about advanced capabilities available through the neutron command-line interface (CLI), read the networking section in the OpenStack End User Guide.

This table shows example neutron commands that enable you to complete basic network operations:

Table 7.19. Basic Networking operations
Operation Command
Creates a network.
$ neutron net-create net1
Creates a subnet that is associated with net1.
$ neutron subnet-create net1 10.0.0.0/24
Lists ports for a specified tenant.
$ neutron port-list
Lists ports for a specified tenant and displays the id, fixed_ips, and device_owner columns.
$ neutron port-list -c id -c fixed_ips -c device_owner
Shows information for a specified port.
$ neutron port-show port-id
[Note]Note

The device_owner field describes who owns the port. A port whose device_owner begins with:

  • network is created by Networking.

  • compute is created by Compute.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...