OSDF migration to new Policy API 05/104005/3
authorChayal, Avteet (ac229e) <ac229e@att.com>
Thu, 19 Mar 2020 07:13:27 +0000 (03:13 -0400)
committerChayal, Avteet (ac229e) <ac229e@att.com>
Thu, 19 Mar 2020 23:38:06 +0000 (19:38 -0400)
commitfdeaf8b56c8d342ef8145aae15c87525fe105f2a
treed954fda2eec3faa1ebd47d3222c27ad39ae5005f
parentd39860b859417c1a7773f39ad8db311848ec0676
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>
apps/placement/optimizers/conductor/api_builder.py
apps/placement/optimizers/conductor/translation.py
config/common_config.yaml
config/has_config.yaml
test/placement-tests/request_placement_vfmod.json
test/policy-local-files/Attribute_vNS_1.json [new file with mode: 0644]
test/policy-local-files/new_policies/Attribute_vNS_1.json [new file with mode: 0644]
test/policy-local-files/new_policies/meta-valid-policies.txt