From fc3ead31e631f69fabf0baaa20c10bf955ce374b Mon Sep 17 00:00:00 2001 From: Lukasz Rajewski Date: Mon, 8 Apr 2019 15:05:22 +0200 Subject: Traffic Distributtion support added * New local polcies for vFW TD use case * Fixed encoding for conductor_request template and parameters section modified to accept all requestParameters * Conductor request can have many attributes in the 'attributes' section - all that are defined in the vnf policy file * Conductor request can have many request parameters in the 'requestParameters' section. The parameters come from QueryPolicies. Before list of suppoted parameters was hardcoded * Optional 'unique' parameter added to the placementDemand section. It is already supported by conductor for all inventory types * Improved debug logs for local policies * Unit tests added for expanded request format Change-Id: I41f219c366a3a77881c7096e64a6272edbada23b Issue-ID: OPTFRA-443 Signed-off-by: Lukasz Rajewski --- config/common_config.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'config/common_config.yaml') diff --git a/config/common_config.yaml b/config/common_config.yaml index c513d5e..c786d74 100644 --- a/config/common_config.yaml +++ b/config/common_config.yaml @@ -32,6 +32,12 @@ 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_files_vfw_td: + - vnfPolicy_vFW_TD.json + - vnfPolicy_vPGN_TD.json + - affinity_vFW_TD.json + - QueryPolicy_vFW_TD.json service_info: vCPE: vcpeHostName: requestParameters.vcpeHostName @@ -63,7 +69,7 @@ policy_info: policy_scope: default_scope: OSDF_CASABLANCA vcpe_scope: OSDF_CASABLANCA - vfw_scope: OSDF_CASABLANCA + vfw_scope: OSDF_DUBLIN secondary_scopes: - - get_param: service_name -- cgit 1.2.3-korg