openstack I版的搭建五--

來源:互聯網
上載者:User

標籤:openstack

登陸

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/46/EE/wKioL1P1TV_CjNJTAADxFWSFr8I165.jpg" title="QQ20140821092258.png" alt="wKioL1P1TV_CjNJTAADxFWSFr8I165.jpg" />650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/46/ED/wKiom1P1TKbiTqxrAAGla80L5IY605.jpg" title="QQ20140821092258.png" alt="wKiom1P1TKbiTqxrAAGla80L5IY605.jpg" />

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/46/EF/wKioL1P1ThKDCqFEAAGUGFoDzb0697.jpg" title="QQ20140821092258.png" alt="wKioL1P1ThKDCqFEAAGUGFoDzb0697.jpg" />

使用者demo登陸

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/46/EF/wKioL1P1TqrA_rR8AAESEv6vbjY653.jpg" title="QQ20140821092258.png" alt="wKioL1P1TqrA_rR8AAESEv6vbjY653.jpg" />650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/46/EF/wKioL1P1TuLDqsivAAMTdpmz15Q164.jpg" title="QQ20140821093852.png" alt="wKioL1P1TuLDqsivAAMTdpmz15Q164.jpg" />如果你在啟動某個服務的時候,沒啟動起來,沒日子

那麼我們就手動啟動一下。

[[email protected] ~]# 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

這樣的話,就能排除問題。


[[email protected] ~]# neutron net-list


[[email protected] ~]# neutron port-list

看一下租戶id

[[email protected] ~]# keystone tenant-list

+----------------------------------+-------+---------+

|                id                |  name | enabled |

+----------------------------------+-------+---------+

| cdbb9a7dcd044328a7969bc8069624ae | admin |   True  |

| ed844c55ff2a45da880c818e356f8a71 |  demo |   True  |

+----------------------------------+-------+---------+

[[email protected] ~]# 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     |

+---------------------------+--------------------------------------+

查看一下

[[email protected] ~]# neutron net-list

+--------------------------------------+----------+---------+

| id                                   | name     | subnets |

+--------------------------------------+----------+---------+

| 39513fa0-5409-42e0-9d2c-9b2ced0e8322 | demo-net |         |

+--------------------------------------+----------+---------+

除單一扁平網路用網路建立外,其它都可以用dash建立

大家可以看子網沒有建立,其實命令都能建立,但是我們還是用dashbaod

[[email protected] ~]# neutron net-list

+--------------------------------------+----------+---------+

| id                                   | name     | subnets |

+--------------------------------------+----------+---------+

| 39513fa0-5409-42e0-9d2c-9b2ced0e8322 | demo-net |         |

+--------------------------------------+----------+---------+

我們在dash看一下

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/46/F0/wKiom1P1U2rBLzzqAAIVyRQ5Dpk502.jpg" title="QQ20140821093852.png" alt="wKiom1P1U2rBLzzqAAIVyRQ5Dpk502.jpg" />

那麼我們來建立網路

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/46/F0/wKiom1P1U7OjWyheAAHKeayWg6A547.jpg" title="QQ20140821093852.png" alt="wKiom1P1U7OjWyheAAHKeayWg6A547.jpg" />650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/46/F0/wKiom1P1U-aAUSuaAAKccjMg2Wo584.jpg" title="QQ20140821093852.png" alt="wKiom1P1U-aAUSuaAAKccjMg2Wo584.jpg" />

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/46/F3/wKioL1P1Vx2wIA4LAAFO25VGDzw112.jpg" title="QQ20140821092258.png" alt="wKioL1P1Vx2wIA4LAAFO25VGDzw112.jpg" />

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/46/F3/wKioL1P1VzDhPkcQAAFmZdm01RA149.jpg" title="QQ20140821093852.png" alt="wKioL1P1VzDhPkcQAAFmZdm01RA149.jpg" />

然後咱們在用demo使用者登陸一下

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/46/F3/wKioL1P1VvuzVcF-AAEM9CgaM5Y351.jpg" title="2.png" alt="wKioL1P1VvuzVcF-AAEM9CgaM5Y351.jpg" />

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/46/F3/wKioL1P1V32D3DcpAAEN2s3sq6c348.jpg" title="1.png" alt="wKioL1P1V32D3DcpAAEN2s3sq6c348.jpg" />

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/46/F1/wKiom1P1VnKjTd0iAAF-CvaEPiU721.jpg" title="2.png" alt="wKiom1P1VnKjTd0iAAF-CvaEPiU721.jpg" />

本文出自 “8055082” 部落格,謝絕轉載!

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.