summaryrefslogtreecommitdiffstats
path: root/docs/guides/onap-operator/cloud_site
diff options
context:
space:
mode:
authordeen1985 <damian.nowak@nokia.com>2020-12-28 11:11:33 +0100
committerdeen1985 <damian.nowak@nokia.com>2020-12-28 11:11:46 +0100
commitb226ddffd6b38274eb2e397ac060afb767f0e098 (patch)
tree020a934e4a881059531083f703fd3b7f221121a6 /docs/guides/onap-operator/cloud_site
parentcc266bcaf3805211cbad1a9efe0f63213a3c6b2a (diff)
[Add K8S site] Remove SO VNFAdapter manual version change V1->V2
Change-Id: I4ca90b654c150b1f28ddaeb442cafdf529f730c3 Signed-off-by: Damian Nowak <damian.nowak@nokia.com> Issue-ID: DOC-698
Diffstat (limited to 'docs/guides/onap-operator/cloud_site')
-rw-r--r--docs/guides/onap-operator/cloud_site/k8s/index.rst62
1 files changed, 1 insertions, 61 deletions
diff --git a/docs/guides/onap-operator/cloud_site/k8s/index.rst b/docs/guides/onap-operator/cloud_site/k8s/index.rst
index 2e8d489ba..0851b859e 100644
--- a/docs/guides/onap-operator/cloud_site/k8s/index.rst
+++ b/docs/guides/onap-operator/cloud_site/k8s/index.rst
@@ -1,6 +1,6 @@
.. This work is licensed under a Creative Commons Attribution 4.0
.. International License. http://creativecommons.org/licenses/by/4.0
-.. Copyright 2017 AT&T Intellectual Property. All rights reserved.
+.. Copyright 2017 AT&T Intellectual Property. All rights reserved. Modifications 2020 Nokia Networks
Adding a Kubernetes (K8S) Cloud Site to ONAP
@@ -50,66 +50,6 @@ Then modify the data in the MariaDB:
USE catalogdb
INSERT INTO cloud_sites(ID, REGION_ID, IDENTITY_SERVICE_ID, CLOUD_VERSION, CLLI, ORCHESTRATOR) values("K8S_Cloud_Region_Name", "K8S_Cloud_Region_Name", "DEFAULT_KEYSTONE", "2.5", "My_Complex", "multicloud");
-ONAP SO VNF Adapter Rest API endpoint version shall be set to version "v2"
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-in a unix terminal:
-
-to find the right config map name:
-
-::
-
- kubectl -n onap get configmap | grep so-so-bpmn-infra-app-configmap
-
-
-to edit and change the configmap:
-
-::
-
- kubectl -n onap edit configmap onap-so-so-bpmn-infra-app-configmap
-
-in the section "vnf", modify the rest endpoint:
-
-::
-
- vnf:
- endpoint: http://so-openstack-adapter.onap:8087/services/VnfAdapter
- rest:
- - endpoint: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs
- + endpoint: http://so-openstack-adapter.onap:8087/services/rest/v2/vnfs
- volume-groups:
- rest:
- endpoint: http://so-openstack-adapter.onapg:8087/services/rest/v1/volume-groups
-
-
-Having modified the configmap, it is necessary to delete the pod bpmn-infra in
-order it takes the modification into account.
-
-to find the right pod name:
-
-::
-
- kubectl get po -n onap |grep bpmn-infra
-
-
-You need to find the pod that is similar to the following pod id:
-
-"onap-so-so-bpmn-infra-79fdf6f9d5-t8qr4"
-
-
-to delete the pod:
-
-::
-
- kubectl -n onap delete onap-so-so-bpmn-infra-79fdf6f9d5-t8qr4
-
-
-Then, wait for the pod to restart. To check:
-
-::
-
- kubectl -n onap get po | grep so-so
-
STEP 2 : Declare the new cloud site in AAI
------------------------------------------