Ask Your Question
0

What's the difference between net-list and network-list?

asked 2013-04-02 06:35:13 -0500

xu-haiwei gravatar image

There are two nova network commands: net-list and network-list which list the existing networks. From the output of these two commands , we know one outputs ID and the other outputs UUID. I am not quite sure whether both of them are necessary. Can anyone explain it for me ? Thank you.

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2013-04-17 13:05:27 -0500

Well, the network-list api is for Admin-only, the net-list api is tenant based network management.

edit flag offensive delete link more
0

answered 2013-04-09 13:12:19 -0500

lauria gravatar image

Hi Haiwei,

would you be more specific as to which commands you are referring to?

I do see "nova network-list", but can't find anything about "net-list" (I am running Grizzly).

Thanks

edit flag offensive delete link more
0

answered 2013-04-10 04:40:02 -0500

xu-haiwei gravatar image

I am using Grizzly and I installed nova-network but not quantum. After I asked this question network-list is fixed by someone. Now net-list and network-list run almost the same. $ nova net-list +--------------------------------------+---------+-----------------+ | ID | Label | CIDR | +--------------------------------------+---------+-----------------+ | 2e0d973c-164f-4f3a-8d21-e628ba6cde73 | private | 10.0.0.0/24 | | 516783fc-2170-47f1-ba8d-a4b39a839d51 | net15 | 192.168.15.0/24 | | c90de04b-a425-4f3d-b001-5c861c52dbe9 | net8 | 11.0.0.0/8 | +--------------------------------------+---------+-----------------+ $ nova network-list +--------------------------------------+---------+-----------------+ | ID | Label | Cidr | +--------------------------------------+---------+-----------------+ | 2e0d973c-164f-4f3a-8d21-e628ba6cde73 | private | 10.0.0.0/24 | | 516783fc-2170-47f1-ba8d-a4b39a839d51 | net15 | 192.168.15.0/24 | | c90de04b-a425-4f3d-b001-5c861c52dbe9 | net8 | 11.0.0.0/8 | +--------------------------------------+---------+-----------------+

edit flag offensive delete link more
0

answered 2013-04-17 23:58:02 -0500

xu-haiwei gravatar image

Hi, GuoHui

Thank you for answering me. But I am still confused. The net-list and network-list work all the same when the tenant is admin and demo. But can't run in the other tenant.

~$ env|grep OS OS_PASSWORD=openstack OS_AUTH_URL=http://192.168.0.20:5000/v2.0 OS_USERNAME=admin OS_TENANT_NAME=tenant1 OS_CACERT=/opt/stack/data/CA/int-ca/ca-chain.pem OS_NO_CACHE=1 LESSCLOSE=/usr/bin/lesspipe %s %s

~$ nova network-list ERROR: Invalid OpenStack Nova credentials. $ nova net-list ERROR: Invalid OpenStack Nova credentials.

Why this happens?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-04-02 06:35:13 -0500

Seen: 1,745 times

Last updated: Apr 17 '13