Age | Commit message (Collapse) | Author | Files | Lines |
|
List of candidate identifers in required and excluded
candidates list now is supported only as a list
Issue-ID: OPTFRA-486
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I2fdc11bc23239eeb1500c95925f8779da89dfcaf
|
|
Change-Id: I01f4e81563c02ccf6668fd4e39118bc1cf3f9aa8
Signed-off-by: vrvarma <vv8305@att.com>
Issue-ID: OPTFRA-508
|
|
Change-Id: I41ce7210f108195a83a35db46094e27a88f239fb
Signed-off-by: vrvarma <vv8305@att.com>
Issue-ID: OPTFRA-508
|
|
The fix changes how required and excluded candiates list
is generated for HAS request by OSDF. After the change it
is now alligned with request format of HAS.
Change-Id: I6c4a88c3672971e53b996d416caeda63771e08c1
Issue-ID: OPTFRA-483
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
|
|
|
|
* 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 <lukasz.rajewski@orange.com>
|
|
Include pci-anr minizinc model
Refactor the code to handle pci & pci-anr optimizations
Fix pytest unit test cases
Change-Id: I59eba39850a90e5aaf45f0e2de1881ebb5a9d5d8
Signed-off-by: vrvarma <vv8305@att.com>
Issue-ID: OPTFRA-416
Signed-off-by: vrvarma <vv8305@att.com>
|
|
PCI-OPT model changes for ANR optimization
PCI-OPT swagger document changes for pci/anr optimization
Change-Id: I2eb9447db7b3b73bc6cfd9b3e0aba7fed0aaabd6
Signed-off-by: vrvarma <vv8305@att.com>
Issue-ID: OPTFRA-416
|
|
Populate requiredCandidates and excludedCandidates for HAS
Issue-ID: OPTFRA-438
Change-Id: I23702a572ce3645aa52d27e7a8d58f775349cbb8
Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
|
|
Change the pci-optimization responses to only have the updates
Return Error message in case of failures or no solutions
Change-Id: Ia2efc7dc1e5cbcdc2c9425a3f58b840130d759ed
Signed-off-by: vrvarma <vv8305@att.com>
Issue-ID: OPTFRA-404
|
|
Fix to populate serviceResourceId in solution to SO
Updated code to pass service_resource_id in HAS payload
Issue-ID: OPTFRA-249
Change-Id: I00415d84c096faccfad86989812ee485bf8f97c1
Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
|
|
OSDF changes required for the latest configdb api specs.
Improve performance building the minizinc request
Change-Id: I5558c96c13f3cac25d50aed61ded3ffa079df3f7
Signed-off-by: vrvarma <vv8305@att.com>
Issue-ID: OPTFRA-388
|
|
Fixed tosca models, updated policies and code
for conductor payload changes for vFW and vCPE
Change-Id: Ia98c632fc2fd564efa3b96e8a7888bc97d1c5448
Issue-ID: OPTFRA-384
Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
|
|
Fix string to refer external AAI network to "ext-aai-network".
Change-Id: I2c3325131c0470f33c426012e99d2150d626ee67
Issue-ID: OPTFRA-334
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
|
|
|
|
Fix get route operatiaon for CCVPN use case.
Change-Id: I57784a611744d3112e48f41ff742b01d557a4644
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Issue-ID: OPTFRA-334
|
|
Fixing the pci optimization response.
Disable policy retrieval until the policies are loaded.
Fix merge issues with optfapp.py
Change-Id: I2acb82aac1cd6d154abf37f58755016bc377e475
Signed-off-by: Varma, Vikas <vv8305@att.com>
Issue-ID: OPTFRA-342
|
|
Update the sample conductor response and add name_map
to resolve directives. Also updated functest payload
and localpolicies with the new policy model.
Change-Id: I5255c40fb714558261efffabbdf44da535171cbf
Issue-ID: OPTFRA-322
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
|
|
Added policy for hpa_score optimization function for vCPE with weights.
Change-Id: Ic6f3081510cbe94c519bcb7b2a7a99137bc29e12
Issue-ID: OPTFRA-313
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Generalize the logic that fetches the "parameter" and
"resource" fields while processing optimization policy
Issue-ID: OPTFRA-354
Change-Id: Ic84f837b63d430a9adabf4a17d0b396ff1e8ac54
Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
|
|
Implemented ONAP Common Versioning Strategy
Issue-ID: OPTFRA-285
Change-Id: I31df699afddbeb8962b2ca0fa501eff45f70ed5d
Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
|
|
Change-Id: I6fe8ad471f8ad68a964664b910f02bd8a9766639
Signed-off-by: Varma, Vikas <vv8305@att.com>
Issue-ID: OPTFRA-342
|
|
Change-Id: Ia52cf0675449fdabdaba33928daa0cbcd99df781
Issue-ID: OPTFRA-334
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
|
|
Change-Id: I85a78cc14dd3b5528c2aac03efc81f1c60647d2f
Issue-ID: OPTFRA-316
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
|
|
Issue-ID: OPTFRA-333
Change-Id: Ic77f71d3abdab8244bdae85a11856aea24543a54
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
|
|
Issue-ID: OPTFRA-310
Change-Id: I74a50f1e19d2f6f3e10b31c4c2b89d6dc32f5421
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
|
|
Issue-ID: OPTFRA-310
Change-Id: I0dcec69974e6d8c6f865dad31e91746451a4f528
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
|
|
Fixed the HAS response attribute names
Issue-ID: OPTFRA-247
Change-Id: Id6afeafcb9fb094710ef7b624f2111e3608973dc
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
|
|
Fixed the distance_to_location policy type
Issue-ID: OPTFRA-247
Change-Id: I5b63407fcf7c46dffc841b080b721e5c8203a3da
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
|
|
Fix to remove resources with no policies from the HAS template
Issue-ID: OPTFRA-247
Change-Id: I8762a5ac13038406d74ee2806a52f78b6df697a2
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
|
|
Fixed the case sensitive matching for resources between policy and request.
Issue-ID: OPTFRA-247
Change-Id: Ic031f6c950b6c6b44bd2e4231a9ef672beea994b
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
|
|
Eliminating empty elements from HAS template
Issue-ID: OPTFRA-243
Change-Id: Iec6acf95f6f0a98757e3d208f102998d197b2daa
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Updating the VNF policy translation
Issue-ID: OPTFRA-239
Change-Id: Iadce865b35ec94613502063d718a317aba798bc4
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Fix the bug in translating the VNF policy
Issue-ID: OPTFRA-239
Change-Id: I0c9f678f22fec4eb3f5e190ea0080c899fb95445
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Identifier should be "serviceInstanceId" or "cloudRegionId"
Issue-ID: OPTFRA-217
Change-Id: I1ddab070922f43ac65f54a3fcc6f36986d04de3a
Signed-off-by: Chayal, Avteet (ac229e) ac229e@att.com <ac229e@att.com>
|
|
Fixed the condition to make placement call & sync response to client
Issue-ID: OPTFRA-215 and OPTFRA-216
Change-Id: I0f996160e8cd339c663611ba53bd590271ea3b3a
Signed-off-by: Chayal, Avteet (ac229e) ac229e@att.com <ac229e@att.com>
|
|
Fixed async response for placementDemand only scenario.
Issue-ID: OPTFRA-214
Change-Id: Ia9bdced85a874fd19e74b53e52702d45b3c67052
Signed-off-by: Chayal, Avteet (ac229e) ac229e@att.com <ac229e@att.com>
|
|
Added optimization query processing module.
Issue-ID: OPTFRA-177
Change-Id: I4dd395b77bfe4bc392b90bc7087338f050fa622d
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
osdf/adapters/policy/utils.py:
Removed duplicated code (group_policies and group_policies_gen are very similar,
and group_policies seems to be not used
osdf/optimizers/placementopt/conductor/api_builder.py:
changed param name from "grouped_policies" to "flat_policies"
tox.ini
added starup and shutdown of simulators (flask app with mock payloads) in tox tests
rest all files/changes in "test/" folder
quite a few payload files
Patch set 2: removed a "print()" statement from simulator code
Issue-ID: OPTFRA-22
Change-Id: I0006c577fc459c7c884b55e8316c689afd151780
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Updated the sync and async responses and addes testcases related to policy adaptors.
Issue-ID: OPTFRA-208
Change-Id: Ia0f88df1b897b6158674f3c3a7ef239f2328dcfc
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
SO response build module is updated based on the HAS API.
Issue-ID: OPTFRA-208
Change-Id: I57ed198967d2dc9a58f1221eb57fda56fcb5fd2d
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Updated the conductor adaptor code.
Issue-ID: OPTFRA-207
Change-Id: I41bd6f2e39bc5ca6d2d27539772175363590416f
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Issue-ID: OPTFRA-100
Change-Id: Iaff7b50dc5394546cc46591bef9b054cd6cde792
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Refactored two brain-overload functions
Moved a policy util function from conductor/api_builder.py to policy/utils.py
Issue-ID: OPTFRA-195
Change-Id: I879e7f4f5d92cc530c66d3ed071bf5246397ba13
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Issue-ID: OPTFRA-146
Change-Id: I2261ae69f52b184cd7dcb7b86d5905538666a411
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Issue-ID: OPTFRA-96
Change-Id: Ica36e3cd90a87f97b6749500c00d7097c37abe39
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
We are not using OracleDB, PostgresDB, and VerticaDB, so there is no
need to keep the "dead code" -- we can always add it back as needed.
Added test cases so that all the files are at least minimally covered.
Overall coverage on my local tox shows 66% coverage (I manually ensured
all files are included in the coverage report).
Issue-ID: OPTFRA-95
Change-Id: If1cab112236b4f32a96315308ce815088fa092d1
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Reorganized the folder structure. Onboarded testcases. Added test config.
Issue-ID: OPTFRA-74
Change-Id: I97882a162a405a18ffd287495039e15ae9d0ad7b
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|