aboutsummaryrefslogtreecommitdiffstats
path: root/installation/ansible-server/src/main/Playbooks
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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-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-01-30reduce sdnc-ansible-server image footprintSylvain Desbureaux16-0/+325
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