tricircle/tricircle
joehuang a9e6220c3a Support policy control on Admin-API request
1.What is the problem:
Currently Admin-API is to manage pod and pod-binding, the Admin-API
access is hard coded, and only admin role is allowed. OpenStack
usually use policy.json based authorization to control the
API-request. Policy feature is missing in the Tricircle.

2.What's need to be fixed:
Remove hard coded Admin-API request authorization, use policy instead.
For Nova API-GW and Cinder API-GW, the API access control should be
done at bottom OpenStack as far as possible if the API request will
be forwarded to bottom OpenStack directly for further processing;
only these APIs which only interact with database for example flavor
and volume type, because these APIs processing will be terminated at
the Tricircle layer, so policy control should be done in Nova API-GW
or Cinder API-GW. No work needs to do in Tricircle Neutron Plugin for
Neutron API server is there, Neutron API server will be responsible
for policy control.

3.What is the purpose of this patch set:
In this patch, default policy option and rule, and policy control
in Admin-API were added. Using the default option and value to
generate the policy.json will be implemented in next patch. No
policy.json is mandatory required after this patch is merged,
if no policy.json is configured or provided, the policy control
will use the default rule automatically.

Change-Id: Ifb6137b20f56e9f9a70d339fd357ee480fa3ce2e
Signed-off-by: joehuang <joehuang@huawei.com>
2016-09-17 23:21:48 -04:00
..
api Support policy control on Admin-API request 2016-09-17 23:21:48 -04:00
cinder_apigw [Urgent]Fix the integration test failure casused by http header processing 2016-08-11 02:33:12 -04:00
common Support policy control on Admin-API request 2016-09-17 23:21:48 -04:00
db Move router operations to xjob 2016-07-25 17:25:48 +08:00
network Support l3 networking in shared vlan network 2016-09-05 15:36:34 +08:00
nova_apigw Nova_APIGW REST API Microversion Support 2016-09-05 18:33:40 +08:00
tempestplugin Nova_APIGW REST API Microversion Support 2016-09-05 18:33:40 +08:00
tests Support policy control on Admin-API request 2016-09-17 23:21:48 -04:00
xjob Support l3 networking in shared vlan network 2016-09-05 15:36:34 +08:00
__init__.py networking-tricircle core plugin and security group 2015-08-05 14:49:24 +03:00