aboutsummaryrefslogtreecommitdiffstats
path: root/kud
AgeCommit message (Collapse)AuthorFilesLines
2020-05-12Create appContext and save to etcdRajamohan Raj4-14/+253
In this patch, following tasks are accomplished 1. Creation of appContext and storing the appcontexts for each app in the compositeApp into etcd as part of the instantiation process 2. Added a util method to extract parameters from k8s manifest files. 3. Added a new testing script to auto create NCM artifacts through the NCM APIs 4. Modified the existing plugin_collection_v2.sh to better test the orchestrator APIs. 5. Added logging to appcontext lib 6. Bug fix in the helm charts. Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I1b0e4d1351ad3a083be529239748015ea5db2a41
2020-05-11Fixing README.md for containerization installationKuralamudhan Ramakrishnan2-4/+42
Issue-ID: MULTICLOUD-1068 Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I8ced72f4d9f13b9cb2305fc3778cdd65e933d778
2020-05-08Integrate Openness EAAChenjieXu19-2/+561
Openness EAA provides application/service registration and authentication. EAA is integrated by running EAA via ONAP4K8S. Issue-ID: MULTICLOUD-1044 Signed-off-by: ChenjieXu <chenjie.xu@intel.com> Change-Id: I66dffc5bcfc66675f6b62672e32496ec7f71454c
2020-05-05add cmk in KuDLiang Ding13-11/+747
- deploy cmk related pods - untaint compute nodes if necessary - run cmk unit tests: allocate CPUs from exclusive and shared pools - deploy a testing nginx pod along with cmk testing pods - preset 1/2 CPUs for shared/exlusive pools to fit CI server machines users can adjust the parameters to meet their own requirements Test Results: - many rounds of vagrant/5 VMs(controller01/02/03 and compute01/02) based test are all OK - 14 rounds tests on my local server (S2600WFQ (36C/72T) )and PC(HP Z228 (4C/4T)) with all-in-one bare metal deployment are all OK - CI(a 4C/4T machine) results of latest patch set also show that the test of bare metal deployment is OK - NOTE: both my local test and CI use the same testing method of calling aio.sh after applying the latest patch set. Change-Id: I046a4a63b94f92f23347ab76c21a661521e01119 Issue-ID: MULTICLOUD-879 Signed-off-by: Liang Ding <liang.ding@intel.com>
2020-04-30Merge "Change the base installation directory"Huang Haibin1-2/+2
2020-04-27Merge "Install criproxy binary in /usr/local/bin instead of /tmp. Issue-ID: ↵Ritu Sood2-1/+4
MULTICLOUD-1051"
2020-04-23Merge "Added intentResolver"Ritu Sood1-5/+6
2020-04-21Upgrate the out-of-date link in virtlet testYao Le1-1/+1
The fedora 29 image link is out of date. It is not reachable now. So upgrade the link to fedora 31. Issue-ID: MULTICLOUD-1057 Signed-off-by: Yao Le <le.yao@intel.com> Change-Id: I5f384cb906bf080c55ea4ea2a27b1514722c8b76
2020-04-20Merge "Update Vagrant VM image to Ubuntu-18.04"Huang Haibin3-6/+6
2020-04-19Install criproxy binary in /usr/local/bin instead of /tmp.Eric Tang2-1/+4
Issue-ID: MULTICLOUD-1051 Signed-off-by: Eric Tang <qcorba@gmail.com> Change-Id: I96443ee539de0e2a18011148f86f97e70634cae3 Signed-off-by: Eric Tang <qcorba@gmail.com>
2020-04-17Added intentResolverRajamohan Raj1-5/+6
IntentResolver shall collect the clusterdetails for each of the app where it needs to be deployed. This shall be called by the instantiation code. Issue-ID: MULTICLOUD-1041 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I7d29901e46a5349ef502786c187c1c88bea61a12
2020-04-13Added query routes for deploymentIntentGroupRajamohan Raj1-2/+4
In this patch added a route which can query allIntents belonging to a DeploymentIntentGroup and another route for querying all intents under an intent in a deploymentIntentGroup Issue-ID: MULTICLOUD-1049 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I06ec4d2ee8dae2aeca77e4db3ca690863014cc62
2020-04-13Merge "Adding query APIs for AppIntents"Ritu Sood1-31/+25
2020-04-14Change the base installation directoryYao Le1-2/+2
The /tmp will refresh after reboot, so change it to &HOME Issue-ID: MULTICLOUD-1050 Signed-off-by: Yao Le <le.yao@intel.com> Change-Id: I47a030b0e33f48c653b21d81d52f7cf717b6d34f
2020-04-13Test cases for resolving the helm templatesRajamohan Raj5-8/+7
Added test cases for overriding values and resolving the helm charts. Also addressed the merge conflicts and review comments Issue-ID: MULTICLOUD-1041 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I511e8e2e71c60e878df434370fc053f09cda1f66
2020-04-11Resolve the helm templatesRajamohan Raj4-6/+16
Resolving the helm templates for each of the apps in the compositeApp by utilizing the helm libraries and thus getting the sorted templates with all values rendered. This is a subtask of adding instantiation APIs. Issue-ID: MULTICLOUD-1041 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Id4fddda69b5276b2409d835723b11367400ab6ea
2020-04-09Adding query APIs for AppIntentsRajamohan Raj1-31/+25
In this patch the following tasks where performed: 1. Added APIs for query Intents for each App in the compositeApp. For example, you can see all intents of collectd or prometheus seperately if both formed a compositeApp Collection. 2. Added 'provider-name' parameter to denote the cluster objects used in all intents. Earlier we had only clusterName and clusterlabel to denote a cluster. Modified the tests also for this. 3. Fixed bugs in the plugin_collection_v2.sh. 4. Fixed some minor logging and formatting bugs. Issue-ID: MULTICLOUD-1048 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Ic452d7ba5d98bb265eb301de84d679d1abe0e34e
2020-04-07Update Vagrant VM image to Ubuntu-18.04Yao Le3-6/+6
Fix bug ICN-260 KUD Multi Vagrant 18.04 issue Fix bug ICN-303 Compute01 no spcae left in KUD Multi Vagrant Fix bug ICN-285 Nameserver issues behind a proxy Issue-ID: MULTICLOUD-1004 Signed-off-by: Yao Le <le.yao@intel.com> Change-Id: I9e5c6c0e618ebd63babe650f06ca21ff10669cc4
2020-04-07Merge "Revert "Update Vagrant VM Version""Huang Haibin3-6/+6
2020-04-07Revert "Update Vagrant VM Version"Le Yao3-6/+6
This reverts commit f802b87c1d3caecc74789d435358d4f8ff2555a3. Reason for revert: Will rebuild with Nameserver issue solved Issue-ID: MULTICLOUD-1004 Change-Id: Ieafee94e4fe909c30ef8a4167d242f40e114d767 Signed-off-by: Yao Le <le.yao@intel.com>
2020-03-24Update Vagrant VM VersionYao Le3-6/+6
Fix bug ICN-260 KUD Multi Vagrant 18.04 issue Fix bug ICN-303 Compute01 no spcae left in KUD Multi Vagrant Issue-ID: MULTICLOUD-1004 Signed-off-by: Yao Le <le.yao@intel.com> Change-Id: Ic74d4ec2c9ae4bbe42c71f13380f779f842e496d
2020-03-24Merge "Update Vagrant VM Version"Huang Haibin3-6/+6
2020-03-18Added the new plugin_collection_v2 script.Rajamohan Raj27-0/+1116
The script calls the major creation APIs in v2 starting from project api, composite app, composite profile, generic placement intent & deployment intent. This should be used every time we need to test the Instantiation code. Also added the helm charts for composite app consisting of collectd and prometheus. Issue-ID: MULTICLOUD-1035 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I95237c234cca674dd54f4ef7527083b5cf3e0a55
2020-03-09Merge "Adding QAT device plugin to KuD"Ritu Sood8-8/+554
2020-03-06Remove not required fileRitu Sood1-43/+0
commands file is an example and is not needed Issue-ID: MULTICLOUD-956 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: Ie2097f2491f6dcc2b6347fac120f5e8d47dae120
2020-02-27Adding QAT device plugin to KuDakhilakishore8-8/+554
Basic working skeleton. Adding install script adding vars and updated the playbook. Working on Kernel mode updates and driver installation. Removing SRIOV vars Adding script to change the SSL value for 2 kinds of config files. Updating daemonset image. Adding prereq packages for qat. Minor edits for bashate.Adding testcase and conditions to Ansible tasks for clean, uninstall and install the driver. Updating the plays to use templating. Adding qat-kernel mode test case. Signed-off-by: akhilakishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-860 Change-Id: I5ad99e7211c859dc3cb054df644edd3fa77b2596
2020-02-26Updating Readme to reflect accurate setup instructionsAkhila Kishore1-2/+8
Adding sudo to setup for VM based deployment. Additionally adding the link to Vagrant documentation for CLI. Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-908 Change-Id: I1af5b1c4e201ad4363a8fae1004189e55c514261
2020-02-20Merge "KuD cleanup script."Ritu Sood1-0/+87
2020-02-20KuD cleanup script.Akhila Kishore1-0/+87
This script offers means to cleanup, Docker and Ansible and their configurations. Updated the script to use docker go templating as opposed to regex for docker operations. Further modified the script to include if/else for docker operations for better code readability. Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-981 Change-Id: Ia6484ebb039daf0b1cb8e698fa7bfa758eeaa568
2020-02-10Fix OVN issue in KUDRitu Sood1-0/+8
OVN related test cases are failing. This patch updates the installation of OVN. Issue-ID: MULTICLOUD-474 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: Idfa7d256b74d01d9ff604a02ba06d6ce82a8f09d
2020-01-31Merge "Update nfn-operator to add provider networks"Bin Yang2-2/+277
2020-01-21Reverting vagrant images back to 16.04 VM deploymentAkhila Kishore1-2/+2
Currently we face issue with VM based deployment causing vagrant up to fail and quit abruptly. Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-974 Change-Id: I9a9e28357f1f56d17643d8f2a31f4cdca70fb456
2020-01-08Add execution script for vIPSec in k8sRuoyu Ying5-0/+488
Add execution scripts for each component in vIPSec to make it work for k8s. These scripts are going to be used along with the helm chart named 'vipsec' inside the demo folder. It aims to construct the vIPSec use case to set up a secure tunnel between peers and improve its performance along with hardware acceleration technologies such as SRIOV and QAT. Issue-ID: MULTICLOUD-969 Change-Id: I261272439b264db4d70cf8d5d2958a891c351b61 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2019-12-29Update nfn-operator to add provider networksRitu Sood2-2/+277
Issue-ID: MULTICLOUD-474 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I92d0d34a46b8faadda8aa698307ede4306316ef7
2019-12-19Fix verify build remove obs ppaMarcus G K Williams2-0/+6
Remove no longer public jonathonf ppa Issue-ID: CIMAN-359 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Change-Id: I12a24a28914654127e3bd27e7814b42ecd897ca1
2019-12-06Update Ubuntu 18 image for vagrantRitu Sood1-1/+1
Issue-ID: MULTICLOUD-474 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I77709f4b05d7501fa6faf41187fbe0bf6e189b3b
2019-11-28Remove WAND repositoryKonrad Bańka1-8/+0
Official ubuntu repositories already contain all ovn/ovs packages. WAND repository may introduce unnecessary complications, as it pins package dependencies to exact version making conflicts with ubuntu ones. Issue-ID: MULTICLOUD-957 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ida75e5a38ab5796c4b95e7d633aebb276383a745
2019-11-22Adding SDWAN testing for KUD containerized installer scriptr.kuralamudhan13-0/+474
Please refer ICN SDWAN Module Design for architecture link:https://wiki.akraino.org/display/AK/SDWAN+Module+Design Issue-ID: MULTICLOUD-956 Co-authored-by: Huifeng Le <huifeng.le@intel.com> Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I4bc35bc62f6bab52a5d290829f7406424d72d5ae
2019-11-21adding both i40evf iavf to support back compatibilityr.kuralamudhan1-1/+1
Issue-ID: MULTICLOUD-944 Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I22b92adaad8d4f778b97821df68c1d42e2012e9c
2019-11-20Enabling testing for the containerized installerr.kuralamudhan5-14/+41
Issue-ID: MULTICLOUD-942 Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I4c5da84002135d856c5c3dcccf103aa52bb8a0f9
2019-11-15Merge "Updating sriov playbook to meet requirements of updated device"Ritu Sood6-45/+77
2019-11-13Updating sriov playbook to meet requirements of updated deviceAkhila Kishore6-45/+77
Previous sriov playbook supported X710 SRIOV NIC. Updating the scripts to support new device XL710. Other changes include syntactical corrections to "WHEN" condition in ansible. Co-authored-by: hle2 <huifeng.le@intel.com> Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-929 Change-Id: I697a49a64472ad2d755753e58f8fd4e7857b0456
2019-11-11Optimizing the onap4k8s for all deployment modelKuralamudhan Ramakrishnan1-0/+8
Issue-ID: MULTICLOUD-927 Co-authored-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com> Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I97019f3ab06c948b77e189f526c4e217e7706fb6
2019-11-07Optimizing the plugin option in containerized installerr.kuralamudhan2-9/+14
Issue-ID: MULTICLOUD-919 Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I6850c2673b1d5e8e7ccc9d036a0a68fa896aa3ab
2019-10-30Merge "Testcases shouldn't run prematurely from installer script"Ritu Sood1-11/+7
2019-10-30Testcases shouldn't run prematurely from installer scriptAkhila Kishore1-11/+7
Testing_enabled: true in the installer script, causes the test cases to run immediately after the playbook even before the pods are completely up. Causing some of the test cases to fail. Making sure, the test cases run only after all of playbooks have finished running. Correcting the identation Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-904 Change-Id: Ieec33f46301d7c8d9cb36ac5f32caefca2981804
2019-10-30Bug fixes to containerized installer scriptKuralamudhan Ramakrishnan1-3/+16
Issue-ID: MULTICLOUD-905 Co-authored-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com> Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: Ie9710146d4764f6b1f8ce11af9b28988131d75c8
2019-10-29Provide gcc on installer host when not presentKonrad Bańka1-0/+5
Issue-ID: MULTICLOUD-900 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ibacec8deafa5f1fd9ded5822236db730fedddc82
2019-10-24Merge "Adding onap4ks installation script in kud containerized installer"Ritu Sood6-4/+213
2019-10-24Merge "Disabling node local DNS"Kiran Kamineni1-1/+2