diff options
author | Sastry Isukapalli <sastry@research.att.com> | 2018-03-26 18:06:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-26 18:06:23 +0000 |
commit | 215b19360f73242f2348c812c0afab7d77c083a8 (patch) | |
tree | 7673df4f4d235e02dc0f565d72a8726a5175065f /osdf/models/policy/placement/tosca/queryPolicy-v20180326.yml | |
parent | 1989be6667eeb3b70e959c688c6b423b30dde78a (diff) | |
parent | dcdf9d8f98b6f472b37a264d93ede2845e39853c (diff) |
Merge "Inserted policy tosca models and examples"
Diffstat (limited to 'osdf/models/policy/placement/tosca/queryPolicy-v20180326.yml')
-rw-r--r-- | osdf/models/policy/placement/tosca/queryPolicy-v20180326.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/osdf/models/policy/placement/tosca/queryPolicy-v20180326.yml b/osdf/models/policy/placement/tosca/queryPolicy-v20180326.yml new file mode 100644 index 0000000..2488769 --- /dev/null +++ b/osdf/models/policy/placement/tosca/queryPolicy-v20180326.yml @@ -0,0 +1,43 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +node_types: + policy.nodes.queryPolicy: + derived_from: policy.nodes.Root + properties: + policyScope: + type: list + description: scope where the policy is applicable + required: true + matchable: true + entry_schema: + type: string + policyType: + type: list + description: type of a policy + required: true + matchable: true + entry_schema: + type: string + consraints: + - valid_values: + - queryPolicy + identity: + type: string + required: true + queryProperties: + type: list + required: true + entry_schema: + - type: policy.data.queryProperties_properties +data_types: + policy.data.queryProperties_properties: + derived_from: tosca.nodes.Root + properties: + attribute: + type: string + required: true + value: + type: string + required: true + attribute_location: + type: string + required: true |