optf/has.git
5 years agoUpdate casablanca maintenance rel notes 04/78004/1 casablanca
Shankar Narayanan [Wed, 6 Feb 2019 20:50:59 +0000 (15:50 -0500)]
Update casablanca maintenance rel notes

Issue-ID: OPTFRA-401
Change-Id: I7fd8d9bdc5daf8e20f43a84969e25dd553e19c34
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
5 years agoR3 RTD 74/74074/1
sandovalfr [Thu, 29 Nov 2018 17:24:48 +0000 (10:24 -0700)]
R3 RTD

Issue-ID: OPTFRA-262

Change-Id: Ida4d07f43167ed3f71b8d833b9bba237d3b19312
Signed-off-by: sandovalfrOAM <frank.sandoval@oamtechnologies.com>
(cherry picked from commit 87fca0ecffbf0b2f87b130dc858226fbd28e890d)

5 years agoReturn flavor-id in OOF response 79/73579/4
Ruoyu [Thu, 22 Nov 2018 03:42:09 +0000 (03:42 +0000)]
Return flavor-id in OOF response

Add flavor-id in OOF response

Change-Id: I56d33eef06504f66c41b793d93d132b21a27b0dc
Issue-ID: OPTFRA-401
Signed-off-by: Ruoyu <ruoyu.ying@intel.com>
(cherry picked from commit 90e318d450e18075e991671c31ac87259a695e1e)

5 years agoRemove credentials in logger 20/71720/1 1.2.4 3.0.0-ONAP
Dileep Ranganathan [Thu, 1 Nov 2018 22:52:04 +0000 (15:52 -0700)]
Remove credentials in logger

Removed log with credentials.
Upgrade version to 1.2.4

Change-Id: Ic5767f149d7cd48a8596f325d90fe5138c213c31
Issue-ID: OPTFRA-331
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoEnforce AAF permissions 30/71130/4
Frank Sandoval [Wed, 24 Oct 2018 08:15:50 +0000 (02:15 -0600)]
Enforce AAF permissions

Issue-ID: OPTFRA-331
Change-Id: I046ddef243f73ae90ca0a28184ee0decf73069ee
Signed-off-by: Frank Sandoval <frank.sandoval@oamtechnologies.com>
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoUpdate version to 1.2.3 26/71126/1 1.2.3
Dileep Ranganathan [Wed, 24 Oct 2018 00:25:41 +0000 (17:25 -0700)]
Update version to 1.2.3

Update version to 1.2.3

Change-Id: I128a72e8c90683e1197923c4f76f2f7b790ca055
Issue-ID: OPTFRA-370
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoEnable SMS for HAS 84/70384/3
Dileep Ranganathan [Fri, 12 Oct 2018 12:54:32 +0000 (05:54 -0700)]
Enable SMS for HAS

Load secrets from SMS in OSDF
Helm charts uses a Job to load secrets.
CSIT needs to load it manually.
Added is_eanbled flag for SMS. SMS is enabled by default.
For testing locally, this can be overridden.

Change-Id: I09bc96e1408d4136cc479e1e5667d36b5a1b5427
Issue-ID: OPTFRA-343
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoMerge "Retrieve secrets using Secret Management Service"
Shankaranarayanan Puzhavakath Narayanan [Thu, 11 Oct 2018 00:46:39 +0000 (00:46 +0000)]
Merge "Retrieve secrets using Secret Management Service"

5 years agoRetrieve secrets using Secret Management Service 38/70038/1
Dileep Ranganathan [Mon, 8 Oct 2018 22:34:56 +0000 (15:34 -0700)]
Retrieve secrets using Secret Management Service

Integrate with HAS by retrieving stored secrets using SMS
Application code remains in tact as the secrets are preloaded
and stored in config. During startup the conf will be set with
retrieved secrets. 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: I902b18c0cf080316f9a251e61387b67756198cc2
Issue-ID: OPTFRA-343
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoMerge "Fix HAS CSIT bugs"
Shankaranarayanan Puzhavakath Narayanan [Mon, 8 Oct 2018 17:50:20 +0000 (17:50 +0000)]
Merge "Fix HAS CSIT bugs"

5 years agoUpdate version to 1.2.2 43/70043/1 1.2.2
Dileep Ranganathan [Mon, 8 Oct 2018 10:56:22 +0000 (03:56 -0700)]
Update version to 1.2.2

Update maven artifact verion to 1.2.2-SNAPSHOT
Update docker image version to 1.2.2
Update oparent-python to 1.2.1 release version

