Akihiro MOTOKI 55319097cc Specify tenant_id when retrieving network list from Quantum.
Fixes bug 1036153

If a user has admin role, network list returned by Quantum API contains
networks that does not belong to that tenant. As a result networks owned
by other tenants are listed in "Network" tab of "Launch Intance" menu.
Thus we need to specify tenant_id when calling network_list() to
retrieve only the networks available for the tenant.

In addition this commit added a validation logic to syspanel instance
launching workflow. It checks whether the owner tenant of the requested
network(s) matches the tenant specified in the launching panel.

Change-Id: Ieadf33f0a41247b126669f2f1f2c1d29be01e4e9
2012-08-15 02:53:38 +09:00
..
2012-07-22 17:07:27 -07:00