aboutsummaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/Placement_Optimization_1.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/policy-local-files/Placement_Optimization_1.json')
-rw-r--r--test/policy-local-files/Placement_Optimization_1.json44
1 files changed, 28 insertions, 16 deletions
diff --git a/test/policy-local-files/Placement_Optimization_1.json b/test/policy-local-files/Placement_Optimization_1.json
index 9b062b0..b3efa64 100644
--- a/test/policy-local-files/Placement_Optimization_1.json
+++ b/test/policy-local-files/Placement_Optimization_1.json
@@ -1,15 +1,30 @@
{
- "service": "optimizationPolicy",
- "policyName": "OSDF_DUBLIN.Placement_Optimization_1",
- "description": "Placement Optimization Policy for vGMuxInfra",
- "templateVersion": "OpenSource.version.1",
- "version": "test1",
- "priority": "5",
- "riskType": "test",
- "riskLevel": "3",
- "guard": "False",
- "content": {
- "objectiveParameter": {
+ "OSDF_FRANKFURT.Placement_optimization_1": {
+ "type": "onap.policies.optimization.OptimizationPolicy",
+ "version": "1.0.0",
+ "type_version": "1.0.0",
+ "metadata": {
+ "policy-id": "OSDF_FRANKFURT.Placement_optimization_1",
+ "policy-version": 1
+ },
+ "properties": {
+ "scope": [
+ "OSDF_FRANKFURT"
+ ],
+ "services": [
+ "vCPE"
+ ],
+ "resources": [
+ "vG",
+ "vGMuxInfra"
+ ],
+ "geography": [
+ "US",
+ "INTERNATIONAL"
+ ],
+ "identity": "optimization",
+ "objective": "minimize",
+ "objectiveParameter": {
"parameterAttributes": [
{
"resources": ["vGMuxInfra"],
@@ -46,10 +61,7 @@
}
],
"operator": "sum"
- },
- "identity": "optimization",
- "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra", "vG"],
- "policyType": "placement_optimization",
- "objective": "minimize"
+ }
}
+ }
}