summaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/test/resources/intentPolicy/modifycll.json
diff options
context:
space:
mode:
authorqingshuting <qingshuting1@huawei.com>2022-08-30 14:39:38 +0800
committerqingshuting <qingshuting1@huawei.com>2022-08-30 14:40:52 +0800
commite3901c66783e3c0e5fff5878b43c0e1357c99da8 (patch)
treeb17a37115100a145b1da1628efb6a062fd9bf939 /intentanalysis/src/test/resources/intentPolicy/modifycll.json
parenta6a29c67cbb22b9b120d08fe5310a45a16d987c6 (diff)
[INTENT-ANALYSIS] Add policy models for bandwidth assurance intent
Add policy models, one for cll bw assurance policy, another for runtime configuration policy. Update .gitignore file. Issue-ID: USECASEUI-714 Signed-off-by: qingshuting <qingshuting1@huawei.com> Change-Id: If170aacb47d4ac2febae0c3b03ffb4ffd0b62b27
Diffstat (limited to 'intentanalysis/src/test/resources/intentPolicy/modifycll.json')
-rw-r--r--intentanalysis/src/test/resources/intentPolicy/modifycll.json50
1 files changed, 50 insertions, 0 deletions
diff --git a/intentanalysis/src/test/resources/intentPolicy/modifycll.json b/intentanalysis/src/test/resources/intentPolicy/modifycll.json
new file mode 100644
index 0000000..778a669
--- /dev/null
+++ b/intentanalysis/src/test/resources/intentPolicy/modifycll.json
@@ -0,0 +1,50 @@
+{
+
+ "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
+ "topology_template": {
+ "policies": [
+ {
+ "operational.modifycll": {
+ "type": "onap.policies.controlloop.operational.common.Drools",
+ "type_version": "1.0.0",
+ "version": "1.0.0",
+ "name": "operational.modifycll",
+ "metadata": {
+ "policy_id": "operational.modifycll"
+ },
+ "properties": {
+ "id": "ControlLoop-CCVPN-CLL-227e8b00-dbeb-4d03-8719-d0a658fb846c",
+ "timeout": 1200,
+ "abatement": false,
+ "trigger": "unique-policy-id-1-modify-cll",
+ "operations": [
+ {
+ "id": "unique-policy-id-1-modify-cll",
+ "description": "Modify resource allocation for a slice subnet instance",
+ "operation": {
+ "actor": "SO",
+ "operation": "ModifyCloudLeasedLine",
+ "target": {
+ "targetType": "VNF"
+ }
+ },
+ "timeout": 1200,
+ "retries": 0,
+ "success": "final_success",
+ "failure": "final_failure",
+ "failure_timeout": "final_failure_timeout",
+ "failure_retries": "final_failure_retires",
+ "failure_exception": "final_failure_exception",
+ "failure_guard": "final_failure_guard"
+ }
+ ],
+ "controllerName": "usecases"
+ }
+
+ }
+
+ }
+ ]
+ }
+
+} \ No newline at end of file