Config Changes
Changes done to the Clamp Config file globalProperties.json for the
operational policies
Issue-ID: CLAMP-153
Change-Id: Id512fcdab0687495cbfb741097fc19dfc5545093
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
diff --git a/src/main/resources/clds/templates/globalProperties.json b/src/main/resources/clds/templates/globalProperties.json
index c9bbbf7..0623042 100644
--- a/src/main/resources/clds/templates/globalProperties.json
+++ b/src/main/resources/clds/templates/globalProperties.json
@@ -4,13 +4,12 @@
"tcaInt": "1",
"tcaVio": "1",
"eventName": {
- "vCPEvGMUXPacketLoss": "vCPEvGMUXPacketLoss",
"vLoadBalancer": "vLoadBalancer",
- "vFirewallBroadcastPackets": "vFirewallBroadcastPackets"
+ "vFirewallBroadcastPackets": "vFirewallBroadcastPackets",
+ "Measurement_vGMUX":"Measurement_vGMUX"
},
"fieldPathM": {
- "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated": "receivedBroadcastPacketsAccumulated",
- "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta": "receivedDiscardedPacketsDelta"
+ "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value": "Packet-loss-rate"
},
"operator": {
">": "GREATER",
@@ -52,7 +51,9 @@
"restart": "Restart",
"rebuild": "Rebuild",
"migrate": "Migrate",
- "healthCheck": "Health Check"
+ "healthCheck": "Health Check",
+ "modifyConfig": "ModifyConfig",
+ "vfModuleCreate":"VF Module Create"
},
"maxRetries": "3",
"retryTimeLimit": 180,
diff --git a/src/test/resources/clds/templates/globalProperties.json b/src/test/resources/clds/templates/globalProperties.json
index c9bbbf7..0623042 100644
--- a/src/test/resources/clds/templates/globalProperties.json
+++ b/src/test/resources/clds/templates/globalProperties.json
@@ -4,13 +4,12 @@
"tcaInt": "1",
"tcaVio": "1",
"eventName": {
- "vCPEvGMUXPacketLoss": "vCPEvGMUXPacketLoss",
"vLoadBalancer": "vLoadBalancer",
- "vFirewallBroadcastPackets": "vFirewallBroadcastPackets"
+ "vFirewallBroadcastPackets": "vFirewallBroadcastPackets",
+ "Measurement_vGMUX":"Measurement_vGMUX"
},
"fieldPathM": {
- "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated": "receivedBroadcastPacketsAccumulated",
- "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta": "receivedDiscardedPacketsDelta"
+ "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value": "Packet-loss-rate"
},
"operator": {
">": "GREATER",
@@ -52,7 +51,9 @@
"restart": "Restart",
"rebuild": "Rebuild",
"migrate": "Migrate",
- "healthCheck": "Health Check"
+ "healthCheck": "Health Check",
+ "modifyConfig": "ModifyConfig",
+ "vfModuleCreate":"VF Module Create"
},
"maxRetries": "3",
"retryTimeLimit": 180,
diff --git a/src/test/resources/example/sdc/expected-result/sdc-properties-4cc5b45a.json b/src/test/resources/example/sdc/expected-result/sdc-properties-4cc5b45a.json
index 5e0ba72..f1f67fe 100644
--- a/src/test/resources/example/sdc/expected-result/sdc-properties-4cc5b45a.json
+++ b/src/test/resources/example/sdc/expected-result/sdc-properties-4cc5b45a.json
@@ -4,13 +4,12 @@
"tcaInt": "1",
"tcaVio": "1",
"eventName": {
- "vCPEvGMUXPacketLoss": "vCPEvGMUXPacketLoss",
"vLoadBalancer": "vLoadBalancer",
- "vFirewallBroadcastPackets": "vFirewallBroadcastPackets"
+ "vFirewallBroadcastPackets": "vFirewallBroadcastPackets",
+ "Measurement_vGMUX":"Measurement_vGMUX"
},
"fieldPathM": {
- "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated": "receivedBroadcastPacketsAccumulated",
- "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta": "receivedDiscardedPacketsDelta"
+ "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value": "Packet-loss-rate"
},
"operator": {
">": "GREATER",
@@ -52,7 +51,9 @@
"restart": "Restart",
"rebuild": "Rebuild",
"migrate": "Migrate",
- "healthCheck": "Health Check"
+ "healthCheck": "Health Check",
+ "modifyConfig": "ModifyConfig",
+ "vfModuleCreate":"VF Module Create"
},
"maxRetries": "3",
"retryTimeLimit": 180,