aboutsummaryrefslogtreecommitdiffstats
path: root/installation/ansible-server
AgeCommit message (Collapse)AuthorFilesLines
2020-03-18Roll to Guilin release snapshotDan Timoney1-2/+2
Roll master branch to Guilin release numbering Change-Id: I273a6d07c7a42dd1bde4219fada701da51c40bf0 Issue-ID: SDNC-1110 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 0d6d9148fd35aec6a2f8ba72f6212570a37a73d3
2020-03-13Update Docker dependence of sdnc-ansible-serverEnbo Wang1-2/+1
Revert to onap/ccsdk-ansible-server-image:${ccsdk.docker.version} Change-Id: I862d9fc37035ff0eff832141f6e699e2d8900315 Issue-ID: SDNC-1113 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: ab868f028e304b8faf3864a763eef5cd81fc9b65
2020-03-06Use released Frankfurt M4 artifactsDan Timoney1-1/+1
Update to use released Frankfurt M4 version of parent poms and released CCSDK Frankfurt M4 artifacts. Change-Id: Ic36751ce71e2d3f983f8c5b20a56169591e7393d Issue-ID: SDNC-1110 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 8352d567e199ef1fa960e4473898b00e14b149d6
2020-02-21Update DGs and Playbooks for PNF SW UpgradeEnbo Wang4-18/+46
Change-Id: Iecc84ca6f794fe9947e81da3d95ceaad00f2861d Issue-ID: SDNC-1079 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: e2915384cc7523e93c2e154d4a84920fd093146d
2020-02-04Update to use released CCSDK parent pomsDan Timoney1-1/+1
Update to use released version 1.5.1 of CCSDK parent poms. Change-Id: I57f457bcc5a89bafe9f70d938831fb8866d9493f Issue-ID: SDNC-1059 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 7eddd2d8a0bbbe26a803f93b3fbb891b640fb9df
2020-01-08Fix DG names of downloadNESw and activateNESwEnbo Wang2-11/+11
Change-Id: I441922915dca6f6e756f1b002e90e42bbb971357 Issue-ID: SDNC-857 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: 78a1f2ec89fcbf01e6bf0d28128820b3a88818bf
2019-12-13Add DGs and Ansible playbooks for downloadNESw and activateNESwEnbo Wang2-0/+128
Provide DGs and Ansible playbooks for downloadNESw and activateNESw. Change-Id: Ie1986c5fa9296be64f5f5a7daba9b37568c49710 Issue-ID: SDNC-857 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: e230b8417389625b80b1e0f39405b8dc73322c78
2019-12-06Update CCSDK parent pom version to 1.5.1-SNAPSHOTTimoney, Dan (dt5972)1-1/+1
Update to use latest CCSDK Frankfurt parent pom snapshot. Change-Id: Id4fc77d456ea1f8912dc8e62c4423253aa987aea Issue-ID: SDNC-993 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: ba38487742d73c22b6185978f0b8f821a4d94640
2019-09-17Roll versions for FrankfurtTimoney, Dan (dt5972)1-3/+3
Roll versions in master branch for Frankfurt development Change-Id: I54e9f996f784b697b00048fca138f37b07b063e4 Issue-ID: SDNC-918 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: cb8ee364fa8007fb8511ac23c30a3cf7b69bc66d
2019-09-16Update to use released version of parent pomTimoney, Dan (dt5972)1-3/+3
Use released version of parent pom Change-Id: I85b4b316aadb6f289ba8be3eb8732fbe032422ba Issue-ID: SDNC-905 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 454e3427c79eb811db3427bc992e136f84fe3a00
2019-09-11Roll versionsTimoney, Dan (dt5972)1-2/+2
Roll version to 1.7.1-SNAPSHOT and use version 1.4.1-SNAPSHOT of parent poms, and change to use 0.6.1 CCSDK artifacts Change-Id: Iff66ae16e7e8ab58f791cabd0594b4c1a474ed0f Issue-ID: SDNC-905 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 000be88c29e3fb0a3028dab9e57ccfe3c3957ab3
2019-08-28Release version 1.7.0Timoney, Dan (dt5972)1-1/+1
Release version 1.7.0 Change-Id: I7424994563e8b694b92207b259310a095cd73c04 Issue-ID: SDNC-874 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: f4be5f4fbf547700a2caa24626d4ab184f563ba0
2019-08-20Port to NeonTimoney, Dan (dt5972)1-5/+5
Port sdnc/oam to Neon version of CCSDK and SDNC artifacts Change-Id: I4a195d0c5e993c433c0c03a898d60521c7df2a9f Issue-ID: SDNC-850 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 18aff1a38583891cbcddca7242e2326b80d88a8d
2019-08-16Fix error in ueb listener scriptTimoney, Dan (dt5972)1-1/+1
Removed errant backslashes in ueb listener startup script Change-Id: If30a0859d2f296b6916da153066b6f1ff45ac8bb Issue-ID: SDNC-853 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 3f8719d1a0d283ea82cc2bb74ba2edc7beb186d8
2019-08-08Use release version of artifactsTimoney, Dan (dt5972)1-2/+2
Use release version 1.3.2 of parent poms and released version of CCSDK artifacts Change-Id: Ie725491dadaccc702033cd8cfb4b34aca1e2ac53 Issue-ID: SDNC-827 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 797cd76fc476ab2cdb3efd8eec5752a4e81a62e2
2019-07-31Added new modules to help prevent Cross Site Request ForgeryRotundo, Al (ar3165)1-1/+1
Made changes to prevent arbitrary code exection on AdmPortal. Issue-ID: OJSI-40 Change-Id: I5ec60e2585413f3948c2540bd502dd1393794267 Signed-off-by: Rotundo, Al (ar3165) <ar3165@att.com> Former-commit-id: 3d54c9ad35ef5e7a4b13948e718a4ad2830cbb04
2019-05-10Fix missing payload for DGs and Playbooks of SW upgradeEnbo Wang4-14/+104
Change-Id: I89a118ef1e05c76800d6c2fa640dc3dcf2d78fca Issue-ID: SDNC-733 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: 4ca9a8ea6cebfad2e3f423b90df187bcbc51a67b
2019-05-03Roll to El Alto versionTimoney, Dan (dt5972)1-2/+2
Roll to El Alto version (1.6.0-SNAPSHOT) on master branch Change-Id: I5809a3ba7bd629d16fb679235d0e8a9173fb993a Issue-ID: SDNC-735 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 8e41096b20a56f91be8df5f5ff200f76e9d7d4c3
2019-04-30Update to use released 1.2.2 parentTimoney, Dan (dt5972)1-1/+1
Update to use released 1.2.2 version of parent poms. Change-Id: If00344c371389515a7f74b8972ae60ebeb0d7253 Issue-ID: SDNC-735 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: e47f341373c63da166deb026015545648b7a64dc
2019-04-23Update Ansible playbook for PNF software upgradeEnbo Wang1-18/+66
Change-Id: I040cd9e18ce4487977b0715ff19b9830ca1a9eb9 Issue-ID: SDNC-677 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: 433d1365c80e001bda8d4461057ad333d3589316
2019-04-19Add missing payload for DGs and Playbooks of LCM APIsEnbo Wang3-2/+78
Add missing payload for DGs and Playbooks of LCM:rollback, LCM:upgrade-pre-check and LCM:upgrade-post-check. Change-Id: I96d8d86af1200843f85b9ee8a0cc8abf6a0b8ec8 Issue-ID: SDNC-733 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: 681d674c31d356fb46fa8301219878619185b68b
2019-04-10Update Ansible playbook for PNF software rollbackEnbo Wang1-16/+3
Use sub-operation swFallback from 3GPP to implement PNF software rollback. Change-Id: I6f49755430bad673d07a52a9cb0b8973a1842ee6 Issue-ID: SDNC-671 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: 26ef4861c1ca2e8aa15342f2b34f7a51936e71ab
2019-04-09Add a new Ansible playbook for PNF software upgradeEnbo Wang1-0/+79
Use sub-operations from 3GPP (downloadNESw, installNESw and activateNESw) to implement PNF software upgrade. Change-Id: I5aa42ca480b022c644c806bb4dc49cb01d331e2c Issue-ID: SDNC-677 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: ea56262eac852b10354fe4d4fdd6a56a8d74663c
2019-03-29Merge "Add Ansible playbook for PNF software rollback"Dan Timoney1-0/+21
Former-commit-id: 8099c4a748356dd67a3fddddc340950439575ad8
2019-03-27Add Ansible playbook for PNF software rollbackEnbo Wang1-0/+21
Change-Id: I1fd8f17954a2908207d2d7404a932a4dbd3c9ec1 Issue-ID: SDNC-671 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: 7f1168ec86880028bca8f15f0654d377f9b2a6c6
2019-03-26Update to Fluorine SR2Timoney, Dan (dt5972)1-2/+2
Compile against ODL Fluorine SR2 Change-Id: I016ac0b5f9d5f93c16f760415318cd3db0a19117 Issue-ID: SDNC-708 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 279d602669da7a26f00cd20a340a243d488e0fbf
2019-03-18Use released 1.2.1 CCSDK parentTimoney, Dan (dt5972)1-4/+2
Use released 1.2.1 version of CCSDK parent pom Change-Id: I71dd7e342f8741cf28dcb111fe0d1ec612fb6c45 Issue-ID: SDNC-704 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: a4b2c8dd11b431fc69439e16ef2616a2e2483db7
2019-02-14Fix docker tagsTimoney, Dan (dt5972)1-20/+8
Fix docker image tags to conform to ONAP standards Change-Id: Id85ab45a3b5a99f215f42177640ed03ab39004bc Issue-ID: SDNC-645 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 5eadcba086124f49b7cdcc53db4b4622dc2ebd93
2019-01-30reduce sdnc-ansible-server image footprintSylvain Desbureaux20-57/+13
Project "CIA" scope is to provide smaller and multi architecture docker images. This proposition aims to do that for sdnc-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: I6295d7c2d1ed631e1842350581234686d704c1bf Issue-ID: INT-816 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Former-commit-id: 4fe3b43a0d30a15ceed58c695d2a72c5382fded6
2019-01-18Updates for FluorineTimoney, Dan (dt5972)1-3/+2
Updated to create Fluorine-based artifacts Change-Id: Ib450be62cc016c1b5e6da2ebfb4fa3d9851e9a41 Issue-ID: SDNC-552 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 95f86710cfec2e6267bc97280ab6cfad4cf44866
2018-10-25Roll to initial Dublin snapshotTimoney, Dan (dt5972)2-3/+4
Roll to initial Dublin snapshot Change-Id: Id36b1e41ae75a7c282a5db85b30abe3a7688aeb9 Issue-ID: SDNC-480 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Fix CCSDK docker version Update CCSDK docker versions used to build SDNC docker containers. Change-Id: I9497c788cc48b401f24aeb9018060c6c0d5b4a0b Issue-ID: SDNC-486 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: c261e3f719abcbea0762162dc9244f951296c6a1
2018-10-16Merge "Prepare for release build"David Stilwell1-1/+1
Former-commit-id: 5d17812a5c83c55b628cf3b089b9a4c289606af9
2018-10-16Prepare for release buildTimoney, Dan (dt5972)1-1/+1
Prepare sdnc/oam for release build by removing -STAGING tag and using released version of parent poms. Change-Id: I3de986702da21a91a6613a386c5491481bdb21b6 Issue-ID: SDNC-480 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: a8eac265ec597473bc63894b2485decd11e49d4c
2018-10-10Fix sudo permission of remote normal usersYaoguang Wang3-9/+9
Change-Id: Ia593cfa706b0088306ea3d8d18117c3d9b2343c9 Issue-ID: CCSDK-464 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Former-commit-id: 2e7ccff033ddf54574ab3f740bf274b1472b2347
2018-10-04Roll to next snapshot versionAlexis de Talhouët1-1/+1
Roll to next snapshot version to 1.4.1-SNAPSHOT Change-Id: I4f5b1513a36894efd26b93f3f0954fafc112cc3f Issue-ID: SDNC-471 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: db13f4ddbd4a66ab9d66b1820279514137543eff
2018-10-04Merge "Ansible playbook for vFW TD"Dan Timoney1-0/+110
Former-commit-id: 5f89860d63f4dd79d5f2b97c6581358c03679aaa
2018-10-04Roll to next snapshot versionTimoney, Dan (dt5972)1-1/+1
Roll to next snapshot version Change-Id: If6bd5bc61225f7695b28b73dcb7f2ff4ecba5552 Issue-ID: SDNC-471 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 55b6a8402cafb11c7320b88185f580991c8e2c89
2018-10-01Prepare for releaseTimoney, Dan (dt5972)1-1/+1
Update sdnc/oam to prepare for release build Change-Id: I63597b9c9e02a677acbefe07d87f66e74ec3735a Issue-ID: SDNC-471 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: 5b960a3d90ead9a4731ae8125738d54fec5314ed
2018-09-27Ansible playbook for vFW TDLukasz Rajewski1-0/+110
Ansible playbook for Traffic Distribution LCM action for modified vFW use case. Modified use case requires heat template that creates two instances of vFW and two vSinks Change-Id: I99353c786b820ba842e6323b6473188a2c9f29d1 Issue-ID: CCSDK-449 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Former-commit-id: b0b29f8b3f9773e5532296ceb52ab55d3eaad768
2018-09-21CCSDK-464Yaoguang Wang3-0/+63
create and push ansible playbooks for 5G PNF software pre-check,upgrade and post-check Change-Id: Ie7cb18047dc4587ecc0999e890bf85daab73b97b Issue-ID: CCSDK-464 Signed-off-by: wangyaoguang <sunshine.wang@huawei.com> Former-commit-id: 8dd603f5bb2ab82a2332afe5d4a24a8de76a8e34
2018-09-19fix ansible inventory pathAgarwal, Ruchira(ra1926)1-1/+1
Change ansible inventory path to have ccsdk instead of sdnc in path Change-Id: I15134d807168b75182eed6883f50a79594001e45 Issue-ID: CCSDK-586 Signed-off-by: Agarwal, Ruchira(ra1926) <ra1926@att.com> Former-commit-id: 0c8d5179fe1a8957d5c6d9a0ba36d1324f0923ae
2018-09-18Merge "Fix ansible server path"David Stilwell1-1/+1
Former-commit-id: 3120b463d1e6bc9a1672e74c01a228c66af7a34b
2018-09-18Fix ansible server pathTimoney, Dan (dt5972)1-1/+1
Ansible server path to startup script was wrong, preventing ansible server docker from starting. Change-Id: Iabfa884dffc59ddd791430b45901af4072b17a46 Issue-ID: SDNC-455 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: 93edb0fec0b36fbcd15d6efb1ddb55a1b37cbbdf
2018-09-13add LCM ansible playbooksAgarwal, Ruchira(ra1926)6-0/+50
LCM Playbooks for TrafficManagement Change-Id: I90bae6929ce279a113636b3a075f76bd6ba44188 Issue-ID: SDNC-425 Signed-off-by: Agarwal, Ruchira(ra1926) <ra1926@att.com> Former-commit-id: 2e3233e42ba9d352a88453617ec75a7cdeb7d60c
2018-09-12Update SDNC to use CCSDK ansible server as baseTimoney, Dan (dt5972)9-1894/+1
Update SDNC to use CCSDK ansible server as base for its instance of ansible server Change-Id: Idaf1c83cf50ee526f17b97a3b2e376f6ad3a696b Issue-ID: CCSDK-442 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: 01809240263c1d5ddad9e1e990a9610bdceaa83a
2018-06-06Roll version for CasablancaTimoney, Dan (dt5972)1-2/+2
Roll version to 1.4.0-SNAPSHOT for Casablanca development Change-Id: I5d52858a86eee40136cf8ad5d2cac1d0a44885da Issue-ID: SDNC-333 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: 110b9d3f108e8f81f705ec4eeb2102f98f220d39
2018-06-01Update to use CCSDK version 0.2.4Timoney, Dan (dt5972)1-2/+2
Update to use CCSDK version 0.2.4 (parent version 1.0.4) Change-Id: Iee1448ffc04098675a62617d7e2a5a91bcd01bde Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: 552963ec2781609868587e7e743b2a7aa229044a
2018-05-23Roll to version 1.3.3-SNAPSHOTTimoney, Dan (dt5972)1-1/+1
Update to next snapshot version Change-Id: Ie678c0555e453719582bff2ee9c87a302db32084 Issue-ID: CCSDK-290 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: d94f58745798e827f049043c597ec4f308545344
2018-05-23Update to release version parent 1.0.3Stilwell, David (stilwelld)1-1/+1
Update parent version to remove -SNAPSHOT (1.0.3) Change-Id: I8ecaa886dffc62116e068f4cbeb0ed078175d958 Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com> Former-commit-id: abdfa5a380a9c345d1e768c4bca9238fbf653290
2018-05-13Wrong id used to retrieve statusTimoney, Dan (dt5972)1-4/+7
LCM DGs were using incoming request id to retrieve status from ansible server instead of id returned by ansible server in initial request. Also, ansible should be configured to ignore host key checking to avoid certificate issues. Change-Id: I0cf3d053de652985c4611f8c7d2b5dbee22e0791 Issue-ID: SDNC-313 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: 4559d6203ab3f5706b6a2c1a898aa1df37407522