2014-04-14 32 views
0

在控制器:如何在OpenStack中提供浮動IP池?

 
> nova-manage floating list 
None 192.168.1.1  None public eth0 
None 192.168.1.2  None public eth0 
None 192.168.1.3  None public eth0 
... 

> nova floating-ip-bulk-list (with admin credentials) 
+------------+---------------+---------------+--------+-----------+ 
| project_id | address  | instance_uuid | pool | interface | 
+------------+---------------+---------------+--------+-----------+ 
| -   | 192.168.1.1 | -    | public | eth0  | 
| -   | 192.168.1.2 | -    | public | eth0  | 
| -   | 192.168.1.3 | -    | public | eth0  | 
| -   | 192.168.1.4 | -    | public | eth0  | 
... 


(with admin or other user credentials on "admin" tenant or another project tenant) 
> nova floating-ip-list 

> nova floating-ip-pool-list 

我無法弄清楚如何使IP地址在公共遊泳池如圖NOVA-管理現身正常新星(或網絡)客戶端,所以我可以將它們分配到一個實例。

+0

這有點令人困惑。您在第一和第二種場景中使用的用戶/租戶是什麼? – Akilesh

回答

1

看來設置OpenStack實例的人正在使用neutron來管理網絡,因此「neutron floatingip-create」似乎已經工作。