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
changes/35/386335/4
Feng Shengqin 6 years ago committed by feng.shengqin@zte.com.cn
parent 0895f7f92d
commit c3911af299
  1. 22
      magnum/tests/fake_policy.py

@ -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": ""
}
"""

Loading…
Cancel
Save