Rate This Document
Findability
Accuracy
Completeness
Readability

Verifying Neutron

Perform the following operations on controller nodes.

List the Neutron agents that are successfully started.

1
openstack network agent list

Table 1 Common Neutron commands

CLI

Description

openstack network create --share --external \

--provider-physical-network provider \

--provider-network-type flat enp64s0

Creates a shared virtual network.

openstack subnet create --network provider \

--allocation-pool start=172.168.204.50,end=172.168.204.100 \

--dns-nameserver 8.8.8.8 --gateway 172.168.204.1 \

--subnet-range 172.168.204.0/24 subnet1

Creates a subnet.

NOTE:

In this command, the network name is subnet1, DHCP range is 172.168.204.50 to 172.168.204.100, DNS IP address is 8.8.8.8, gateway IP address is 172.168.204.1, and network is 172.168.204.0/24.

openstack network list

Checks the current network type.

openstack subnet list

Checks the subnet.

openstack port list

Checks the network ports.