neutron-server
负责接收、转发虚拟网络的操作请求
1.创建neutron数据库
[root@controller ~]# mysql -uroot -pMariaDB [(none)]> CREATE DATABASE neutron;Query OK, 1 row affected (0.000 sec)MariaDB [(none)]> GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'localhost' IDENTIFIED BY 'redhat';Query OK, 0 rows affected (0.001 sec)MariaDB [(none)]> GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'%' IDENTIFIED BY 'redhat';Query OK, 0 rows affected (0.000 sec)2.创建neutron用户
[root@controller ~]# source admin[root@controller ~]# openstack user create --domain default --password-prompt neutronUser Password:Repeat User Password:
[root@controller ~]# openstack role add --project service --user neutron admin3.创建network服务
[root@controller ~]# openstack service create --name neutron --description "OpenStack Networking" network