标签:openstack
登陆
用户demo登陆
那么我们就手动启动一下。
[root@linux-node1 ~]# neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file /etc/neutron/plugins/linuxbridge/linuxbridge_conf.ini
这样的话,就能排除问题。
[root@linux-node1 ~]# neutron net-list
[root@linux-node1 ~]# neutron port-list
看一下租户id
[root@linux-node1 ~]# keystone tenant-list
+----------------------------------+-------+---------+
| id | name | enabled |
+----------------------------------+-------+---------+
| cdbb9a7dcd044328a7969bc8069624ae | admin | True |
| ed844c55ff2a45da880c818e356f8a71 | demo | True |
+----------------------------------+-------+---------+
[root@linux-node1 ~]# neutron net-create --tenant-id ed844c55ff2a45da880c818e356f8a71 demo-net --shared --provider:network_type flat --provider:physical_network physnet1
Created a new network:
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | 39513fa0-5409-42e0-9d2c-9b2ced0e8322 |
| name | demo-net |
| provider:network_type | flat |
| provider:physical_network | physnet1 |
| provider:segmentation_id | |
| shared | True |
| status | ACTIVE |
| subnets | |
| tenant_id | ed844c55ff2a45da880c818e356f8a71 |
+---------------------------+--------------------------------------+
查看一下
[root@linux-node1 ~]# neutron net-list
+--------------------------------------+----------+---------+
| id | name | subnets |
+--------------------------------------+----------+---------+
| 39513fa0-5409-42e0-9d2c-9b2ced0e8322 | demo-net | |
+--------------------------------------+----------+---------+
除单一扁平网络用网络创建外,其它都可以用dash创建
大家可以看子网没有创建,其实命令都能创建,但是我们还是用dashbaod
[root@linux-node1 ~]# neutron net-list
+--------------------------------------+----------+---------+
| id | name | subnets |
+--------------------------------------+----------+---------+
| 39513fa0-5409-42e0-9d2c-9b2ced0e8322 | demo-net | |
+--------------------------------------+----------+---------+
我们在dash看一下
那么我们来创建网络
然后咱们在用demo用户登陆一下
本文出自 “8055082” 博客,谢绝转载!
openstack I版的搭建五--,布布扣,bubuko.com
标签:openstack
原文地址:http://8065082.blog.51cto.com/8055082/1542955