Change-Id: Ic588d2544847cdf1ba0f98678e5b55ef82e01671
Issue-ID: OPTFRA-370
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoFix AAI Query timeout issue on get flavors 67/69967/1
Dileep Ranganathan [Sun, 7 Oct 2018 19:06:26 +0000 (12:06 -0700)]
Fix AAI Query timeout issue on get flavors

Change-Id: Ibf2a09351a79f4532bc7a189a1714453d8ead518
Issue-ID: OPTFRA-335
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoFix HAS CSIT bugs 57/69957/1
Dileep Ranganathan [Sat, 6 Oct 2018 23:06:16 +0000 (16:06 -0700)]
Fix HAS CSIT bugs

Homing template with no optimization is throwing List IndexOutofBound
exception. Intitialized triageSolver in RandomPick algorithm.
Used iterator to read K,V pair from flavor_maps.
Labels were wrongly initialized in the VNF_SCORE metric.

Change-Id: Icbf1b9aaa0bb7899980680a55754ea7282810adb
Issue-ID: OPTFRA-366
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoSync conductor configurations across all projects 31/69631/4
Dileep Ranganathan [Mon, 24 Sep 2018 10:53:01 +0000 (03:53 -0700)]
Sync conductor configurations across all projects

Sync conductor.conf based on tox generated config.
Added missing parameters which were not generated by tox.
Separtate patches needs to be submitted to OOM, HEAT, CSIT

Change-Id: I9c055f01d4d358f028eac4e752980d3c83a62468
Issue-ID: OPTFRA-205
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoMerge "Prometheus metrics for OOF"
Shankaranarayanan Puzhavakath Narayanan [Thu, 4 Oct 2018 15:30:49 +0000 (15:30 +0000)]
Merge "Prometheus metrics for OOF"

5 years agoMerge "Unit test case fixed for index_create."
Shankaranarayanan Puzhavakath Narayanan [Wed, 3 Oct 2018 14:59:13 +0000 (14:59 +0000)]
Merge "Unit test case fixed for index_create."

5 years agoPrometheus metrics for OOF 49/68749/2
Dileep Ranganathan [Fri, 21 Sep 2018 14:54:46 +0000 (07:54 -0700)]
Prometheus metrics for OOF

Added OOF HPA metrics using prometheus client exporter
Added VNF statistics, HPA statistics with respect to flavor, vim etc.

Change-Id: I54030a148f97cb0c61f93bc552764c65236a467b
Issue-ID: OPTFRA-312
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoUnit test case fixed for index_create. 34/69634/2
Inam Soomro [Mon, 1 Oct 2018 20:51:20 +0000 (16:51 -0400)]
Unit test case fixed for index_create.

Fixed for the table create index on plans table.
Fixed comments section for index create from creates table.

Issue-ID: OPTFRA-359
Change-Id: I8cd85e18c3b9dce04c2f3f571976544c16a00972
Signed-off-by: Soomro, Inam(is076r) <inam@att.com>
5 years agoFix AAF Authentication CSIT issues 09/69509/1
Dileep Ranganathan [Fri, 28 Sep 2018 09:56:29 +0000 (02:56 -0700)]
Fix AAF Authentication CSIT issues

The value stored in perms.cache is throwing JSON load error on
subsequent calls. Returned the perms['roles'] from cache.
Fixed expected string or buffer error in plans.py
CSIT was stuck waiting for port 8100. Changed the aafsim internal port
to 8100 everywhere (same as the aaf-service port).

Change-Id: I00e72a0aee66bb0649996288c37c6c0aef2070d2
Issue-ID: OPTFRA-362
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoadd requirement to aafsim docker 11/68711/1
Frank Sandoval [Mon, 24 Sep 2018 17:42:14 +0000 (11:42 -0600)]
add requirement to aafsim docker

Add oslo_log to requiremnts.txt for aafism docker

Issue-ID: OPTFRA-331

Change-Id: I1fbe89335189ef3dafa8fc479002919e25c7f532
Signed-off-by: Frank Sandoval <frank.sandoval@oamtechnologies.com>
5 years agoMerge "Fix AttributeError 'MUSIC_API' for tox"
Shankaranarayanan Puzhavakath Narayanan [Mon, 24 Sep 2018 16:16:19 +0000 (16:16 +0000)]
Merge "Fix AttributeError 'MUSIC_API' for tox"

5 years agoFix AttributeError 'MUSIC_API' for tox 21/68521/3
Dileep Ranganathan [Fri, 21 Sep 2018 16:13:31 +0000 (09:13 -0700)]
Fix AttributeError 'MUSIC_API' for tox

