summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-11-02 23:29:11 +0000
committerGerrit Code Review <review@openstack.org>2015-11-02 23:29:11 +0000
commit7daaae19624aedd497cb1bc2e16587e874b206ab (patch)
treeb75dff77a650ef38437838a36c1037955f40b245
parent0a4319fc644850eef3c798871045e2ff86cff171 (diff)
parente23a26f10157cd7b5c16a55fc2ce0a459af1db3a (diff)
downloadpycadf-7daaae19624aedd497cb1bc2e16587e874b206ab.tar.gz
Merge "Add authenticate and evaluate actions"
-rw-r--r--pycadf/cadftaxonomy.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/pycadf/cadftaxonomy.py b/pycadf/cadftaxonomy.py
index f663fea..1cebdb3 100644
--- a/pycadf/cadftaxonomy.py
+++ b/pycadf/cadftaxonomy.py
@@ -23,6 +23,9 @@ ACTION_CREATE = 'create'
ACTION_READ = 'read'
ACTION_UPDATE = 'update'
ACTION_DELETE = 'delete'
+# Other CADF actions
+ACTION_AUTHENTICATE = 'authenticate'
+ACTION_EVALUATE = 'evaluate'
# OpenStack specific, Profile or change CADF spec. to add this action
ACTION_LIST = 'read/list'
@@ -45,12 +48,12 @@ ACTION_TAXONOMY = frozenset([
'disable',
'send',
'receive',
- 'authenticate',
+ ACTION_AUTHENTICATE,
'authenticate/login',
'revoke',
'renew',
'restore',
- 'evaluate',
+ ACTION_EVALUATE,
'allow',
'deny',
'notify',