Age | Commit message (Collapse) | Author | Files | Lines |
|
Adding logging package to v2
This is migrated from v1
Issue-ID: MULTICLOUD-870
Change-Id: I9b74d77827475a1e1c588af7cb542f5be0cad7dc
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Definiton, Profile and other APIs will
migrate to this area with support for Projects and v2.
This patch adds the Project API only along with
support for the Mongo database.
Migration of other APIs will happen in future patches
Issue-ID: MULTICLOUD-871
Change-Id: I2eb2d0db2384fd58d1ec874e24fa9125a1f5b288
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Added support for multiple fields and updated
instancehandler and app/client.go to use the new functions
Issue-ID: MULTICLOUD-577
Change-Id: I7cc04f67e72448aa121d10cfd80d66d544981933
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Add the -race flag to detect any race conditions
in the k8splugin code
It is enabled only for tests right now because of performance
impact on builds.
Issue-ID: MULTICLOUD-870
Change-Id: I53a90df39d2d8b51cbdb6c320f2247721ed98a07
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Check for err when a namespace GET is called.
This will catch any errors related to the cluster GET
operations before the subsequent call is made.
Issue-ID: MULTICLOUD-666
Change-Id: I47de130f7ae9e6fea627f3a881ea84b2880db886
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Renamed package from logs to logutils
Issue-ID: MULTICLOUD-577
Change-Id: I05e2acbfbb5dd79bd26df73e0ad64c2068b9f6e5
Signed-off-by: sanjaymekhale <sm00557598@techmahindra.com>
|
|
Add unit tests for the handler as well as backend status
function
Issue-ID: MULTICLOUD-675
Change-Id: I4c73e2c18f243702f3e791fec48d4bc5023cafd5
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Add a status endpoint to get status of
instances. Status information will be added to
the database asynchronously.
Issue-ID: MULTICLOUD-675
Change-Id: Ia7d79a6f18f01bf24f2690caf74a48c2a082bd73
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Remove unused code. This is part of the old
legacy code and will anyway have to be re-implemented
whenever the update functionality gets added.
Issue-ID: MULTICLOUD-666
Change-Id: I02a91a2b221da9d82433f8c2ee1dd014a81e4f4d
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Updated package to use kubernetes 1.14.1
Also updated the other packages that no longer worked
because of this change.
Issue-ID: MULTICLOUD-666
Change-Id: Ibfdf7215d8d7beceabe1bf895a356017da0b7d9c
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Update the package path to use the standard github.com
path instead of making it a local path.
This allows import from other go projects.
Issue-ID: MULTICLOUD-666
Change-Id: I90ee8eba021a84e31a3dc3ab48b9edf3731e91a4
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
|
|
|
|
As ovn4nfv networks are now handled on k8s side by created CRD, this
plugin is no longer necessary. Removed all references to ovn
Issue-ID: MULTICLOUD-733
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: I7ad6c6d9b3b4fd8f249796f437e69c7df4e701cc
|
|
Fix bug in tests where they can fail in highly
threaded environments where a file can be accessed by two test
processes.
Fixed it by duplicating the test case.
Issue-ID: MULTICLOUD-689
Change-Id: I93b9862fac52eb307e52c355e3cb0d4332768b4f
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Remove dependency on git.apache.org
Issue-ID: MULTICLOUD-666
Change-Id: I39f43f841747ab1f67cc57c587c1a31bb089869a
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
|
|
|
|
Remove gopath from builds as go mod
does not require them.
Issue-ID: MULTICLOUD-666
Change-Id: I3fa4057fb4d40c7f509a52fb82beceddc8f3e090
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
The double thread restriction on the build was introduced
to alleviate runtime memory exceptions.
Now that we have a larger VM for builds, this is not required.
Issue-ID: MULTICLOUD-666
Change-Id: I7568c094a3b4ef0b33dde456d4abfacd0606ffc8
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Adding generated informers for CRD
These informers will be needed when we want to
watch these CRDs from the ONAP cluster
Generated using generate-groups.sh
from the kubernetes/code-generator repo
Issue-ID: MULTICLOUD-675
Change-Id: Ib7547666efa389534f0501f8dbab14c284dd76a6
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Adding generated listers for CRD
Generated using generate-groups.sh
from the kubernetes/code-generator repo
Issue-ID: MULTICLOUD-675
Change-Id: I6c68a9e98d96ed77b9e5fb78cb2458f9c0f4d55d
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Adding a typed client for CRD
Generated using the generate-groups.sh script from
the kubernetes/code-generator repo
Issue-ID: MULTICLOUD-675
Change-Id: I6c712980595dfed7a8b9c51f50edfc6788372dfd
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Add an operator to monitor resources at the edge location.
The operator listens to pods and services right now and stores
their information in a CustomResource
Issue-ID: MULTICLOUD-675
Change-Id: I801478a77fcd019010ea1b4388d6077f63b89d05
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Adds a namegenerator package which generates
readable names for instances.
This will go with a small change in the API
where we expect instance names and will generate
the names if they are not provided.
Issue-ID: MULTICLOUD-716
Change-Id: I69d8b7fb62667b8b60f3e02eb26dc937961d26d2
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
|
|
Add support for query parameters to find instances
with rb-name, rb-version, profile-name as query parameters
eg: curl IP:PORT/v1/instance?rb-name=test&rb-version=v1
Issue-ID: MULTICLOUD-662
Change-Id: If68c87885c8b8dd097cbb3860e8c7320310a6ef7
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Fix a bug in tagging podTemplates
Using the runtime converter to convert
unstructured map data to podTemplateSpec now.
Issue-ID: MULTICLOUD-675
Change-Id: I661d3c63ae39b3533bb9c0a9934fc507284c7074
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
|
|
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
|
|
|
|
Added a top level Makefile which calls
all the sub packages under the src tree.
This will be called in the ci-management golang template
for this project.
Issue-ID: MULTICLOUD-666
Change-Id: I0027fd62e3665d6eae6733227871ed42bab2ca54
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
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>
|
|
|