aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/resources
AgeCommit message (Collapse)AuthorFilesLines
2021-04-14[COMMON] Fix function declarations bashismsGuillaume Lambert1-1/+1
pointed out by checkbashisms. $ mycmd=$(tox -e checkbashisms | grep "^possible .*'function' is useless " | sed -e "s@^[^.]*\(.[^ ]*\) line \([0-9]*\) .*@sed -i -e '\2s/functio n \\\([^ ()]*\\\) *(\\\?)\\\?/\\\1 ()/\' -e '\2s/(){/() {/' \1;@") $ eval $mycmd Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Ic41c8ba8288b7a90db9f5775cd601c09ff2ab663
2021-04-02[SDNC] Enable SDNC to use external oauth providerdemskeq81-0/+8
- add additional environment variables - add config file for external oauth-providers Issue-ID: OOM-2675 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: I235d3f46f5d109a1e82bdaa3c9de97508116fbe3 [Improve secretes handling] Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2021-03-21[SDNC] Check existance of DB user before creationandreasgeissler1-2/+2
When installing SDNC in a local DB, the execution of the DB initialisation job fails as the user already exists and granting the privileges to the DB is not executed. This patch will only create the user and DB if not already present. Issue-ID: OOM-2705 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: Iabfc90829cea1f98181caf3367c8f2b78de96c7f
2021-03-18[SDNC] Change path to daexim directory 2demskeq81-11/+0
remove wrong daexim link Issue-ID: SDNC-1475 Change-Id: I52d1da10082a6fee846461ce18fc0913aea85e18 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com>
2021-02-10Change path to daexim directorydemskeq81-0/+4
configure absolut path for daexim persistent directory Issue-ID: SDNC-1475 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: I1cfc348b733dee2e02b1a0193f6cba3c78e61d91
2021-02-02Merge "[SDNC] Provide proxy settings for sdnr mountpointRegistrar"Sylvain Desbureaux1-0/+14
2021-01-25[SDNC] Provide proxy settings for sdnr mountpointRegistrardemskeq81-0/+14
proxyUser, ProxyPassowrd and proxyUrl for jersey.config.client.proxy settings Issue-ID: OOM-2662 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: I9136e71153ccce88b8bc8a6501ebdea2eb3a93cb
2021-01-15[SDNC] Move ODL persistent data to pvcDan Timoney1-0/+69
In OpenDaylight, there are three types of data that we want to retain: - exported backups (stored in /opt/opendaylight/daexim) - journals (stored in /opt/opendaylight/journal) - snapshots (stored in /opt/opendaylight/snapshots) This change saves all 3 directories to the sdnc persistent volume so that they are retained across restarts. Issue-ID: SDNC-1455 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I6b068c7a7bce294f94f9697a34027010bb5bfe8f
2021-01-12[SDNC] Tuning fixes for SDNCDan Timoney1-0/+1
Corrected issue in values.yaml that was causing OpenDaylight akka configuration file override not to be loaded properly. As a result, we are seeing memory-related exceptions (circuit-breaker exception), whic seems to be contributing to a memory leak error. Also, updated configuration to enhance logging so that summary of messages in/out (aka 'audit log') is written for debugging purposes. Issue-ID: SDNC-1430 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I2a3950ecde1c53f8e68b11bbc9c0ddc136f67b54
2020-12-15[SDNC] Remove hook on db jobSylvain Desbureaux1-1/+1
This hook is not really used and slows down ONAP installation. Issue-ID: OOM-2652 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I3693615a8af53da51d12d3a735f0bf183e59626b
2020-11-04[SDNC] Change sdnc to single startup script solutionAlexander Dehn2-496/+0
remove startup scripts Issue-ID: OOM-2610 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com> Change-Id: Ia09de604cc502ecbbd7575cd5dd2374f253820ed
2020-10-21[SDNC] change comment styleJakub Latusek16-1/+33
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: Ia390319f744931f435615af49246c0e13cdb8564 Issue-ID: OOM-2562
2020-09-24Merge "[SDNC] Deploy external TLC cert in ODL"Sylvain Desbureaux1-0/+1
2020-09-21[SDNC/CCSDK] Guilin version bumpDan Timoney1-5/+5
Bump image versions to use Guilin M4 version of SDNC images and of CCSDK dgbuilder. Note - SDNR remains disabled in this commit pending fix to its endpoint. Also, note that CDS version bump is not included - that will be submitted as a separate review. Issue-ID: SDNC-1355 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I8d660a8e303a18d4674f832b9239fa50c5abf3f2
2020-09-21[SDNC] Deploy external TLC cert in ODLegernug1-0/+1
Changes for 111973 Issue-ID: SDNC-1136 Signed-off-by: esobmar <mariusz.sobucki@est.tech> Change-Id: If185ee3658b8f51a969bb3505f8bfb163cfea2a3 Signed-off-by: egernug <gerard.nugent@est.tech> Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> [Access EJBCA secret from cert service] Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-09-14[SDNC] broken handling of aaiclient.propertiesAlexander Dehn1-0/+322
fix issue in startOdl.oom.sh Issue-ID: OOM-2561 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com> Change-Id: I1760155bf250dd7e3dd1c816b65df9b9c245de24
2020-08-31[SDNC] oom for clustered disaggregated SDN-RAlexander Dehn2-0/+42
use disaggregated elasticserach DB from common Issue-ID: SDNC-1165 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com> Change-Id: I0c6ac6549f6c144f0ed5a64ae76a1fa352f740d2
2020-08-26Merge "[SDNC] Remove sdnc-portal component"Sylvain Desbureaux1-2/+0
2020-08-24[SDNC] Remove sdnc-portal componentDan Timoney1-2/+0
The sdnc-portal component is currently disabled due to known security vulnerabilities. This component is no longer supported - the developer left the project - and its functionality is not really needed. So, we are removing this component in Guilin. Issue-ID: SDNC-1236 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I45c7cad2102011fb25ca9f6707792dfd5c97624f
2020-07-23[SDNC] Set STDOUT Log levelSylvain Desbureaux1-4/+3
Use of common.log.level template in order to set the log level for STDOUT on SDNC. Issue-ID: OOM-2516 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I1fde92c11f769a028292325bf67ed9654948a46f
2020-06-22sdnc org.ops4j.pax.logging.cfg changesSmokowski, Kevin (ks6305)1-59/+48
fix outstanding issues from previous changeset Issue-ID: OOM-2426 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I97e6f5f17104bf8f76bda6f7b9492cc0e2921349
2020-06-03sdnc updateSmokowski, Kevin (ks6305)1-63/+136
update sdnc logging configuration Issue-ID: OOM-2426 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I2666ce7feca692dde700386e072ac1a69dfc6eec
2020-04-06[SDNC] Correct config directories for ODLKonrad Bańka1-4/+5
SDNC entrypoint script sets up several environment variables including configfiles dir. Recent addition of AAF configfiles broke expected path for used properties files. This could be noticed with example error from karaf logs: org.onap.ccsdk.sli.core.sli.SvcLogicException: Cannot read property file: /opt/app/osaaf/local/generic-resource-api-dg.properties: /opt/app/osaaf/local/generic-resource-api-dg.properties (No such file or directory) Issue-ID: SDNC-1147 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ifcfde9abef1c12a7b8d1009f346d313b8fe57f44
2020-03-04[SDNC] Use common secret template in sdncKrzysztof Opasiak8-38/+33
Some passwords are still hardcoded but with this commit all components should be using passwords provided via secrets not directly as strings. A follow-up patch will remove hardcoded passwords where feasible. Issue-ID: OOM-2309 Change-Id: I047974506430cbb277200d0103bcc57a6fd8a83b Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-01-21aaf auto cert generationAgarwal, Ruchira (ra1926)2-2/+20
Add support for AAF init container for config and cert generation Issue-ID: SDNC-755 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com> Change-Id: I06ee7921b6dbb1b4b9ca64cf276a374256af3a45 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com>
2019-08-31Update SDNC helm charts to use Neon versionTimoney, Dan (dt5972)2-25/+21
Update SDNC helm charts to use Neon-based El Alto images Change-Id: If91320bc663992355f665b3f57f77214e96985cd Issue-ID: SDNC-874 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-22Tune OpenDaylight parametersTimoney, Dan (dt5972)3-0/+248
Add files to tune akka settings in OpenDaylight. Also, added setenv to tune Java settings. Change-Id: I2071fceb48f990929cd9f4c885bd0c9f7db0263c Issue-ID: SDNC-858 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-08Update SDNC/CDS image versions for El Alto early dropTimoney, Dan (dt5972)1-0/+25
Update SDNC image versions for El Alto early drop (1.6.1 for SDNC, 0.5.1 for CCSDK) Change-Id: I48bb223116b4064b7f90847d90bd0453d311b09c Issue-ID: SDNC-827 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-10Initialize SDNC DB from init containerTimoney, Dan (dt5972)2-48/+25
Updated sdnc helm chart to initialize database from an init container instead of initializing in startup script. Change-Id: I4133c70a5805227d89eef84e46bea8555bf8133d Issue-ID: SDNC-797 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-20SDNC-766: Updating OOM startODL.shDarraghEgan1-0/+2
Changes have been made in the sdnc/oam repo that have not been refelected in the oom repo and this file needs to be updated so both scripts will be the same in each repo. Issue-ID: SDNC-766 Change-Id: I61ef6a09b9ddc3422c0f85ae89d13eb240361f6a Signed-off-by: DarraghEgan <darragh.egan@est.tech>
2019-04-17Merge "SDNC using shared mariadb-galera cluster"Alexis de Talhouët4-5/+5
2019-04-12SDNC using shared mariadb-galera clusterMahendra Raghuwanshi4-5/+5
Change-Id: I41330836901ccf1fcbdd0f9d6e720ce13ea3a9ea Issue-ID: OOM-1651 Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
2019-04-05Merge SDNR change to sdnc startODL scriptHerbert Eiselt1-2/+46
Add SDNR feature and adjust netconf for cluster Change-Id: Idec95539d0becc2f4c09e71e4b66616328775956 Issue-ID: SDNC-721 Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
2019-03-25SDNC-665: Change to startODL for oam repoDarraghEgan1-0/+6
This is for the post operation of keystore to add new keystore to odl while it's coming up and also to add certificates and keys that are available to odl's keystore and truststore When sdnc/oam gets mounted and so does oom repo, the startODL.sh in the oam repo gets overwritten by the startODL.sh in the oom repo. This change updates the startODL.sh so both scripts will be the same in each repo Issue-ID: SDNC-665 Change-Id: Ie9096c4d68e8c0c88682d188194c386e69b0108d Signed-off-by: DarraghEgan <darragh.egan@est.tech>
2018-11-19Fix SDNC initializationTimoney, Dan (dt5972)1-11/+17
Updated start script so that initialization of local file system is handled by a local lockfile, while initialization of database is handled by a lockfile on persistent volume. Change-Id: I5ef6aa672f0863bf0d6b656b7445b42d3fbe12e5 Issue-ID: SDNC-525 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-11-15Set lcm restconf user/passwordTimoney, Dan (dt5972)1-3/+5
Set lcm user/password in lcm-dg.properties Change-Id: I76f109f7bf9096128dabdcb52448a0fe85e0da35 Issue-ID: SDNC-252 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
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: If54d40225e8eb30bcd3f133801726ae5f90b02a2 Issue-ID: SDNC-518 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-11-07Update log config to log4js formatTimoney, Dan (dt5972)1-113/+100
Update SDNC log config file to log4j2 format Change-Id: I66ff0be34860823d53f5a191b8c357886c6c2936 Issue-ID: SDNC-487 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-10Update bblueprint processor propsAlexis de Talhouët1-11/+11
Change-Id: I85143062482443ee26f13de5ff046f80fad943d0 Issue-ID: CCSDK-596 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-09-24Update AAI credentials for AAF integrationjmac1-2/+2
Change-Id: Ic38b6917e8775d6bc335c5fbbd475a9d14ac25fa Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: SDNC-467
2018-09-21Add missing properties files to SDNCAlexis de Talhouët1-0/+35
Missing netbox and blueprint-rest-adaptor Change-Id: Ifa4f2095190718ae8dc3412eac99ae242978c97e Issue-ID: CCSDK-589 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-09-17Merge "update LCM DG config"Borislav Glozman1-1/+20
2018-09-14update LCM DG configAgarwal, Ruchira(ra1926)1-1/+20
LCM DG config for ScaleOut, TrafficMgmt, SoftwareUpgrade Change-Id: Ia607fb6002968b266fa4d025129cada72485b445 Issue-ID: SDNC-425 Signed-off-by: Agarwal, Ruchira(ra1926) <ra1926@att.com>
2018-09-13Resource Limits for sdnctoshrajbhardwaj1-1/+1
Issue-ID: OOM-1162 Change-Id: Ifb06ba4377152148ab817ec48e8cdd62bbff7f5d Signed-off-by: toshrajbhardwaj <toshrajbhardwaj@gmail.com>
2018-09-07fix sdnc.cluster script to use new NodePort prefixjmac1-1/+1
Change-Id: Ie2c84aad411e26019eb38cb9262ff98096345ad6 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-1379
2018-08-28Added netbox.properties config file for SDNCAlexis de Talhouët1-0/+19
https://gerrit.onap.org/r/#/c/60791/ is addin Netbox client support for SDNC. In order to connect to this system, configuration is needed at the deployment phase to provide host and api key, used to interact through REST to the system. Change-Id: I2177ead86879d4c65eca86e7a1dce29f2de94956 Issue-ID: CCSDK-462 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-08-01Fix feature config for clusteringjmac1-2/+3
Also added missing "server" keyword to karaf start Change-Id: I765efd1411a26f8e00302c882ae3d61402c1c0c3 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: SDNC-347
2018-07-25Remove ODL restart from start scriptTimoney, Dan (dt5972)1-15/+7
Update image versions to 1.4-STAGING-latest Update startODL.sh script to eliminate restart of ODL container Change-Id: Iaef4aaea243974f97060b73c81dedce990108180 Issue-ID: SDNC-394 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-07-15SDN-C Multi-site High-availability - Auto-failoverMohammadreza Pasandideh7-86/+182
Change-Id: I4e028b31ce7a60154d2c04c63431c5ea996de8f8 Signed-off-by: Mohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com> Issue-ID: SDNC-213
2018-07-01Merge "make sdnctl user db password configurable for SDNC"Borislav Glozman2-2/+2