From e0addf5b588a1244f9679becd90999dfcb4c3a94 Mon Sep 17 00:00:00 2001 From: "ITSERVICES\\rb7147" Date: Tue, 25 Apr 2017 11:46:00 -0400 Subject: Policy 1707 commit to LF Change-Id: Ibe6f01d92f9a434c040abb05d5386e89d675ae65 Signed-off-by: ITSERVICES\rb7147 --- ECOMP-PDP/src/test/resources/CSVPolicy.xml | 205 +++++++++++++++++++++++++++++ ECOMP-PDP/src/test/resources/logback.xml | 5 +- 2 files changed, 208 insertions(+), 2 deletions(-) create mode 100644 ECOMP-PDP/src/test/resources/CSVPolicy.xml (limited to 'ECOMP-PDP/src/test/resources') diff --git a/ECOMP-PDP/src/test/resources/CSVPolicy.xml b/ECOMP-PDP/src/test/resources/CSVPolicy.xml new file mode 100644 index 000000000..7175fb500 --- /dev/null +++ b/ECOMP-PDP/src/test/resources/CSVPolicy.xml @@ -0,0 +1,205 @@ + + + + + This Policy handles the Take action and Advice action operations. + + + + + Check the CPU Utilization or Network Load + + Load + + + + 95 + + + + CPU + + + + 95 + + + + + + Permit to create a new VM with Obligation + + + + + If the Requirement has met create the VM + + true + + + + + + Action_Info + + + + + Create_NEW_VM + + + + + + Permit to create a new VM with Advice + + + + + create_adviceAction + + + + + + + + If the Requirement has met create the VM + + true + + + + + + Action_Info + + + + + Created New VM + + + http://localhost:8080/pdp/?type=hb + + + + + + + + + + + + + + + + Permit to remove a VM with Obligation + + + + + remove_Action + + + + + + + + If the resource usage is low then remove the VM + + true + + + + + + Action_Info + + + + + Remove_VM + + + + + + Permit to remove a VM with Advice + + + + + remove_adviceAction + + + + + + + + If the resource usage is low then remove the VM + + true + + + + + + Action_Info + + + + + Removed VM + + + http://localhost:8080/pdp/?type=hb + + + + + diff --git a/ECOMP-PDP/src/test/resources/logback.xml b/ECOMP-PDP/src/test/resources/logback.xml index 3cb7a4469..e51ac17e1 100644 --- a/ECOMP-PDP/src/test/resources/logback.xml +++ b/ECOMP-PDP/src/test/resources/logback.xml @@ -44,14 +44,15 @@ --> - + - + + -- cgit 1.2.3-korg