From 4f1f7aa8086b81fa37d1e198dcb1e31e68c58f5e Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Fri, 24 Apr 2020 13:46:06 -0400 Subject: Update S3P tests for xacml-pdp Modified jmeter S3P tests per new tosca models. Also added tests for "default" guard, naming, and optimization policies. Issue-ID: POLICY-2455 Change-Id: I4607fa0fb5bec1949c6daae6a00948310e1b5531 Signed-off-by: Jim Hahn --- .../src/main/resources/testplans/perf.jmx | 1462 ++++++++++++++++--- .../src/main/resources/testplans/results.sh | 8 +- .../src/main/resources/testplans/stability.jmx | 1472 +++++++++++++++++--- 3 files changed, 2585 insertions(+), 357 deletions(-) diff --git a/testsuites/performance/src/main/resources/testplans/perf.jmx b/testsuites/performance/src/main/resources/testplans/perf.jmx index fba609ae..9c3a294a 100644 --- a/testsuites/performance/src/main/resources/testplans/perf.jmx +++ b/testsuites/performance/src/main/resources/testplans/perf.jmx @@ -1,5 +1,5 @@ - + Policy XACML PDP Performance Tests @@ -8,11 +8,6 @@ false - - POLICY_PDPX_HOST - ${__P(host,10.12.6.106)} - = - DURATION ${__P(duration, 3000)} @@ -23,19 +18,34 @@ ${__P(users, 10)} = - - PDP_PORT - ${__P(port, 30420)} + + API_HOST + ${__P(api_ip)} = - - PAP_PORT - ${__P(port, 30089)} + + PAP_HOST + ${__P(pap_ip)} + = + + + XACML_HOST + ${__P(xacml_ip)} = API_PORT - ${__P(port, 32187)} + ${__P(api_port, 6969)} + = + + + PAP_PORT + ${__P(pap_port, 6969)} + = + + + XACML_PORT + ${__P(xacml_port, 6969)} = @@ -67,6 +77,9 @@ false + 1587406332000 + 1587406332000 + true @@ -76,61 +89,64 @@ false { - "tosca_definitions_version": "tosca_simple_yaml_1_0_0", - "topology_template": { - "policies": [ - { - "onap.scaleout.tca": { - "type": "onap.policies.monitoring.cdap.tca.hi.lo.app", - "version": "1.0.0", - "metadata": { - "policy-id": "onap.scaleout.tca" - }, - "properties": { - "tca_policy": { - "domain": "measurementsForVfScaling", - "metricsPerEventName": [ - { - "eventName": "vLoadBalancer", - "controlLoopSchemaType": "VNF", - "policyScope": "type=configuration", - "policyName": "onap.scaleout.tca", - "policyVersion": "v0.0.1", - "thresholds": [ - { - "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", - "closedLoopEventStatus": "ONSET", - "version": "1.0.2", - "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated", - "thresholdValue": 500, - "direction": "LESS_OR_EQUAL", - "severity": "MAJOR" + "tosca_definitions_version": "tosca_simple_yaml_1_1_0", + "topology_template": { + "policies": [ + { + "onap.restart.tca": { + "type": "onap.policies.monitoring.cdap.tca.hi.lo.app", + "type_version": "1.0.0", + "version": "1.0.0", + "metadata": { + "policy-id": "onap.restart.tca" }, - { - "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", - "closedLoopEventStatus": "ONSET", - "version": "1.0.2", - "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated", - "thresholdValue": 5000, - "direction": "GREATER_OR_EQUAL", - "severity": "CRITICAL" + "properties": { + "tca_policy" : { + "domain": "measurementsForVfScaling", + "metricsPerEventName": [ + { + "eventName": "Measurement_vGMUX", + "controlLoopSchemaType": "VNF", + "policyScope": "DCAE", + "policyName": "DCAE.Config_tca-hi-lo", + "policyVersion": "v0.0.1", + "thresholds": [ + { + "closedLoopControlName": "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e", + "version": "1.0.2", + "fieldPath": "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value", + "thresholdValue": 0, + "direction": "EQUAL", + "severity": "MAJOR", + "closedLoopEventStatus": "ABATED" + }, + { + "closedLoopControlName": "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e", + "version": "1.0.2", + "fieldPath": "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value", + "thresholdValue": 0, + "direction": "GREATER", + "severity": "CRITICAL", + "closedLoopEventStatus": "ONSET" + } + ] + } + ] + } } - ] } - ] } - } - } - } - ] - } + ] + } } = - ${POLICY_PDPX_HOST} + ${API_HOST} ${API_PORT} + + https policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies @@ -139,15 +155,14 @@ false true false + false - - - https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1 + https://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 @@ -155,51 +170,672 @@ true + false + + + 200 + + + Assertion.response_code + false + 8 + + - + true false { - "policy-id" : "guard.minmax.scaleout", - "content" : { - "actor": "SO", - "recipe": "scaleOut", - "targets": ".*", - "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", - "min": "1", - "max": "5", - "guardActiveStart": "00:00:01-05:00", - "guardActiveEnd": "23:59:59-05:00" + "tosca_definitions_version": "tosca_simple_yaml_1_1_0", + "topology_template": { + "policies": [ + { + "OSDF_CASABLANCA.Affinity_Default": { + "type": "onap.policies.optimization.resource.AffinityPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Affinity_Default", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [], + "resources": [], + "geography": [], + "identity": "affinity_vCPE", + "applicableResources": "any", + "affinityProperties": { + "qualifier": "same", + "category": "complex" + } + } + } + }, + { + "OSDF_CASABLANCA.Affinity_Default_US": { + "type": "onap.policies.optimization.resource.AffinityPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Affinity_Default_US", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [], + "resources": [], + "geography": [ + "US" + ], + "identity": "affinity_vCPE", + "applicableResources": "any", + "affinityProperties": { + "qualifier": "same", + "category": "complex" + } + } + } + }, + { + "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0": { + "type": "onap.policies.optimization.resource.AffinityPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "resources": [], + "geography": [ + "US" + ], + "identity": "affinity_vCPE", + "applicableResources": "any", + "affinityProperties": { + "qualifier": "different", + "category": "complex" + } + } + } + }, + { + "OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1": { + "type": "onap.policies.optimization.resource.AffinityPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1", + "policy-version": 1 + }, + "properties": { + "scope": [ + "gold" + ], + "services": [ + "vCPE" + ], + "resources": [ + "vGMuxInfra", + "vG" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "affinity_vCPE", + "applicableResources": "any", + "affinityProperties": { + "qualifier": "same", + "category": "availabilityZone" + } + } + } + }, + { + "OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1": { + "type": "onap.policies.optimization.resource.AffinityPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1", + "policy-version": 1 + }, + "properties": { + "scope": [ + "platinum" + ], + "services": [ + "vCPE" + ], + "resources": [ + "vGMuxInfra", + "vG" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "affinity_vCPE", + "applicableResources": "any", + "affinityProperties": { + "qualifier": "different", + "category": "availabilityZone" + } + } + } + }, + { + "OSDF_CASABLANCA.Capacity_vG_1": { + "type": "onap.policies.optimization.resource.Vim_fit", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Capacity_vG_1", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "resources": [ + "vG" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "capacity_vG", + "applicableResources": "any", + "capacityProperty": { + "controller": "multicloud", + "request": "{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}" + } + } + } + }, + { + "OSDF_CASABLANCA.Capacity_vG_2": { + "type": "onap.policies.optimization.resource.Vim_fit", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Capacity_vG_2", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "resources": [ + "vG" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "capacity_vG", + "applicableResources": "any", + "capacityProperty": { + "controller": "multicloud", + "request": "{\"vCPU\": 15, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"MB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}" + } + } + } + }, + { + "OSDF_CASABLANCA.Distance_vG_1": { + "type": "onap.policies.optimization.resource.DistancePolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Distance_vG_1", + "policy-version": 1 + }, + "properties": { + "scope": [ + "platinum" + ], + "services": [ + "vCPE" + ], + "resources": [ + "vG" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "distance-vG", + "applicableResources": "any", + "distanceProperties": { + "locationInfo": "customer_loc", + "distance": { + "value": 1500, + "operator": "<", + "unit": "km" + } + } + } + } + }, + { + "OSDF_CASABLANCA.hpa_policy_Default": { + "type": "onap.policies.optimization.resource.HpaPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.hpa_policy_Default", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [], + "resources": [], + "geography": [], + "identity": "hpa-vG", + "flavorFeatures": [ + { + "id": "vg_1", + "type": "vnfc", + "directives": [ + { + "type": "flavor_directives", + "attributes": [ + { + "attribute_name": "flavor_label_vm_01", + "attribute_value": "" + } + ] + } + ], + "flavorProperties": [ + { + "hpa-feature": "basicCapabilities", + "mandatory": true, + "architecture": "generic", + "directives": [], + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "numVirtualCpu", + "hpa-attribute-value": 8, + "operator": [ + ">=" + ], + "unit": "" + }, + { + "hpa-attribute-key": "virtualMemSize", + "hpa-attribute-value": 6, + "operator": [ + "<=" + ], + "unit": "" + } + ] + }, + { + "hpa-feature": "ovsDpdk", + "mandatory": false, + "architecture": "generic", + "directives": [], + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "dataProcessingAccelerationLibrary", + "hpa-attribute-value": "ovsDpdk_version", + "operator": [ + "=" + ], + "unit": "" + } + ] + } + ] + } + ] + } + } + }, + { + "OSDF_CASABLANCA.hpa_policy_vG_1": { + "type": "onap.policies.optimization.resource.HpaPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.hpa_policy_vG_1", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE", + "vOtherService" + ], + "resources": [ + "vG" + ], + "geography": [], + "identity": "hpa-vG", + "flavorFeatures": [ + { + "id": "vg_1", + "type": "vnfc", + "directives": [ + { + "type": "flavor_directives", + "attributes": [ + { + "attribute_name": "flavor_label_vm_01", + "attribute_value": "" + } + ] + } + ], + "flavorProperties": [ + { + "hpa-feature": "basicCapabilities", + "mandatory": true, + "architecture": "generic", + "directives": [], + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "numVirtualCpu", + "hpa-attribute-value": 6, + "operator": [ + ">=" + ], + "unit": "" + }, + { + "hpa-attribute-key": "virtualMemSize", + "hpa-attribute-value": 4, + "operator": [ + "<=" + ], + "unit": "" + } + ] + }, + { + "hpa-feature": "ovsDpdk", + "mandatory": false, + "architecture": "generic", + "directives": [], + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "dataProcessingAccelerationLibrary", + "hpa-attribute-value": "ovsDpdk_version", + "operator": [ + "=" + ], + "unit": "" + } + ] + } + ] + } + ] + } + } + }, + { + "OSDF_CASABLANCA.queryPolicy_vCPE": { + "type": "onap.policies.optimization.service.QueryPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.queryPolicy_vCPE", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "vCPE_Query_Policy", + "queryProperties": [ + { + "attribute": "locationId", + "attribute_location": "customerLocation", + "value": "" + }, + { + "attribute": "id", + "attribute_location": "vpnInfo.vpnId", + "value": "" + }, + { + "attribute": "upstreamBW", + "attribute_location": "vpnInfo.upstreamBW", + "value": "" + }, + { + "attribute": "customerLatitude", + "attribute_location": "customerLatitude", + "value": 1.1 + }, + { + "attribute": "customerLongitude", + "attribute_location": "customerLongitude", + "value": 2.2 + } + ] + } + } + }, + { + "OSDF_CASABLANCA.SubscriberPolicy_v1": { + "type": "onap.policies.optimization.service.SubscriberPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v1", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "identity": "subscriber_vCPE", + "subscriberProperties": { + "subscriberName": [ + "subscriber_x", + "subscriber_y" + ], + "subscriberRole": [ + "platinum" + ], + "provStatus": [ + "CAPPED" + ] + } + } + } + }, + { + "OSDF_CASABLANCA.SubscriberPolicy_v2": { + "type": "onap.policies.optimization.service.SubscriberPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v2", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "identity": "subscriber_vCPE", + "subscriberProperties": { + "subscriberName": [ + "subscriber_a", + "subscriber_b" + ], + "subscriberRole": [ + "gold" + ], + "provStatus": [ + "CAPPED" + ] + } + } + } + }, + { + "OSDF_CASABLANCA.vnfPolicy_vG": { + "type": "onap.policies.optimization.resource.VnfPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.vnfPolicy_vG", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "resources": [ + "vG" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "vnf_vG", + "applicableResources": "any", + "vnfProperties": [ + { + "inventoryProvider": "aai", + "serviceType": "", + "inventoryType": "cloudRegionId", + "customerId": "" + } + ] + } + } + } + ] } } = - ${POLICY_PDPX_HOST} + ${API_HOST} ${API_PORT} + + https - policy/api/v1/policytypes/onap.policies.controlloop.Guard/versions/1.0.0/policies + policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies POST true false true false + false + + + + + + https://${API_HOST}:${API_PORT}/policy/api/v1 + healthcheck + zb!XztG34 + + + + + true + false + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + true + + + + false + { + "tosca_definitions_version": "tosca_simple_yaml_1_1_0", + "topology_template": { + "policies": [ + { + "guard.minmax.scaleout": { + "type": "onap.policies.controlloop.guard.common.MinMax", + "type_version": "1.0.0", + "version": "1.0.0", + "metadata": { + "policy-id": "guard.minmax.scaleout" + }, + "properties": { + "actor": "SO", + "operation": "VF Module Create", + "id": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", + "target": "e6130d03-56f1-4b0a-9a1d-e1b2ebc30e0e", + "min": 1, + "max": 2 + } + } + } + ] + } +} + = + + + + ${API_HOST} + ${API_PORT} + https + + policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies + POST + true + false + true + false + false + - https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1 + https://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 @@ -207,8 +843,19 @@ true + false + + + 200 + + + Assertion.response_code + false + 8 + + true @@ -217,42 +864,54 @@ false { - "policy-id" : "guard.frequency.scaleout", - "content" : { + "tosca_definitions_version": "tosca_simple_yaml_1_1_0", + "topology_template": { + "policies": [ + { + "guard.frequency.scaleout": { + "type": "onap.policies.controlloop.guard.common.FrequencyLimiter", + "type_version": "1.0.0", + "version": "1.0.0", + "metadata": { + "policy-id": "guard.frequency.scaleout" + }, + "properties": { "actor": "SO", - "recipe": "scaleOut", - "targets": ".*", - "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", - "limit": "1", - "timeWindow": "10", + "operation": "VF Module Create", + "id": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", + "timeWindow": 10, "timeUnits": "minute", - "guardActiveStart": "00:00:01-05:00", - "guardActiveEnd": "23:59:59-05:00" - } + "limit": 1 + } + } + } + ] + } } = - ${POLICY_PDPX_HOST} + ${API_HOST} ${API_PORT} + + https - policy/api/v1/policytypes/onap.policies.controlloop.Guard/versions/1.0.0/policies + policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies POST true false true false + false - - - https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1 + https://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 @@ -260,8 +919,19 @@ true + false + + + 200 + + + Assertion.response_code + false + 8 + + true @@ -269,13 +939,15 @@ false - {"policies":[{"policy-id":"onap.scaleout.tca"}]} + {"policies":[{"policy-id":"onap.restart.tca"}]} = - ${POLICY_PDPX_HOST} + ${PAP_HOST} ${PAP_PORT} + + https policy/pap/v1/pdps/policies @@ -284,15 +956,66 @@ false true false + false + + + + + + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 + healthcheck + zb!XztG34 + + + + + true + false + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + true + + + + false + {"policies":[{"policy-id":"OSDF_CASABLANCA.Affinity_Default"}]} + = + + + + ${PAP_HOST} + ${PAP_PORT} + https + + policy/pap/v1/pdps/policies + POST + true + false + true + false + false + - https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1 + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 @@ -300,8 +1023,19 @@ true + false + + + 200 + + + Assertion.response_code + false + 8 + + true @@ -314,8 +1048,10 @@ - ${POLICY_PDPX_HOST} + ${PAP_HOST} ${PAP_PORT} + + https policy/pap/v1/pdps/policies @@ -324,15 +1060,14 @@ false true false + false - - - https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1 + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 @@ -340,8 +1075,19 @@ true + false + + + 200 + + + Assertion.response_code + false + 8 + + true @@ -354,8 +1100,10 @@ - ${POLICY_PDPX_HOST} + ${PAP_HOST} ${PAP_PORT} + + https policy/pap/v1/pdps/policies @@ -364,15 +1112,14 @@ false true false + false - - - https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1 + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 @@ -380,8 +1127,19 @@ true + false + + + 200 + + + Assertion.response_code + false + 8 + + false @@ -432,14 +1190,19 @@ true ${DURATION} 1 + 1587406332000 + 1587406332000 + true - ${POLICY_PDPX_HOST} - ${PDP_PORT} + ${XACML_HOST} + ${XACML_PORT} + + https policy/pdpx/v1/healthcheck @@ -448,9 +1211,8 @@ false true false + false - - Basic Health Check @@ -461,7 +1223,7 @@ Assertion.response_code false - 1 + 8 all @@ -487,7 +1249,7 @@ if (prev.getResponseCode() == '200') { - https://${POLICY_PDPX_HOST}:${PDP_PORT}/policy/pdpx/v1 + https://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1 healthcheck zb!XztG34 @@ -495,6 +1257,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -547,14 +1310,19 @@ if (prev.getResponseCode() == '200') { true ${DURATION} 1 + 1587406332000 + 1587406332000 + true - ${POLICY_PDPX_HOST} - ${PDP_PORT} + ${XACML_HOST} + ${XACML_PORT} + + https policy/pdpx/v1/statistics @@ -563,9 +1331,8 @@ if (prev.getResponseCode() == '200') { false true false + false - - Basic Health Check @@ -576,7 +1343,7 @@ if (prev.getResponseCode() == '200') { Assertion.response_code false - 1 + 8 @@ -602,7 +1369,7 @@ if (prev.getResponseCode() == '200') { - https://${POLICY_PDPX_HOST}:${PDP_PORT}/policy/pdpx/v1 + https://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1 healthcheck zb!XztG34 @@ -610,6 +1377,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -661,6 +1429,9 @@ if (prev.getResponseCode() == '200') { true ${DURATION} 1 + 1587406332000 + 1587406332000 + true @@ -675,26 +1446,97 @@ if (prev.getResponseCode() == '200') { "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64", "action": "configure", "resource": { - "policy-id": "onap.scaleout.tca" + "policy-id": "onap.restart.tca", + "policy-type": "onap.policies.monitoring.cdap.tca.hi.lo.app" + } +} + = + + + + ${XACML_HOST} + ${XACML_PORT} + + + https + + policy/pdpx/v1/decision + POST + true + false + true + false + false + + Get Configuration Data for Monitoring Policy + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + type + metadata + + + Assertion.response_data + false + 2 + + + + + properties + + + Assertion.response_data + false + 2 + + + + + true + + + + false + { + "ONAPName": "DCAE", + "ONAPComponent": "PolicyHandler", + "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64", + "action": "configure", + "resource": { + "policy-id": "onap.restart.tca", + "policy-type": "onap.policies.monitoring.cdap.tca.hi.lo.app" } } = - ${POLICY_PDPX_HOST} - ${PDP_PORT} + ${XACML_HOST} + ${XACML_PORT} + + https - policy/pdpx/v1/decision + policy/pdpx/v1/decision?abbrev=true POST true false true false + false - - Get Configuration Data for Monitoring Policy @@ -705,43 +1547,143 @@ if (prev.getResponseCode() == '200') { Assertion.response_code false - 1 + 8 + + + + + type + metadata + + + Assertion.response_data + false + 2 + + + + + properties + + + Assertion.response_data + false + 6 - + true false { - "ONAPName": "DCAE", - "ONAPComponent": "PolicyHandler", - "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64", - "action": "configure", + "ONAPName": "SDNC", + "ONAPComponent": "SNDC-component", + "ONAPInstance": "SDNC-component-instance", + "requestId": "unique-request-sdnc-1", + "action": "naming", "resource": { - "policy-id": "onap.scaleout.tca" + "nfRole": [], + "naming-type": [], + "property-name": [], + "policy-type": ["onap.policies.Naming"] } } = - ${POLICY_PDPX_HOST} - ${PDP_PORT} + ${XACML_HOST} + ${XACML_PORT} + + https - policy/pdpx/v1/decision?abbrev=true + policy/pdpx/v1/decision POST true false true false + false + Get Configuration Data for Naming Policy + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + type + metadata + + + Assertion.response_data + false + 2 + + + + + properties + + + Assertion.response_data + false + 2 + + + + + true + + + + false + { + "ONAPName": "OOF", + "ONAPComponent": "OOF-component", + "ONAPInstance": "OOF-component-instance", + "context" : { + "subscriberName": [] + }, + "action": "optimize", + "resource": { + "scope": [], + "services": [], + "resources": [], + "geography": [] + } +} + = + + + + ${XACML_HOST} + ${XACML_PORT} - Get Configuration Data for Monitoring Policy + https + + policy/pdpx/v1/decision + POST + true + false + true + false + false + + Get Configuration Data for Optimization Policy @@ -751,7 +1693,7 @@ if (prev.getResponseCode() == '200') { Assertion.response_code false - 1 + 8 @@ -760,22 +1702,83 @@ if (prev.getResponseCode() == '200') { metadata - Assertion.response_message + Assertion.response_data false 2 - type_version properties - name - version - Assertion.response_message + Assertion.response_data false - 6 + 2 + + + + + true + + + + false + { + "ONAPName": "Guard", + "ONAPComponent": "Guard-component", + "ONAPInstance": "Guard-component-instance", + "requestId": "unique-request-guard-1", + "action": "guard", + "resource": { + "guard": { + "actor": "APPC", + "operation": "ModifyConfig", + "target": "f17face5-69cb-4c88-9e0b-7426db7edddd", + "requestId": "c7c6a4aa-bb61-4a15-b831-ba1472dd4a65", + "clname": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a" + } + } +} + = + + + + ${XACML_HOST} + ${XACML_PORT} + + + https + + policy/pdpx/v1/decision + POST + true + false + true + false + false + + Get Default Guard Decisions + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + Permit + + + Assertion.response_data + false + 2 @@ -794,9 +1797,10 @@ if (prev.getResponseCode() == '200') { "resource": { "guard": { "actor": "SO", - "recipe": "scaleOut", + "operation": "scaleOut", "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", - "target": "vLoadBalancer-00" + "target": "vLoadBalancer-00", + "vfCount": "1" } } } @@ -807,8 +1811,10 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} - ${PDP_PORT} + ${XACML_HOST} + ${XACML_PORT} + + https policy/pdpx/v1/decision @@ -817,10 +1823,9 @@ if (prev.getResponseCode() == '200') { false true false + false - - - Get Configuration Data for Monitoring Policy + Get Frequency Limiter Guard Decisions @@ -830,7 +1835,17 @@ if (prev.getResponseCode() == '200') { Assertion.response_code false - 1 + 8 + + + + + Permit + + + Assertion.response_data + false + 2 @@ -849,7 +1864,7 @@ if (prev.getResponseCode() == '200') { "resource": { "guard": { "actor": "SO", - "recipe": "scaleOut", + "operation": "scaleOut", "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", "target": "vLoadBalancer-00", "vfCount": "1" @@ -860,8 +1875,10 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} - ${PDP_PORT} + ${XACML_HOST} + ${XACML_PORT} + + https policy/pdpx/v1/decision @@ -870,10 +1887,9 @@ if (prev.getResponseCode() == '200') { false true false + false - - - Get Configuration Data for Monitoring Policy + Get Min/Max Guard Decisions @@ -883,14 +1899,24 @@ if (prev.getResponseCode() == '200') { Assertion.response_code false - 1 + 8 + + + + + Permit + + + Assertion.response_data + false + 2 - https://${POLICY_PDPX_HOST}:${PDP_PORT}/policy/pdpx/v1 + https://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1 healthcheck zb!XztG34 @@ -898,6 +1924,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -949,31 +1976,70 @@ if (prev.getResponseCode() == '200') { false + 1587406332000 + 1587406332000 + true - ${POLICY_PDPX_HOST} + ${PAP_HOST} ${PAP_PORT} + + https - policy/pap/v1/pdps/policies/onap.scaleout.tca + policy/pap/v1/pdps/policies/onap.restart.tca DELETE true false true false + false + + + + + + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 + healthcheck + zb!XztG34 + + + + + true + false + + + + + + + + ${PAP_HOST} + ${PAP_PORT} + https + + policy/pap/v1/pdps/policies/OSDF_CASABLANCA.Affinity_Default + DELETE + true + false + true + false + false + - https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1 + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 @@ -981,6 +2047,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -988,8 +2055,10 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} + ${PAP_HOST} ${PAP_PORT} + + https policy/pap/v1/pdps/policies/guard.minmax.scaleout @@ -998,15 +2067,14 @@ if (prev.getResponseCode() == '200') { false true false + false - - - https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1 + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 @@ -1014,6 +2082,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -1021,8 +2090,10 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} + ${PAP_HOST} ${PAP_PORT} + + https policy/pap/v1/pdps/policies/guard.frequency.scaleout @@ -1031,15 +2102,14 @@ if (prev.getResponseCode() == '200') { false true false + false - - - https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1 + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 @@ -1047,6 +2117,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -1054,25 +2125,61 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} + ${API_HOST} ${API_PORT} + + https - policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies/onap.scaleout.tca/versions/1.0.0 + policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0 DELETE true false true false + false + + + + + + https://${API_HOST}:${API_PORT}/policy/api/v1 + healthcheck + zb!XztG34 + + + + + true + false + + + + + + + + ${API_HOST} + ${API_PORT} + https + + policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies/OSDF_CASABLANCA.Affinity_Default/versions/1.0.0 + DELETE + true + false + true + false + false + - https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1 + https://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 @@ -1080,6 +2187,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -1087,8 +2195,10 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} + ${API_HOST} ${API_PORT} + + https policy/api/v1/policytypes/onap.policies.controlloop.guard.MinMax/versions/1.0.0/policies/guard.minmax.scaleout/versions/1.0.0 @@ -1097,15 +2207,14 @@ if (prev.getResponseCode() == '200') { false true false + false - - - https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1 + https://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 @@ -1113,6 +2222,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -1120,8 +2230,10 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} + ${API_HOST} ${API_PORT} + + https policy/api/v1/policytypes/onap.policies.controlloop.guard.FrequencyLimiter/versions/1.0.0/policies/guard.frequency.scaleout/versions/1.0.0 @@ -1130,15 +2242,14 @@ if (prev.getResponseCode() == '200') { false true false + false - - - https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1 + https://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 @@ -1146,6 +2257,7 @@ if (prev.getResponseCode() == '200') { true + false diff --git a/testsuites/performance/src/main/resources/testplans/results.sh b/testsuites/performance/src/main/resources/testplans/results.sh index 3e74bb4e..2cbb589f 100755 --- a/testsuites/performance/src/main/resources/testplans/results.sh +++ b/testsuites/performance/src/main/resources/testplans/results.sh @@ -26,9 +26,13 @@ if [[ ! -f $LOGFILE ]]; then fi echo "File being processed: " $LOGFILE +MS=$(awk -F "," 'NR==2 { tbeg = $1 } + NR>1 { tend = $1 } + END { print tend-tbeg }' $LOGFILE) RES=$(awk -F "," 'NR>1 { total += $15 } END { print total/NR }' $LOGFILE) -echo "Average Latency: " $RES +echo "Average Latency (ms): " $RES LC=$(awk 'END{print NR}' $LOGFILE) echo "Total Requests:" $LC -echo "Requests/sec:" $((LC/5)) +MPS=$(echo $LC $MS | awk '{ print 1000*$1/$2 }') +echo "Measured requests/sec:" $MPS diff --git a/testsuites/stability/src/main/resources/testplans/stability.jmx b/testsuites/stability/src/main/resources/testplans/stability.jmx index 6f8b5b9e..ed03b1f4 100644 --- a/testsuites/stability/src/main/resources/testplans/stability.jmx +++ b/testsuites/stability/src/main/resources/testplans/stability.jmx @@ -1,5 +1,5 @@ - + Policy XACML PDP Stability Tests @@ -8,11 +8,6 @@ false - - POLICY_PDPX_HOST - ${__P(host,10.12.6.106)} - = - DURATION ${__P(duration, 5)} @@ -20,22 +15,37 @@ USERS - ${__P(users, 1)} + ${__P(users, 10)} = - - PDP_PORT - ${__P(port, 30420)} + + API_HOST + ${__P(api_ip)} = - - PAP_PORT - ${__P(port, 30089)} + + PAP_HOST + ${__P(pap_ip)} + = + + + XACML_HOST + ${__P(xacml_ip)} = API_PORT - ${__P(port, 32187)} + ${__P(api_port, 6969)} + = + + + PAP_PORT + ${__P(pap_port, 6969)} + = + + + XACML_PORT + ${__P(xacml_port, 6969)} = @@ -67,6 +77,9 @@ false + 1587409928000 + 1587409928000 + true @@ -76,61 +89,64 @@ false { - "tosca_definitions_version": "tosca_simple_yaml_1_0_0", - "topology_template": { - "policies": [ - { - "onap.scaleout.tca": { - "type": "onap.policies.monitoring.cdap.tca.hi.lo.app", - "version": "1.0.0", - "metadata": { - "policy-id": "onap.scaleout.tca" - }, - "properties": { - "tca_policy": { - "domain": "measurementsForVfScaling", - "metricsPerEventName": [ - { - "eventName": "vLoadBalancer", - "controlLoopSchemaType": "VNF", - "policyScope": "type=configuration", - "policyName": "onap.scaleout.tca", - "policyVersion": "v0.0.1", - "thresholds": [ - { - "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", - "closedLoopEventStatus": "ONSET", - "version": "1.0.2", - "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated", - "thresholdValue": 500, - "direction": "LESS_OR_EQUAL", - "severity": "MAJOR" + "tosca_definitions_version": "tosca_simple_yaml_1_1_0", + "topology_template": { + "policies": [ + { + "onap.restart.tca": { + "type": "onap.policies.monitoring.cdap.tca.hi.lo.app", + "type_version": "1.0.0", + "version": "1.0.0", + "metadata": { + "policy-id": "onap.restart.tca" }, - { - "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", - "closedLoopEventStatus": "ONSET", - "version": "1.0.2", - "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated", - "thresholdValue": 5000, - "direction": "GREATER_OR_EQUAL", - "severity": "CRITICAL" + "properties": { + "tca_policy" : { + "domain": "measurementsForVfScaling", + "metricsPerEventName": [ + { + "eventName": "Measurement_vGMUX", + "controlLoopSchemaType": "VNF", + "policyScope": "DCAE", + "policyName": "DCAE.Config_tca-hi-lo", + "policyVersion": "v0.0.1", + "thresholds": [ + { + "closedLoopControlName": "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e", + "version": "1.0.2", + "fieldPath": "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value", + "thresholdValue": 0, + "direction": "EQUAL", + "severity": "MAJOR", + "closedLoopEventStatus": "ABATED" + }, + { + "closedLoopControlName": "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e", + "version": "1.0.2", + "fieldPath": "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value", + "thresholdValue": 0, + "direction": "GREATER", + "severity": "CRITICAL", + "closedLoopEventStatus": "ONSET" + } + ] + } + ] + } } - ] } - ] } - } - } - } - ] - } + ] + } } = - ${POLICY_PDPX_HOST} + ${API_HOST} ${API_PORT} + + https policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies @@ -139,15 +155,14 @@ false true false + false - - - https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1 + https://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 @@ -155,51 +170,672 @@ true + false + + + 200 + + + Assertion.response_code + false + 8 + + - + true false { - "policy-id" : "guard.minmax.scaleout", - "content" : { - "actor": "SO", - "recipe": "scaleOut", - "targets": ".*", - "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", - "min": "1", - "max": "5", - "guardActiveStart": "00:00:01-05:00", - "guardActiveEnd": "23:59:59-05:00" + "tosca_definitions_version": "tosca_simple_yaml_1_1_0", + "topology_template": { + "policies": [ + { + "OSDF_CASABLANCA.Affinity_Default": { + "type": "onap.policies.optimization.resource.AffinityPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Affinity_Default", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [], + "resources": [], + "geography": [], + "identity": "affinity_vCPE", + "applicableResources": "any", + "affinityProperties": { + "qualifier": "same", + "category": "complex" + } + } + } + }, + { + "OSDF_CASABLANCA.Affinity_Default_US": { + "type": "onap.policies.optimization.resource.AffinityPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Affinity_Default_US", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [], + "resources": [], + "geography": [ + "US" + ], + "identity": "affinity_vCPE", + "applicableResources": "any", + "affinityProperties": { + "qualifier": "same", + "category": "complex" + } + } + } + }, + { + "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0": { + "type": "onap.policies.optimization.resource.AffinityPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "resources": [], + "geography": [ + "US" + ], + "identity": "affinity_vCPE", + "applicableResources": "any", + "affinityProperties": { + "qualifier": "different", + "category": "complex" + } + } + } + }, + { + "OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1": { + "type": "onap.policies.optimization.resource.AffinityPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1", + "policy-version": 1 + }, + "properties": { + "scope": [ + "gold" + ], + "services": [ + "vCPE" + ], + "resources": [ + "vGMuxInfra", + "vG" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "affinity_vCPE", + "applicableResources": "any", + "affinityProperties": { + "qualifier": "same", + "category": "availabilityZone" + } + } + } + }, + { + "OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1": { + "type": "onap.policies.optimization.resource.AffinityPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1", + "policy-version": 1 + }, + "properties": { + "scope": [ + "platinum" + ], + "services": [ + "vCPE" + ], + "resources": [ + "vGMuxInfra", + "vG" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "affinity_vCPE", + "applicableResources": "any", + "affinityProperties": { + "qualifier": "different", + "category": "availabilityZone" + } + } + } + }, + { + "OSDF_CASABLANCA.Capacity_vG_1": { + "type": "onap.policies.optimization.resource.Vim_fit", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Capacity_vG_1", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "resources": [ + "vG" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "capacity_vG", + "applicableResources": "any", + "capacityProperty": { + "controller": "multicloud", + "request": "{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}" + } + } + } + }, + { + "OSDF_CASABLANCA.Capacity_vG_2": { + "type": "onap.policies.optimization.resource.Vim_fit", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Capacity_vG_2", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "resources": [ + "vG" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "capacity_vG", + "applicableResources": "any", + "capacityProperty": { + "controller": "multicloud", + "request": "{\"vCPU\": 15, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"MB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}" + } + } + } + }, + { + "OSDF_CASABLANCA.Distance_vG_1": { + "type": "onap.policies.optimization.resource.DistancePolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.Distance_vG_1", + "policy-version": 1 + }, + "properties": { + "scope": [ + "platinum" + ], + "services": [ + "vCPE" + ], + "resources": [ + "vG" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "distance-vG", + "applicableResources": "any", + "distanceProperties": { + "locationInfo": "customer_loc", + "distance": { + "value": 1500, + "operator": "<", + "unit": "km" + } + } + } + } + }, + { + "OSDF_CASABLANCA.hpa_policy_Default": { + "type": "onap.policies.optimization.resource.HpaPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.hpa_policy_Default", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [], + "resources": [], + "geography": [], + "identity": "hpa-vG", + "flavorFeatures": [ + { + "id": "vg_1", + "type": "vnfc", + "directives": [ + { + "type": "flavor_directives", + "attributes": [ + { + "attribute_name": "flavor_label_vm_01", + "attribute_value": "" + } + ] + } + ], + "flavorProperties": [ + { + "hpa-feature": "basicCapabilities", + "mandatory": true, + "architecture": "generic", + "directives": [], + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "numVirtualCpu", + "hpa-attribute-value": 8, + "operator": [ + ">=" + ], + "unit": "" + }, + { + "hpa-attribute-key": "virtualMemSize", + "hpa-attribute-value": 6, + "operator": [ + "<=" + ], + "unit": "" + } + ] + }, + { + "hpa-feature": "ovsDpdk", + "mandatory": false, + "architecture": "generic", + "directives": [], + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "dataProcessingAccelerationLibrary", + "hpa-attribute-value": "ovsDpdk_version", + "operator": [ + "=" + ], + "unit": "" + } + ] + } + ] + } + ] + } + } + }, + { + "OSDF_CASABLANCA.hpa_policy_vG_1": { + "type": "onap.policies.optimization.resource.HpaPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.hpa_policy_vG_1", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE", + "vOtherService" + ], + "resources": [ + "vG" + ], + "geography": [], + "identity": "hpa-vG", + "flavorFeatures": [ + { + "id": "vg_1", + "type": "vnfc", + "directives": [ + { + "type": "flavor_directives", + "attributes": [ + { + "attribute_name": "flavor_label_vm_01", + "attribute_value": "" + } + ] + } + ], + "flavorProperties": [ + { + "hpa-feature": "basicCapabilities", + "mandatory": true, + "architecture": "generic", + "directives": [], + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "numVirtualCpu", + "hpa-attribute-value": 6, + "operator": [ + ">=" + ], + "unit": "" + }, + { + "hpa-attribute-key": "virtualMemSize", + "hpa-attribute-value": 4, + "operator": [ + "<=" + ], + "unit": "" + } + ] + }, + { + "hpa-feature": "ovsDpdk", + "mandatory": false, + "architecture": "generic", + "directives": [], + "hpa-feature-attributes": [ + { + "hpa-attribute-key": "dataProcessingAccelerationLibrary", + "hpa-attribute-value": "ovsDpdk_version", + "operator": [ + "=" + ], + "unit": "" + } + ] + } + ] + } + ] + } + } + }, + { + "OSDF_CASABLANCA.queryPolicy_vCPE": { + "type": "onap.policies.optimization.service.QueryPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.queryPolicy_vCPE", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "vCPE_Query_Policy", + "queryProperties": [ + { + "attribute": "locationId", + "attribute_location": "customerLocation", + "value": "" + }, + { + "attribute": "id", + "attribute_location": "vpnInfo.vpnId", + "value": "" + }, + { + "attribute": "upstreamBW", + "attribute_location": "vpnInfo.upstreamBW", + "value": "" + }, + { + "attribute": "customerLatitude", + "attribute_location": "customerLatitude", + "value": 1.1 + }, + { + "attribute": "customerLongitude", + "attribute_location": "customerLongitude", + "value": 2.2 + } + ] + } + } + }, + { + "OSDF_CASABLANCA.SubscriberPolicy_v1": { + "type": "onap.policies.optimization.service.SubscriberPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v1", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "identity": "subscriber_vCPE", + "subscriberProperties": { + "subscriberName": [ + "subscriber_x", + "subscriber_y" + ], + "subscriberRole": [ + "platinum" + ], + "provStatus": [ + "CAPPED" + ] + } + } + } + }, + { + "OSDF_CASABLANCA.SubscriberPolicy_v2": { + "type": "onap.policies.optimization.service.SubscriberPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v2", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "identity": "subscriber_vCPE", + "subscriberProperties": { + "subscriberName": [ + "subscriber_a", + "subscriber_b" + ], + "subscriberRole": [ + "gold" + ], + "provStatus": [ + "CAPPED" + ] + } + } + } + }, + { + "OSDF_CASABLANCA.vnfPolicy_vG": { + "type": "onap.policies.optimization.resource.VnfPolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_CASABLANCA.vnfPolicy_vG", + "policy-version": 1 + }, + "properties": { + "scope": [], + "services": [ + "vCPE" + ], + "resources": [ + "vG" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "vnf_vG", + "applicableResources": "any", + "vnfProperties": [ + { + "inventoryProvider": "aai", + "serviceType": "", + "inventoryType": "cloudRegionId", + "customerId": "" + } + ] + } + } + } + ] } } = - ${POLICY_PDPX_HOST} + ${API_HOST} ${API_PORT} + + https - policy/api/v1/policytypes/onap.policies.controlloop.Guard/versions/1.0.0/policies + policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies POST true false true false + false + + + + + + https://${API_HOST}:${API_PORT}/policy/api/v1 + healthcheck + zb!XztG34 + + + + + true + false + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + true + + + + false + { + "tosca_definitions_version": "tosca_simple_yaml_1_1_0", + "topology_template": { + "policies": [ + { + "guard.minmax.scaleout": { + "type": "onap.policies.controlloop.guard.common.MinMax", + "type_version": "1.0.0", + "version": "1.0.0", + "metadata": { + "policy-id": "guard.minmax.scaleout" + }, + "properties": { + "actor": "SO", + "operation": "VF Module Create", + "id": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", + "target": "e6130d03-56f1-4b0a-9a1d-e1b2ebc30e0e", + "min": 1, + "max": 2 + } + } + } + ] + } +} + = + + + + ${API_HOST} + ${API_PORT} + https + + policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies + POST + true + false + true + false + false + - https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1 + https://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 @@ -207,8 +843,19 @@ true + false + + + 200 + + + Assertion.response_code + false + 8 + + true @@ -217,42 +864,54 @@ false { - "policy-id" : "guard.frequency.scaleout", - "content" : { + "tosca_definitions_version": "tosca_simple_yaml_1_1_0", + "topology_template": { + "policies": [ + { + "guard.frequency.scaleout": { + "type": "onap.policies.controlloop.guard.common.FrequencyLimiter", + "type_version": "1.0.0", + "version": "1.0.0", + "metadata": { + "policy-id": "guard.frequency.scaleout" + }, + "properties": { "actor": "SO", - "recipe": "scaleOut", - "targets": ".*", - "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", - "limit": "1", - "timeWindow": "10", + "operation": "VF Module Create", + "id": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", + "timeWindow": 10, "timeUnits": "minute", - "guardActiveStart": "00:00:01-05:00", - "guardActiveEnd": "23:59:59-05:00" - } + "limit": 1 + } + } + } + ] + } } = - ${POLICY_PDPX_HOST} + ${API_HOST} ${API_PORT} + + https - policy/api/v1/policytypes/onap.policies.controlloop.Guard/versions/1.0.0/policies + policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies POST true false true false + false - - - https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1 + https://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 @@ -260,8 +919,19 @@ true + false + + + 200 + + + Assertion.response_code + false + 8 + + true @@ -269,13 +939,15 @@ false - {"policies":[{"policy-id":"onap.scaleout.tca"}]} + {"policies":[{"policy-id":"onap.restart.tca"}]} = - ${POLICY_PDPX_HOST} + ${PAP_HOST} ${PAP_PORT} + + https policy/pap/v1/pdps/policies @@ -284,15 +956,66 @@ false true false + false + + + + + + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 + healthcheck + zb!XztG34 + + + + + true + false + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + true + + + + false + {"policies":[{"policy-id":"OSDF_CASABLANCA.Affinity_Default"}]} + = + + + + ${PAP_HOST} + ${PAP_PORT} + https + + policy/pap/v1/pdps/policies + POST + true + false + true + false + false + - https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1 + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 @@ -300,8 +1023,19 @@ true + false + + + 200 + + + Assertion.response_code + false + 8 + + true @@ -314,8 +1048,10 @@ - ${POLICY_PDPX_HOST} + ${PAP_HOST} ${PAP_PORT} + + https policy/pap/v1/pdps/policies @@ -324,15 +1060,14 @@ false true false + false - - - https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1 + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 @@ -340,8 +1075,19 @@ true + false + + + 200 + + + Assertion.response_code + false + 8 + + true @@ -354,8 +1100,10 @@ - ${POLICY_PDPX_HOST} + ${PAP_HOST} ${PAP_PORT} + + https policy/pap/v1/pdps/policies @@ -364,15 +1112,14 @@ false true false + false - - - https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1 + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 @@ -380,8 +1127,19 @@ true + false + + + 200 + + + Assertion.response_code + false + 8 + + false @@ -429,17 +1187,22 @@ ${USERS} 10 - false + true ${DURATION} 1 + 1587409928000 + 1587409928000 + true - ${POLICY_PDPX_HOST} - ${PDP_PORT} + ${XACML_HOST} + ${XACML_PORT} + + https policy/pdpx/v1/healthcheck @@ -448,9 +1211,8 @@ false true false + false - - Basic Health Check @@ -461,7 +1223,7 @@ Assertion.response_code false - 1 + 8 all @@ -487,7 +1249,7 @@ if (prev.getResponseCode() == '200') { - https://${POLICY_PDPX_HOST}:${PDP_PORT}/policy/pdpx/v1 + https://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1 healthcheck zb!XztG34 @@ -495,6 +1257,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -544,17 +1307,22 @@ if (prev.getResponseCode() == '200') { ${USERS} 10 - false + true ${DURATION} 1 + 1587409928000 + 1587409928000 + true - ${POLICY_PDPX_HOST} - ${PDP_PORT} + ${XACML_HOST} + ${XACML_PORT} + + https policy/pdpx/v1/statistics @@ -563,9 +1331,8 @@ if (prev.getResponseCode() == '200') { false true false + false - - Basic Health Check @@ -576,7 +1343,7 @@ if (prev.getResponseCode() == '200') { Assertion.response_code false - 1 + 8 @@ -602,7 +1369,7 @@ if (prev.getResponseCode() == '200') { - https://${POLICY_PDPX_HOST}:${PDP_PORT}/policy/pdpx/v1 + https://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1 healthcheck zb!XztG34 @@ -610,6 +1377,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -658,9 +1426,12 @@ if (prev.getResponseCode() == '200') { ${USERS} 10 - false + true ${DURATION} 1 + 1587409929000 + 1587409929000 + true @@ -675,26 +1446,97 @@ if (prev.getResponseCode() == '200') { "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64", "action": "configure", "resource": { - "policy-id": "onap.scaleout.tca" + "policy-id": "onap.restart.tca", + "policy-type": "onap.policies.monitoring.cdap.tca.hi.lo.app" + } +} + = + + + + ${XACML_HOST} + ${XACML_PORT} + + + https + + policy/pdpx/v1/decision + POST + true + false + true + false + false + + Get Configuration Data for Monitoring Policy + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + type + metadata + + + Assertion.response_data + false + 2 + + + + + properties + + + Assertion.response_data + false + 2 + + + + + true + + + + false + { + "ONAPName": "DCAE", + "ONAPComponent": "PolicyHandler", + "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64", + "action": "configure", + "resource": { + "policy-id": "onap.restart.tca", + "policy-type": "onap.policies.monitoring.cdap.tca.hi.lo.app" } } = - ${POLICY_PDPX_HOST} - ${PDP_PORT} + ${XACML_HOST} + ${XACML_PORT} + + https - policy/pdpx/v1/decision + policy/pdpx/v1/decision?abbrev=true POST true false true false + false - - Get Configuration Data for Monitoring Policy @@ -705,43 +1547,143 @@ if (prev.getResponseCode() == '200') { Assertion.response_code false - 1 + 8 + + + + + type + metadata + + + Assertion.response_data + false + 2 + + + + + properties + + + Assertion.response_data + false + 6 - + true false { - "ONAPName": "DCAE", - "ONAPComponent": "PolicyHandler", - "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64", - "action": "configure", + "ONAPName": "SDNC", + "ONAPComponent": "SNDC-component", + "ONAPInstance": "SDNC-component-instance", + "requestId": "unique-request-sdnc-1", + "action": "naming", "resource": { - "policy-id": "onap.scaleout.tca" + "nfRole": [], + "naming-type": [], + "property-name": [], + "policy-type": ["onap.policies.Naming"] } } = - ${POLICY_PDPX_HOST} - ${PDP_PORT} + ${XACML_HOST} + ${XACML_PORT} + + https - policy/pdpx/v1/decision?abbrev=true + policy/pdpx/v1/decision POST true false true false + false + Get Configuration Data for Naming Policy + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + type + metadata + + + Assertion.response_data + false + 2 + + + + + properties + + + Assertion.response_data + false + 2 + + + + + true + + + + false + { + "ONAPName": "OOF", + "ONAPComponent": "OOF-component", + "ONAPInstance": "OOF-component-instance", + "context" : { + "subscriberName": [] + }, + "action": "optimize", + "resource": { + "scope": [], + "services": [], + "resources": [], + "geography": [] + } +} + = + + + + ${XACML_HOST} + ${XACML_PORT} - Get Configuration Data for Monitoring Policy + https + + policy/pdpx/v1/decision + POST + true + false + true + false + false + + Get Configuration Data for Optimization Policy @@ -751,7 +1693,7 @@ if (prev.getResponseCode() == '200') { Assertion.response_code false - 1 + 8 @@ -760,22 +1702,83 @@ if (prev.getResponseCode() == '200') { metadata - Assertion.response_message + Assertion.response_data false 2 - type_version properties - name - version - Assertion.response_message + Assertion.response_data false - 6 + 2 + + + + + true + + + + false + { + "ONAPName": "Guard", + "ONAPComponent": "Guard-component", + "ONAPInstance": "Guard-component-instance", + "requestId": "unique-request-guard-1", + "action": "guard", + "resource": { + "guard": { + "actor": "APPC", + "operation": "ModifyConfig", + "target": "f17face5-69cb-4c88-9e0b-7426db7edddd", + "requestId": "c7c6a4aa-bb61-4a15-b831-ba1472dd4a65", + "clname": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a" + } + } +} + = + + + + ${XACML_HOST} + ${XACML_PORT} + + + https + + policy/pdpx/v1/decision + POST + true + false + true + false + false + + Get Default Guard Decisions + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + Permit + + + Assertion.response_data + false + 2 @@ -794,9 +1797,10 @@ if (prev.getResponseCode() == '200') { "resource": { "guard": { "actor": "SO", - "recipe": "scaleOut", + "operation": "scaleOut", "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", - "target": "vLoadBalancer-00" + "target": "vLoadBalancer-00", + "vfCount": "1" } } } @@ -807,8 +1811,10 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} - ${PDP_PORT} + ${XACML_HOST} + ${XACML_PORT} + + https policy/pdpx/v1/decision @@ -817,10 +1823,9 @@ if (prev.getResponseCode() == '200') { false true false + false - - - Get Configuration Data for Monitoring Policy + Get Frequency Limiter Guard Decisions @@ -830,7 +1835,17 @@ if (prev.getResponseCode() == '200') { Assertion.response_code false - 1 + 8 + + + + + Permit + + + Assertion.response_data + false + 2 @@ -849,7 +1864,7 @@ if (prev.getResponseCode() == '200') { "resource": { "guard": { "actor": "SO", - "recipe": "scaleOut", + "operation": "scaleOut", "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", "target": "vLoadBalancer-00", "vfCount": "1" @@ -860,8 +1875,10 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} - ${PDP_PORT} + ${XACML_HOST} + ${XACML_PORT} + + https policy/pdpx/v1/decision @@ -870,10 +1887,9 @@ if (prev.getResponseCode() == '200') { false true false + false - - - Get Configuration Data for Monitoring Policy + Get Min/Max Guard Decisions @@ -883,14 +1899,24 @@ if (prev.getResponseCode() == '200') { Assertion.response_code false - 1 + 8 + + + + + Permit + + + Assertion.response_data + false + 2 - https://${POLICY_PDPX_HOST}:${PDP_PORT}/policy/pdpx/v1 + https://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1 healthcheck zb!XztG34 @@ -898,6 +1924,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -949,31 +1976,70 @@ if (prev.getResponseCode() == '200') { false + 1587409929000 + 1587409929000 + true - ${POLICY_PDPX_HOST} + ${PAP_HOST} ${PAP_PORT} + + https - policy/pap/v1/pdps/policies/onap.scaleout.tca + policy/pap/v1/pdps/policies/onap.restart.tca DELETE true false true false + false + + + + + + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 + healthcheck + zb!XztG34 + + + + + true + false + + + + + + + + ${PAP_HOST} + ${PAP_PORT} + https + + policy/pap/v1/pdps/policies/OSDF_CASABLANCA.Affinity_Default + DELETE + true + false + true + false + false + - https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1 + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 @@ -981,6 +2047,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -988,8 +2055,10 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} + ${PAP_HOST} ${PAP_PORT} + + https policy/pap/v1/pdps/policies/guard.minmax.scaleout @@ -998,15 +2067,14 @@ if (prev.getResponseCode() == '200') { false true false + false - - - https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1 + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 @@ -1014,6 +2082,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -1021,8 +2090,10 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} + ${PAP_HOST} ${PAP_PORT} + + https policy/pap/v1/pdps/policies/guard.frequency.scaleout @@ -1031,15 +2102,14 @@ if (prev.getResponseCode() == '200') { false true false + false - - - https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1 + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 @@ -1047,6 +2117,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -1054,25 +2125,61 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} + ${API_HOST} ${API_PORT} + + https - policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies/onap.scaleout.tca/versions/1.0.0 + policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0 DELETE true false true false + false + + + + + + https://${API_HOST}:${API_PORT}/policy/api/v1 + healthcheck + zb!XztG34 + + + + + true + false + + + + + + + + ${API_HOST} + ${API_PORT} + https + + policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies/OSDF_CASABLANCA.Affinity_Default/versions/1.0.0 + DELETE + true + false + true + false + false + - https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1 + https://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 @@ -1080,6 +2187,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -1087,8 +2195,10 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} + ${API_HOST} ${API_PORT} + + https policy/api/v1/policytypes/onap.policies.controlloop.guard.MinMax/versions/1.0.0/policies/guard.minmax.scaleout/versions/1.0.0 @@ -1097,15 +2207,14 @@ if (prev.getResponseCode() == '200') { false true false + false - - - https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1 + https://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 @@ -1113,6 +2222,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -1120,8 +2230,10 @@ if (prev.getResponseCode() == '200') { - ${POLICY_PDPX_HOST} + ${API_HOST} ${API_PORT} + + https policy/api/v1/policytypes/onap.policies.controlloop.guard.FrequencyLimiter/versions/1.0.0/policies/guard.frequency.scaleout/versions/1.0.0 @@ -1130,15 +2242,14 @@ if (prev.getResponseCode() == '200') { false true false + false - - - https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1 + https://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 @@ -1146,6 +2257,7 @@ if (prev.getResponseCode() == '200') { true + false @@ -1259,7 +2371,7 @@ if (prev.getResponseCode() == '200') { true - /tmp/pdpx_stabilty_resultsTree.log + /tmp/pdpx_stability_resultsTree.log -- cgit 1.2.3-korg