summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-05-01Fix ansible-server for supporting playbook of PNFEnbo Wang3-30/+48
Change-Id: Id6a4c2e81c6e782e496970e080c033e2f9a77296 Issue-ID: APPC-1577 Signed-off-by: Enbo Wang <wangenbo@huawei.com>
2019-05-01Merge "Update ansible-server to support playbook of PNF"Dan Timoney3-787/+972
2019-05-01Update version for El AltoTimoney, Dan (dt5972)22-44/+44
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>
2019-05-01Update ansible-server to support playbook of PNFEnbo Wang3-787/+972
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>
2019-04-29Update to use released 1.2.2 parent0.4.2Timoney, Dan (dt5972)5-7/+7
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>
2019-04-23remove LCM in ansibleSysCallTaka Cho9-354/+460
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>
2019-04-10Service Logic (DG/Templates) for SDNR OOF PCI POC3.0.2-ONAP0.3.4Sandeep Shah21-2/+3172
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>
2019-04-09Remove file with EPL licenceAlexis de Talhouët3-604/+0
Change-Id: I56f5fcc60df13ebac5a31ccdd767ee7086b257cd Issue-ID: CCSDK-1211 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-04Fix error in DockerfileTimoney, Dan (dt5972)1-3/+2
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>
2019-04-03Revert dgbuilder OS changeTimoney, Dan (dt5972)1-1/+1
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>
2019-04-02Restore ccsdk-sli-adaptors-all packageTimoney, Dan (dt5972)2-6/+5
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>
2019-04-01Merge "Make images arm-64 compatible"Dan Timoney9-14/+14
2019-04-01Make images arm-64 compatibleSimon Hrabos9-14/+14
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>
2019-03-29Add sdnr wt repository to odlsliHerbert Eiselt2-2/+4
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>
2019-03-28Fix container startup issueTimoney, Dan (dt5972)2-2/+16
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>
2019-03-27add aafshiro feature dependencyUbuntu2-0/+14
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>
2019-03-25Restconf-nb-rfc4080 to be in boot up featurejanani b5-3/+5
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>
2019-03-24Create Fluorine SR2 based containersTimoney, Dan (dt5972)20-86/+67
Create docker containers based on OpenDaylight Fluorine SR2 Change-Id: I0d0d7eeec54da77105fe8626987c8aa3049d4495 Issue-ID: CCSDK-1056 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-24Merge "Removing the unused dependency."Dan Timoney1-6/+0
2019-03-22Removing the unused dependency.janani b1-6/+0
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>
2019-03-21Remove staging pluging0.4.1Timoney, Dan (dt5972)1-15/+0
Remove staging plugin from top level pom Change-Id: I64fb9ea87f738ea0ed1fe3cd4c3699129d884a04 Issue-ID: CCSDK-1156 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-20Install nss in alpineTimoney, Dan (dt5972)1-1/+1
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>
2019-03-20Disable messagerouter adaptorTimoney, Dan (dt5972)2-3/+8
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>
2019-03-15Prepare for release 0.4.1Timoney, Dan (dt5972)11-24/+13
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>
2019-03-13Add sdnr to odlsli distributionHerbert Eiselt2-0/+14
Add to odlsli alpine and ubuntu resubmit1 Change-Id: I054d63edd7f80136600d6a13a241dc42de1b90d2 Issue-ID: SDNC-690 Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
2019-03-06Create ONAP's ODL Fluorine SR1 distroAlexis de Talhouët9-0/+1065
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>
2019-03-05Fix SSH transport for Ansible serverSylvain Desbureaux2-1/+5
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>
2019-02-21Run CCSDK dockers as non-rootTimoney, Dan (dt5972)4-7/+29
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>
2019-02-19Merge "make ansible container backward compatible"Dan Timoney3-2/+30
2019-02-18make ansible container backward compatibleTaka Cho3-2/+30
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>
2019-02-15Add missing installerTimoney, Dan (dt5972)2-0/+14
Add missing installer for grpc client Change-Id: I1e336c37f74b1213d2ad60d14a0dff7b7d931ed0 Issue-ID: CCSDK-1085 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-15Fix saltstack-server docker buildTimoney, Dan (dt5972)1-2/+2
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>
2019-02-13Merge "Changes in RestServer.py"Dan Timoney1-2/+2
2019-02-12Fix docker tagsTimoney, Dan (dt5972)15-811/+731
Updated docker tags to conform to ONAP standards Change-Id: If461ee7ea99a1966e66a03a3a970d0acef835320 Issue-ID: CCSDK-1059 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-12Base for saltstack serverGanesh Chandrasekaran7-0/+612
Issue-ID: CCSDK-1048 Change-Id: Ic177428fd9fb111919f4bfbd0978464a19ac75ab Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2019-02-07Fix odlsli ubuntu installTimoney, Dan (dt5972)1-0/+2
Fix feature install for Ubuntu-base ODLSLI container Change-Id: I1952bc6551c1451cb0bcfbe89385aa49fd84a10d Issue-ID: CCSDK-489 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-07Merge "Add missing MR to mtce release contents"Dan Timoney1-15/+17
2019-02-07Add missing MR to mtce release contentsTimoney, Dan (dt5972)1-15/+17
Added missing defect to Casablanca mtce release contents. Change-Id: Iffc4e616937fd06d0e5cb42323ec31f639ef2884 Issue-ID: CCSDK-1010 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-07Provide symlink to old ansible rootTimoney, Dan (dt5972)1-0/+2
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>
2019-02-07Changes in RestServer.pyShubhada Ramkrishna Vaze1-2/+2
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>
2019-02-06INT-864 small, multi-arch imagesandovalfr1-1/+1
Issue-ID: INT-864 Change-Id: I9a108486f41bf53d93ee6a9bcd2012f7515c3287 Signed-off-by: sandovalfr <frank.sandoval@oamtechnologies.com>
2019-02-06Update odlsli image nameTimoney, Dan (dt5972)1-1/+1
Update docker-compose to use odlsli alpine image. Change-Id: I449c366eb13b00c5477b706614a4224102b6150c Issue-ID: CCSDK-862 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-05Fix Fluorine installationTimoney, Dan (dt5972)5-4/+11
Fix updates to features.cfg for Flourine. Change-Id: Icb8d4dc2ed98ac71a8f0ef1c8fe68729091436c5 Issue-ID: CCSDK-489 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-01-31remove proxy conf in pom for ansible-serverSylvain Desbureaux1-1/+0
Change-Id: I9f230afab027f4c2442c5af91a96bbddf691d78a Issue-ID: INT-816 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-01-31Debug ansible docker issueTimoney, Dan (dt5972)1-0/+1
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>
2019-01-31Merge "reduce ccsdk-ansible-server image footprint"Dan Timoney16-1162/+1534
2019-01-31Merge "Install saltstack-adapter jar"Dan Timoney2-2/+16
2019-01-30Install saltstack-adapter jarTimoney, Dan (dt5972)2-2/+16
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>
2019-01-30reduce ccsdk-ansible-server image footprintSylvain Desbureaux16-1162/+1534
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>
2019-01-29alpine build, implement to follow VNF anisble ReqTaka Cho9-993/+1699
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>