add cluster and clustertemplate to fake_policy.py

rename bay to cluster, baymodel to clustertemplate,
i think it is better to add policy rule to fack_policy.py.

certificate and magnum-service need be added, too.

Change-Id: I3bbfc01547c512f990e2ea15f2c2dac149eec5dc
This commit is contained in:
Feng Shengqin 2016-10-14 20:17:54 +08:00 committed by feng.shengqin@zte.com.cn
parent 0895f7f92d
commit c3911af299
1 changed files with 21 additions and 1 deletions

View File

@ -32,6 +32,26 @@ policy_data = """
"baymodel:detail": "",
"baymodel:get": "",
"baymodel:get_all": "",
"baymodel:update": ""
"baymodel:update": "",
"cluster:create": "",
"cluster:delete": "",
"cluster:detail": "",
"cluster:get": "",
"cluster:get_all": "",
"cluster:update": "",
"clustertemplate:create": "",
"clustertemplate:delete": "",
"clustertemplate:detail": "",
"clustertemplate:get": "",
"clustertemplate:get_all": "",
"clustertemplate:update": "",
"clustertemplate:publish": "",
"certificate:create": "",
"certificate:get": "",
"magnum-service:get_all": ""
}
"""