aboutsummaryrefslogtreecommitdiffstats
path: root/docs/instantiate.rst
diff options
context:
space:
mode:
authorramagp <ramakrishnagp@aarnanetworks.com>2020-09-29 13:33:27 +0000
committerIkram Ikramullah <ikram@research.att.com>2021-01-22 20:55:32 +0000
commit0384ef0b3dcc36a6de0887814a4304c0d60cec11 (patch)
tree434fc6cffe66559a2fb4df34bc2b8bb64153f1d2 /docs/instantiate.rst
parent57e87a09d2e457ab30df304eaa96988c6ea1c78b (diff)
SDNC preload curl command changes
Change-Id: Ie7bebe99b38ec9e192fb699b5c528329a8e3a09a Issue-ID: VID-903 Signed-off-by: ramagp <ramakrishnagp@aarnanetworks.com>
Diffstat (limited to 'docs/instantiate.rst')
-rw-r--r--docs/instantiate.rst24
1 files changed, 21 insertions, 3 deletions
diff --git a/docs/instantiate.rst b/docs/instantiate.rst
index 66c506f13..3b65bc581 100644
--- a/docs/instantiate.rst
+++ b/docs/instantiate.rst
@@ -21,6 +21,10 @@ be created/deleted.
In the following description, the service model in SDC was composed of 1 VF
and 1 Virtual Link (Generic Neutron Network)
+.. note::
+ For doing this make sure that while Service Design drag the created VF and Generic NetronNet Virtual Link (under Generic/Network Elemntes list) from the
+ Elements palette to the canvas then connect as mentoned in Create Service section of Service Design under Composition
+
To be able to instantiate VF-module or Network object, some data need to be
declared in ONAP SDNC using SDNC Rest API. It is the place where to put
the instance specific values such as an IP address value specific
@@ -53,6 +57,9 @@ via Rest API, to declare some values for:
see, in the ONAP User Guides, section about adding a CloudSite
and section about pre-instantiation Operations
+.. note::
+ Robot demo script will be used to populate demo models automatically with Demonstration as Subscriber Name in VID by running "demo-k8s.sh onap init"
+
Access to VID portal
--------------------
@@ -192,12 +199,23 @@ This group of data is usually called "SDNC preload" and will contain:
- service instance id
- the list of vnf parameters with values, when not using the default values
+.. note::
+ Get all the required vnf-parameters values as listed in HEAT package and populate all the key-values in an example SDNC preload curl command to run
+
+Some of the vnf-parameters in SDNC preload are related to openstack.
+Follow the below steps on openstack to get the values and update those values in SDNC preload template accordingly.
+
+- download the image from cloud images (ubuntu-14.04 as per HEAT env) and create an image
+- create the flavor with m1.medium (suggested as per HEAT env)
+- create OAM_NETWORK ID & OAM_SUBNET ID (use subnet range from base_vfw.env file)
+- execute openstack security group rule to open all ports for onap
+
Here is an example of SDNC preload for VNF, using "curl" tool
to push those data using SDNC Rest API:
::
- curl -X POST \
+ curl -k -X POST \
https://sdnc.api.simpledemo.onap.org:30267/restconf/operations/VNF-API:preload-vnf-topology-operation \
-H 'Accept: application/json' \
-H 'Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==' \
@@ -316,8 +334,8 @@ instantiation.
::
- curl -X POST \
- http://sdnc.api.simpledemo.onap.org:30202/restconf/operations/VNF-API:preload-network-topology-operation \
+ curl -k -X POST \
+ https://sdnc.api.simpledemo.onap.org:30267/restconf/operations/VNF-API:preload-network-topology-operation \
-H 'Accept: application/json' \
-H 'Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==' \
-H 'Content-Type: application/json' \