ccsdk/distribution.git
4 years agoDocument OJSI-160 vulnerability 65/88965/1
Krzysztof Opasiak [Thu, 30 May 2019 20:03:37 +0000 (22:03 +0200)]
Document OJSI-160 vulnerability

Issue-ID: OJSI-160
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Iacb2ff0e696b128fc2cd00ff0fc95573dd7748de

4 years agoImprove security release notes 64/88964/1
Krzysztof Opasiak [Thu, 30 May 2019 19:34:58 +0000 (21:34 +0200)]
Improve security release notes

In order to provide users with more details of project's state in
terms of security let's divide the security release notes into three
sections:

- Fixed Security Issues
  Contains a list of security fixes merged during this
  release (especially those reported via OJSI tickets).

- Known Security Issues
  Contains a list of vulnerabilities detected in project during
  release which have not been fixed yet and thus should be mitigated
  by the user.

- Known Vulnerabilities in Used Modules
  Contains information about NexusIQ scan results

Issue-ID: SECCOM-238
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Ibf4f0300100ead783ebd820ed2c7c23bceb1f13b

4 years agoAdd Dublin release notes 10/88710/1
Timoney, Dan (dt5972) [Tue, 28 May 2019 17:49:35 +0000 (13:49 -0400)]
Add Dublin release notes

Add release notes for Dublin release

Change-Id: Ib349c3ae7f48442c7f1ef323cbb7bc7b71aec86e
Issue-ID: CCSDK-1366
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoMerge "Install openssl, iputils"
Dan Timoney [Tue, 7 May 2019 17:29:10 +0000 (17:29 +0000)]
Merge "Install openssl, iputils"

4 years agoInstall openssl, iputils 59/87159/1
Timoney, Dan (dt5972) [Tue, 7 May 2019 14:40:24 +0000 (10:40 -0400)]
Install openssl, iputils

Install openssl and iputils in odlsli alpine container.

Change-Id: I1211ebd5b4a6d1bec16456594a733bccdeb7f165
Issue-ID: CCSDK-1311
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoMerge "Inclusion of missing OOF/PCI dependencies in ODLSLI POM's"
Dan Timoney [Thu, 2 May 2019 20:12:27 +0000 (20:12 +0000)]
Merge "Inclusion of missing OOF/PCI dependencies in ODLSLI POM's"

4 years agoInclusion of missing OOF/PCI dependencies in ODLSLI POM's 50/86450/4
Sandeep Shah [Sat, 27 Apr 2019 08:05:08 +0000 (03:05 -0500)]
Inclusion of missing OOF/PCI dependencies in ODLSLI POM's

Unfortunately, inclusion of dependencies was missed during feature
code commit before M3

Change-Id: Ifdf16f838cb4e00a29da88034f45fe86aae9b95f
Issue-ID: CCSDK-1296
Signed-off-by: SandeepLinux <sandeep.shah2@techmahindra.com>
4 years agoFix ansible-server for supporting playbook of PNF 53/86753/1
Enbo Wang [Wed, 1 May 2019 23:34:34 +0000 (23:34 +0000)]
Fix ansible-server for supporting playbook of PNF

Change-Id: Id6a4c2e81c6e782e496970e080c033e2f9a77296
Issue-ID: APPC-1577
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
4 years agoMerge "Update ansible-server to support playbook of PNF"
Dan Timoney [Wed, 1 May 2019 19:50:00 +0000 (19:50 +0000)]
Merge "Update ansible-server to support playbook of PNF"

4 years agoUpdate version for El Alto 02/86702/1
Timoney, Dan (dt5972) [Wed, 1 May 2019 12:10:40 +0000 (08:10 -0400)]
Update version for El Alto

Update version in master branch to El Alto versioning

Change-Id: I0f4dbcf10aa572da3406ee500921a4f5c24beb55
Issue-ID: CCSDK-1222
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoUpdate ansible-server to support playbook of PNF 99/86699/1
Enbo Wang [Wed, 1 May 2019 11:07:21 +0000 (11:07 +0000)]
Update ansible-server to support playbook of PNF

Use pnf-flag to distinguish PNF and VNF, and use different processing methods respectively.

Change-Id: I5de015eb9044b8d66781e1f7bb12f9487e313125
Issue-ID: APPC-1577
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
4 years agoUpdate to use released 1.2.2 parent 98/86198/2 0.4.2
Timoney, Dan (dt5972) [Wed, 24 Apr 2019 20:19:40 +0000 (16:19 -0400)]
Update to use released 1.2.2 parent

Update to use released 1.2.2 version of parent poms.

Change-Id: I3f49d85323e9d77eb71f136d0b3aa2349fc48d88
Issue-ID: CCSDK-1222
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
4 years agoremove LCM in ansibleSysCall 79/85979/3
Taka Cho [Mon, 22 Apr 2019 15:54:32 +0000 (11:54 -0400)]
remove LCM in ansibleSysCall

this change is basically reverted to
my change on https://gerrit.onap.org/r/#/c/77516/
also: 1, chown -R /var/log in Dockefile instead
2, remove ECOMP line in the head

