From 8ea30a38468373dfd9715d720c085c8a6ac4ee29 Mon Sep 17 00:00:00 2001 From: Ankitkumar Patel Date: Sat, 19 May 2018 12:47:27 -0400 Subject: Fix the bug in translating a policy Fix the bug in translating the VNF policy Issue-ID: OPTFRA-239 Change-Id: I0c9f678f22fec4eb3f5e190ea0080c899fb95445 Signed-off-by: Ankitkumar Patel --- config/common_config.yaml | 5 ++--- config/has_config.yaml | 4 +++- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/common_config.yaml b/config/common_config.yaml index 36cbde0..c91433f 100644 --- a/config/common_config.yaml +++ b/config/common_config.yaml @@ -9,9 +9,9 @@ osdf_system: osdf_temp: # special configuration required for "workarounds" or testing local_policies: - global_disabled: True + global_disabled: False local_placement_policies_enabled: True - placement_policy_dir_vcpe: "../test/policy-local-files/" + placement_policy_dir_vcpe: "./test/policy-local-files/" placement_policy_files_vcpe: # workaroud for policy platform glitches (or "work-arounds" for other components) - Affinity_vCPE_1.json - Capacity_vGMuxInfra.json @@ -20,7 +20,6 @@ osdf_temp: # special configuration required for "workarounds" or testing - Distance_vG_1.json - Placement_Optimization_1.json - QueryPolicy_vCPE.json - - QueryPolicy_vCPE_2.json - hpa_policy_vGMuxInfra_1.json - hpa_policy_vG_1.json - vnfPolicy_vG.json diff --git a/config/has_config.yaml b/config/has_config.yaml index 8cbeda2..9200daf 100644 --- a/config/has_config.yaml +++ b/config/has_config.yaml @@ -11,7 +11,9 @@ policy_config_mapping: geo_region: geoRegion, exclusivity_groups: exclusivityGroups, replication_role: replicationRole, - remapping: + customer-id: customerId, + service-type: serviceResourceId, + equipment-role: equipmentRole, model-invariant-id: modelInvariantId, model-version-id: modelVersionId candidates: -- cgit 1.2.3-korg