From c3911af29983181e593ca89fb52739c616bdb7bb Mon Sep 17 00:00:00 2001 From: Feng Shengqin Date: Fri, 14 Oct 2016 20:17:54 +0800 Subject: [PATCH] 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 --- magnum/tests/fake_policy.py | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/magnum/tests/fake_policy.py b/magnum/tests/fake_policy.py index 0af888d960..8c445e1f26 100644 --- a/magnum/tests/fake_policy.py +++ b/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": "" } """