summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-08-19Merge "Revert "Version update.""Ritu Sood2-2/+2
2019-08-19Revert "Version update."Kiran Kamineni2-2/+2
This reverts commit 5f760c3fb7d0e74833b1a2137e6ff3dadc71b2f5. Issue-ID: MULTICLOUD-772 Change-Id: I6feffd87545195992fb28e98dcee4038d9b08474 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-08-19Merge "Version update."Kiran Kamineni2-2/+2
2019-08-19Merge "Add query parameters support to instance API"Ritu Sood6-177/+146
2019-08-19Version update.Akhila Kishore2-2/+2
Updating Kubespray version from 2.8.2 to 2.10.4 for KuD offline support and integration with new add-ons in future. Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-772 Change-Id: Ib1263e86adb9815e1ee56038507a3c092aad1feb
2019-08-19Merge "Fix bug in tagging podTemplates"Ritu Sood1-24/+11
2019-08-14Helm charts for Istio deploymentPramod6-0/+216
This Chart will deploy istio in SDS configuration and enables istio sidecar injection in required namespace Issue-ID: MULTICLOUD-711 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: I9a4dd781c14c2dc2bb1ee8ca648e3c8911ac1fe1
2019-08-13Add query parameters support to instance APIKiran Kamineni6-177/+146
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>
2019-08-13Fix bug in tagging podTemplatesKiran Kamineni1-24/+11
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>
2019-08-08Merge "Fix istio test scenario endpoint API validation"Kiran Kamineni1-1/+1
2019-08-07Merge "Add top level make"Ritu Sood1-0/+11
2019-08-07Add custom label to track created resourcesKiran Kamineni10-35/+142
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>
2019-08-07Merge "Helm chart to deploy Istio-operator"Kiran Kamineni12-0/+1632
2019-08-07Merge "Update committers info"Xiaohua Zhang1-6/+27
2019-08-06Update committers infoBin Yang1-6/+27
Change-Id: I9f1e94d3b038cffca8b5980eb5f9f209a85021cb Issue-ID: MULTICLOUD-751 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-08-06Merge changes Ia35fac70,I7ffaa3d4,I53e7e4d6Bin Yang4-51/+48
* changes: Update plugin.sh with new helper functions Provide connection info for plugin testcase Correct k8splugin endpoint configuration in KUD test
2019-08-05Helm chart to deploy Istio-operatorPramod12-0/+1632
Istio-operator is required to manage the lifecycle and deployments of Istio Issue-ID: MULTICLOUD-710 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: Ifd2d05e790148096b5c0b454208e233aa5a299f9
2019-08-05Merge "Correct go version installed by k8s addons"Bin Yang3-6/+8
2019-08-05Merge "Add static compile time check to plugins"Bin Yang4-1/+14
2019-08-05Merge changes I46d47e64,I14d8eb6bBin Yang6-10/+171
* changes: Add test case for loading vFW Helm chart Correct cni retrieval process from resource name
2019-08-05Merge "Minor improvement to log statements"Bin Yang3-12/+3
2019-08-02Add top level makeKiran Kamineni1-0/+11
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>
2019-08-02Update plugin.sh with new helper functionsKonrad Bańka4-62/+34
Plugin.sh has been refactored to use new wrapper functions as well as utilize helm package command for creating resource bundle in order to test proper handling of this scenario by plugin Issue-ID: MULTICLOUD-686 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ia35fac70153fdb34ba75bfff31f9b2566b986cf1
2019-08-01Correct go version installed by k8s addonsKonrad Bańka3-6/+8
Andrewrothstein.go galaxy role, that was responsible for go installation was in too old tag to support demanded (1.12.4) go version. It also blocked ovn-kubernetes addon installation that's fixed now. Go version has been also upgraded to 1.12.5 Issue-ID: MULTICLOUD-644 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I926bd061a361b2ae2efa2aecedf4fa6321f04cc8
2019-08-01Add test case for loading vFW Helm chartRitu Sood4-1/+151
This test checks vFW lifecycle using the k8splugin. Issue-ID: MULTICLOUD-708 Change-Id: I46d47e64562d75d8b1f7552fc073b1e59efa443e Signed-off-by: Ritu Sood <ritu.sood@intel.com> Co-authored-by: Konrad Bańka <k.banka@samsung.com>
2019-08-01Correct cni retrieval process from resource nameKonrad Bańka2-9/+20
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
2019-07-31Add static compile time check to pluginsKiran Kamineni4-2/+15
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>
2019-07-25Merge "Changing Pull Policy for vFw Helm chart"Bin Yang3-4/+3
2019-07-24Changing Pull Policy for vFw Helm chartRitu Sood3-4/+3
Pull policy is "Always" because of that VM/container images are pulled everytime for each chart. This slows down the deployment to several minutes in the lab environment. Changing pull policy to "IfNotPresent". Change-Id: I3c01e681f010481221f1e720e6f09b317fbe9d87 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-708
2019-07-24Merge "Provide ovn-central-address for local deployments"Bin Yang1-1/+6
2019-07-23Provide ovn-central-address for local deploymentsKonrad Bańka1-1/+6
K8splugin served with docker-compose doesn't utilize ovn-central-address configured in host environment. Function responsible for generating config file has been modified to provide this information if available. Issue-ID: MULTICLOUD-708 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ie3c27c68c02a0e206f6447e8c4330e18af942cd8
2019-07-23Merge "Add a listallhandler to definitions api"Bin Yang4-2/+106
2019-07-23Merge "Add port to ovn central ip"Bin Yang1-1/+1
2019-07-23Merge "Adapt network plugin to interface restrictions"Bin Yang1-5/+5
2019-07-23Merge "Add a list api for instances"Bin Yang4-2/+177
2019-07-23Merge changes from topics "listprofiles", "tagprofile", "tag_defn"Bin Yang8-34/+295
* changes: Add list api for profiles Make profile db tags specific Make definition tags specific
2019-07-23Merge "Improve provisioning central IP address for ovn tests"Bin Yang2-10/+34
2019-07-23Merge "Provide idempotent multus plugin configuration"Bin Yang1-20/+18
2019-07-22Add port to ovn central ipKiran Kamineni1-1/+1
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>
2019-07-22Minor improvement to log statementsKiran Kamineni3-12/+3
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>
2019-07-22Adapt network plugin to interface restrictionsKonrad Bańka1-5/+5
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
2019-07-18Add list api for profilesKiran Kamineni5-2/+263
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>
2019-07-18Add a listallhandler to definitions apiKiran Kamineni4-2/+106
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>
2019-07-18Make profile db tags specificKiran Kamineni3-13/+13
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>
2019-07-18Make definition tags specificKiran Kamineni4-19/+19
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>
2019-07-18Add a list api for instancesKiran Kamineni4-2/+177
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>
2019-07-17Merge "Remove kubeconfigdir. Use a tempfile instead"Bin Yang3-11/+12
2019-07-16Remove kubeconfigdir. Use a tempfile insteadKiran Kamineni3-11/+12
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>
2019-07-16vFw Demo Helm chart issueRitu Sood1-1/+1
Fixing a typo in vFw Helm chart Change-Id: I5e7657dba037e48539ac32a98f1731ec1ff942a8 Issue-ID: MULTICLOUD-708 Signed-off-by: Ritu Sood <ritu.sood@intel.com>
2019-07-16Improve provisioning central IP address for ovn testsKonrad Bańka2-10/+34
Function responsible for providing central ovn address has been corrected to utilize already configured address instead of checking it each time. Error reporting within the same function has been also corrected and improved as well as iproute package became used for address determining instead of net-tools' ifconfig Issue-ID: MULTICLOUD-686 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I156297098b7919471df711f049f0d9439bd81420