Change-Id: I45f92cb7b64478039b893ed5a0b69fc9f2235596
Issue-ID: APPC-1577
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoService Logic (DG/Templates) for SDNR OOF PCI POC 38/84938/2 0.3.4 3.0.2-ONAP
Sandeep Shah [Wed, 10 Apr 2019 16:34:16 +0000 (11:34 -0500)]
Service Logic (DG/Templates) for SDNR OOF PCI POC

DG's, templates, property files to support service logic for SDNR OOF
PCI POC use case. Also includes the required changes to POM files to
appropriately copy the above artifacts to docker-state folder in
respective sub-folders.

Change-Id: I9b16c798bcc9ba3a28d5a99f4c3d1562f5ed0468
Issue-ID: CCSDK-1204
Signed-off-by: SandeepLinux <sandeep.shah2@techmahindra.com>
5 years agoRemove file with EPL licence 26/84726/1
Alexis de Talhouët [Tue, 9 Apr 2019 17:06:57 +0000 (13:06 -0400)]
Remove file with EPL licence

Change-Id: I56f5fcc60df13ebac5a31ccdd767ee7086b257cd
Issue-ID: CCSDK-1211
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
5 years agoFix error in Dockerfile 40/84240/1
Timoney, Dan (dt5972) [Thu, 4 Apr 2019 13:18:07 +0000 (06:18 -0700)]
Fix error in Dockerfile

Fix error in Dockerfile introduced when resolving merge conflict

Change-Id: Ie5e70afea93a0ef67bd4047b9e455ff1b64c7a13
Issue-ID: SDNC-712
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoRevert dgbuilder OS change 25/84125/1
Timoney, Dan (dt5972) [Wed, 3 Apr 2019 17:01:32 +0000 (10:01 -0700)]
Revert dgbuilder OS change

Reverted dgbuilder to ubuntu - start up script fails in alpine
due to missing packages.

Change-Id: I02a9d82d0c3dfc6b021951d2b1765cbdf720378d
Issue-ID: INT-1005
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoRestore ccsdk-sli-adaptors-all package 89/83989/2
Timoney, Dan (dt5972) [Tue, 2 Apr 2019 17:35:09 +0000 (10:35 -0700)]
Restore ccsdk-sli-adaptors-all package

Restore ccsdk-sli-adaptors-all package, which had been removed while
debugging a conflict that prevented container from coming up.

Change-Id: If28fcae0c47e196daa4e3665acd46881b5ae78d7
Issue-ID: SDNC-712
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "Make images arm-64 compatible"
Dan Timoney [Mon, 1 Apr 2019 15:59:38 +0000 (15:59 +0000)]
Merge "Make images arm-64 compatible"

5 years agoMake images arm-64 compatible 92/83592/2
Simon Hrabos [Thu, 28 Mar 2019 10:22:04 +0000 (03:22 -0700)]
Make images arm-64 compatible

Modify versions of docker maven plugin, so the images can be build on arm64

Change-Id: Ibc66feb2405359a564e87ff772ecebf2c05c7345
Issue-ID: INT-1005
Signed-off-by: Simon Hrabos <simon.hrabos@tieto.com>
5 years agoAdd sdnr wt repository to odlsli 10/83410/2
Herbert Eiselt [Tue, 26 Mar 2019 19:40:49 +0000 (20:40 +0100)]
Add sdnr wt repository to odlsli

Add sdnr wt repository to ccsdk-distribution odlsli

Change-Id: I404dca7a62b822fddefe52041a8e378827dbd0c6
Issue-ID: SDNC-709
Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
5 years agoFix container startup issue 17/83617/1
Timoney, Dan (dt5972) [Thu, 28 Mar 2019 14:30:45 +0000 (10:30 -0400)]
Fix container startup issue

Fixed odlsli startup issue.  Container was incorrectly using
released version of ccsdk/features instead of snapshot.
This would be fine, except that staging repo in nexus is
not getting updated properly, so the OLDEST version of
staged artifact is used instead of newest.

Change-Id: I02f72bcd010dc6c897f9a0e978ef0871fc463042
Issue-ID: CCSDK-1185
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoadd aafshiro feature dependency 72/78872/3
Ubuntu [Wed, 20 Feb 2019 20:05:48 +0000 (20:05 +0000)]
add aafshiro feature dependency

add  dependency to aafshiro feature  to odlsli images to support AAF

Change-Id: I8de0e213682fc26acee792b9c37936aad1c1b2bb
Issue-ID: SDNC-485
Signed-off-by: Ubuntu <ra1926@att.com>
5 years agoRestconf-nb-rfc4080 to be in boot up feature 14/83014/5
janani b [Fri, 22 Mar 2019 09:07:52 +0000 (14:37 +0530)]
Restconf-nb-rfc4080 to be in boot up feature

Adding ODL dependency required for RestconfClient in the boot features

Issue-ID: CCSDK-1045

