summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShankaranarayanan Puzhavakath Narayanan <snarayanan@research.att.com>2018-09-14 14:40:08 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-14 14:40:08 +0000
commit3ab841597bd7fbfa4de41791c9d7e6335c8afeb9 (patch)
tree52e112cb4ca33c899a7de6893f8908e89aa3b8d3
parentbce4081920132be04a91ea60e7d0a2e1d030e88d (diff)
parent66f2f109d975641b61f93c0f920034d3ac35a251 (diff)
Merge "Update policy model for HPA policies"
-rw-r--r--osdf/models/policy/placement/tosca/hpaPolicy-v20180326.yml31
1 files changed, 30 insertions, 1 deletions
diff --git a/osdf/models/policy/placement/tosca/hpaPolicy-v20180326.yml b/osdf/models/policy/placement/tosca/hpaPolicy-v20180326.yml
index 24906a6..293cb63 100644
--- a/osdf/models/policy/placement/tosca/hpaPolicy-v20180326.yml
+++ b/osdf/models/policy/placement/tosca/hpaPolicy-v20180326.yml
@@ -35,14 +35,38 @@ data_types:
policy.data.flavorFeatures_properties:
derived_from: tosca.nodes.Root
properties:
- flavorLabel:
+ id:
type: string
required: true
+ type:
+ type: string
+ required: true
+ directives:
+ type: list
+ required: true
+ entry_schema:
+ type: policy.data.directives_properties
flavorProperties:
type: list
required: true
entry_schema:
type: policy.data.flavorProperties_properties
+ policy.data.directives_properties:
+ derived_from: tosca.nodes.Root
+ properties:
+ type:
+ type: string
+ attributes:
+ type: list
+ entry_schema:
+ type: policy.data.directives_attributes_properties
+ policy.data.directives_attributes_properties:
+ derived_from: tosca.nodes.Root
+ properties:
+ attribute_name:
+ type: string
+ attribute_value:
+ type: string
policy.data.flavorProperties_properties:
derived_from: tosca.nodes.Root
properties:
@@ -61,6 +85,11 @@ data_types:
hpa-version:
type: string
required: true
+ directives:
+ type: list
+ required: true
+ entry_schema:
+ type: policy.data.directives_properties
hpa-feature-attributes:
type: list
required: true