aboutsummaryrefslogtreecommitdiffstats
path: root/docs/docs_scaleout.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docs_scaleout.rst')
-rw-r--r--docs/docs_scaleout.rst413
1 files changed, 332 insertions, 81 deletions
diff --git a/docs/docs_scaleout.rst b/docs/docs_scaleout.rst
index 57ccf67fa..3c423d473 100644
--- a/docs/docs_scaleout.rst
+++ b/docs/docs_scaleout.rst
@@ -5,70 +5,205 @@ VF Module Scale Out Use Case
Source files
~~~~~~~~~~~~
+- Heat templates directory: https://git.onap.org/demo/tree/heat/vLB_CDS?h=dublin
-- Base VNF template file: https://git.onap.org/demo/plain/heat/vLBMS/base_vlb.yaml
-- Base VNF environment file: https://git.onap.org/demo/plain/heat/vLBMS/base_vlb.env
+Additional files
+~~~~~~~~~~~~~~~~
+- DCAE blueprint: https://git.onap.org/integration/tree/docs/files/scaleout/k8s-tca-clamp-policy-05162019.yaml
+- TOSCA model template: https://git.onap.org/integration/tree/docs/files/scaleout/service-Vloadbalancercds-template.yml
-- VF module scaling template file: https://git.onap.org/demo/plain/heat/vLBMS/dnsscaling.yaml
-- VF module scaling environment file: https://git.onap.org/demo/plain/heat/vLBMS/dnsscaling.env
+Description
+~~~~~~~~~~~
+The scale out use case uses a VNF composed of three virtual functions. A traffic generator (vPacketGen), a load balancer (vLB), and a DNS (vDNS). Communication between the vPacketGen and the vLB, and the vLB and the vDNS occurs via two separate private networks. In addition, all virtual functions have an interface to the ONAP OAM private network, as shown in the topology below.
-VVP Report
-~~~~~~~~~~
+.. image:: topology.png
+ :target: files/scaleout/topology.png
-:download:`vLBMS report <files/vLBMS_report.json>`
+The vPacketGen issues DNS lookup queries that reach the DNS server via the vLB. vDNS replies reach the packet generator via the vLB as well. The vLB reports the average amount of traffic per vDNS instances over a given time interval (e.g. 10 seconds) to the DCAE collector via the ONAP OAM private network.
-Description
-~~~~~~~~~~~
-The Scale Out use case shows how users/network operators can add Virtual Network Function Components (VNFCs) as part of a VF Module that has been instantiated in the Service model to an existing VNF, in order to increase capacity of the network. ONAP Casablanca release supports scale out with manual trigger from VID and closed-loop enabled automation from Policy. This is demonstrated against the vLB/vDNS VNFs developed for ONAP. For Casablanca, both APPC and SDNC controllers are used to demonstrate accepting request from SO to execute the Scale Out operation. APPC is the main controller used for this use case and it can be used to scale different VNF types. SDNC is experimental for now and it can scale only the vDNS VNF developed for ONAP.
+To run the use case, make sure that the security group in OpenStack has ingress/egress entries for protocol 47 (GRE). Users can test the VNF by running DNS queries from the vPakcketGen:
-The Casablanca Scaling Use Case Wiki Page can be found here: https://wiki.onap.org/display/DW/Scaling+Use+Case+Extension
+::
-How to Use
-~~~~~~~~~~
-Scaling VF modules manually requires the user/network operator to trigger the scale out operation from the VID portal. VID translates the operation into a call to SO. Scaling VF modules in an automated manner instead requires the user/network operator to design and deploy a closed loop for scale out that includes policies (e.g. threshold-crossing conditions), guard policies that determine when it's safe to scale out, and microservices that analyze events coming from the network in order to discover situations.
-
-Both manual and automated scale out activate the scale out workflow in the Service Orchestrator (SO). The workflow runs as follows:
+ dig @vLoadBalancer_IP host1.dnsdemo.onap.org
+
+The output below means that the vLB has been set up correctly, has forwarded the DNS queries to a vDNS instance, and the vPacketGen has received the vDNS reply message.
-- SO sends a request to APPC to run health check against the VNF;
-- If the VNF is healthy, SO instantiates a new VF module and sends a request to APPC to reconfigure the VNF;
-- APPC reconfigures the VNF, without interrupting the service;
-- SO sends a request to APPC to run health check against the VNF again, to validate that the scale out operation didn't impact the running VNF.
-
-The vLB has a Northbound API that allows an upstream system (e.g. ONAP) to change the internal configuration by updating the list of active vDNS instances (i.e. VNF reconfiguration). The Northbound API framework has been built using FD.io-based Honeycomb 1707, and supports both RESTconf and NETCONF protocols. Below is an example of vDNS instances contained in the vLB, in JSON format:
::
- {
- "vlb-business-vnf-onap-plugin": {
- "vdns-instances": {
- "vdns-instance": [
- {
- "ip-addr": "192.168.10.211",
- "oam-ip-addr": "10.0.150.2",
- "enabled": true
- }
- ]
- }
- }
- }
-
-The parameters required for VNF reconfiguration (i.e. "ip-addr", "oam-ip-addr", and "enabled" in case of vLB/vDNS) can be specified in the VID GUI when triggering the workflow manually or in CLAMP when designing a closed loop for the automated case. In both cases, the format used for specifying the parameters and their values is a JSON path. SO will use the provided paths to access parameters' name and value in the VF module preload received from SDNC before instantiating a new VF module.
-
-VID accepts a JSON array in the "Configuration Parameter" box (see later), for example:
+ ; <<>> DiG 9.10.3-P4-Ubuntu <<>> @192.168.9.111 host1.dnsdemo.onap.org
+ ; (1 server found)
+ ;; global options: +cmd
+ ;; Got answer:
+ ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31892
+ ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
+ ;; WARNING: recursion requested but not available
+
+ ;; OPT PSEUDOSECTION:
+ ; EDNS: version: 0, flags:; udp: 4096
+ ;; QUESTION SECTION:
+ ;host1.dnsdemo.onap.org. IN A
+
+ ;; ANSWER SECTION:
+ host1.dnsdemo.onap.org. 604800 IN A 10.0.100.101
+
+ ;; AUTHORITY SECTION:
+ dnsdemo.onap.org. 604800 IN NS dnsdemo.onap.org.
+
+ ;; ADDITIONAL SECTION:
+ dnsdemo.onap.org. 604800 IN A 10.0.100.100
+
+ ;; Query time: 0 msec
+ ;; SERVER: 192.168.9.111#53(192.168.9.111)
+ ;; WHEN: Fri Nov 10 17:39:12 UTC 2017
+ ;; MSG SIZE rcvd: 97
+
+
+The Scale Out Use Case
+~~~~~~~~~~~~~~~~~~~~~~
+The Scale Out use case shows how users/network operators can add Virtual Network Function Components (VNFCs) as part of a VF Module that has been instantiated in the Service model, in order to increase capacity of the network. ONAP Dublin release supports scale out with manual trigger by directly calling SO APIs and closed-loop-enabled automation from Policy. For Dublin, the APPC controller is used to demonstrate accepting request from SO to execute the Scale Out operation. APPC can be used to scale different VNF types, not only the VNF described in this document.
+
+
+VNF Instantiation
+~~~~~~~~~~~~~~~~~
+For Dublin, the scale out use case integrates with the Controller Design Studio (CDS) ONAP component to automate the generation of cloud configuration at VNF instantiation time. Users can model this configuration at VNF design time and onboard the blueprint to CDS via the CDS GUI. The blueprint includes naming policies and network configuration details (e.g. IP address families, network names, etc.) that CDS will use during VNF instantiation to generate resource names and assign network configuration to VMs through the cloud orchestrator.
+
+Please look at the CDS documentation for details about how to create configuration models, blueprints, and use the CDS tool: https://wiki.onap.org/display/DW/Modeling+Concepts. For running the use case, users can use the standard model package that CDS provides out of the box, which can be found here: https://wiki.onap.org/pages/viewpage.action?pageId=64007442
+
+Once the configuration blueprint is uploaded to CDS, users can create and instantiate the service using SDC. For details about service design and creation, please refer to the SDC wiki page: https://wiki.onap.org/display/DW/Design
+
+During the creation of the service, there are a few extra steps that need to be executed to make the VNF ready for scale out. These require users to login to the SDC Portal as service designer user (username: cs0008, password: demo123456!).
+
+After importing the Vendor Software Package (VSP), as described in the SDC wiki page, users need to set property values in the Property Assignment window, as shown below:
+
+.. image:: 9.png
+ :target: files/scaleout/9.png
+
+These properties include parameters in the Heat template (which will be overridden by CDS and then don't need to be changed) and other parameters that describe the VNF type or are used to link the service to the configuration in the CDS package.
+
+Users can search for parameter names starting with "nf" to assign values that describe the VNF type, such as nf_type, nf_function, and nf_role. Users are free to choose the values they like. Users should also set "skip_post_instantiation" to "TRUE", as for Dublin CDS is not used for post-instantiation configuration.
+
+.. image:: 10.png
+ :target: files/scaleout/10.png
+
+For CDS parameters, users can search for names starting with "sdnc". These parameters have to match the configuration blueprint in CDS. To use the standard blueprint shipped with CDS, please set the parameters as below. For further details, please refer to the CDS documentation.
+
+.. image:: 11.png
+ :target: files/scaleout/11.png
+
+
+After importing the VSP, users need to onboard the DCAE blueprint and the Policy Model used to design closed loops in CLAMP. From the "Composition" tab in the service menu, select the artifact icon on the right, as shown below:
+
+.. image:: 1.png
+ :target: files/scaleout/1.png
+
+Upload the DCAE blueprint linked at the top of the page using the pop-up window.
+
+.. image:: 2.png
+ :target: files/scaleout/2.png
+
+The blueprint will appear in the artifacts section on the right.
+
+.. image:: 3.png
+ :target: files/scaleout/3.png
+
+To attach a Policy Model to the service, open the Policy drop-down list on left.
+
+.. image:: 4.png
+ :target: files/scaleout/4.png
+
+Then, add the TCA Policy.
+
+.. image:: 5.png
+ :target: files/scaleout/5.png
+
+The Policy will be attached to the service.
+
+.. image:: 6.png
+ :target: files/scaleout/6.png
+
+Finally, users need to provide the maximum number of instances that ONAP is allowed to create as part of the scale out use case by setting up deployment properties.
+
+.. image:: 7.png
+ :target: files/scaleout/7.png
+
+This VNF only supports scaling the vDNS, so users should select the vDNS module from the right panel and then click the "max_vf_module_instance" link. The maximum number of instances to scale can be set to an arbitrary number higher than zero.
+
+.. image:: 8.png
+ :target: files/scaleout/8.png
+
+At this point, users can complete the service creation by testing, accepting, and distributing the Service Models as described in the SDC wiki page.
+
+
+Closed Loop Design from CLAMP
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Once the service is distributed, users can design the closed loop from CLAMP, using the GUI at https://clamp.api.simpledemo.onap.org:30258/designer/index.html
+
+Use the "Closed Loop" link to open a distributed model.
+
+.. image:: 12.png
+ :target: files/scaleout/12.png
+
+Select the closed loop associated to the distributed service model.
+
+.. image:: 13.png
+ :target: files/scaleout/13.png
+
+The closed loop main page for TCA microservices is shown below.
+
+.. image:: 14.png
+ :target: files/scaleout/14.png
+
+Click on the TCA box to create a configuration policy. From the pop-up window, users need to click "Add item" to create a new policy and fill it in with specific information, as shown below.
+
+.. image:: 15.png
+ :target: files/scaleout/15.png
+
+For this use case, the control loop schema type is "VM", while the event name has to match the event name reported in the VNF telemetry, which is "vLoadBalancer".
+
+Once the policy item has been created, users can define a threshold that will be used at runtime to evaluate telemetry reported by the vLB. When the specified threshold is crossed, DCAE generates an ONSET event that will tell Policy Engine which closed loop to activate.
+
+.. image:: 16.png
+ :target: files/scaleout/16.png
+
+After the configuration policy is created, users need to create the operational policy, which the Policy Engine uses to determine which actions and parameters should be used during closed loop.
+
+.. image:: 17.png
+ :target: files/scaleout/17.png
+
+Select "VF Module Create" recipe and "SO" actor. The payload section is:
+
::
-[{"ip-addr":"$.vf-module-topology.vf-module-parameters.param[10].value","oam-ip-addr":"$.vf-module-topology.vf-module-parameters.param[15].value","enabled":"$.vf-module-topology.vf-module-parameters.param[22].value"}]
-
-CLAMP, instead, accepts a YAML file in the "Payload" box in the Policy Creation form, for example:
+ requestParameters: '{"usePreload":false,"userParams":[]}'
+ configurationParameters: '[{"ip-addr":"$.vf-module-topology.vf-module-parameters.param[17].value","oam-ip-addr":"$.vf-module-topology.vf-module-parameters.param[31].value"}]'
+
+Policy Engine passes the payload to SO, which will then use it during VF module instantiation to resolve configuration parameters. The JSON path
+
::
- requestParameters: '{"usePreload":true,"userParams":[]}'
- configurationParameters: '[{"ip-addr":"$.vf-module-topology.vf-module-parameters.param[10].value","oam-ip-addr":"$.vf-module-topology.vf-module-parameters.param[15].value","enabled":"$.vf-module-topology.vf-module-parameters.param[22].value"}]'
+ "ip-addr":"$.vf-module-topology.vf-module-parameters.param[17].value"
-Note that Policy requires an additional object, called "requestParameters" in which "usePreload" should be set to true and the "userParams" array should be left empty.
-
-The JSON path to the parameters used for VNF reconfiguration, including array locations, should be set as described above. Finally, although the VNF supports to update multiple vDNS records in the same call, for Casablanca release APPC updates a single vDNS instance at a time.
-
-When using APPC, before running scale out, the user needs to create a VNF template using the Controller Design Tool (CDT), a design-time tool that allows users to create and on-board VNF templates into the APPC. The template describes which control operation can be executed against the VNF (e.g. scale out, health check, modify configuration, etc.), the protocols that the VNF supports, port numbers, VNF APIs, and credentials for authentication. Being VNF agnostic, APPC uses these templates to "learn" about specific VNFs and the supported operations.
+indicates that resolution for parameter "ip-addr" is available at "$.vf-module-topology.vf-module-parameters.param[17].value" in the JSON object linked by the VF module self-link in AAI. For the vPacketGen/vLB/vDNS VNF, use the JSON paths provided in the example above.
+
+The target type to select is VF module, as we are scaling a VF module. Please select the vDNS module as target resource ID.
+
+.. image:: 18.png
+ :target: files/scaleout/18.png
+
+For what regards guard policies, either "Frequency Limiter", or "MinMax", or both can be used for the scale out use case. The example below shows the definition of a "Frequency Limiter" guard policy. Irrespective of the guard policy type, the policy name should be x.y.scaleout.
+
+Once the operational policy design is completed, users can submit and then deploy the closed loop clicking the "Submit" and "Deploy" buttons, respectively, as shown below.
+
+.. image:: 20.png
+ :target: files/scaleout/20.png
+
+At this point, the closed loop is deployed to Policy Engine and DCAE, and a new microservice will be deployed to the DCAE platform.
+
+
+Creating a VNF Template with CDT
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Before running scale out use case, the users need to create a VNF template using the Controller Design Tool (CDT), a design-time tool that allows users to create and on-board VNF templates into APPC. The template describes which control operation can be executed against the VNF (e.g. scale out, health check, modify configuration, etc.), the protocols that the VNF supports, port numbers, VNF APIs, and credentials for authentication. Being VNF agnostic, APPC uses these templates to "learn" about specific VNFs and the supported operations.
CDT requires two input:
1) the list of parameters that APPC will receive (ip-addr, oam-ip-addr, enabled in the example above);
@@ -101,14 +236,14 @@ Below is an example of the parameters file (yaml format), which we call paramete
- name: enabled
type: null
description: null
- required: "true"
+ required: "false"
default: null
source: Manual
rule-type: null
request-keys: null
response-keys: null
-Here is an example of API for the vLB VNF used for this use case. We name the file after the vnf-type contained in SDNC (i.e. Vloadbalancerms..dnsscaling..module-1):
+Here is an example of API for the vLB VNF used for this use case. We name the file after the vnf-type contained in SDNC (i.e. Vloadbalancerms..vdns..module-3):
::
<vlb-business-vnf-onap-plugin xmlns="urn:opendaylight:params:xml:ns:yang:vlb-business-vnf-onap-plugin">
@@ -116,18 +251,18 @@ Here is an example of API for the vLB VNF used for this use case. We name the fi
<vdns-instance>
<ip-addr>${ip-addr}</ip-addr>
<oam-ip-addr>${oam-ip-addr}</oam-ip-addr>
- <enabled>${enabled}</enabled>
+ <enabled>true</enabled>
</vdns-instance>
</vdns-instances>
</vlb-business-vnf-onap-plugin>
To create the VNF template in CDT, the following steps are required:
-- Connect to the CDT GUI: http://APPC-IP:8080 (in Heat-based ONAP deployments) or http://ANY-K8S-IP:30289 (in OOM/K8S-based ONAP deployments)
+- Connect to the CDT GUI: http://ANY-K8S-IP:30289
- Click "My VNF" Tab. Create your user ID, if necessary
- Click "Create new VNF" entering the VNF type as reported in VID or AAI, e.g. vLoadBalancerMS/vLoadBalancerMS 0
- Select "ConfigScaleOut" action
-- Create a new template identifier using the vnf-type name in SDNC as template name, e.g. Vloadbalancerms..dnsscaling..module-1
+- Create a new template identifier using the VNF type name in service model as template name, e.g. Vloadbalancerms..vdns..module-3
- Select protocol (Netconf-XML), VNF username (admin), and VNF port number (2831 for NETCONF)
- Click "Parameter Definition" Tab and upload the parameters (.yaml) file
- Click "Template Tab" and upload API template (.yaml) file
@@ -147,25 +282,152 @@ At this time, CDT doesn't allow users to provide VNF password from the GUI. To u
use sdnctl;
UPDATE DEVICE_AUTHENTICATION SET PASSWORD='admin' WHERE
VNF_TYPE='vLoadBalancerMS/vLoadBalancerMS 0'; (use your VNF type)
-
-To trigger the scale out workflow manually, the user/network operator can log into VID from the ONAP Portal (demo/demo123456! as username/password), select "VNF Changes" and then the "New (+)" button. The user/network operator needs to fill in the "VNF Change Form" by selecting Subscriber, Service Type, NF Role, Model Version, VNF, Scale Out from the Workflow dropdown window, and insert the JSON path array described above in the "Configuration Parameter" box. After clicking "Next", in the following window the user/network operator has to select the VF Module to scale by clicking on the VNF and then on the appropriate VF Module checkbox. Finally, by clicking on the "Schedule" button, the scale out use case will run as described above.
-
-Automated scale out requires the user to onboard a DCAE blueprint in SDC when creating the service. To design a closed loop for scale out, the user needs to access the CLAMP GUI (https://clamp.api.simpledemo.onap.org:30258/designer/index.html) and execute the following operations:
-
-- Click the "Closed loop" dropdown window and select "Open CL"
-- Select the closed loop model and click "OK"
-- In the next screen, click the "Policy" box to create a policy for closed loop, including guard policies
-- After creating the policies, click "TCA" and review the blueprint uploaded during service creation and distributed by SDC to CLAMP
-- Click the "Manage" dropdown and then "Submit" to push the policies to the Policy Engine
-- From the same "Manage" dropdown, click "Deploy" to deploy the TCA blueprint to DCAE
-
-The vLB/vDNS VNF generates traffic and reports metrics to the VES collector in the DCAE platform. The number of incoming packets to the vLB is used to evaluate the policy defined for closed loop. If the provided threshold is crossed, DCAE generates an event that reaches the Policy Engine, which in turn activates the scale out closed loop described above.
-For more information about scale out, videos, and material used for running the use case, please look at the wiki page: https://wiki.onap.org/display/DW/Running+Scale+Out+Use+Case+for+Casablanca
+
+Setting the Controller Type in SO Database
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Users need to specify which controller to use for the scale out use case. For Dublin, the supported controller is APPC. Users need to create an association between the controller and the VNF type in the SO database.
+
+To do so:
+
+- Connect to one of the replicas of the MariaDB database
+- Type
+
+::
+
+ mysql -ucataloguser -pcatalog123
+
+- Use catalogdb databalse
+
+::
+
+ use catalogdb;
+
+- Create an association between APPC and the VNF type, for example:
+
+::
+
+ INSER INTO controller_selection_reference (`VNF_TYPE`, `CONTROLLER_NAME`, `ACTION_CATEGORY`) VALUES ('<VNF Type>', 'APPC', 'ConfigScaleOut');
+ INSER INTO controller_selection_reference (`VNF_TYPE`, `CONTROLLER_NAME`, `ACTION_CATEGORY`) VALUES ('<VNF Type>', 'APPC', 'HealthCheck');
+
+SO has a default entry for VNF type "vLoadBalancerMS/vLoadBalancerMS 0"
+
+
+How to Use
+~~~~~~~~~~
+After the VNF has been instantiated using the CDS configuration blueprint, user should manually configure the vLB to open a connection towards the vDNS. At this time, automated post-instantiation configuration with CDS is not supported. Note that this step is NOT required during scale out operations, as VNF reconfiguration will be triggered by SO and executed by APPC. To change the state of the vLB, the users can run the following REST call, replacing the IP addresses in the VNF endpoint and JSON object to match the private IP addresses of their vDNS instance:
+
+::
+
+ curl -X PUT \
+ http://10.12.5.78:8183/restconf/config/vlb-business-vnf-onap-plugin:vlb-business-vnf-onap-plugin/vdns-instances/vdns-instance/192.168.10.59 \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ -H 'Postman-Token: a708b064-adb1-4804-89a7-ee604f5fe76f' \
+ -H 'cache-control: no-cache' \
+ -d '{
+ "vdns-instance": [
+ {
+ "ip-addr": "192.168.10.59",
+ "oam-ip-addr": "10.0.101.49",
+ "enabled": true
+ }
+ ]}'
+
+At this point, the VNF is fully set up. To allow automated scale out via closed loop, the users need to inventory the VNF resources in AAI. This is done by running the heatbridge python script in /root/oom/kubernetes/robot in the Rancher VM in the Kubernetes cluster:
+
+::
+
+ ./demo-k8s.ete onap heatbridge <vLB stack_name in OpenStack> <service_instance_id> vLB vlb_onap_private_ip_0
+
+Heatbridge is needed for control loops because DCAE and Policy runs queries against AAI using vServer names as key.
+
+For scale out with manual trigger, VID is not supported at this time. Users can run the use case by directly calling SO APIs:
+
+::
+
+ curl -X POST \
+ http://10.12.5.86:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances/7d3ca782-c486-44b3-9fe5-39f322d8ee80/vnfs/9d33cf2d-d6aa-4b9e-a311-460a6be5a7de/vfModules/scaleOut \
+ -H 'Accept: application/json' \
+ -H 'Authorization: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==' \
+ -H 'Cache-Control: no-cache' \
+ -H 'Connection: keep-alive' \
+ -H 'Content-Type: application/json' \
+ -H 'Host: 10.12.5.86:30277' \
+ -H 'Postman-Token: 12f2601a-4eb2-402c-a51a-f29502359501,9befda68-b2c9-4e7a-90ca-1be9c24ef664' \
+ -H 'User-Agent: PostmanRuntime/7.15.0' \
+ -H 'accept-encoding: gzip, deflate' \
+ -H 'cache-control: no-cache' \
+ -H 'content-length: 2422' \
+ -H 'cookie: JSESSIONID=B3BA24216367F9D39E3DF5E8CBA4BC64' \
+ -b JSESSIONID=B3BA24216367F9D39E3DF5E8CBA4BC64 \
+ -d '{
+ "requestDetails": {
+ "modelInfo": {
+ "modelCustomizationName": "VdnsloadbalancerCds..vdns..module-3",
+ "modelCustomizationId": "ec2f6466-a786-41f9-98f3-86506ceb57aa",
+ "modelInvariantId": "8e134fbd-d6fe-4b0a-b4da-286c69dfed2f",
+ "modelVersionId": "297c4829-a412-4db2-bcf4-8f8ab8890772",
+ "modelName": "VdnsloadbalancerCds..vdns..module-3",
+ "modelType": "vfModule",
+ "modelVersion": "1"
+ },
+ "cloudConfiguration": {
+ "lcpCloudRegionId": "RegionOne",
+ "tenantId": "d570c718cbc545029f40e50b75eb13df",
+ "cloudOwner": "CloudOwner"
+ },
+ "requestInfo": {
+ "instanceName": "RegionOne_ONAP-NF_20190613T023006695Z_1",
+ "source": "VID",
+ "suppressRollback": false,
+ "requestorId": "demo"
+ },
+ "requestParameters": {
+ "userParams": []
+ },
+ "relatedInstanceList": [
+ {
+ "relatedInstance": {
+ "instanceId": "7d3ca782-c486-44b3-9fe5-39f322d8ee80",
+ "modelInfo": {
+ "modelType": "service",
+ "modelInvariantId": "a158d0c9-7de4-4011-a838-f1fb8fa26be8",
+ "modelVersionId": "a68d8e71-206b-4ed7-a759-533a4473304b",
+ "modelName": "vDNSLoadBalancerService_CDS",
+ "modelVersion": "2.0"
+ }
+ }
+ },
+ {
+ "relatedInstance": {
+ "instanceId": "9d33cf2d-d6aa-4b9e-a311-460a6be5a7de",
+ "modelInfo": {
+ "modelType": "vnf",
+ "modelInvariantId": "7cc46834-962b-463a-93b8-8c88d45c4fb1",
+ "modelVersionId": "94cb4ca9-7084-4236-869f-9ba114245e41",
+ "modelName": "vDNSLOADBALANCER_CDS",
+ "modelVersion": "3.0",
+ "modelCustomizationId": "69a4ebc7-0200-435b-930a-3cb247d7a3fd"
+ }
+ }
+ }
+ ],
+ "configurationParameters": [
+ {
+ "ip-addr": "$.vf-module-topology.vf-module-parameters.param[17].value",
+ "oam-ip-addr": "$.vf-module-topology.vf-module-parameters.param[31].value"
+ }
+ ]
+ }}'
+
+
+To fill in the JSON object, users can refer to the Service Model TOSCA template at the top of the page. The template contains all the model (invariant/version/customization) IDs of service, VNF, and VF modules that the input request to SO needs.
+
Test Status and Plans
~~~~~~~~~~~~~~~~~~~~~
-Casablanca Scale Out completed all tests as found here: https://wiki.onap.org/pages/viewpage.action?pageId=36964241#UseCaseTracking(CasablancaScaling)-Testing
+Dublin Scale Out test cases can be found here: https://wiki.onap.org/pages/viewpage.action?pageId=59966105
Known Issues and Resolutions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -176,15 +438,4 @@ Resolution: Change TCA configuration for the old vLB/vDNS use case
- Connect to Consul: http://<ANY K8S VM IP ADDRESS>:30270 and click on "Key/Value" → "dcae-tca-analytics"
- Change "eventName" in the vLB default policy to something different, for example "vLB" instead of the default value "vLoadBalancer"
- Change "subscriberConsumerGroup" in the TCA configuration to something different, for example "OpenDCAE-c13" instead of the default value "OpenDCAE-c12"
-- Click "UPDATE" to upload the new TCA configuration
-
-2) When running closed loop-enabled scale out, the permitAll guard policy conflicts with the scale out guard policy
-
-Resolution: Undeploy the permitAll guard policy
-
-- Connect to the Policy GUI, either through the ONAP Portal (https://portal.api.simpledemo.onap.org:30225/ONAPPORTAL/login.htm) or directly (https://policy.api.simpledemo.onap.org:30219/onap/login.htm)
-- If using the ONAP Portal, use demo/demo123456! as credentials, otherwise, if accessing Policy GUI directly, use demo/demo
-- Click "Policy" → "Push" on the left panel
-- Click the pencil symbol next to "default" in the PDP Groups table
-- Select "Decision_AllPermitGuard"
-- Click "Remove" \ No newline at end of file
+- Click "UPDATE" to upload the new TCA configuration \ No newline at end of file