Age | Commit message (Collapse) | Author | Files | Lines |
|
Load secrets from SMS in OSDF.
Removed secrets from osdf_config.yaml.
Unit tests to use the test/config/osdf_config.yaml.
Helm charts uses a Job to load secrets.
CSIT needs to load it using the preload tool provided by SMS.
Change-Id: I0f832033476c02958f6392abba74e4d5a36cc902
Issue-ID: OPTFRA-343
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Enabled ONAP Common Versioning Strategy (CVS) for OSDF API
Change-Id: I14ea90385b11c307b9e4f2fb7d245aff6e6d0978
Issue-ID: OPTFRA-376
Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
|
|
Temp unit test changes to fix build failure
Issue-ID: OPTFRA-376
Change-Id: I4b8ce1a3ed81c102eddea3f0d9c731ca124b792f
Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
|
|
Integrate with OSDF by retrieving stored secrets using SMS
Application code remains in tact as the secrets are preloaded
and stored in config. The configs in clear text will be deprecated
eventually. OOM needs to load aaf-sms and preload secrets
before oof deployment.
Updated to use domain name instead of domain uuid.
Change-Id: I88a3c3dd2ad87753cc056fb63c8bbabd546707ab
Issue-ID: OPTFRA-343
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Dockerfile modifications
Adding intellectual property headers
Fixing simulators for policy, add policy name, etc.
Fix the hpa policy files based on the comments
Change-Id: I337e3200cc92fc1f205bb6e6151620968fc59c7e
Signed-off-by: vrvarma <vv8305@att.com>
Issue-ID: OPTFRA-286
|
|
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>
|
|
|
|
Implemented ONAP Common Versioning Strategy
Issue-ID: OPTFRA-285
Change-Id: I31df699afddbeb8962b2ca0fa501eff45f70ed5d
Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
|
|
Change-Id: Ic35f014a2bc9cf979dc533d496356c962e972bf4
Signed-off-by: Varma, Vikas <vv8305@att.com>
Issue-ID: OPTFRA-339
Signed-off-by: Varma, Vikas <vv8305@att.com>
|
|
Change-Id: I6fe8ad471f8ad68a964664b910f02bd8a9766639
Signed-off-by: Varma, Vikas <vv8305@att.com>
Issue-ID: OPTFRA-342
|
|
|
|
Change-Id: I611f3fc8dcfe9570d3202bb1473f163168d22d7c
Signed-off-by: Varma, Vikas <vv8305@att.com>
Issue-ID: OPTFRA-339
|
|
Added supporting library required for enabling SMS integration.
Added Unit tests and manual tests for store/retrieve/delete secrets.
Added AAF cacert, preload_secrets config for testing.
Integration with application NOT Done in this patch.
Change-Id: Ic2be41f825b327064127fbf83f9e1057a68f19c2
Issue-ID: OPTFRA-343
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Change-Id: I752e465f8f8a83cf5e18d300ff7aeb2e1b8de3c5
Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
Issue-ID: OPTFRA-321
Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
|
|
Issue-ID: OPTFRA-321
Change-Id: I74c80c6b406cf25ba1802314a2872fe47b11b60e
Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
|
|
The functional tests are failing, because the simulators are not up and running when the test cases are running.
Change-Id: I2a487cc05ae8e1b366640afbdcb40bce8fa5d89a
Issue-ID: OPTFRA-321
Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
|
|
OSDF code cleaning
Issue-ID: OPTFRA-304
Change-Id: Idc538318d28710f68efc5f169e3644840e7ea86f
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>
|
|
updating the config file
Issue-ID: OPTFRA-237
Change-Id: Ic63eb5e3921bba35afb44c5d34ddb38cfde8ee75
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
EELF logging is added.
Issue-ID: OPTFRA-227
Change-Id: I2ec7ab4c13f93736acee82a36b9420480d78b50c
Signed-off-by: Ankitkumar Patel <ankit@research.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>
|
|
Updated the policy adaptor to support scope-based filtering.
Issue-ID: OPTFRA-27
Change-Id: I908c1ee16c6f21982d8bfc1e3d6156d54555fdd3
Signed-off-by: Ankitkumar Patel <ankit@research.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>
|
|
Issue-ID: OPTFRA-22
Change-Id: I6b5e072d48d312e86cd681908e62b71059774093
Signed-off-by: Sastry Isukapalli <sastry@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>
|
|
Issue-ID: OPTFRA-195
Change-Id: I67f2f5c6f9190bb91f34b371c0bc3ea1aa2367b0
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Updated the validation models and related testcases.
Issue-ID: OPTFRA-203
Change-Id: I02219e64543eb7a9a7933322bf19f21e070496f4
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Uploaded the policy tosca models and policy examples for HAS.
Issue-ID: OPTFRA-27
Change-Id: I96ae70c5fe34ce7f40f461801e149d81afa52ea3
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Generalized the policy adaptor code by removing homing specific logic.
Issue-ID: OPTFRA-27
Change-Id: I331030a2f3f5c0c17af1a72af9794131555a9217
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Issue-ID: OPTFRA-146
Change-Id: I2261ae69f52b184cd7dcb7b86d5905538666a411
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Issue-ID: OPTFRA-102
Change-Id: Idf0a61ff837ecd26577febaca5f0538971759792
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>
|