aboutsummaryrefslogtreecommitdiffstats
path: root/installation
AgeCommit message (Collapse)AuthorFilesLines
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)7-19/+13
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
2019-01-15Fix sdnc/northbound versionTimoney, Dan (dt5972)1-1/+1
Fixed sdnc/northbound version used in SDNC docker container - should be 1.5.0-SNAPSHOT instead of 1.4.1 (which is Casablanca release) Change-Id: Ie7368ccfcfd0126521e2de53df2bcb97bd0aff80 Issue-ID: SDNC-590 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 81ba5bdeb91be01f047e458c1d0aae1489b9823e
2018-11-23update oof hostname in the urlshashikanth.vh1-1/+1
oof return unknown host for the hostname http://oof.api.simpledemo.onap.org:8698/api/oof/v1/route host name is modified to oof-osdf, so url should be as below http://oof-osdf:8698/api/oof/v1/route Change-Id: I326d6653988ccf565987ddc817f7161658fe29ec Issue-ID: SDNC-532 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 93c83e00073198558abdbf663bdbcc968dafe885
2018-11-19Merge "Drop CDS tables only if they exist"Dan Timoney1-4/+4
Former-commit-id: d2508a2bfb2bdbe891528d24e98663d39ab6d35c
2018-11-14Store .installed marker in persistent volumeTimoney, Dan (dt5972)1-2/+8
Store .installed marker in persistent volume (/opt/opendaylight/current/daexim) Change-Id: I74a4364c81b0d78f2a825c634f0094458651d621 Issue-ID: SDNC-518 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> (cherry picked from commit a80381735f02625baa177faf4af99301a8858e4d [formerly f6191ba4d1156410259897097485ddad2a15178f]) Former-commit-id: 9b50f9c6f8c60e00e1571baaa0d100f589fc96cc
2018-11-12Drop CDS tables only if they existAlexis de Talhouët1-4/+4
During the initialization of SDNC, SDNC tries to install all the SQL dump provided. While processing the one for CDS, it was failing to execute the first statement as the table is not existent; hence was exiting that dump and processing with the next one. In order to make sure the process creates CDS tables, make the DROP statement work even if table doesn't exist. Change-Id: Ifa99b8e1a13ac3828828e8b2a9f9674556f84ced Issue-ID: CCSDK-682 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: d9dbcdbe0cb870b558ef0415e5c33fef01413128
2018-11-09Set default cloud ownerTimoney, Dan (dt5972)1-0/+3
Set default cloud owner to CloudOwner in generic resource API properties file Change-Id: I515c884ac4e6572de66678d37d15d7df4903bd99 Issue-ID: SDNC-448 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 7f6ff3ab6ea70fcf33714036abf0b4147fc574c1
2018-11-06Fix license issuesTimoney, Dan (dt5972)4-248/+0
Fix license definition in package.json files Remove obsolete dgbuilder from SDNC (dgbuilder now in CCSDK) Change-Id: Iee0bf9468f081c5957eae2e873efbea6fb6be354 Issue-ID: SDNC-489 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 4e104ac4183dd46124753c4571939e765a124508
2018-11-02Merge "LOG SQL dump files getting installed"Dan Timoney1-0/+2
Former-commit-id: eb6f4749ec597c4a7ffdc7413565dac8828e2e8c
2018-11-02LOG SQL dump files getting installedAlexis de Talhouët1-0/+2
Change-Id: I4b7f0f3367772d742d16d6389af8d6666a4d58d1 Issue-ID: SDNC-51 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: de1b9dea644491b5766dda8eb7856fab45b693c4
2018-11-02Update ueb timeout and fix tablesTimoney, Dan (dt5972)2-4/+4
Update timeout on UEB startup from 15 mins to 5 mins, and fixed table definition errors found during SDC testing. Change-Id: Ib4a8f48a02a3ef536c6d433deb3ad96f6ac3e4da Issue-ID: SDNC-472 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> (cherry picked from commit c45118bb57ddcd0536358e710f5d93a7600f37df [formerly ccf26e7ccf39215dd9c3847e415513783377946c]) Former-commit-id: 4d30a97b737d640322a8c0ce6289f3993705c0ba
2018-10-30Add missing Tosca resource tablesTimoney, Dan (dt5972)1-0/+117
Add new tables for Tosca data extraction Change-Id: I2c12000bff195dc08a450a2f7ee934cd5e0d672e Issue-ID: SDNC-490 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: ed964784e15c7dc7a067461a04e640bbb1fef55a
2018-10-25Roll to initial Dublin snapshotTimoney, Dan (dt5972)12-20/+25
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 "Use released version of sdnc/northbound"3.0.0-ONAP1.4.1David Stilwell1-1/+1
Former-commit-id: ac74299d29fbe36988a8180bb775054dcc485935
2018-10-16Use released version of sdnc/northboundTimoney, Dan (dt5972)1-1/+1
Update to use released version of sdnc/northbound. Also, uncommented SdncReports module, which had been temporarily commented out to try to work around a Jenkins issue. Change-Id: I74f70fc87c19b0388813e69ea293330fbfff39dc Issue-ID: SDNC-480 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 04e571b5c6ba41725bb5e90335c816a4b69f886f
2018-10-16Merge "Prepare for release build"David Stilwell7-7/+7
Former-commit-id: 5d17812a5c83c55b628cf3b089b9a4c289606af9
2018-10-16Prepare for release buildTimoney, Dan (dt5972)7-7/+7
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-09Add preload info to GR-API propertiesTimoney, Dan (dt5972)1-0/+2
Add preload info to generic-resource-api DG properties file Change-Id: I05bf081aada23cb833522ec03b827c61f593bb53 Issue-ID: SDNC-449 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 0385cb952ffd952e22c1c0301dfd4ff75e7c48b6
2018-10-05Fix ss-netbox-assign flowAlexis de Talhouët1-1/+1
Change-Id: Ic0693f6c893d1fe51e22d1c61d390497285b3d7d Issue-ID: SDNC-444 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: e152ce8357e74fea4fa624c76dc254b46bf61ec6
2018-10-04Fix for a foreign key constraint failsAlexis de Talhouët1-1/+4
https://stackoverflow.com/a/17828127 Change-Id: I38fb90fd1d6583a259a441f4f67f762724aff5ec Issue-ID: CCSDK-357 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: e221bf44834cb78483855aeadd4554f7f93d7da9
2018-10-04Add missing network naming gen infoAlexis de Talhouët1-3/+3
Change-Id: I102f274a4bc2dc0ce1d380d59f3f036852e87908 Issue-ID: CCSDK-604 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: dcdfda18b4f1f46bb7ed317555b0e7ff7e5ec787
2018-10-04Add missing bblueprint processor propsAlexis de Talhouët1-0/+35
Change-Id: Id1fa706ce6c222a23e0fa2d3cfd50c643c722463 Issue-ID: CCSDK-596 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: 5672f468c22693bc515ce377e84b36678550c5c6
2018-10-04Roll to next snapshot versionAlexis de Talhouët6-7/+7
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 "self-serve dg patch"Dan Timoney1-0/+11
Former-commit-id: 5473275e2ccf6ed96c0eb1c3e2473b6a8bc1ebb6
2018-10-04Merge "Ansible playbook for vFW TD"Dan Timoney1-0/+110
Former-commit-id: 5f89860d63f4dd79d5f2b97c6581358c03679aaa
2018-10-04self-serve dg patchCheung, Pat1-0/+11
inclues new self-serve forking logic, added silentFailure to for loops, not to set cap name to INPUT for generate-name Change-Id: Idd3deb016533dc70611d60dd289f4c4bc40d3136 Issue-ID: CCSDK-604 Signed-off-by: Cheung, Pat <kc1472@att.com> Former-commit-id: 7209c246e382048781f166c2b3eeab24be7e9815
2018-10-04Roll to next snapshot versionTimoney, Dan (dt5972)7-7/+7
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)7-7/+7
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-27Merge "Add missing blueprint-processor schema"Dan Timoney1-0/+95
Former-commit-id: 3f5452771d41277452e8fb9bc16429c41e3dd231
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-24Add missing blueprint-processor schemaAlexis de Talhouët1-0/+95
Change-Id: Iaad73a01a2a9accfb96c45b0ef39f7c2d4513fd8 Issue-ID: CCSDK-357 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: 906b3a872cb0dbf242b10cec01bdfaa5f26f2118
2018-09-24Update AAI credentialsTimoney, Dan (dt5972)1-2/+2
Change AAI properties used in heat env to use AAF compatible credentials for AAI. Change-Id: I550d626f449b6a2cd3019d4b11c6ec38584d5215 Issue-ID: SDNC-466 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: b8aceb59cab453831529ff4621aa1d4f37262470
2018-09-24Merge "CCSDK-464"Dan Timoney3-0/+63
Former-commit-id: f9d589c3b3cd9974edfeee2dbaebd256c7634db1
2018-09-24Merge "integration test issues fix for sdwan and sotn"Dan Timoney1-1/+1
Former-commit-id: c2dff62218b88569dcf26ec9d43a0fe92e4c91d9
2018-09-22integration test issues fix for sdwan and sotnshashikanth.vh1-1/+1
underlay DG modified to handle transportNetwork internet and mpls both Change-Id: I3659efb7c27fe861c01811158ac78d3377c0b299 Issue-ID: SDNC-357 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 24949fd6722a864190c8e2b700b414962d8815dc
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-20Merge "Table schema fixes"David Stilwell1-0/+13
Former-commit-id: 3ba9a345c366f865fa70dd89dfbb5325009b5cce
2018-09-20Merge "Added downloaded/generated code to ignore"Dan Timoney1-0/+1
Former-commit-id: b4ea9fec5c6e539159027a3e582c5becc1b35cae
2018-09-20Table schema fixesTimoney, Dan (dt5972)1-0/+13
Added 3 new fields to GENERIC_RESOURCE_NAME Added missing table RESOURCE_GROUP_TO_TARGET_NODE_MAPPING Change-Id: I0c5899c705be78e00a592e656fd0b6ffc3e3fc12 Issue-ID: SDNC-463 Issue-ID: SDNC-451 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: bd11a71a915467d5bb6153ec161ee64388cf2bfb
2018-09-20Added downloaded/generated code to ignoregaurav1-0/+1
Add downloaded/generated code to gitignore. Change-Id: Iecfe40fb77f5424b9141296bacd16d7ee84cb49e Issue-ID: SDNC-350 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: 63006c36261c8f6d7fa7898d4e947061dc88d1c8
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 Stilwell2-2/+2
Former-commit-id: 3120b463d1e6bc9a1672e74c01a228c66af7a34b
2018-09-18Fix ansible server pathTimoney, Dan (dt5972)2-2/+2
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-13Merge "Update IPAM_IP_POOL rows description"Dan Timoney1-2/+2
Former-commit-id: d782247166a08b5c1776f5e09cc3f0787b4b6d13
2018-09-13Merge "update LCM DGs"Dan Timoney1-0/+3
Former-commit-id: b86e8a42ea102e5d92cc45d56ea90ab7bf0e827b
2018-09-13Update IPAM_IP_POOL rows descriptionAlexis de Talhouët1-2/+2
For the self serve, in order to assign the proper prefix id to resolve the ip address, the data dictionary will perform lookup in the DB matching on the description field. Here we're updating the description field to be a single string, for vFW, we have: - unprotected - protected - private Change-Id: Ib6ade2f8d50e269a46042ea9df84b62924445223 Issue-ID: SDNC-444 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: 9e9460aae555e6085ac463f5caba27f5d9fc1e1c
2018-09-12self-serve-generate-name DG changesSingh, Ajay (as396y)1-0/+5
Refactor the naming genereation sub dg for assign and un-assign to trigger the name generation rest API directly Change-Id: Ie060bed01f6c694f34e2c2518b69873e4728bd71 Issue-ID: CCSDK-482 Signed-off-by: Singh, Ajay (as396y) <as396y@att.com> Former-commit-id: 582888bc81e55ef4bf11d34c95eb7ac589de51b0