Fix AttributeError: 'module' object has no attribute 'MUSIC_API'
while running tox manually

Change-Id: I2a826b6a0628eb6430953c66256dee89001f2ab5
Issue-ID: OPTFRA-358
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoMigrate to v14 AAI schema 91/68191/3
Dileep Ranganathan [Mon, 17 Sep 2018 15:36:01 +0000 (08:36 -0700)]
Migrate to v14 AAI schema

Upgraded v14 AAI schema.
Modified AAI simulator urls to support v14 version.

Change-Id: Ib4e34d6f04b827bc6d48098f057cb76b4f523e16
Issue-ID: OPTFRA-355
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoadd AAF integration and AAF simulator 35/67135/5
Frank Sandoval [Mon, 17 Sep 2018 21:50:04 +0000 (15:50 -0600)]
add AAF integration and AAF simulator

Patch (#3) addresses commentse
this patch fixes unit tests. Original commit added AAF permissions checks for HAS API

Issue-ID: OPTFRA-331

Change-Id: I69519beee31f57e4ac5188604d21805266a06074
Signed-off-by: Frank Sandoval <frank.sandoval@oamtechnologies.com>
5 years agoDigestion to ONAP 63/68163/5
rl001m [Thu, 20 Sep 2018 15:36:14 +0000 (11:36 -0400)]
Digestion to ONAP

This commit contains features added across previous iteration.
Unfortunatley, its hard to separate out all the features / defect fixes
under the current setup unless an automated ingestion and integration
mechanims is in place.

Following are the details of each feature / defect fix.

- (OPTFRA-347) New Music Response Changes
Required changes for upgrading to music version 3.x

- (OPTFRA-346) Triage Tool Feature Changes
Triage tool for finding out issues with candidates and how they were dropped

- (OPTFRA-280) Order Locking Feature Changes
Orders from SO need to be parked (and later retriggered) in
scenarios where the orchestration of the already given solution
is in progress.

- (OPTFRA-281) Latency Based Homing
This features enables homing based on 'network latency' defined in
has's internally maintained tables instead of plain distance.

Other defect fixes / performance improvements
- AAI Timeout give up change
Defect fix related to dropping candidates when AAI timed out
and didn't retrun within 3 tries. has will now give up in these
scenarios.

- Defect fix replaced all() query with status based query. There was no need to reachout to Music to grab the whole plans
table - we now go only by the value of the status field.

Issue-ID: OPTFRA-280
Change-Id: I47fa7651c5c81763770771d6f7e7ff4ab155d18e
Signed-off-by: rl001m <ruilu@research.att.com>
5 years agoMerge "Support multiple candidates with same feature name"
Dileep Ranganathan [Wed, 19 Sep 2018 17:59:53 +0000 (17:59 +0000)]
Merge "Support multiple candidates with same feature name"

5 years agoMerge "Update Homing Specification Guide for readthedocs"
Shankaranarayanan Puzhavakath Narayanan [Wed, 19 Sep 2018 15:14:07 +0000 (15:14 +0000)]
Merge "Update Homing Specification Guide for readthedocs"

5 years agoUpdate Homing Specification Guide for readthedocs 91/64191/3
Ruoyu Ying [Mon, 3 Sep 2018 17:47:04 +0000 (01:47 +0800)]
Update Homing Specification Guide for readthedocs

Update Homing Specification Guide to add 'directives' structure inside HPA constraints and add note for cloud agnostic constraints.

Change-Id: I1268a0458e6c54a07382a386dbc683efe8772836
Issue-ID: OPTFRA-324
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
5 years agoSupport multiple candidates with same feature name 59/66559/9
Ruoyu Ying [Fri, 14 Sep 2018 16:28:09 +0000 (00:28 +0800)]
Support multiple candidates with same feature name

In one flavor, there could be multiple hpa feature blocks
with the same hpa-feature name. Add support to let HAS to
choose a proper one between all available candidates.

Change-Id: If8877a12d6e145994b0bc40aadb3b79b4718282f
Issue-ID: OPTFRA-341
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
5 years agoMerge "Support new policy model in HAS"
Dileep Ranganathan [Tue, 18 Sep 2018 05:54:47 +0000 (05:54 +0000)]
Merge "Support new policy model in HAS"

5 years agoSupport new policy model in HAS 17/66917/5
Ruoyu Ying [Mon, 17 Sep 2018 17:21:27 +0000 (01:21 +0800)]
Support new policy model in HAS

Make changes to support the newly defined policy model

Change-Id: Iea882b0c254c4bfca32da2458ea65f3daf56a779
Issue-ID: OPTFRA-322
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
5 years agoMerge "Secret Management Service feature"
Shankaranarayanan Puzhavakath Narayanan [Mon, 17 Sep 2018 15:16:37 +0000 (15:16 +0000)]
Merge "Secret Management Service feature"

5 years agoSecret Management Service feature 15/66815/1
Dileep Ranganathan [Sat, 15 Sep 2018 18:05:19 +0000 (11:05 -0700)]
Secret Management Service feature

Added supporting library required for enabling SMS integration.
Added Unit tests and manual tests for store/retrieve/delete secrets.
Updated conductor.conf with aaf_sms group. Added preload_secrets
config for testing.

Integration with application NOT Done in this patch.

Change-Id: Idf7e4249a88a39c586d893226a9110e9d5180787
Issue-ID: OPTFRA-345
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoInvert HPA Score for minimizing objective function 45/65945/1
Dileep Ranganathan [Tue, 11 Sep 2018 15:11:11 +0000 (08:11 -0700)]
Invert HPA Score for minimizing objective function

Score for each hpa constraint is entered in policy as positive value.
Higher the HPA score the better. So inorder to minimize the objective
function inverted HPA Score by inverting the sign of hpa_score value.

Change-Id: Iaedb03ccc5f87d5e7b41509924289bb598a09139
Issue-ID: OPTFRA-313
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoHPA Score Objective function support 63/63163/3
Dileep Ranganathan [Wed, 22 Aug 2018 16:18:49 +0000 (09:18 -0700)]
HPA Score Objective function support

Implemented HPA Score objective function for cross cloud-region
best candidate selection.
Added Unit tests for HPA Score multi objective function
Added Unit tests to check if there is a corresponding HPA policy/constraint

Change-Id: I0787080657c0b7deb3ffcb7560859e3e5c928b77
Issue-ID: OPTFRA-313
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoRevert the authorization header 31/65331/1
Dileep Ranganathan [Fri, 7 Sep 2018 14:47:52 +0000 (07:47 -0700)]
Revert the authorization header

Reverting the authorization header to support older version of MUSIC.

Change-Id: Ia3a653559fd1838d530e8dfd4576b1da3502ca22
Issue-ID: OPTFRA-259
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoadd has swagger doc 97/65097/1
Frank Sandoval [Thu, 6 Sep 2018 22:30:49 +0000 (16:30 -0600)]
add has swagger doc

Issue-ID: OPTFRA-283

Change-Id: I078f3a4d89c248c0d3c306431065e27ec5422350
Signed-off-by: Frank Sandoval <frank.sandoval@oamtechnologies.com>
5 years agoAdded the Authorization header for MUSIC 81/64881/1
Dileep Ranganathan [Wed, 5 Sep 2018 14:59:36 +0000 (07:59 -0700)]
Added the Authorization header for MUSIC

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>
5 years agoAdd committer to OOF team 99/63899/1
Jessica Wagantall [Thu, 30 Aug 2018 20:52:50 +0000 (13:52 -0700)]
Add committer to OOF team

Add Vikas as part of the committers group

Issue-ID: CIMAN-134
Change-Id: I0519f166825800c5169134d810f5a3d8fe1dcbde
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoUpgrade HAS version to 1.2.1 39/64539/1 1.2.1
Dileep Ranganathan [Thu, 30 Aug 2018 15:22:32 +0000 (08:22 -0700)]
Upgrade HAS version to 1.2.1

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>
5 years agoMerge "Use managed guava version"
Dileep Ranganathan [Mon, 27 Aug 2018 21:20:36 +0000 (21:20 +0000)]
Merge "Use managed guava version"

5 years agoUse managed guava version 01/62701/2
Gary Wu [Fri, 24 Aug 2018 22:26:42 +0000 (15:26 -0700)]
Use managed guava version

Use centrally managed guava version specified in
oparent.  Includes upgrade to oparent 1.2.0.

This change was submitted by script and may include
additional whitespace or formatting changes.

Change-Id: I824892403f119737e255589692e1f1bde109882d
Issue-ID: INT-619
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
5 years agoSupport multiple policies with same hpa-feature 11/62011/3
Ruoyu Ying [Thu, 23 Aug 2018 17:13:23 +0000 (01:13 +0800)]
Support multiple policies with same hpa-feature

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>
5 years agoMerge "Remove Ankit from committer list"
Shankaranarayanan Puzhavakath Narayanan [Mon, 20 Aug 2018 16:10:07 +0000 (16:10 +0000)]
Merge "Remove Ankit from committer list"

5 years agoFix the docker build image workflow 29/59729/2 v1.2.0
Dileep Ranganathan [Wed, 8 Aug 2018 13:02:41 +0000 (06:02 -0700)]
Fix the docker build image workflow

Fixed the Docker build image workflow.

Added seperate tagging for SNAPSHOT-latest and STAGING-latest

There are two docker jobs currently. One produces SNAPSHOT images
and other produces STAGING images. SNAPSHOT images are build from
nexus2 maven snapshots artifacts where as STAGING images are built
from nexus2 maven releases artifacts.

Removed libxml2-utils dependency from docker build image script.
Since the dedicated docker node might be shared by multiple jobs,
apt-get install inside the script might cause conflict and cause
failure of the docker jenkins jobs. Moved the dependency to be part
of the jenkins infrastructure node itself.

Change-Id: I122974c984b1b0ece98bbd5a783d7923504abf3e
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoRemove Ankit from committer list 53/58253/1
Shankar Narayanan [Tue, 31 Jul 2018 15:30:54 +0000 (11:30 -0400)]
Remove Ankit from committer list

Issue-ID: OPTFRA-308
Change-Id: I8259d6254328b89da04e640656484182043fd94f
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
5 years agoAdded missing sudo privileges 65/58165/1
Dileep Ranganathan [Mon, 30 Jul 2018 22:50:12 +0000 (15:50 -0700)]
Added missing sudo privileges

Added the missing sudo privilieges required to install packages

Change-Id: I998decc0f8a20cc6575564c12f7e0dcb278802a5
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoMissing xmllint package for version scraping 95/58095/1
Dileep Ranganathan [Mon, 30 Jul 2018 14:04:53 +0000 (07:04 -0700)]
Missing xmllint package for version scraping

Installed missing xmllint package for version scraping

Change-Id: Ib83221e38e0987539bade32b1b83d33cf97dbc5d
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoFix Docker image to use the nexus artifacts 91/57391/2
Dileep Ranganathan [Mon, 23 Jul 2018 14:16:25 +0000 (07:16 -0700)]
Fix Docker image to use the nexus artifacts

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>
5 years agoReverting the oparent version to release version 71/56971/1
Dileep Ranganathan [Thu, 19 Jul 2018 14:16:47 +0000 (07:16 -0700)]
Reverting the oparent version to release version

Reverting the oparent version back to 1.1.1.
Dependencies outside the project should use release version
instead of snapshot verion.

Change-Id: Ifd0be54c036cd862cae17ccdbba6b599888ea516
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoMerge "Fix Dockerfile for beijing"
Shankaranarayanan Puzhavakath Narayanan [Thu, 19 Jul 2018 15:34:55 +0000 (15:34 +0000)]
Merge "Fix Dockerfile for beijing"

5 years agoBumping the oparent and has artifact versions 65/56665/2
Dileep Ranganathan [Tue, 17 Jul 2018 16:21:40 +0000 (09:21 -0700)]
Bumping the oparent and has artifact versions

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>
5 years agoFix Dockerfile for beijing 23/55923/1
Dileep Ranganathan [Thu, 5 Jul 2018 16:33:00 +0000 (09:33 -0700)]
Fix Dockerfile for beijing

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>
5 years agoAdd committers 47/55347/1
Jessica Wagantall [Tue, 26 Jun 2018 00:05:41 +0000 (17:05 -0700)]
Add committers

Add new OPTF committers
- name: 'ramki krishnan'
- name: 'Dileep Ranganathan'

Change-Id: I0b4a8c27ccd13b8d3d00bce5d0abcaab7fafb3a2
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoFix HAS image version inside run-docker.sh 03/55103/1 beijing
Ying Ruoyu [Fri, 15 Jun 2018 16:33:24 +0000 (00:33 +0800)]
Fix HAS image version inside run-docker.sh

Update HAS image version while install HAS through docker.

Change-Id: I93d98182d9a48c25c64e8f91576e0d30b706bf35
Issue-ID: OPTFRA-251
Signed-off-by: Ying Ruoyu <ruoyu.ying@intel.com>
5 years agoMerge "Update INFO.yaml"
Shankaranarayanan Puzhavakath Narayanan [Wed, 13 Jun 2018 00:35:51 +0000 (00:35 +0000)]
Merge "Update INFO.yaml"

5 years agoUpdate INFO.yaml 09/54609/1
Jessica Wagantall [Wed, 13 Jun 2018 00:27:18 +0000 (17:27 -0700)]
Update INFO.yaml

Removal of:
1. Maopeng Zhang - ZTE
2. Yoram Zini -  Cisco
3. Sastry Isukaplli - AT&T

Change-Id: I2b26103b0b358a5992393d5825017431b226c33b
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoFix OOF configuration 95/50195/1
Dileep Ranganathan [Mon, 4 Jun 2018 12:14:38 +0000 (05:14 -0700)]
Fix OOF configuration

Added missing multicloud section in conductor.conf
Updated music version to reflect the latest version

Change-Id: I7e943c4344c63d4e18df9f00f6b61600e97295a7
Issue-ID: OPTFRA-232
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoUpdated the version of the HAS image 77/50177/1
Patel, Ankitkumar [Fri, 1 Jun 2018 18:43:29 +0000 (14:43 -0400)]
Updated the version of the HAS image

Updated the version of the HAS image.

Issue-ID: OPTFRA-251
Change-Id: I489610fc85591d16c29cc604adc4584c61c13da8
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
(cherry picked from commit b257e44786d799bacb4aa03421cf241c77374990)

5 years agoFix OOF configuration 93/50193/1
Dileep Ranganathan [Mon, 4 Jun 2018 12:14:38 +0000 (05:14 -0700)]
Fix OOF configuration

Added missing multicloud section in conductor.conf
Updated music version to reflect the latest version

Change-Id: I7e943c4344c63d4e18df9f00f6b61600e97295a7
Issue-ID: OPTFRA-232
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
5 years agoadd security issues 79/50079/1
fsandoval [Thu, 31 May 2018 03:03:54 +0000 (21:03 -0600)]
add security issues

Issue-ID: OPTFRA-242

Change-Id: I99441f4d41388f3a0e1837f5a8bd019e2ff2d260
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
(cherry picked from commit c8d14fbe6c762581737c95ede15e9b9919bee788)

5 years agoMerge "update has docs" into beijing
Shankaranarayanan Puzhavakath Narayanan [Fri, 1 Jun 2018 19:40:05 +0000 (19:40 +0000)]
Merge "update has docs" into beijing

5 years agoupdate has docs 85/49985/1
fsandoval [Wed, 30 May 2018 20:22:03 +0000 (14:22 -0600)]
update has docs

Issue-ID: OPTFRA-242

Change-Id: I9d89ef313018c3a0c25c48a4e0cecabba75db2fd
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
(cherry picked from commit 84ad836b25024835dc3abbb42832dfd36bcb23ce)

5 years agomoved docs to has/docs 73/49973/2
fsandoval [Thu, 31 May 2018 15:36:45 +0000 (09:36 -0600)]
moved docs to has/docs

Issue-ID: OPTFRA-242

Change-Id: Ib46a96f5d7281084cb8c859b4bbe56265b8ccdba
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
(cherry picked from commit 40db765dbfa3f18d59f08e84a49f08aa58b66ca0)

5 years agoUpdated the version of the HAS image 71/49971/1
Patel, Ankitkumar [Fri, 1 Jun 2018 18:43:29 +0000 (14:43 -0400)]
Updated the version of the HAS image

Updated the version of the HAS image.

Issue-ID: OPTFRA-251
Change-Id: I489610fc85591d16c29cc604adc4584c61c13da8
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
5 years agomoved docs to has/docs 87/49787/1
fsandoval [Thu, 31 May 2018 15:36:45 +0000 (09:36 -0600)]
moved docs to has/docs

Issue-ID: OPTFRA-242

Change-Id: Ib46a96f5d7281084cb8c859b4bbe56265b8ccdba
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
5 years agoadd security issues 87/49687/1
fsandoval [Thu, 31 May 2018 03:03:54 +0000 (21:03 -0600)]
add security issues

Issue-ID: OPTFRA-242

Change-Id: I99441f4d41388f3a0e1837f5a8bd019e2ff2d260
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
5 years agoupdate has docs 97/49597/2
fsandoval [Wed, 30 May 2018 20:22:03 +0000 (14:22 -0600)]
update has docs

Issue-ID: OPTFRA-242

Change-Id: I9d89ef313018c3a0c25c48a4e0cecabba75db2fd
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
5 years agoMerge "consolidated docs" 2.0.0-ONAP 2.0.0-ONAP
Shankaranarayanan Puzhavakath Narayanan [Wed, 30 May 2018 19:49:56 +0000 (19:49 +0000)]
Merge "consolidated docs"

5 years agoconsolidated docs 83/49283/1
fsandoval [Sun, 27 May 2018 20:07:53 +0000 (14:07 -0600)]
consolidated docs

Issue-ID: OPTFRA-242

Change-Id: I1440436559496cf688c66a13accdaeb0df0160c9
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
5 years agoFix data error 87/49287/1
Dileep Ranganathan [Sun, 27 May 2018 16:21:36 +0000 (09:21 -0700)]
Fix data error

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>
5 years agoMerge "Fix bug in VIM fit constraint"
Shankaranarayanan Puzhavakath Narayanan [Sun, 27 May 2018 23:07:05 +0000 (23:07 +0000)]
Merge "Fix bug in VIM fit constraint"

5 years agoaddress comments OPTFRA-242 and edit release notes 41/49241/1
fsandoval [Sun, 27 May 2018 00:11:11 +0000 (18:11 -0600)]
address comments OPTFRA-242 and edit release notes

Issue-ID: OPTFRA-242

Change-Id: I41a089f8c22936eb66d75fa8a5acdf21fa173700
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
5 years agoFix bug in VIM fit constraint 11/49211/1
Dileep Ranganathan [Fri, 25 May 2018 12:14:10 +0000 (05:14 -0700)]
Fix bug in VIM fit constraint

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>
5 years agoFix matching issues for attribute block 19/48619/1 v1.1.1
Ritu Sood [Wed, 23 May 2018 14:18:45 +0000 (07:18 -0700)]
Fix matching issues for attribute block

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>
5 years agoUsing cloud-region in vGMuxInfra flow 59/48359/2
Ritu Sood [Tue, 22 May 2018 02:44:48 +0000 (19:44 -0700)]
Using cloud-region in vGMuxInfra flow

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>
5 years agoAdd a missing member to class Zone 37/48137/1
Ritu Sood [Fri, 18 May 2018 13:23:46 +0000 (06:23 -0700)]
Add a missing member to class Zone

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>
5 years agoFixing connectivity issue with AAI 15/48015/1
Ritu Sood [Thu, 17 May 2018 16:48:55 +0000 (09:48 -0700)]
Fixing connectivity issue with AAI

Removing the old certificates from conf file.
Having these here causes connectivity issue with
AAI

Change-Id: I847ce9dcfc715124617edd305bb83acedbbbb10e
Issue-ID: OPTFRA-232
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
5 years agoIgnore flavors that don't have hpa-capabilities 37/47837/1
Ritu Sood [Wed, 16 May 2018 22:46:35 +0000 (15:46 -0700)]
Ignore flavors that don't have hpa-capabilities

Multi-cloud creates some flavors without
hpa-capabilities

Issue-ID: OPTFRA-235
Change-Id: I4acfd6198bb0f494d0a34372d761c2dff7b4b301
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
6 years agoAdding basic auth to AAI Plugin 69/47169/3
Ritu Sood [Fri, 11 May 2018 14:28:52 +0000 (07:28 -0700)]
Adding basic auth to AAI Plugin

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>
6 years agoBump oparent-python version 01/46901/1
Gary Wu [Wed, 9 May 2018 20:56:12 +0000 (13:56 -0700)]
Bump oparent-python version

Bump oparent-python version to 1.1.1 to
resolve a license issue in an old version of lombok.

Change-Id: I6dfc791a1932bdb800b274382432ade86005225e
Issue-ID: INT-493
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoFix license header in setup.cfg 19/46719/1
Shankar Narayanan [Wed, 9 May 2018 02:03:08 +0000 (22:03 -0400)]
Fix license header in setup.cfg

Add the license header in has setup.cfg

Issue-ID: OPTFRA-231
Change-Id: I0ddb569298ae4fd401ef1fa5bddb0e765a22b3dc
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
6 years agofixed typos in index.rst 89/45489/1
fsandoval [Tue, 1 May 2018 18:37:58 +0000 (12:37 -0600)]
fixed typos in index.rst

Issue-ID: OPTFRA-41

Change-Id: I688e23b1d98d20c90bc161066c8b5ed550df7f73
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
6 years agoBeijing RC2 documentation 47/45347/2
fsandoval [Tue, 1 May 2018 01:23:36 +0000 (19:23 -0600)]
Beijing RC2 documentation

Change-Id: Ic8b75e4cb33d6c4562cef2f2b9342974bfae03a3
Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
Issue-ID: OPTFRA-41

6 years agoMerge "Add INFO.yaml file"
Shankaranarayanan Puzhavakath Narayanan [Sat, 28 Apr 2018 01:39:11 +0000 (01:39 +0000)]
Merge "Add INFO.yaml file"

6 years agoAdd INFO.yaml file 41/44741/1
Jessica Wagantall [Wed, 25 Apr 2018 19:03:13 +0000 (12:03 -0700)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: Icb593259a05021018f8636888d9a3ca6cb43fbc5
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoCreate Certs 83/44383/1
Ikram Ikramullah [Tue, 24 Apr 2018 14:30:06 +0000 (10:30 -0400)]
Create Certs

Issue-ID: INT-444
Change-Id: Idc01978af3141f0ca2500f9fbca5510c70fa1886
Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
6 years agoEdited the name of the AAI certificates 49/44249/1
Ankitkumar Patel [Mon, 23 Apr 2018 21:20:47 +0000 (17:20 -0400)]
Edited the name of the AAI certificates

Edited the name of the AAI certificates.

Issue-ID: INT-444
Change-Id: Ib828fa031bd4fbdd45266cbd4cda2bd74aeaa36e
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
6 years agoMerge "Added AAI Certs"
Shankaranarayanan Puzhavakath Narayanan [Mon, 23 Apr 2018 19:55:37 +0000 (19:55 +0000)]
Merge "Added AAI Certs"

6 years agoAdded AAI Certs 83/43783/2
Ikramullah, Ikram [Thu, 19 Apr 2018 20:56:38 +0000 (20:56 +0000)]
Added AAI Certs

Heat based implementation changes added

Issue-ID: INT-444
Change-Id: Ic3096422c9997be66d6d967c8938e35c6e2b2e0f
Signed-off-by: Ikramullah, Ikram <ikram@research.att.com>
6 years agoMerge "Add postman scripts for HPA mannual testing"
Shankaranarayanan Puzhavakath Narayanan [Fri, 20 Apr 2018 17:22:17 +0000 (17:22 +0000)]
Merge "Add postman scripts for HPA mannual testing"

6 years agoUpdated Postman for HPA-Conductor 81/43681/2
Ying Ruoyu [Thu, 19 Apr 2018 11:47:07 +0000 (19:47 +0800)]
Updated Postman for HPA-Conductor

Revise parameter value and add more test cases

Change-Id: I5eff8e13f7901071299f5816829de6340e09e5fb
Issue-ID: OPTFRA-169
Signed-off-by: Ying Ruoyu <ruoyu.ying@intel.com>
6 years agoMerge "Add new replies to sim"
Shankaranarayanan Puzhavakath Narayanan [Mon, 16 Apr 2018 14:05:30 +0000 (14:05 +0000)]
Merge "Add new replies to sim"

6 years agoAdd postman scripts for HPA mannual testing 11/42211/1
Ying Ruoyu [Wed, 11 Apr 2018 16:15:50 +0000 (00:15 +0800)]
Add postman scripts for HPA mannual testing

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>
6 years agoAdd new replies to sim 95/42295/1
Leonardo Bellini [Wed, 11 Apr 2018 15:56:04 +0000 (10:56 -0500)]
Add new replies to sim

Issue-ID: OPTFRA-218

Change-Id: I31d9fdf3c83baf7d7b350e49838142cc044507fc
Signed-off-by: Leonardo Bellini <leonardo.bellini@att.com>
6 years agoUpdated the AAI Simulator responses 61/41261/3
Dileep Ranganathan [Thu, 5 Apr 2018 12:07:16 +0000 (05:07 -0700)]
Updated the AAI Simulator responses

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>
6 years agoMerge "Add multicloud sim"
Shankaranarayanan Puzhavakath Narayanan [Fri, 6 Apr 2018 14:37:34 +0000 (14:37 +0000)]
Merge "Add multicloud sim"

6 years agoUpdated Postman for HPA-Conductor 59/41259/2
Dileep Ranganathan [Thu, 5 Apr 2018 11:58:01 +0000 (04:58 -0700)]
Updated Postman for HPA-Conductor

Change-Id: I3aeae2613025ef9a09ba51d109eaf0e3ec992d74
Issue-ID: OPTFRA-169
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoFixed HPA matching when no flavor is found 27/41027/3
Dileep Ranganathan [Wed, 4 Apr 2018 11:53:43 +0000 (04:53 -0700)]
Fixed HPA matching when no flavor is found

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>
6 years agoUpdate the HAS specification guide 35/39935/3
Dileep Ranganathan [Wed, 28 Mar 2018 19:07:15 +0000 (12:07 -0700)]
Update the HAS specification guide

Added HPA and VIM Fit constraints

Change-Id: I0421e441331c8dedd5f6d6be72e027089425f154
Issue-ID: OPTFRA-194
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>