aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChayal, Avteet (ac229e) <ac229e@att.com>2018-09-20 01:22:31 +0000
committerChayal, Avteet (ac229e) <ac229e@att.com>2018-09-20 01:25:22 +0000
commit45b4d4f52f86b16bd9824673dcbe4422b6283a4d (patch)
tree8c880ec40fcf75ee09e047ffe4eccf4cecff135a
parenta014bc832ce5e59b6dd52a6ac9dd5cea03a0ceec (diff)
Policy model for PCI optimization
Initial version of tosca model for pciPolicy Issue-ID: OPTFRA-342 Change-Id: Iaa935ef1801768eec049f694826ee34446fe4f6f Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
-rwxr-xr-xosdf/models/policy/placement/tosca/pciPolicy-v20180916.yml54
1 files changed, 54 insertions, 0 deletions
diff --git a/osdf/models/policy/placement/tosca/pciPolicy-v20180916.yml b/osdf/models/policy/placement/tosca/pciPolicy-v20180916.yml
new file mode 100755
index 0000000..c879195
--- /dev/null
+++ b/osdf/models/policy/placement/tosca/pciPolicy-v20180916.yml
@@ -0,0 +1,54 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ policy.nodes.pciPolicy:
+ 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:
+ - pciPolicy
+ identity:
+ type: string
+ required: true
+ resources:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ pciProperties:
+ type: list
+ required: false
+ entry_schema:
+ - type:policy.data.pciProperties_properties
+data_types:
+ policy.data.pciProperties_properties:
+ derived_from: tosca.nodes.Root
+ properties:
+ algoCategory:
+ type: string
+ required: false
+ pciOptmizationAlgoName:
+ type: string
+ required: false
+ pciOptimizationNwConstraint:
+ type: string
+ required: false
+ pciOptimizationPriority:
+ type: string
+ required: false
+ pciOptimizationTimeConstraint:
+ type: string
+ required: false