Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixed the Authorization header required for all MUSIC API.
This was affecting the HAS CSIT as the keyspace was not getting created
Change-Id: I1b22b9b71729e786f6ffb9baedf11d4475485e09
Issue-ID: OPTFRA-259
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Bump verion of docker images, pom.xml, and oparent-python
to 1.2.1, 1.2.1-SNAPSHOT and 1.2.0 respectively.
Change-Id: Ie57e8ac107f1fa4fb3f840869a2fe0656012d601
Issue-ID: OPTFRA-257
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Support to resolve multiple policies with same "hpa-feature" name
Change-Id: I86d1f20ad28e30893535688460b8ef6ff1153cd3
Issue-ID: OPTFRA-323
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
|
|
Fixed Docker image to use the nexus artifacts
instead of building from source. Added proxy support.
Updated the Docker image version for Casablanca.
Change-Id: I42de44b5c09992822696b1e12344ac6fde51373d
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
|
|
Bumped the oparent-python version to 1.2.0
Bumped the has artifacts version to 1.2.0
Change-Id: Ic68133642f915f77e0d9f064e0945ee137c24188
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Fix Dockerfile for beijing to build from beijing branch
Change-Id: Ib8c04079c7acde73c9ce1dd94bcf09a9d1b2de0d
Issue-ID: OPTFRA-287
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Issue-ID: OPTFRA-242
Change-Id: Ib46a96f5d7281084cb8c859b4bbe56265b8ccdba
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
(cherry picked from commit 40db765dbfa3f18d59f08e84a49f08aa58b66ca0)
|
|
Issue-ID: OPTFRA-242
Change-Id: Ib46a96f5d7281084cb8c859b4bbe56265b8ccdba
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
|
|
Handle data error by discarding candidates with invalid data
Discard candidates if the cloud-owner or region id is missing
in the vserver associated with generic vnfs. This scenario can
occur when invalid data is present in A&AI database.
Issue-ID: OPTFRA-246
Change-Id: I1405267a8f3713c91e10da3d6fbd37c0ca3fc01f
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
When the Multicloud returns empty list instead of None value
the system was throwing error. If empty list is returned from
multicloud the assumption is that there is no matching VIMs
with specified capacity so ultimately would result in solution
not found.
Change-Id: Ie7164a7cbaa41d7278b7391b56dde78318bc4509
Issue-ID: OPTFRA-245
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
For cloud inventory type empty strings
in the attribute block of the demand are
being matched
Issue-ID: OPTFRA-244
Change-Id: I0ac3a256f32ba497d9f74ddb8ca873604ca67773
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
|
|
If no pserver available for vserver use
cloud-region to get the complex information.
This patch also fixes a version issue.
Change-Id: I981941feef96e531b3ca427ec269cf810f652922
Issue-ID: OPTFRA-241
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
|
|
Solver constraint class Zone location member
is missing in Zone class
Change-Id: I6eaa0e051695485ff95b284cbf3cd2a535b537df
Issue-ID: OPTFRA-238
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
|
|
Multi-cloud creates some flavors without
hpa-capabilities
Issue-ID: OPTFRA-235
Change-Id: I4acfd6198bb0f494d0a34372d761c2dff7b4b301
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
|
|
For now leaving the original certificates as before
so as not to disturb any existing test cases etc.
Issue-ID: OPTFRA-232
Change-Id: If28c772f14c89dbf4229d754cf9dd49094fc5196
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
|
|
Add the license header in has setup.cfg
Issue-ID: OPTFRA-231
Change-Id: I0ddb569298ae4fd401ef1fa5bddb0e765a22b3dc
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
|
|
|
|
Revise parameter value and add more test cases
Change-Id: I5eff8e13f7901071299f5816829de6340e09e5fb
Issue-ID: OPTFRA-169
Signed-off-by: Ying Ruoyu <ruoyu.ying@intel.com>
|
|
|
|
Add postman scripts for HPA mannual testing on attribute "mandatory"
Change-Id: I9f4fa53891b6b7ac3275f71a4ba849f0c0bd0081
Issue-ID: OPTFRA-169
Signed-off-by: Ying Ruoyu <ruoyu.ying@intel.com>
|
|
Issue-ID: OPTFRA-218
Change-Id: I31d9fdf3c83baf7d7b350e49838142cc044507fc
Signed-off-by: Leonardo Bellini <leonardo.bellini@att.com>
|
|
Updated the HPA capabilities values for the AAI Simulator responses
Change-Id: I2e9e4d14f03b1024d17d361f727cbe2cee2da36b
Issue-ID: OPTFRA-192
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
|
|
Change-Id: I3aeae2613025ef9a09ba51d109eaf0e3ec992d74
Issue-ID: OPTFRA-169
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
When no matching flavor is found the candidate list
should be discarded and the solution should be not_found.
Refactored the logic if there is already flavor_mapping.
Change-Id: I24ea91436a5a5c78698801f435a6deb9e9d447e9
Issue-ID: OPTFRA-213
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Added HPA and VIM Fit constraints
Change-Id: I0421e441331c8dedd5f6d6be72e027089425f154
Issue-ID: OPTFRA-194
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Issue-ID: OPTFRA-212
Change-Id: I9bb0a1d888f4090a613038dc892be31e70bf5533
Signed-off-by: Leonardo Bellini <leonardo.bellini@att.com>
|
|
Fixed the duplicate config in music/api.py which was occuring
when the oslo.config dependency is updated to the latest 6.0.0
Also removed psycopg2 dependency which was throwing warnings. psycopg2
is not really used during tests. So removing from test dependencies
Change-Id: I98e31e29ee507d982f1b9a82780f0f665de452c6
Issue-ID: OPTFRA-209
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
|
|
Code to match flavors available in candidate with
required features for a VM
Change-Id: Ibcb5faa8213b52607fcbb0446680da3173ff5748
Issue-ID: OPTFRA-180
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
|
|
Fixed HPA Feature Atrribute parameters validation in translation
Change-Id: I2dc0c65826e07d26d49f142042e848f66f0176e8
Issue-ID: OPTFRA-168
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Fixed the label to flavorLabel
Fixed the features to flavorProperties
Change-Id: I157afbf5969e9434c29de21c6041e9ede7b511af
Issue-ID: OPTFRA-170
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Add support for HPA constraints translation
Add unit tests for HPA constraints validation
Updated with mandatory and score parameters
Updated flavorLabel and flavorProperties instead of label and features
Change-Id: Iec8fff2ad71f8ebeb58ef807d8d2b95ed3635ec1
Issue-ID: OPTFRA-168
Signed-off-by: Ying Ruoyu <ruoyu.ying@intel.com>
|
|
Implemented Multicloud vim controller plugin
Updated translator to parse vim_fit constraint
Implemented vim_fit constraint type
Implemented RPC for check_vim_capacity
Reordered constraint rank
Added unit tests
Change-Id: I5f01cf8fbefbb4b53e4370c5c6b43f72897e62bd
Issue-ID: OPTFRA-148
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Change-Id: I725aa29918f4d30b9977413629f4bc71a3513893
Issue-ID: OPTFRA-2
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Implemented match all operator for list inputs.
For eg: InstructionSetExetensions which checks for a
input set of requirements in the available capability list.
Change-Id: I3784ae2f85309236f790a0d6a5927ab3ec535b97
Issue-ID: OPTFRA-181
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Added postman scripts for Conductor, MUSIC and A&AI
Added postman Multicloud mock server and check_vim_capacity API
Change-Id: If8ae4d10a0bcc640d7f54e14a20b777867692ad9
Issue-ID: OPTFRA-169
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Added flavors to the recommendation JSON response from HAS
Change-Id: I7f993dba59d7a07866a2383567c75efe960e601a
Issue-ID: OPTFRA-182
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Implemented RPC for get candidate list with hpa flavor mapping
Added unit tests for get_candidates_with_hpa
Issue-ID: OPTFRA-183
Change-Id: I9db74499ba964341368542b339163c3803e0924e
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Implement hpa constraint plugin and implement solve method
Initialize HPA constraint per solver request
Reordered constraint ranking
Implemented RPC invocation to data plugin for matching hpa
Change-Id: I5d63464b6bff6abc10599e000b2b56f926f146f9
Issue-ID: OPTFRA-178
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
|
|
|
|
Issue-ID: OPTFRA-199
Change-Id: Ieadb1ae38621cd406af384458a9fce6ffdd15f0c
Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
|
|
'keyspace' is missing in the context parameter
passed to the resolve_demands rpc from translator
Change-Id: Ic9a3a11232ec558daa89890f904b4ee485ad3c50
Issue-ID: OPTFRA-198
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
|
|
Implemented HPA Enablement feature support for A&AI data plugin
Added flavors and hpa-capability child nodes to cloud-region cache.
Added unit tests for _get_flavors
Modified unit tests for resolve_demands
Change-Id: Ifeedb5f53a351079e8adbd42d216633062c36e1b
Issue-ID: OPTFRA-167
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Issue-ID: OPTFRA-192
Change-Id: I8347b99dbf09514dab7daa2f8e7bb8abc0122d54
Signed-off-by: Leonardo Bellini <leonardo.bellini@att.com>
|
|
Added vim-id attribute to both cloud and service candidate
Updated unit tests for aai.py
Change-Id: I3e1faf89c0490690b3988bb6d466dfbd534e37b6
Issue-ID: OPTFRA-187
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Made changes to docker settings to make a single
image instead of multiple. Also made changes to the
run and build scripts to work on this single image.
The data component requires certs, keys and ca bundles
settings too. For this, made changes to the run script.
Also, do to this, added the feature of picking the default
values from the current directory if arguments are
not provided to the run-docker.scripts.
For example: sudo ./run-dockers.sh will run without providing
any arguments to it IF the directory from where it is run
has these files in it.
1. conductor.conf -- configuration file
2. log.conf -- log settings files
3. aai_cert.cer
4. aai_key.key
5. aai_ca_bunlde.pem (pem) file
The first two from the above have been created and provided
in the current directory (has/). However, since certs will
be different from env to env, the last three needs to be provided
either by copying in the current direcotry or as the arguments 3, 4 and 5.
The script will give a detailed message on what may be missing and
how an attempt was made to get the default files. Checkt it out by
playing with run-docker.sh file.
Finally, the build script also calls the push script now. Since
there can be no testing of this in ONAP artifcats prod BEFORE being
merged to master, we can only test the push part once merged to master.
Issue-ID: OPTFRA-123
Change-Id: I83c54c97953b71aae18166b937dd89195e705f73
Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
|