Change-Id: I7f850cf9b6ef3ac489fc8daaaee17af47f2263ba
Signed-off-by: janani b <janani.b@huawei.com>
5 years agoCreate Fluorine SR2 based containers 78/82978/2
Timoney, Dan (dt5972) [Thu, 21 Mar 2019 20:32:05 +0000 (16:32 -0400)]
Create Fluorine SR2 based containers

Create docker containers based on OpenDaylight Fluorine SR2

Change-Id: I0d0d7eeec54da77105fe8626987c8aa3049d4495
Issue-ID: CCSDK-1056
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "Removing the unused dependency."
Dan Timoney [Sun, 24 Mar 2019 14:53:27 +0000 (14:53 +0000)]
Merge "Removing the unused dependency."

5 years agoRemoving the unused dependency. 30/82930/3
janani b [Thu, 21 Mar 2019 13:05:58 +0000 (18:35 +0530)]
Removing the unused dependency.

ODL's base javax dependency (2.0.1) will be used by plugin components.

Issue-ID: CCSDK-1045

Change-Id: I3e4454b0cd8fd268fd7b4bdc9c4073176f1a8c3d
Signed-off-by: janani b <janani.b@huawei.com>
5 years agoRemove staging pluging 55/82955/1 0.4.1
Timoney, Dan (dt5972) [Thu, 21 Mar 2019 15:43:19 +0000 (11:43 -0400)]
Remove staging pluging

Remove staging plugin from top level pom

Change-Id: I64fb9ea87f738ea0ed1fe3cd4c3699129d884a04
Issue-ID: CCSDK-1156
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoInstall nss in alpine 20/82820/2
Timoney, Dan (dt5972) [Wed, 20 Mar 2019 15:50:56 +0000 (11:50 -0400)]
Install nss in alpine

Install NSS as part of base ccsdk alpine image.  This is
required by OpenDaylight and was originally installed as
part of the base alpine image but is no longer included in
latest alpine 3.8 image

Change-Id: I79e6fee1372f623f3dceadb8a7a1aba6fd3d7d32
Issue-ID: SDNC-701
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoDisable messagerouter adaptor 92/82792/1
Timoney, Dan (dt5972) [Wed, 20 Mar 2019 12:23:14 +0000 (08:23 -0400)]
Disable messagerouter adaptor

Instead of installing ccsdk-sli-adaptors-all, install individual
adaptors so we can exclude messagerouter for now, which is not
coming up properly.

Change-Id: I9c9dde2a843302083f57cf6465eab0e3e535778d
Issue-ID: SDNC-701
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoPrepare for release 0.4.1 19/82419/1
Timoney, Dan (dt5972) [Fri, 15 Mar 2019 12:12:19 +0000 (08:12 -0400)]
Prepare for release 0.4.1

Prepare to create release version 0.4.1 by using released version
of parent pom

Change-Id: I9a11c7723bd617f1a6c6c85e4aa420536a260539
Issue-ID: CCSDK-1156
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoAdd sdnr to odlsli distribution 67/82167/1
Herbert Eiselt [Wed, 13 Mar 2019 19:29:18 +0000 (20:29 +0100)]
Add sdnr to odlsli distribution

Add to odlsli alpine and ubuntu resubmit1

Change-Id: I054d63edd7f80136600d6a13a241dc42de1b90d2
Issue-ID: SDNC-690
Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
5 years agoCreate ONAP's ODL Fluorine SR1 distro 75/79075/8
Alexis de Talhouët [Sun, 24 Feb 2019 18:45:00 +0000 (13:45 -0500)]
Create ONAP's ODL Fluorine SR1 distro

Modules installed:
- AAA
- Controller
- Daexim
- Netconf
- MDSAL (pulled trnasitively)
- ODL Parent
- YangTools (pulled transitively)

Brings karaf from 255.9 MB to 215.7 MB.

Note: Oxygen SR3 was 353.2 MB when Fluorine SR1 is 255.9 MB,
so upstream ODL has already shrink their distribution size.

Change-Id: Ic8618156efd4fc842b496bc25557eb322a6dbf26
Issue-ID: CCSDK-1105
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Reviewed-on: https://gerrit.onap.org/r/79075
Tested-by: ONAP Jobbuilder <onap-jobbuilder@jenkins.onap.org>
Reviewed-by: Dan Timoney <dtimoney@att.com>
5 years agoFix SSH transport for Ansible server 23/79723/1
Sylvain Desbureaux [Tue, 5 Mar 2019 16:40:10 +0000 (17:40 +0100)]
Fix SSH transport for Ansible server

with previous configuration of ansible server docker, as there was no
ssh binary, ansible switched to paramiko and it was causing "cannot
import name aead".

Added "ssh" as binary and tried to make paramiko work as some modules
requires it (such as PAN-OS). but it still fails with the same error...

