Age | Commit message (Collapse) | Author | Files | Lines |
|
Create a custom label on created resources
Also, create it on pods where pods are being
created.
This will help us later for filtering and querying
pods and resources.
Issue-ID: MULTICLOUD-675
Change-Id: I4b4fce7b67f9f27559d99dcca94a9191b96cb7c6
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
|
|
* changes:
Add test case for loading vFW Helm chart
Correct cni retrieval process from resource name
|
|
|
|
Due to some minor issues, network resource name wasn't being
parsed properly, thus failing removing ovn networks when
deleting VNF instance.
Issue-ID: MULTICLOUD-708
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: I14d8eb6b82d0ee74b266272fd8a842b45e6c2b40
|
|
Add a static compile time check to
plugins to make sure that any interface implementation
mismatch is caught at compile time rather than runtime.
Issue-ID: MULTICLOUD-666
Change-Id: I7f57774ad9384edb874cf64534f521014aea422f
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
|
|
|
|
|
|
|
|
Add port to the default OVN central ip
field.
Issue-ID: MULTICLOUD-666
Change-Id: Ib1644aafc00472769422dffd48a83ed7e53b2910
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Removing some log statements that are cluttering the output.
Added a log statement to print errors during instantiation.
Issue-ID: MULTICLOUD-666
Change-Id: I76ad59c9cb36b5cb999573afec18e6f1adbed4ad
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Network plugin was not fully compliant with interface it should
implement due to type of one function argument. Relevant functions
have been adapted to utilize proper types.
Issue-ID: MULTICLOUD-708
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: Ic619ad476dba5e6582759290e18edceaa98c332f
|
|
Add a list api for profiles for a specific
definition and version.
GET /v1/rb/definition/name/version/profile
will list all the profiles.
Issue-ID: MULTICLOUD-730
Change-Id: If1b8e6910c276a0f7139ab13340721c6ec8a49e8
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
GET calls to the v1/rb/definition will
return all definitions and their versions
Issue-ID: MULTICLOUD-715
Change-Id: Ia0951ac83283830e475bf727e7d5ced7aab3add2
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Tags used in profile such as metadata
are too generic. Instead we are using specific
ones with the type prefixed.
Issue-ID: MULTICLOUD-730
Change-Id: I2f189d35bc202f4a71e0a92ca5b7188ebfd1cef2
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Tags used in db such as metadata
are too generic. Instead we are using specific
ones with the type prefixed.
Issue-ID: MULTICLOUD-730
Change-Id: Ice76cf743f0782a3d7e76747cde1f0e0b116b14e
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
curl -X GET /v1/instance
returns all the instances created.
It returns abbreviated instances for improved readability.
For details on what resources were created
for each instance, use the ID with GET.
Issue-ID: MULTICLOUD-715
Change-Id: I05afe0fd2c254acbca4329289c81545f95c9fac5
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Kubeconfigdir does not need to be a configurable
parameter. We just create a local file and use that
to create the config after which it is not needed.
Issue-ID: MULTICLOUD-614
Change-Id: I2df561d50b620e24c5ae5266b7200210e0c11caf
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
|
|
|
|
Some archives don't include a directory entry.
Eg: tgz archives generated by helm package.
This bug fix checks that a directory exists before
an extracted file is created there.
Issue-ID: MULTICLOUD-705
Change-Id: If6720948d470b83786901574f5d8d3227835a047
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
CI seems to be failing with out of memory issues
This reduces the multiprocess to 2 for the go test
command.
Issue-ID: MULTICLOUD-666
Change-Id: I3f70ecad51cc16f8972346882d5d98fc803427ef
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Move connectionhandler.go into api package
This brings it inline with the other API handlers
Issue-ID: MULTICLOUD-666
Change-Id: Ia3b832159f537c6d8d8ecc93b56bc9b085649f7e
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Plugins need this connectivity information
Adding code to retrieve it
Issue-ID: MULTICLOUD-688
Change-Id: I5fa1b69cdad754a432316edc4188c19b7fe10f84
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
This allows other projects to do a go get and use this repo.
go get github.com/multicloud-k8s/src/k8splugin
will do the job.
import github.com/multicloud-k8s/src/k8splugin
will import the root package
Issue-ID: MULTICLOUD-666
Change-Id: I2f41c88c5a7fb3305b78cce8a83a0e102baa444c
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
The plugin code has been refactored to
implement a common interface.
This will allow us to do plugin validation
at loadtime of the plugin instead of at runtime.
This also makes the code calling the plugins cleaner
and easier to read.
Issue-ID: MULTICLOUD-557
Change-Id: Ice2bcc9b850d7c0e1707dcc42132c63dd77472a7
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Remove ENV variable. Somehow I missed
removing this variable when we moved to configuration
files.
Issue-ID: MULTICLOUD-653
Change-Id: Ibf2238791dfcb1e66c7b9cca7b6d25e3d30bb0e4
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
The broker responses need to match the spec and
what SO expects as responses.
CREATE_COMPLETE instead of CREATED in both POST and GET
DELETE now returns a response body
GET by name is now supported
Name is an alias for vf_module_id which is expected to be provided
as an attribute in sdnc_directives in the original POST request
Issue-ID: MULTICLOUD-645
Change-Id: Ifeca755a07298d0a858cbe9e80f9ce654d6d21b8
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Minor change to instance response. Now it includes
the full request parameters in the response.
Issue-ID: MULTICLOUD-649
Change-Id: Ia4a7e479f842dd580bcfb13aa91dc0b0a456cf25
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Error message during client creation needs to be
printed.
Issue-ID: MULTICLOUD-637
Change-Id: Ic3929ae774235133673032e35a2388d2e0b98d36
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Support the attributes in user_directives
attributes are lists of the following form:
"attributes": [
{
"attribute_value": "foo",
"attribute_name": "bar"
},
{
"attribute_value": "value2",
"attribute_name": "name2"
}
]
Issue-ID: ONAPARC-349
Change-Id: I576bc251d1566dc26696f12f826a09bacb7417a0
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
|
|
|
|
|
|
|
|
Move config instantiation to app and connect it
to the instance to allow updates and so on.
Issue-ID: MULTICLOUD-464
Change-Id: Ic994ef78a6e0d2db5e695e33b7b8a302c74c10da
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Add a find method to get instances
based on rbname, version and profile.
If only rbname is provided, all instances based on
that resource bundle are returned.
If only rbname and version are provided, all instances
based on that combination are returned.
When all three parameters are provided, a single instance
that matches them is returned.
Issue-ID: MULTICLOUD-613
Change-Id: If63e844c77829211b807ce6cd7c11dad247751fc
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Remove extra v1 from path as it is added
in the MSB api anyway.
Issue-ID: MULTICLOUD-630
Change-Id: Ib7adbf2315e0a3b1fe8170096d877df8f1b64683
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Initialize variable before using
Change-Id: Id908b27d6e17692de4ad3a60e84cd00b496133b9
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-304
|
|
Format of network file is different
between KUD and Plugin. Change the
format to match the format in KUD
Change-Id: I360741b23e91e60d790a50a7eeb213576b0508b3
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-304
|
|
Service port should be configurable.
This patch removes the hardcoded value.
The default value is 9015
Issue-ID: MULTICLOUD-609
Change-Id: Iae05f42bd06ecd061ec68a3a7c4a4a87f33b22fa
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
The connectivity api should allow the creation
of kubeconfig files in the kubeconfig dir.
Issue-ID: MULTICLOUD-292
Change-Id: I5ecc92622648c6c90b71ffad433a132e191cf4b3
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Merge cloudregionid and connectionname to form cloudregion
Issue-ID: MULTICLOUD-292
Change-Id: If775ec5841636de37e1c10bc6d093c16a36c28dc
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
|
|
Add a heathcheck endpoint for OOM testing
Issue-ID: ONAPARC-363
Change-Id: Id5f77478d331fedb19ac162389d95852e10c5022
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Use the unstructured type in the into field.
This allows us to remove the convert part of the
code and also allows decoding for CRDs.
Issue-ID: MULTICLOUD-585
Change-Id: I27ecdba7127ce63137dfbcd1c0a6938343b4e759
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Updated go.sum generated from build based on 1.12.4
Issue-ID: MULTICLOUD-587
Change-Id: I92474c20cc58f2b3e7d0085ed57548c19aa896d8
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
The deployment plugin does not support managing
resources based on the old v1beta1 resource path.
This is supported by the generic plugin.
We will re-enable this plugin if there is a need for
special actions for deployments.
Issue-ID: MULTICLOUD-583
Change-Id: I20515fe1a4aadaf575f0cc798000d03d1bca0663
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>
|