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>
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>
Shankaranarayanan Puzhavakath Narayanan [Wed, 13 Jun 2018 00:35:51 +0000 (00:35 +0000)]
Merge "Update INFO.yaml"
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>
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>
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>
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>
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>
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>
Shankaranarayanan Puzhavakath Narayanan [Wed, 30 May 2018 19:49:56 +0000 (19:49 +0000)]
Merge "consolidated docs"
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>
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>
Shankaranarayanan Puzhavakath Narayanan [Sun, 27 May 2018 23:07:05 +0000 (23:07 +0000)]
Merge "Fix bug in VIM fit constraint"
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
Shankaranarayanan Puzhavakath Narayanan [Sat, 28 Apr 2018 01:39:11 +0000 (01:39 +0000)]
Merge "Add INFO.yaml file"
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>
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>
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>
Shankaranarayanan Puzhavakath Narayanan [Mon, 23 Apr 2018 19:55:37 +0000 (19:55 +0000)]
Merge "Added AAI Certs"
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>
Shankaranarayanan Puzhavakath Narayanan [Fri, 20 Apr 2018 17:22:17 +0000 (17:22 +0000)]
Merge "Add postman scripts for HPA mannual testing"
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>
Shankaranarayanan Puzhavakath Narayanan [Mon, 16 Apr 2018 14:05:30 +0000 (14:05 +0000)]
Merge "Add new replies to sim"
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>
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>
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>
Shankaranarayanan Puzhavakath Narayanan [Fri, 6 Apr 2018 14:37:34 +0000 (14:37 +0000)]
Merge "Add multicloud sim"
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>
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>
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>
Leonardo Bellini [Wed, 4 Apr 2018 14:20:04 +0000 (09:20 -0500)]
Add multicloud sim
Issue-ID: OPTFRA-212
Change-Id: I9bb0a1d888f4090a613038dc892be31e70bf5533
Signed-off-by: Leonardo Bellini <leonardo.bellini@att.com>
Dileep Ranganathan [Fri, 30 Mar 2018 13:33:03 +0000 (06:33 -0700)]
Fixed DuplicateOptError for latest oslo.config
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>
Shankaranarayanan Puzhavakath Narayanan [Wed, 28 Mar 2018 23:17:35 +0000 (23:17 +0000)]
Merge "HPA flavor matching code"
Ritu Sood [Tue, 20 Mar 2018 15:23:44 +0000 (08:23 -0700)]
HPA flavor matching code
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>
Dileep Ranganathan [Wed, 28 Mar 2018 15:37:36 +0000 (08:37 -0700)]
Fixed HPA attribute translation validation
Fixed HPA Feature Atrribute parameters validation in translation
Change-Id: I2dc0c65826e07d26d49f142042e848f66f0176e8
Issue-ID: OPTFRA-168
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Dileep Ranganathan [Tue, 27 Mar 2018 14:07:53 +0000 (07:07 -0700)]
Fixing the HPA parameters from Homing Template
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>
Ying Ruoyu [Thu, 15 Mar 2018 10:33:03 +0000 (06:33 -0400)]
HPA Enablement for controller Translator Module
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>
Dileep Ranganathan [Tue, 20 Mar 2018 14:47:27 +0000 (07:47 -0700)]
Multicloud vim controller plugin
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>
Dileep Ranganathan [Tue, 27 Mar 2018 15:26:33 +0000 (08:26 -0700)]
Fixed oslo.config dependency
Change-Id: I725aa29918f4d30b9977413629f4bc71a3513893
Issue-ID: OPTFRA-2
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Dileep Ranganathan [Mon, 19 Mar 2018 15:26:42 +0000 (08:26 -0700)]
Implemented match all operator for HPA
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>
Dileep Ranganathan [Mon, 19 Mar 2018 13:44:14 +0000 (06:44 -0700)]
Add Postman collection for HPA
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>
Dileep Ranganathan [Mon, 19 Mar 2018 13:11:19 +0000 (06:11 -0700)]
Add flavor label mapping to Homing response
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>
Dileep Ranganathan [Thu, 15 Mar 2018 11:03:24 +0000 (04:03 -0700)]
Data Service RPC for HPA
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>
Dileep Ranganathan [Wed, 14 Mar 2018 22:17:06 +0000 (15:17 -0700)]
HPA Constraint solver plugin
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>
Shankaranarayanan Puzhavakath Narayanan [Sat, 24 Mar 2018 02:12:13 +0000 (02:12 +0000)]
Merge "Fix Exception in resolve_demands RPC"
Shankaranarayanan Puzhavakath Narayanan [Fri, 23 Mar 2018 20:28:10 +0000 (20:28 +0000)]
Merge "Accommodate Changes for Music 2.4.x"
Ikram Ikramullah [Fri, 23 Mar 2018 13:38:24 +0000 (09:38 -0400)]
Accommodate Changes for Music 2.4.x
Issue-ID: OPTFRA-199
Change-Id: Ieadb1ae38621cd406af384458a9fce6ffdd15f0c
Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
Dileep Ranganathan [Thu, 22 Mar 2018 17:07:01 +0000 (10:07 -0700)]
Fix Exception in resolve_demands RPC
'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>
Shankaranarayanan Puzhavakath Narayanan [Thu, 22 Mar 2018 20:27:10 +0000 (20:27 +0000)]
Merge "Added vim-id attribute for Homing Candidates"
Dileep Ranganathan [Tue, 13 Mar 2018 14:07:14 +0000 (07:07 -0700)]
HPA Enablement for A&AI data plugin
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>
Leonardo Bellini [Tue, 20 Mar 2018 14:57:31 +0000 (09:57 -0500)]
add first seed of aaisim
Issue-ID: OPTFRA-192
Change-Id: I8347b99dbf09514dab7daa2f8e7bb8abc0122d54
Signed-off-by: Leonardo Bellini <leonardo.bellini@att.com>
Sastry Isukapalli [Sun, 18 Mar 2018 02:54:08 +0000 (02:54 +0000)]
Merge "Update oparent-python version for optf/has"
Dileep Ranganathan [Fri, 16 Mar 2018 18:45:18 +0000 (11:45 -0700)]
Added vim-id attribute for Homing Candidates
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>
Ikram Ikramullah [Wed, 14 Mar 2018 15:37:06 +0000 (11:37 -0400)]
All compnents on Single docker image
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>
Dileep Ranganathan [Wed, 14 Mar 2018 22:22:03 +0000 (15:22 -0700)]
Update oparent-python version for optf/has
Change-Id: Ice973735086d9412220256678b1d0f71ca9ff979
Issue-ID: OPTFRA-184
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Shankaranarayanan Puzhavakath Narayanan [Thu, 15 Mar 2018 14:25:36 +0000 (14:25 +0000)]
Merge "Docker dir - removed unused conf file"
Sastry Isukapalli [Thu, 15 Mar 2018 02:28:32 +0000 (02:28 +0000)]
Merge "Adding more unit tests and .coveragerc"
Ikram Ikramullah [Wed, 14 Mar 2018 15:37:06 +0000 (11:37 -0400)]
Docker dir - removed unused conf file
Removed file not needed for docker images.
(conductor.conf).
Also, added a remove-images.sh to remove images
if needed.
Issue-ID: OPTFRA-123
Change-Id: I7494a47da268a229d3d6730eb23fd5a5deb27653
Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
Shankaranarayanan Puzhavakath Narayanan [Wed, 14 Mar 2018 03:19:17 +0000 (03:19 +0000)]
Merge "Added more unit test cases in aai.py file"
rl001m [Tue, 13 Mar 2018 18:36:52 +0000 (14:36 -0400)]
Added more unit test cases in aai.py file
Added more unit tests for AAI.
get_aai_rel_link and get_aai_rel_link_data Usage
Change-Id: Ie5bc835013da5333b7e2c6f19f48ad8910793643
Issue-ID: OPTFRA-101
Signed-off-by: rl001m <ruilu@research.att.com>
Ikram Ikramullah (ikram@research.att.com) [Tue, 13 Mar 2018 16:45:36 +0000 (12:45 -0400)]
Corrected Nexus Package content
Before dockerzation can proceed, contents of
the package must be correct. Few folders/files were missing.
Changed assembly.xml to include all but the ones that are
not needed.
Also, removed files from conductor/conductor folder that were
thought to have contributed to the correction of the package
initially.
conductor/conductor/README.rst
conductor/conductor/README.md
conductor/conductor/setup.py
conductor/conductor/setup.cfg
These files are actually not needed in that level
of folder (conductor/condcutor) - They should exist only on the
main conductor/ folder.
Issue-ID: OPTFRA-123
Change-Id: I006694ddc8e7e5de21ad17fb0d4720c5b19dc960
Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
Shankaranarayanan Puzhavakath Narayanan [Tue, 13 Mar 2018 02:20:22 +0000 (02:20 +0000)]
Merge "Fixed Controller unit tests and UnboundlocalError"
Ying Ruoyu [Thu, 8 Mar 2018 11:14:39 +0000 (19:14 +0800)]
Fixed Controller unit tests and UnboundlocalError
Fix parse_optimization function in translator.py
Defined and initialized variable function in the scope
Fix unit test for parse_optimization function
Add condition variable in function row_update in api.MockAPI
Change-Id: I2f08bcfc001e9ccb22a7315d243006a1995edc81
Issue-ID: OPTFRA-69
Signed-off-by: Ying Ruoyu <ruoyu.ying@intel.com>
Shankar Narayanan [Tue, 13 Mar 2018 01:44:43 +0000 (21:44 -0400)]
Add homing specification guide
Add the homing specification guide in rst format. This should be in sync with doc/template/README.md
Issue-ID: OPTFRA-174
Change-Id: I972aa837fe520ade884b8254216bcf5f306e2ff8
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
Shankar Narayanan [Tue, 13 Mar 2018 01:38:32 +0000 (21:38 -0400)]
Add homing specification guide
Add the homing specification guide in the rst format. Need to keep this in sync with doc/template/README.md.
Issue-ID: OPTFRA-174
Change-Id: I8b16f21d9657838577a8dc5788b522d4577bf190
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
Ikram Ikramullah (ikram@research.att.com) [Mon, 12 Mar 2018 16:39:31 +0000 (12:39 -0400)]
Moved all docker files moved to main folder
Issue-ID: OPTFRA-123
Change-Id: I9334bda9ef05ed18c4e1fe35616b53e9ba128dc1
Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
Shankaranarayanan Puzhavakath Narayanan [Mon, 12 Mar 2018 13:10:23 +0000 (13:10 +0000)]
Merge "Add INFO.yaml file"
Jessica Wagantall [Thu, 1 Mar 2018 08:12:36 +0000 (00:12 -0800)]
Add INFO.yaml file
Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information
Change-Id: I726b06556d7d2ff1fcde75522e38678eb367aa6d
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Dileep Ranganathan [Thu, 8 Mar 2018 02:33:33 +0000 (18:33 -0800)]
Adding more unit tests and .coveragerc
Added more unit tests for DataEndpoint class
Usage of pragma reverted
Change-Id: Id8d4ff76c3ca75a2538352b7eb29b87b1a598794
Issue-ID: OPTFRA-101
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
rl001m [Thu, 8 Mar 2018 23:10:12 +0000 (18:10 -0500)]
Added more unit test cases in data component
Modified the test_resolve_demand unit test, and added more test cases for aai.py file. The aai.py test coverage is 72% and total test coverage is 46%.
Change-Id: I6e5ea02fc2f32d8ab20830c4bcf40744c59113e2
Issue-ID: OPTFRA-79
Signed-off-by: rl001m <ruilu@research.att.com>
Dileep Ranganathan [Wed, 7 Mar 2018 19:00:36 +0000 (11:00 -0800)]
Fixed major bug in sonar report
Remove or correct variable self-assignment
Change-Id: I21204b8c72b0f1890fe1278764da070013c69b34
Issue-ID: OPTFRA-101
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Ying Ruoyu [Wed, 7 Mar 2018 14:21:40 +0000 (22:21 +0800)]
Modified unit tests for Controller Module
Unit test for translator.py, rpc.py and translator_svc.py in conductor/controller
Change-Id: I382078152d7708b6946b68902151529dcf1f3be4
Issue-ID: OPTFRA-69
Signed-off-by: Ying Ruoyu <ruoyu.ying@intel.com>
Shankaranarayanan Puzhavakath Narayanan [Thu, 8 Mar 2018 01:33:36 +0000 (01:33 +0000)]
Merge "Fix UnboundlocalError in translator.py"
Shankaranarayanan Puzhavakath Narayanan [Thu, 8 Mar 2018 01:30:47 +0000 (01:30 +0000)]
Merge "Fix unreadable characters in tox tests"
Shankaranarayanan Puzhavakath Narayanan [Thu, 8 Mar 2018 01:09:41 +0000 (01:09 +0000)]
Merge "Added unit test cases for data component"
rl001m [Wed, 7 Mar 2018 21:53:50 +0000 (16:53 -0500)]
Added unit test cases for data component
Added Python unit test cases for aai.py file in data component. Modified the code in aai.py to make it test-driven.
Issue-ID: OPTFRA-79
Change-Id: I5c912c8a13226c6dada921f255a030e798665938
Signed-off-by: rl001m <ruilu@research.att.com>
Shankaranarayanan Puzhavakath Narayanan [Wed, 7 Mar 2018 21:51:45 +0000 (21:51 +0000)]
Merge "Corrected Docker Files"
Ikram Ikramullah (ikram@research.att.com) [Tue, 6 Mar 2018 22:27:15 +0000 (17:27 -0500)]
Corrected Docker Files
Note: we've been running conductor/has using the
source distribution (sdist) Running the git glone
instead of going for the artifacts - will do the
sdist based execution soon once the blocker for
functional testing is removed.
Also, added push script for docker images.
Issue-ID: OPTFRA-123
Change-Id: I733113d217157828322ebc2464351abdc0752be6
Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
Dileep Ranganathan [Wed, 7 Mar 2018 14:58:12 +0000 (06:58 -0800)]
Fix unreadable characters in tox tests
Added subunit-trace -f command which was missing
Change-Id: I9e1f4f3a3430349ceff3ef3bbe62119468399340
Issue-ID: OPTFRA-164
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Dileep Ranganathan [Tue, 6 Mar 2018 17:48:40 +0000 (09:48 -0800)]
Fix UnboundlocalError in translator.py
Defined and initialized variable nested in the scope
Change-Id: Idfffc95490f8a11dd0377a8e50a4737e708ecfc7
Issue-ID: OPTFRA-163
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Dileep Ranganathan [Mon, 5 Mar 2018 23:35:18 +0000 (15:35 -0800)]
Fix Sonar coverage report
Added maven-exec plugin to trigger tox and coverage
Modified sonar properties to set the path to reports
Modified .gitignore to add coverage related files
Added test dependency junitxml
Change-Id: I7e4bb5e4b6bc217b9778350c703d864e9f8ef0e2
Issue-ID: OPTFRA-101
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Dileep Ranganathan [Mon, 5 Mar 2018 10:14:46 +0000 (02:14 -0800)]
Fix Data module unit tests
New code checkin was breaking the tests.
Modified the data module unit tests to fix the breakage.
Change-Id: I30b566f771badc4799fdd9a5a946c8c058d2ea6a
Issue-ID: OPTFRA-162
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Shankaranarayanan Puzhavakath Narayanan [Sun, 4 Mar 2018 17:12:01 +0000 (17:12 +0000)]
Merge "Version.py must match setup.cfg"
Shankaranarayanan Puzhavakath Narayanan [Sun, 4 Mar 2018 17:11:00 +0000 (17:11 +0000)]
Merge "Add Active-Active code to has"
Ikram Ikramullah (ikram@research.att.com) [Sun, 4 Mar 2018 16:10:14 +0000 (11:10 -0500)]
Version.py must match setup.cfg
pip install -e . command was failing due to project
name mismatch in version.py (pbr settings) and setup.cfg.
Also, README.rst is a required file - must be present in
the directory pip install is run from (needed by setup.py).
Copied README.rst (and its markdown counterpart - README.md)
to one level in (./conductor).
Issue-ID: OPTFRA-161
Change-Id: I76e8e9c7d303a1e82524635118af3de36bc1a361
Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
Ikram Ikramullah [Tue, 27 Feb 2018 00:43:43 +0000 (19:43 -0500)]
Add Active-Active code to has
Added Active-Active setup related files (new and modifications)
Issue-ID: OPTFRA-150
Change-Id: I50964ae990a465d0f977a4dea512dd61b35e308d
Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
Ikram Ikramullah (ikram@research.att.com) [Fri, 2 Mar 2018 17:24:35 +0000 (12:24 -0500)]
Fixing setup.cfg too like setup.py
Changed email-ids to those of contributors in already existing files
(files setup.cf was only copied from one direcotry to another)
Issue-ID: OPTFRA-160
Change-Id: Ic87251654d5ffc9db496da40f6dd8d507ac5dcab
Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
Shankaranarayanan Puzhavakath Narayanan [Fri, 2 Mar 2018 16:48:41 +0000 (16:48 +0000)]
Merge "Fixed location for setup.py"
Ikram Ikramullah (ikram@research.att.com) [Fri, 2 Mar 2018 16:28:12 +0000 (11:28 -0500)]
Fixed location for setup.py
Looks like our daily job will fail if setup.py
is not where it currently resides (higher folder).
But if kept there, pip install wont work since it wont
be part of the package created and uploaded.
Moving it to both places for now for both items to work.
Note: A restructuring is already in the plans to bring
this 'multi-module' (so-called) structure to one straight
strucutre. In that restucturing setup.py would eventually
be in one place anyways.
Issue-ID: OPTFRA-160
Change-Id: Ib9ff7a273d6cf1e0c00bb74e562f268e8a569d48
Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>