diff options
author | dhebeha <dhebeha.mj71@wipro.com> | 2020-04-10 06:38:11 -0700 |
---|---|---|
committer | dhebeha <dhebeha.mj71@wipro.com> | 2020-04-17 00:07:46 -0700 |
commit | 2754404822b496392717d260681946debecf8648 (patch) | |
tree | 92b5930025f4655e67e26b37b728526fac6e9edc /test/test_PolicyCalls.py | |
parent | 16dec1253f5380df53ccfef97d618fbe03e7be64 (diff) |
add aggregation policy for NSI selection
made changes for other policy updates
Issue-ID: OPTFRA-730
Signed-off-by: dhebeha <dhebeha.mj71@wipro.com>
Change-Id: I3fb4ae184cdae9181037fb059ac144070228c29f
Diffstat (limited to 'test/test_PolicyCalls.py')
-rw-r--r-- | test/test_PolicyCalls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_PolicyCalls.py b/test/test_PolicyCalls.py index c41c487..d4dc37f 100644 --- a/test/test_PolicyCalls.py +++ b/test/test_PolicyCalls.py @@ -101,7 +101,7 @@ class TestPolicyCalls(unittest.TestCase): req_json = json.loads(open(req_json).read()) # need to run this only on vnf policies vnf_policies = [x for x in self.policies if x[list(x.keys())[0]]["type"] == - "onap.policies.optimization.VnfPolicy"] + "onap.policies.optimization.resource.VnfPolicy"] gen_demands = translation.gen_demands(req_json['placementInfo']['placementDemands'], vnf_policies) for action in req_json['placementInfo']['placementDemands']: |