aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorChayal, Avteet (ac229e) <ac229e@att.com>2020-03-19 03:13:27 -0400
committerChayal, Avteet (ac229e) <ac229e@att.com>2020-03-19 19:38:06 -0400
commitfdeaf8b56c8d342ef8145aae15c87525fe105f2a (patch)
treed954fda2eec3faa1ebd47d3222c27ad39ae5005f /config
parentd39860b859417c1a7773f39ad8db311848ec0676 (diff)
OSDF migration to new Policy API
Map policy type with constraints type for HAS payload Added new attribute policies for Network Sliciing reference Fixed the logic to proccess Attribute policy translation Issue-ID: OPTFRA-721 Change-Id: I6b01815963b48b3df97c1a3109cc39b2a8bc2c3c Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_config.yaml7
-rw-r--r--config/has_config.yaml4
2 files changed, 8 insertions, 3 deletions
diff --git a/config/common_config.yaml b/config/common_config.yaml
index f29e8c0..cf75e2a 100644
--- a/config/common_config.yaml
+++ b/config/common_config.yaml
@@ -11,9 +11,10 @@ osdf_temp: # special configuration required for "workarounds" or testing
local_policies:
global_disabled: True
local_placement_policies_enabled: True
- placement_policy_dir_vcpe: "./test/policy-local-files/"
+ placement_policy_dir_vcpe: "./test/policy-local-files/new_policies/"
placement_policy_files_vcpe: # workaroud for policy platform glitches (or "work-arounds" for other components)
- Affinity_vCPE_1.json
+ - Attribute_vNS_1.json
#- Capacity_vGMuxInfra.json
#- Capacity_vG_1.json
- Distance_vG_1.json
@@ -24,7 +25,7 @@ osdf_temp: # special configuration required for "workarounds" or testing
- QueryPolicy_vCPE.json
- vnfPolicy_vG.json
- vnfPolicy_vGMuxInfra.json
- placement_policy_dir_vfw: "./test/policy-local-files/"
+ placement_policy_dir_vfw: "./test/policy-local-files/new_policies/"
placement_policy_files_vfw: # workaroud for policy platform glitches (or "work-arounds" for other components)
#- Capacity_vFW_1.json
- Distance_vFW_1.json
@@ -32,7 +33,7 @@ osdf_temp: # special configuration required for "workarounds" or testing
- Placement_Optimization_1.json
- QueryPolicy_vFW.json
- vnfPolicy_vFW.json
- placement_policy_dir_vfw_td: "./test/policy-local-files/"
+ placement_policy_dir_vfw_td: "./test/policy-local-files/new_policies/"
placement_policy_files_vfw_td:
- vnfPolicy_vFW_TD.json
- vnfPolicy_vPGN_TD.json
diff --git a/config/has_config.yaml b/config/has_config.yaml
index 2371508..0b94391 100644
--- a/config/has_config.yaml
+++ b/config/has_config.yaml
@@ -19,6 +19,10 @@ policy_config_mapping:
cloudRegionId: cloud-region-id
orchestrationStatus: orchestration-status
provStatus: prov-status
+ cloudRegion: cloud-region
+ cloud_region_attributes:
+ serviceRequests: service-requests
+ cloudRequests: cloud-requests
passthrough_attributes: {}
candidates:
# for (k1, v1), if k1 is in demand, set prop[k2] = _get_candidates(demand[k1])