Also given "ansible-server" to ansible user as it can create
PlaybooksTemp (wasn't allowed before).

Change-Id: Ic4a82e29edcf68b44219cd17dabcf2f6b03dc6c8
Issue-ID: APPC-1523
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
5 years agoRun CCSDK dockers as non-root 68/78968/1
Timoney, Dan (dt5972) [Thu, 21 Feb 2019 19:57:34 +0000 (14:57 -0500)]
Run CCSDK dockers as non-root

Update CCSDK docker images to run as non-root user by default

Change-Id: Ia07c433a0e6f041d6684f24b765f4c1733b51162
Issue-ID: CCSDK-1099
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "make ansible container backward compatible"
Dan Timoney [Tue, 19 Feb 2019 15:38:43 +0000 (15:38 +0000)]
Merge "make ansible container backward compatible"

5 years agomake ansible container backward compatible 01/78701/1
Taka Cho [Mon, 18 Feb 2019 19:31:27 +0000 (14:31 -0500)]
make ansible container backward compatible

Due to failure on docker-compose in APPC heat
and k8s in APPC pod. I made this change backward
compatible

Change-Id: I9f4bb7b4a6d75cfdc7e3272b3382474342fb142c
Issue-ID: APPC-1441
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoAdd missing installer 92/78592/1
Timoney, Dan (dt5972) [Fri, 15 Feb 2019 21:17:03 +0000 (16:17 -0500)]
Add missing installer

Add missing installer for grpc client

Change-Id: I1e336c37f74b1213d2ad60d14a0dff7b7d931ed0
Issue-ID: CCSDK-1085
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoFix saltstack-server docker build 89/78589/1
Timoney, Dan (dt5972) [Fri, 15 Feb 2019 20:14:50 +0000 (15:14 -0500)]
Fix saltstack-server docker build

Fixed incorrect URL in yum install, which was causing docker build
to fail.

Change-Id: I9a646c578f894e01474283ebbf47a235ddd21d98
Issue-ID: CCSDK-1084
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "Changes in RestServer.py"
Dan Timoney [Wed, 13 Feb 2019 18:40:09 +0000 (18:40 +0000)]
Merge "Changes in RestServer.py"

5 years agoFix docker tags 33/78333/1
Timoney, Dan (dt5972) [Tue, 12 Feb 2019 19:35:10 +0000 (14:35 -0500)]
Fix docker tags

Updated docker tags to conform to ONAP standards

Change-Id: If461ee7ea99a1966e66a03a3a970d0acef835320
Issue-ID: CCSDK-1059
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoBase for saltstack server 66/78266/1
Ganesh Chandrasekaran [Tue, 12 Feb 2019 06:01:25 +0000 (15:01 +0900)]
Base for saltstack server

Issue-ID: CCSDK-1048
Change-Id: Ic177428fd9fb111919f4bfbd0978464a19ac75ab
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
5 years agoFix odlsli ubuntu install 65/78065/1
Timoney, Dan (dt5972) [Thu, 7 Feb 2019 15:06:27 +0000 (10:06 -0500)]
Fix odlsli ubuntu install

Fix feature install for Ubuntu-base ODLSLI container

Change-Id: I1952bc6551c1451cb0bcfbe89385aa49fd84a10d
Issue-ID: CCSDK-489
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "Add missing MR to mtce release contents"
Dan Timoney [Thu, 7 Feb 2019 15:03:06 +0000 (15:03 +0000)]
Merge "Add missing MR to mtce release contents"

5 years agoAdd missing MR to mtce release contents 54/78054/1
Timoney, Dan (dt5972) [Thu, 7 Feb 2019 13:18:23 +0000 (08:18 -0500)]
Add missing MR to mtce release contents

Added missing defect to Casablanca mtce release contents.

Change-Id: Iffc4e616937fd06d0e5cb42323ec31f639ef2884
Issue-ID: CCSDK-1010
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoProvide symlink to old ansible root 15/78015/2
Timoney, Dan (dt5972) [Wed, 6 Feb 2019 22:14:45 +0000 (17:14 -0500)]
Provide symlink to old ansible root

For backward compatibility, provide symlink /opt/onap/ccsdk ->
/opt/ansible-server in ansible server container.

Change-Id: I935ded656800c6a94b0326dcdd52caaaf0c7a71a
Issue-ID: CCSDK-1044
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoChanges in RestServer.py 50/78050/1
Shubhada Ramkrishna Vaze [Thu, 7 Feb 2019 12:28:20 +0000 (17:58 +0530)]
Changes in RestServer.py

Ansible Inventory file includes all partial match entries for Nodelist

Change-Id: I27613a2402731750441938b2b269cb9fc6259825
Issue-ID: APPC-1288
Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>
5 years agoINT-864 small, multi-arch image 12/78012/1
sandovalfr [Wed, 6 Feb 2019 19:08:33 +0000 (12:08 -0700)]
INT-864 small, multi-arch image

Issue-ID: INT-864

Change-Id: I9a108486f41bf53d93ee6a9bcd2012f7515c3287
Signed-off-by: sandovalfr <frank.sandoval@oamtechnologies.com>
5 years agoUpdate odlsli image name 64/77964/1
Timoney, Dan (dt5972) [Wed, 6 Feb 2019 15:57:43 +0000 (10:57 -0500)]
Update odlsli image name

Update docker-compose to use odlsli alpine image.

Change-Id: I449c366eb13b00c5477b706614a4224102b6150c
Issue-ID: CCSDK-862
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoFix Fluorine installation 40/77840/3
Timoney, Dan (dt5972) [Mon, 4 Feb 2019 23:02:21 +0000 (18:02 -0500)]
Fix Fluorine installation

Fix updates to features.cfg for Flourine.

Change-Id: Icb8d4dc2ed98ac71a8f0ef1c8fe68729091436c5
Issue-ID: CCSDK-489
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoremove proxy conf in pom for ansible-server 54/77654/2
Sylvain Desbureaux [Wed, 30 Jan 2019 13:36:14 +0000 (14:36 +0100)]
remove proxy conf in pom for ansible-server

Change-Id: I9f230afab027f4c2442c5af91a96bbddf691d78a
Issue-ID: INT-816
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
5 years agoDebug ansible docker issue 52/77652/1
Timoney, Dan (dt5972) [Thu, 31 Jan 2019 15:10:04 +0000 (10:10 -0500)]
Debug ansible docker issue

Debug ansible docker install issue by turning on verbose
logging.

Change-Id: I9b032f459c1d2a4f798417b53dfc9957d510e37a
Issue-ID: INT-816
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "reduce ccsdk-ansible-server image footprint"
Dan Timoney [Thu, 31 Jan 2019 14:10:49 +0000 (14:10 +0000)]
Merge "reduce ccsdk-ansible-server image footprint"

5 years agoMerge "Install saltstack-adapter jar"
Dan Timoney [Thu, 31 Jan 2019 02:42:48 +0000 (02:42 +0000)]
Merge "Install saltstack-adapter jar"

5 years agoInstall saltstack-adapter jar 94/77594/1
Timoney, Dan (dt5972) [Wed, 30 Jan 2019 15:58:25 +0000 (10:58 -0500)]
Install saltstack-adapter jar

Install saltstack-adapter jar file in ODL local maven repo.

Change-Id: Ic3132c01b33d11f38fde96df291256fafed79aca
Issue-ID: CCSDK-1014
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoreduce ccsdk-ansible-server image footprint 78/77578/1
Sylvain Desbureaux [Wed, 30 Jan 2019 13:36:14 +0000 (14:36 +0100)]
reduce ccsdk-ansible-server image footprint

Project "CIA" scope is to provide smaller and multi architecture docker
images.

This proposition aims to do that for ccsdk-ansible-server.

The current size of this proposal is 139mb compared to the 618Mb image
proposed before (and before actual ansible installation).

Principles used are the following:

1. a "basic" `docker build .` should provide a working image;
2. use the smallest (and multi arch) base image possibe;
3. install necessary stuff only;
4. leverage python best practices for installation;
5. remove installation stuff occuring at run level and move them to
   build level.

* Dockerfile is now at the root part;
* ansible configuration file `ansible.cfg` is created and put in
  `configuration` folder;
* ansible configuration file `ansible.cfg` is pushed during the
  build part with a reproductible process;
* `python` files are on `ansible-server" folder so copying during build
  works out of the box;
* yml files are put directly on `ansible-server/Playbooks` so copying
during build works out the box;

* Dockerfile base image is now alpine:3.8;
* `timeout` executable being now from busybox, change in the
  command-line call has been made (`--signal` is now `-s` and `-t` is
  set before setting the timeout value).

* Only install python and python-pip as alpine package and remove build
  dependencies package after use.

* put all python requirements in `requirements.txt` package and launch
  pip installation command with this file.

* call directly python main script (`RestServer.py`) as entrypoint and
  do the python installation stuff at build time.

- [x] change pom.xml so building parts works
- [ ] consider changing destination folder (`/opt/ansible-server/`) to
      the ancient one (`/opt/onap/ccsdk/`) if this is problematic

Change-Id: I5c66f29ca40d9224aef3d230593735b8e0aa1f3b
Issue-ID: INT-816
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
5 years agoalpine build, implement to follow VNF anisble Req 16/77516/3
Taka Cho [Tue, 29 Jan 2019 14:30:22 +0000 (09:30 -0500)]
alpine build, implement to follow VNF anisble Req

1. change from ubuntu build to alpine build
2, follow the dir path for playbook - pls see JIRA

Change-Id: Iaa2f7e3c9fc66542b1bc0751826821276f773efa
Issue-ID: CCSDK-1009
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoUpdate release notes for Casablance mtce 47/77447/1
Timoney, Dan (dt5972) [Mon, 28 Jan 2019 14:29:44 +0000 (09:29 -0500)]
Update release notes for Casablance mtce

Documented bugs fixed in Casablanca maintenance release.

Change-Id: Iadef1c82eceb62c61077899575d4d92fe92dbea6
Issue-ID: CCSDK-1010
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoChanges for Fluorine 48/75248/2
Timoney, Dan (dt5972) [Thu, 3 Jan 2019 20:14:58 +0000 (15:14 -0500)]
Changes for Fluorine

Update docker container for ODL Fluorine

Change-Id: Ia595d5afb30b2ad53de547e3b5f89fd480a76a28
Issue-ID: CCSDK-870
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoEnable the installation of TemplateNode feature 60/75560/2
Munir Ahmad [Wed, 9 Jan 2019 13:45:42 +0000 (08:45 -0500)]
Enable the installation of TemplateNode feature

Change-Id: Ic037a8b2168a81c1d73868290f10fe043e9133f3
Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
Issue-ID: CCSDK-923

5 years agoPrepare for release build 97/75497/2 0.4.0
Timoney, Dan (dt5972) [Tue, 8 Jan 2019 20:56:26 +0000 (15:56 -0500)]
Prepare for release build

Prepare for release of early ODL-Oxygen based CCSDK Dublin

Change-Id: I8f725533def2c2bec8e37af86ee2657d125a50e0
Issue-ID: CCSDK-870
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoAdd base ODL Fluorine containers 14/75014/1
Timoney, Dan (dt5972) [Thu, 20 Dec 2018 18:40:40 +0000 (13:40 -0500)]
Add base ODL Fluorine containers

Add base docker containers for OpenDaylight Fluorine SR1

Change-Id: I6f203352adae5d4d70628be62818d6f5f96f1457
Issue-ID: CCSDK-860
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "update SVC_LOGIC table"
Dan Timoney [Mon, 17 Dec 2018 18:36:29 +0000 (18:36 +0000)]
Merge "update SVC_LOGIC table"

5 years agoMerge "Port ODL Oxygen to alpine"
Dan Timoney [Sat, 15 Dec 2018 13:40:48 +0000 (13:40 +0000)]
Merge "Port ODL Oxygen to alpine"

5 years agoPort ODL Oxygen to alpine 78/74678/3
Timoney, Dan (dt5972) [Fri, 14 Dec 2018 18:00:43 +0000 (13:00 -0500)]
Port ODL Oxygen to alpine

Add new alpine-based images for OpenDaylight Oxygen container.

Change-Id: I49eb198e39a4dd71736175876e2e1af0a85d5228
Issue-ID: CCSDK-841
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoupdate SVC_LOGIC table 16/74616/1
Smokowski, Kevin (ks6305) [Thu, 13 Dec 2018 14:45:12 +0000 (14:45 +0000)]
update SVC_LOGIC table

Add missing columns modified_timestamp and md5sum

Change-Id: I1719323459eacd895a8ae4ddd75c3df2a5df5953
Issue-ID: CCSDK-828
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
5 years agoUpdate INFO.yaml file 29/74529/1
Jessica Wagantall [Tue, 11 Dec 2018 20:23:26 +0000 (12:23 -0800)]
Update INFO.yaml file

- Add Gaurav Agrawal as committer
- Add missing info sections
- Fix indentation to pass verify

Change-Id: I96e13aac1d865ae239874cceccea920a210cacd7
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoUpdate INFO.yaml file 14/74314/1
Jessica Wagantall [Thu, 6 Dec 2018 01:37:18 +0000 (17:37 -0800)]
Update INFO.yaml file

Remove Ryan Goulding

Change-Id: I6bafe1c7a8ef205c3ae673992f20b328423f3d90
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoUpdate release notes 15/74015/1
Timoney, Dan (dt5972) [Fri, 30 Nov 2018 02:47:46 +0000 (21:47 -0500)]
Update release notes

Update release notes with review comments.

Change-Id: If0c2f4873b92aa361ab68c158165f893dc3f7aee
Issue-ID: CCSDK-654
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoMerge "[CCSDK-683] fixed dg import from local git repo"
Dan Timoney [Mon, 19 Nov 2018 22:38:06 +0000 (22:38 +0000)]
Merge "[CCSDK-683] fixed dg import from local git repo"

5 years agoMerge "fix typos"
Dan Timoney [Mon, 19 Nov 2018 22:33:54 +0000 (22:33 +0000)]
Merge "fix typos"

5 years agoMerge "Store .installed marker in persistent volume"
Dan Timoney [Thu, 15 Nov 2018 20:54:54 +0000 (20:54 +0000)]
Merge "Store .installed marker in persistent volume"

5 years agoMerge "Update packages inside the container"
Dan Timoney [Thu, 15 Nov 2018 20:28:40 +0000 (20:28 +0000)]
Merge "Update packages inside the container"

5 years agoStore .installed marker in persistent volume 75/72675/1
Timoney, Dan (dt5972) [Wed, 14 Nov 2018 15:15:04 +0000 (10:15 -0500)]
Store .installed marker in persistent volume

Store .installed marker in persistent volume (/opt/opendaylight/current/daexim)

Change-Id: If9bad7fcd8a2412d1db7fb3bbb77d5f81f4b7377
Issue-ID: SDNC-518
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
(cherry picked from commit 9788155805ded9b76617e6c795c76b53f73426ec)

5 years ago[CCSDK-683] fixed dg import from local git repo 82/72482/1
Sheshashailavas Chinthakayala [Mon, 12 Nov 2018 22:28:37 +0000 (22:28 +0000)]
[CCSDK-683] fixed dg import from local git repo

and also added option to view difference of json and xml since import

Change-Id: I4e2616f1880805bd74031020418ba2776616cbfa
Issue-ID: CCSDK-683
Signed-off-by: Sheshashailavas Chinthakayala <sc2914@att.com>
5 years agoUpdate release notes for Casablanca 15/72215/1
Timoney, Dan (dt5972) [Thu, 8 Nov 2018 14:58:44 +0000 (09:58 -0500)]
Update release notes for Casablanca

Update release notes with links to user stories and bugs for Casablanca

Change-Id: I6d94c0de07bd629faf51b6845bd05495b22fd661
Issue-ID: CCSDK-654
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agofix typos 07/72207/1
Stanislav Chlebec [Thu, 8 Nov 2018 13:06:31 +0000 (14:06 +0100)]
fix typos

Change-Id: Ib0581cb404e50defcbfcfeb399eeddb6c91799f5
Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>
Issue-ID: AAF-582

5 years agoUpdate packages inside the container 86/72086/1
Julien Barbot [Wed, 7 Nov 2018 15:31:35 +0000 (16:31 +0100)]
Update packages inside the container

This prevents from package desynchronization, leading to
half packages not installed.

Change-Id: I11ef8a8f18e5b041b8c0c3c66b0792dad8361e28
Issue-ID: SDNC-443
Signed-off-by: Julien Barbot <julien@barbot.org>
5 years agoRoll to initial Dublin snapshot 95/71095/1
Timoney, Dan (dt5972) [Tue, 23 Oct 2018 20:06:15 +0000 (16:06 -0400)]
Roll to initial Dublin snapshot

Roll version to initial Dublin snapshot

Change-Id: If2e121ea6a05e532db7e055de9f86adec11ef378
Issue-ID: CCSDK-617
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoPrepare for RC0 release 80/70380/1 0.3.1 3.0.0-ONAP
Timoney, Dan (dt5972) [Fri, 12 Oct 2018 19:12:32 +0000 (15:12 -0400)]
Prepare for RC0 release

Update to prepare for RC0 release build: remove -STAGING tag from
release version and use released parent poms.

Change-Id: I8737380807de0cb582d9a7a1fe99ca74b1c767b5
Issue-ID: CCSDK-617
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoRoll to next snapshot version 34/69834/1
Timoney, Dan (dt5972) [Thu, 4 Oct 2018 13:01:07 +0000 (09:01 -0400)]
Roll to next snapshot version

Roll ccsdk/distribution to next snapshot version.

Change-Id: Ic5ba30c3abb0049dc125488f19e7622d2dce1ee1
Issue-ID: CCSDK-597
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
5 years agoPrepare for release build 09/69409/1 0.3.0
Timoney, Dan (dt5972) [Thu, 27 Sep 2018 20:41:30 +0000 (16:41 -0400)]
Prepare for release build

Remove -STAGING from release version and remove SNAPSHOT dependencies

Change-Id: I2d10dea846bcdccf999ac34026a8c8b8677af4f1
Issue-ID: CCSDK-597
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoInstall javax.ws.rs-api v 2.1 17/68717/1
Timoney, Dan (dt5972) [Mon, 24 Sep 2018 18:01:39 +0000 (14:01 -0400)]
Install javax.ws.rs-api v 2.1

Install version 2.1 of javax.ws.rs-api package, needed by restapi-call-node

Change-Id: Ib68ba5a7aa5724695b0877bda7d149122b2a34b9
Issue-ID: CCSDK-567
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoRevert "Dependency management for Restconf Client" 29/68229/1
Timoney, Dan (dt5972) [Thu, 20 Sep 2018 18:17:15 +0000 (14:17 -0400)]
Revert "Dependency management for Restconf Client"

This reverts commit b23b39dbc67c7269c6c7cdbff5f9a529e0dffb75.

Change-Id: Idbab8aaed32dd0fa1858851a5d9aab6c6eab28f3
Issue-ID: CCSDK-567
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoMerge "Dependency management for Restconf Client"
Dan Timoney [Thu, 20 Sep 2018 18:12:52 +0000 (18:12 +0000)]
Merge "Dependency management for Restconf Client"

5 years agofix ansible inventory path 47/67847/1
Agarwal, Ruchira(ra1926) [Wed, 19 Sep 2018 19:05:10 +0000 (19:05 +0000)]
fix ansible inventory path

Change ansible inventory path to have ccsdl instead of sdnc in path

Change-Id: Iebd5a03b38aa92e01d1ec986661d49d461052a2d
Issue-ID: CCSDK-586
Signed-off-by: Agarwal, Ruchira(ra1926) <ra1926@att.com>
5 years agoDependency management for Restconf Client 91/66591/2
gaurav [Fri, 14 Sep 2018 09:19:28 +0000 (14:49 +0530)]
Dependency management for Restconf Client

Changes includes:
- Added Restconf client to boot features list in DockerFile.

Change-Id: I9dadc1f9a1cb149d8cb6604d12210c86c6bb1dec
Issue-ID: CCSDK-567
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
5 years agoMerge "Updating aai version in aaiclient.properties"
Dan Timoney [Thu, 13 Sep 2018 19:12:10 +0000 (19:12 +0000)]
Merge "Updating aai version in aaiclient.properties"

5 years agoMerge "Add dependencies for blueprint-processor"
Dan Timoney [Wed, 12 Sep 2018 19:48:38 +0000 (19:48 +0000)]
Merge "Add dependencies for blueprint-processor"

5 years agoAdd dependencies for blueprint-processor 01/66201/2
Alexis de Talhouët [Wed, 12 Sep 2018 19:27:33 +0000 (15:27 -0400)]
Add dependencies for blueprint-processor

Change-Id: I6eb0a5b2202ab7af324a01e453ae9e4510c3d64d
Issue-ID: CCSDK-505
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
5 years agoAdd ansible-server to ccsdk 31/66131/1
Timoney, Dan (dt5972) [Wed, 12 Sep 2018 14:53:10 +0000 (10:53 -0400)]
Add ansible-server to ccsdk

Add ansible-server to CCSDK (copied from sdnc)

Change-Id: I1a351ada1b31cb6623ec2ef850a9d85f856ba41c
Issue-ID: CCSDK-554
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoUpdating aai version in aaiclient.properties 65/65665/1
gaurav [Tue, 11 Sep 2018 06:06:09 +0000 (11:36 +0530)]
Updating aai version in aaiclient.properties

Updated AAI version to v14 in aaiclient.properties.

Change-Id: I52faa1a381f5bfa6ac8ac6dcff56269757e2bfb3
Issue-ID: CCSDK-324
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
5 years agoFix syntax error in SQL statement 71/64771/1
Aaron Hay [Wed, 5 Sep 2018 14:10:28 +0000 (10:10 -0400)]
Fix syntax error in SQL statement

Change-Id: I9f6c7f0d167d536692e4af390eb54ddfa2824900
Issue-ID: APPC-1191
Signed-off-by: Aaron Hay <ah415j@att.com>
5 years agoAdd netbox-client to odlsli 41/61841/1
Alexis de Talhouët [Wed, 22 Aug 2018 13:06:49 +0000 (09:06 -0400)]
Add netbox-client to odlsli

Change-Id: Ie383892d0ff3985598d418c99904e98c11c77557
Issue-ID: CCSDK-462
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
5 years agoAdd LCM API to CCSDK readthedocs 73/61373/1
Timoney, Dan (dt5972) [Mon, 20 Aug 2018 19:51:35 +0000 (15:51 -0400)]
Add LCM API to CCSDK readthedocs

Add missing LCM API doc to ccsdk documentation

Change-Id: I5cd2addad7f9ff20a09eea3b6083b9f94801af4c
Issue-ID: CCSDK-476
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoUpdate ODL distro version 41/60741/1
Timoney, Dan (dt5972) [Wed, 15 Aug 2018 15:29:10 +0000 (11:29 -0400)]
Update ODL distro version

Update ODL distribution version to Oxygen SR3 version.

Change-Id: I0ea9b79ceef86552e2b6d42c7de23e8a189734e5
Issue-ID: CCSDK-453
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoRemove tabs in asdc-api graph-versions 65/60365/1
lalena.aria [Mon, 13 Aug 2018 17:38:44 +0000 (13:38 -0400)]
Remove tabs in asdc-api graph-versions

Changes made:
Replace tabs with single space in asdc-api graph-versions
in order to avoid SvcLogicLoader error.

Change-Id: I1c91e799ec42f1ec7e2ffcc0cafdcbfce57ec27d
Issue-ID: CCSDK-456
Signed-off-by: lalena.aria <lalena.aria@att.com>
5 years agoInstall 3rd party dependencies 69/60069/1
Timoney, Dan (dt5972) [Fri, 10 Aug 2018 19:52:20 +0000 (15:52 -0400)]
Install 3rd party dependencies

Add separate component to install all third party dependencies, including
EELF (needed by ansible-adapter)

Change-Id: I9b16ed83d19c2ed22fefd28a4e2186d6e196edcd
Issue-ID: CCSDK-454
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoFix logging configuration 77/58777/1
Timoney, Dan (dt5972) [Thu, 2 Aug 2018 20:39:44 +0000 (16:39 -0400)]
Fix logging configuration

ODL Oxygen uses log4j2, which has a different configuration format
from log4j.  The org.ops4j.pax.logging.cfg that we were installing
was in log4j format, which is what caused logging to break.

The old format also created a large number of log files for each node
executed.  In this commit, we no longer create separate log files for each
dg / node.  We do, however, add the current directed graph and node id to each line logged in karaf.log

Change-Id: I1377efa7e0c6fa6963e18370d69bafab60ba024d
Issue-ID: CCSDK-427
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
5 years agoAdd missing maven repos 59/57559/1
Timoney, Dan (dt5972) [Wed, 25 Jul 2018 15:07:50 +0000 (11:07 -0400)]
Add missing maven repos

Add 2 new plugins (restconf-client, sshapi-call-node) to Maven repo

Change-Id: Idd94ec823a079e00eb30bcccbc95ece29d823fc2
Issue-ID: CCSDK-397
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>