aboutsummaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/vDNS.policy.guard.blacklist.input.tosca.yaml
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-03-08 10:39:21 -0400
committerPamela Dragosh <pdragosh@research.att.com>2020-03-09 08:58:18 -0400
commite90d37c87fdc81b1ee95963f42f53edb48fec88a (patch)
tree78e3d3fefd868e1314b71b5b639dc23cbaa243a9 /models-examples/src/main/resources/policies/vDNS.policy.guard.blacklist.input.tosca.yaml
parent8021fe6aa24b4a4c586cda78255c143eca3e3520 (diff)
Fix guard policy types and policies
Ensured the correct properties are available for each guard Policy Type. Added vDNS blacklist policy for testing. Issue-ID: POLICY-2243 Change-Id: I1cdcd3810f226446cd12f2123f8a9f41e6b5b4b2 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'models-examples/src/main/resources/policies/vDNS.policy.guard.blacklist.input.tosca.yaml')
-rw-r--r--models-examples/src/main/resources/policies/vDNS.policy.guard.blacklist.input.tosca.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/models-examples/src/main/resources/policies/vDNS.policy.guard.blacklist.input.tosca.yaml b/models-examples/src/main/resources/policies/vDNS.policy.guard.blacklist.input.tosca.yaml
new file mode 100644
index 000000000..78a2de6b3
--- /dev/null
+++ b/models-examples/src/main/resources/policies/vDNS.policy.guard.blacklist.input.tosca.yaml
@@ -0,0 +1,15 @@
+tosca_definitions_version: tosca_simple_yaml_1_1_0
+topology_template:
+ policies:
+ - guard.blacklist.scaleout:
+ type: onap.policies.controlloop.guard.common.Blacklist
+ type_version: 1.0.0
+ version: 1.0.0
+ metadata:
+ policy-id: guard.blacklist.scaleout
+ properties:
+ actor: SO
+ operation: VF Module Create
+ id: ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3
+ blacklist:
+ - the-vfmodule-where-root-is-true \ No newline at end of file