summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-23Move OVN to the latest versionRitu Sood1-1/+1
Chnage commit id for OVN Change-Id: I2b1a6365883ac9f56b4fc7f85d6ea413efe28696 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-578
2019-04-23Merge "Add plugin to the folder names"Bin Yang1-3/+3
2019-04-23Merge "Move configuration into config files"Bin Yang11-50/+210
2019-04-23Merge "Updating Multus to v3.3-tp"Bin Yang2-7/+12
2019-04-22Add plugin to the folder namesKiran Kamineni1-3/+3
Make the folder name as k8splugin in keeping with the repository name and other references. Issue-ID: MULTICLOUD-581 Change-Id: Ida36877d0aa4ce156c11bdce9b91cb06f6aee8f9 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-19Move configuration into config filesKiran Kamineni11-50/+210
Move k8splugin configuration into config files instead of using environment variables. Issue-ID: MULTICLOUD-579 Change-Id: I7b76d5a14d24f002a8db484097a31fb5e908b6f8 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-19Merge "Virtlet Image link broken"Bin Yang1-1/+1
2019-04-19Merge "Support non-namespaced objects in generic plugin"Bin Yang1-3/+20
2019-04-18Virtlet Image link brokenRitu Sood1-1/+1
Fixed link Change-Id: Ie03f989d1187bb53cff72b8875d951ff3c24c47c Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-301
2019-04-18Updating Multus to v3.3-tpritusood2-7/+12
Multus team created a tech preview for Virtlet issue. Moving KUD to that release. Change-Id: Ib8ed563306594ed87d69140505f45dbd666353dc Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-578
2019-04-17Support non-namespaced objects in generic pluginKiran Kamineni1-3/+20
Generic plugin is not generic enough right now. It was assuming that objects are namespaced. This patch supports both types based on the Scope field in the mapping. Issue-ID: MULTICLOUD-557 Change-Id: I3ac512243d183b26cbf0aea2962dcd2a6492c887 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-17Fix docker buildKiran Kamineni1-1/+1
Docker build is broken. This patch fixes it. Issue-ID: MULTICLOUD-575 Change-Id: I0edc900dfc66baa409c92eb656bd5d7886d6aa40 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-16Replace Kind with GroupVersionKindKiran Kamineni13-261/+509
Kind is not unique to track resources in Kubernetes GroupVersionKind is unique. We are just using that to track our data. It is abstracted behind a couple of new types for templates and resources. This change makes a lot of the old kind based operations redundant and simplified. Issue-ID: MULTICLOUD-573 Change-Id: I8f4ded2ba6a0821a8fbd679dc99ce3a44d805524 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-16Rename plugin reference interfaceKiran Kamineni1-7/+8
Rename the plugin interface to something more relevant. KubernetesResource will be used to describe resources for creation. Issue-ID: MULTICLOUD-557 Change-Id: I2fff5363b897b968e95b26257d8f26509fb567fd Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-15Fix build errorKiran Kamineni1-3/+3
Build is broken because of some changes that were merged without being rebased on dependent patches. Issue-ID: MULTICLOUD-350 Change-Id: If8bd455103dea3191fedb39ea525efaafb145953 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-12Merge "Add Connectivity Info API"Bin Yang3-0/+256
2019-04-12Merge "Day 2 Configuration API's"Bin Yang16-14/+1966
2019-04-11Add Connectivity Info APIrsood3-0/+256
API to add connectivity information for Cloud Regions to K8s Plugin https://wiki.onap.org/display/DW/MultiCloud+K8s-Plugin-service+API%27s Change-Id: I0a9166df9b076a7fdacf0b2f9e51a9cdebe4b621 Signed-off-by: rsood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-292 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-11Merge "Provider network support when OVN is used"Bin Yang2-0/+256
2019-04-11Merge "Add support for so integration"Bin Yang3-0/+395
2019-04-11Add support for so integrationKiran Kamineni3-0/+395
Add support for the multicloud-api that is called by SO for instantiation. Issue-ID: MULTICLOUD-350 Change-Id: Icf9137dae9796ac256c3319b49af6c30b275a4a9 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-11Merge "Add option to start https listener"Bin Yang6-1/+214
2019-04-11Merge "Using the --chown flag to reduce image size"Bin Yang1-2/+3
2019-04-10Add option to start https listenerKiran Kamineni6-2/+215
Added support for tls connection for k8splugin. It will load the certificates from its current folder. Any installer needs to just put these files in the same folder as the executable and it will pick them up and start in https mode. Issue-ID: MULTICLOUD-570 Change-Id: I505135daa3933b76023c941e7bee54be65fa791f Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-11Day 2 Configuration API'srsood16-14/+1966
This patch adds Configuration API's https://wiki.onap.org/display/DW/MultiCloud+K8s-Plugin-service+API%27s Change-Id: I52ebfc5aa980ec8af4a31569d569216e9a2a760c Issue-ID: MULTICLOUD-464 Signed-off-by: rsood <ritu.sood@intel.com>
2019-04-10Using the --chown flag to reduce image sizeKiran Kamineni1-2/+3
Patch to reduce the size of the docker image for multicloud/k8s image Reduces size by about 300mb Issue-ID: MULTICLOUD-350 Change-Id: I240c57267180c020b659795ea965f5c0877252fc Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-10Provider network support when OVN is usedRitu Sood2-0/+256
Example script is provided to create OVN provider networks. Test case is provided to place workloads on the OVN provider network using ovn4nfv-k8s-plugin Change-Id: I94a9fe4fe0b107e42bbf890093e70233a5f610f5 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-454
2019-04-10Add support for generic pluginKiran Kamineni4-5/+239
Add support for generic kinds We are currently using a known map to find the group version resource for a kind. Issue-ID: MULTICLOUD-350 Change-Id: I5a64f73760b73cf92b9a3fab8c22ad54e0a5f84f Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-10Export kubernetesClientKiran Kamineni3-12/+12
Export kubernetesClient. There are situations where this will need to be accessed in the plugins and we need the definition to be exported for that. Issue-ID: MULTICLOUD-350 Change-Id: I9eee03ea77e390effd33ed96cbbc25dc4cd09cdd Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-10Merge "Fix integration test plugin.sh"Bin Yang1-21/+22
2019-04-04Use consistent naming for Name and VersionKiran Kamineni6-58/+59
Definition Name and Definition Version are now using the consistent naming similar to the Profile and instance structure. Name becomes RBName Version becomes RBVersion Issue-ID: MULTICLOUD-350 Change-Id: Ifc329d4979a06cb017c6f9d916c227c696b664e0 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-04Fix integration test plugin.shKiran Kamineni1-21/+22
Update the integration test plugin.sh with the latest api changes to instance management. Issue-ID: MULTICLOUD-350 Change-Id: Ie451b7378a774f3e382c5a46a9df2bbaf0f273a8 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-04Use common code for executeRequestKiran Kamineni2-27/+9
Use the common executeRequest function instead of multiple copies of the same lines for test requests Issue-ID: MULTICLOUD-557 Change-Id: Icde498b55592333af265fc348f3a286a59b9b61c Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-04Merge "Add url path tests to definition handler"Bin Yang1-33/+38
2019-04-04Merge "Add url path tests to profile handler"Bin Yang1-49/+45
2019-04-03Add url path tests to profile handlerKiran Kamineni1-49/+45
Improve the profile tests by testing the url path parameters as well. Issue-ID: MULTICLOUD-547 Change-Id: Ib31a42cc6c3622d17ddc37eb0506ca991d2334c0 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-03Add url path tests to definition handlerKiran Kamineni1-33/+38
Url path parameters are not tested in the current unit tests. This is fixed with the use of the same router that is used by the main program. Issue-ID: MULTICLOUD-547 Change-Id: Ie162150fb1ecf22766011339e68e03f1067779a0 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-03Refactor instance codeKiran Kamineni16-1412/+1157
Issue-ID: MULTICLOUD-350 Change-Id: I2574d94e4ebada1e138913b2a03549dd90906d7b Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-02Minor update KRD to KUDAkhila Kishore1-1/+1
Change-Id: Id553c1300e6559443d87c58abf46bab81bf71535 Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-301
2019-04-02Merge "Make profile key explicit"Victor Morales7-44/+44
2019-04-01Remove build tagsKiran Kamineni18-46/+5
Remove build tags as this is causing issues where mock plugins need to be loaded into files that do unit testing as well. Full integration testing is being done in the CSIT. Issue-ID: MULTICLOUD-559 Change-Id: Icd147dac80d16a6fb8f33048c76d4083158cecd2 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-03-29Make profile key explicitKiran Kamineni7-44/+44
Using profilename instead of name in the db key protects it from getting overwritten by anything else that might use name as a key. Using explicit key names makes sure that we don't have to add bson structure tags in the code. Issue-ID: MULTICLOUD-558 Change-Id: I9bd6f757496af22d8662b0d114f0ef7d33a5784a Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-03-29Fix merge issueKiran Kamineni1-2/+2
The TestUpdate method was updated properly with the merge on to master. This fixes that issue. Issue-ID: MULTICLOUD-553 Change-Id: I97c95b628fade37304590de59bb4bb6faaeb4450 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-03-29Merge "Fix document typo in readme.md"Bin Yang1-4/+3
2019-03-29Merge "Add update method to db interface"Bin Yang5-1/+132
2019-03-28Fix document typo in readme.mdKiran Kamineni1-4/+3
Fix some small typos in the readme.md file Issue-ID: MULTICLOUD-350 Change-Id: I7ad44170ce773779e5c19711618ac8c349b618a9 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-03-27Add update method to db interfaceKiran Kamineni5-1/+132
Add update interface to the db. This will allow us to support PUT http methods in the future. Issue-ID: MULTICLOUD-553 Change-Id: I7263d42e893734eadbdaf78022005d6004601772 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-03-26Update definition and profile to latest specKiran Kamineni20-688/+867
Bringing all the definition and profile code upto the latest spec. Integrated the end to end instance code changes that were made. P9: Added updated plugin.sh with updated uri paths based on spec Issue-ID: MULTICLOUD-291 Change-Id: Id6e3c6bc2cd02cfb7005e203ccf03e0793b97e95 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-03-26Merge "Fix namespace creation"Bin Yang2-5/+2
2019-03-26Merge "Add support for composite keys"Bin Yang9-158/+236