Ask Your Question

Revision history [back]

In Neutron ML2&OVS&VLAN (VXLAN) for each tenant source his credentials ( select one user per tenant ) and issue nova list.

In Neutron ML2&OVS&VLAN (VXLAN) for each tenant source his credentials ( select one user per tenant ) and issue nova list.

[root@icehouse1 ~]# cat test
#!/bin/bash
for user in demo admin ;
do
echo $user 
source keystonerc_$user 
nova list 
done
[root@icehouse1 ~]# ./test
demo
+--------------------------------------+---------------+-----------+------------+-------------+----------------------------------+
| ID                                   | Name          | Status    | Task State | Power State | Networks                         |
+--------------------------------------+---------------+-----------+------------+-------------+----------------------------------+
| f5bf5aa5-be31-48e2-be86-d60d6ca9a852 | UbuntuSRV001  | SUSPENDED | -          | Shutdown    | demonet=40.0.0.28, 192.168.1.170 |
| 9324ad03-0156-4955-aa05-e66b2a2b2abf | UbuntuSRV0817 | SUSPENDED | -          | Shutdown    | demonet=40.0.0.30, 192.168.1.172 |
| c8d242e4-4b3b-4597-b6a0-6787af67eff0 | VF20RS001     | SUSPENDED | -          | Shutdown    | demonet=40.0.0.29, 192.168.1.171 |
+--------------------------------------+---------------+-----------+------------+-------------+----------------------------------+
admin
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+

In Neutron ML2&OVS&VLAN (VXLAN) for each tenant source his credentials ( select one user per tenant ) and issue nova list.

[root@icehouse1 ~]# cat test
./test
#!/bin/bash
for user in demo admin boris ;
do
echo $user 
source keystonerc_$user 
nova list 
done
[root@icehouse1 ~]# ./test
demo
+--------------------------------------+---------------+-----------+------------+-------------+----------------------------------+
| ID                                   | Name          | Status    | Task State | Power State | Networks                         |
+--------------------------------------+---------------+-----------+------------+-------------+----------------------------------+
| f5bf5aa5-be31-48e2-be86-d60d6ca9a852 | UbuntuSRV001  | SUSPENDED | -          | Shutdown    | demonet=40.0.0.28, 192.168.1.170 |
| 9324ad03-0156-4955-aa05-e66b2a2b2abf | UbuntuSRV0817 | SUSPENDED | -          | Shutdown    | demonet=40.0.0.30, 192.168.1.172 |
| c8d242e4-4b3b-4597-b6a0-6787af67eff0 | VF20RS001     | SUSPENDED | -          | Shutdown    | demonet=40.0.0.29, 192.168.1.171 |
+--------------------------------------+---------------+-----------+------------+-------------+----------------------------------+
admin
+----+------+--------+------------+-------------+----------+
boris
+--------------------------------------+---------------+--------+------------+-------------+----------------------------------+
| ID  | Name  | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
                        |
+--------------------------------------+---------------+--------+------------+-------------+----------------------------------+
| a18a43da-aa67-4785-b4b1-9b5235e1fec2 | UbuntuSRV0820 | ACTIVE | -          | Running     | private=10.0.0.16, 192.168.1.176 |
+--------------------------------------+---------------+--------+------------+-------------+----------------------------------+