Age | Commit message (Collapse) | Author | Files | Lines |
|
OOF must return error when the policies are
not found for a particular request. Currently,
It sends an empty request to conductor when
policies are not available
Issue-ID: OPTFRA-511
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: I8b4041cf1c6d6c62ee4df39138ee5d3bf904e064
|
|
Changed a way of processing policies by scope.
Before filtering was resulting with None type
access exception.
Change-Id: Ide6515b4b18a2dc7344e92b32a76d00ba48d4301
Issue-ID: OPTFRA-755
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
|
|
Issue-ID: OPTFRA-731
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: I65e12da03b3f3881abda2dd3d1313ebe163fc3ff
|
|
Fix bugs in the payload sent to policy query
Issue-ID: OPTFRA-731
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
Change-Id: I7ed833e4daf2eb08c6bf4b998fd61d4182246677
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
|
|
*Change retrieval payload send to policy
*Change the configs inside common_config
Issue-ID: OPTFRA-520
Change-Id: I27a63294cdec3def7d415ed2dcb96e3606d9e21f
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
|
|
Update the config retrieval uri and authorization keys
Issue-ID: OPTFRA-520
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
Change-Id: I694930fcbf2ac2b17c048d0341571a027552576c
|
|
|
|
- Insert the tosca models that can be recognized by Policy
Framework inside another new folder.
- Add the path for models inside the osdf config in order to
avoid changes in future in case there's a change of path.
Change-Id: Ifff83a630bc48b7a3fff4aa17323910e6adedb0d
Issue-ID: OPTFRA-415
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.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>
|
|
Add one more step after doing the healthcheck to
upload all the models under /osdf/models/policy/placement/tosca
Change-Id: I140efba27d603f43f6ae3f73b73b860dc8b10b42
Issue-ID: OPTFRA-415
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
|
|
Fixed the config dir and default policy scope
Issue-ID: OPTFRA-247
Change-Id: Ie15aaaa7ac6357ddc9fc0dc262591e844001d927
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>
|
|
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>
|
|
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-100
Change-Id: Iaff7b50dc5394546cc46591bef9b054cd6cde792
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>
|
|
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>
|
|
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>
|