Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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>
|
|
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>
|
|
|
|
|
|
Fixed link
Change-Id: Ie03f989d1187bb53cff72b8875d951ff3c24c47c
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-301
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
|
|
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>
|
|
|
|
|
|
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>
|
|
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
|
|
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>
|
|
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>
|
|
Issue-ID: MULTICLOUD-350
Change-Id: I2574d94e4ebada1e138913b2a03549dd90906d7b
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Change-Id: Id553c1300e6559443d87c58abf46bab81bf71535
Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
Issue-ID: MULTICLOUD-301
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
|
|
|
|
Namespace is being created by k8splugin
if it doesn't exist. This is done before
other resources are created in kubernetes.
This patch removes check that failed if
namespace didn't exist
Change-Id: I8c5b2409ad1cf77d5f529f601870fcf87e8e8760
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-462
|
|
Composite keys help us store objects which are unique
for a given set of pre-existing objects.
Eg: Many profiles can exist for a definition and its
key will have a definition name as a part of the composite key.
P2: Use a predefined interface for keys instead of generic interfaceP{}
P3: Add check for empty strings in stringer interface
P5: Add appropriate keys in other packages.
Issue-ID: MULTICLOUD-531
Change-Id: I314b1fbd718489ae8a45f0f38915c08ca32f9f43
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|