diff options
author | Marco Platania <platania@research.att.com> | 2020-04-16 16:09:55 -0400 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2020-04-18 09:11:27 +0000 |
commit | 93d2ff22d0c8c1bc1fc7a2ea5e5643c88a345667 (patch) | |
tree | 160e2721e90825c3108fff7ba01c0e48fe9927ea | |
parent | fa618087a3f25b68a7402ac2b2f9eceae366a867 (diff) |
Fix link in RST file for Scale Out doc
Issue-ID: INT-1536
Signed-off-by: Marco Platania <platania@research.att.com>
Change-Id: Ic16b339332033cd487cf19458464c1dc86c61d65
Signed-off-by: mrichomme <morgan.richomme@orange.com>
-rw-r--r-- | docs/docs_scaleout.rst | 105 | ||||
-rw-r--r-- | docs/files/scaleout/12.png | bin | 188128 -> 0 bytes | |||
-rw-r--r-- | docs/files/scaleout/13.png | bin | 235213 -> 0 bytes | |||
-rw-r--r-- | docs/files/scaleout/14.png | bin | 230675 -> 0 bytes | |||
-rw-r--r-- | docs/files/scaleout/15.png | bin | 410181 -> 0 bytes | |||
-rw-r--r-- | docs/files/scaleout/16.png | bin | 394513 -> 0 bytes | |||
-rw-r--r-- | docs/files/scaleout/17.png | bin | 466637 -> 0 bytes | |||
-rw-r--r-- | docs/files/scaleout/18.png | bin | 726385 -> 0 bytes | |||
-rw-r--r-- | docs/files/scaleout/19.png | bin | 354411 -> 0 bytes | |||
-rw-r--r-- | docs/files/scaleout/20.png | bin | 230514 -> 0 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/1.png | bin | 0 -> 314501 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/10.png | bin | 0 -> 552939 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/11.png | bin | 0 -> 535871 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/12.png | bin | 0 -> 441614 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/13.png | bin | 0 -> 456595 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/14.png | bin | 0 -> 463167 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/15.png | bin | 0 -> 1567589 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/16.png | bin | 0 -> 555752 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/2.png | bin | 0 -> 322447 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/3.png | bin | 0 -> 500921 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/4.png | bin | 0 -> 542819 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/5.png | bin | 0 -> 494548 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/6.png | bin | 0 -> 460774 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/7.png | bin | 0 -> 437053 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/8.png | bin | 0 -> 508377 bytes | |||
-rw-r--r-- | docs/files/scaleout/clamp/9.png | bin | 0 -> 538782 bytes | |||
-rw-r--r-- | docs/files/scaleout/dcae_blueprint.yaml (renamed from docs/files/scaleout/k8s-tca-clamp-policy-05162019.yaml) | 2 |
27 files changed, 63 insertions, 44 deletions
diff --git a/docs/docs_scaleout.rst b/docs/docs_scaleout.rst index 4e296c95a..b3404afa0 100644 --- a/docs/docs_scaleout.rst +++ b/docs/docs_scaleout.rst @@ -9,7 +9,6 @@ Source files 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 - Naming policy script: https://git.onap.org/integration/tree/docs/files/scaleout/push_naming_policy.sh @@ -62,7 +61,7 @@ The output below means that the vLB has been set up correctly, has forwarded the 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 El Alto release supports scale out with manual trigger by directly calling SO APIs and closed-loop-enabled automation from Policy. For El Alto, the APPC controller is used to demonstrate post-scaling VNF reconfiguration operations. APPC can handle different VNF types, not only the VNF described in this document. +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 Frankfurt release supports scale out with manual trigger by directly calling SO APIs and closed-loop-enabled automation from Policy. For Frankfurt, the APPC controller is used to demonstrate post-scaling VNF reconfiguration operations. APPC can handle different VNF types, not only the VNF described in this document. The figure below shows all the interactions that take place during scale out operations. @@ -133,9 +132,9 @@ For CDS parameters, users can search for names starting with "sdnc". These param :align: center -After importing the VSP, users need to onboard the DCAE blueprint and the Policy Model used to design closed loops in CLAMP. This step is only required for users that want to run closed loop; users interested in manual scale out only can skip the remainder of the section. +After importing the VSP, users need to onboard the DCAE blueprint used to design closed loops in CLAMP. This step is only required for users that want to run closed loop; users interested in manual scale out only can skip the remainder of the section. Note that since Frankfurt users are not required to upload a Policy model from SDC, as Policy models are now managed by the Policy Engine. -From the "Composition" tab in the service menu, select the artifact icon on the right, as shown below: +To upload a DCAE blueprint, from the "Composition" tab in the service menu, select the artifact icon on the right, as shown below: .. figure:: files/scaleout/1.png :align: center @@ -150,21 +149,6 @@ The blueprint will appear in the artifacts section on the right. .. figure:: files/scaleout/3.png :align: center -To attach a Policy Model to the service, open the Policy drop-down list on left. - -.. figure:: files/scaleout/4.png - :align: center - -Then, add the TCA Policy. - -.. figure:: files/scaleout/5.png - :align: center - -The Policy will be attached to the service defined in SDC - -.. figure:: files/scaleout/6.png - :align: center - Finally, users need to provide the maximum number of VNF instances that ONAP is allowed to create as part of the scale out use case by setting up deployment properties. .. figure:: files/scaleout/7.png @@ -195,48 +179,68 @@ In order to instantiate the VNF using CDS features, users need to deploy the nam ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This step is only required if closed loop is used. -Once the service model is distributed, users can design the closed loop from CLAMP, using the GUI at https://clamp.api.simpledemo.onap.org:30258/designer/index.html In El Alto, CLAMP doesn't authenticate with AAF, so users have to login using "admin" and "password" as username and password, respectively. +Once the service model 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. +Use the "Loop Instance" link to create a closed loop using a distributed model. -.. figure:: files/scaleout/12.png +.. figure:: files/scaleout/clamp/1.png :align: center -Select the closed loop associated to the distributed service model. +Select the distributed service model. -.. figure:: files/scaleout/13.png +.. figure:: files/scaleout/clamp/2.png :align: center The closed loop main page for TCA microservices is shown below. -.. figure:: files/scaleout/14.png +.. figure:: files/scaleout/clamp/3.png :align: center -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. +Click on the TCA box to create a configuration policy. From the pop-up window, users need to click "Add" to create a new policy and fill it in with specific information, as shown below. -.. figure:: files/scaleout/15.png +.. figure:: files/scaleout/clamp/4.png :align: center 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. -.. figure:: files/scaleout/16.png +.. figure:: files/scaleout/clamp/5.png + :align: center + +Since Frankfurt, users are required to define the PDP group for the configuration policy, as shown in the figure below. + +.. figure:: files/scaleout/clamp/6.png + :align: center + +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. From the "Loop Instance" tab, users can select "Modify" to add a new Policy Model of type Drools: + +.. figure:: files/scaleout/clamp/7.png :align: center -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. +Users are required to provide basic closed loop information, like ID, timeout, and trigger, as shown in the example below. The trigger name, in particular, must match the name of the root operational policy created during the next step. -.. figure:: files/scaleout/17.png +.. figure:: files/scaleout/clamp/8.png :align: center -Since El Alto, CLAMP adds the "Policy Decision Entry" parameter, which has to contain the name of the root operational policy in the decision tree. For this use case, there is only one operational policy, called "vlbpolicy2" in the example above ("Policy ID" parameter). As such, "Policy Decision Entry" has to be set to "vlbpolicy2" as well. During creation of the operational policy, the user should select "VF Module Create" recipe and "SO" actor. The payload section is: +To create a new operational policy, users can use the "Add" button below, and fill up the fields in the CLAMP GUI as shown in the example below, making sure that the "id" matches the "trigger" field defined before: + +.. figure:: files/scaleout/clamp/9.png + :align: center + +During creation of the operational policy, the user should select "VF Module Create" recipe and "SO" actor. The payload section is a JSON object like below: :: - requestParameters: '{"usePreload":false,"userParams":[]}' - configurationParameters: '[{"ip-addr":"$.vf-module-topology.vf-module-parameters.param[16].value","oam-ip-addr":"$.vf-module-topology.vf-module-parameters.param[30].value"}]' + {"requestParameters":"{\"usePreload\":true,\"userParams\":[]}", + "configurationParameters":"[{\"ip-addr\":\"$.vf-module-topology.vf-module-parameters.param[16]\",\"oam-ip-addr\":\"$.vf-module-topology.vf-module-parameters.param[30]\"}]"} + +Users can use the "Edit JSON" button to upload the payload. -Policy Engine passes the payload to SO, which will then use it during VF module instantiation to resolve configuration parameters. The JSON path +.. figure:: files/scaleout/clamp/10.png + :align: center + +The Policy Engine passes the payload to SO, which will then use it during VF module instantiation to resolve configuration parameters. The JSON path :: @@ -244,19 +248,34 @@ Policy Engine passes the payload to SO, which will then use it during VF module indicates that resolution for parameter "ip-addr" is available at "$.vf-module-topology.vf-module-parameters.param[16].value" in the JSON object linked by the VF module self-link in AAI. See section 1-7 for an example of how to determine the right path to configuration parameters. -The target tab allows users to select the target type for the closed loop. For this use case, the user should select VF module as target type, as we are scaling a VF module. Please select the vDNS module as target resource ID. +The "targetType" tab allows users to select the target type for the closed loop. For this use case, the user should select VF module as target type, as we are scaling a VF module. Please select the vDNS module as target resource ID. + +.. figure:: files/scaleout/clamp/11.png + :align: center + +As with configuration policy, users need to assign the PDP group to the operational policy. + +.. figure:: files/scaleout/clamp/12.png + :align: center + +For what regards guard policies, either "Frequency Limiter", or "MinMax", or both can be used for the scale out use case. They can be added using the "Modify" item in the "Loop Instance" tab. + +.. figure:: files/scaleout/clamp/13.png + :align: center + +The example below shows the definition of a "Frequency Limiter" guard policy. Note that some optional fields, such as id and time interval, should be added to the policy using the "Object Properties" button: -.. figure:: files/scaleout/18.png +.. figure:: files/scaleout/clamp/14.png :align: center -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. The policy name should be guard.frequency.<policy ID> for Frequency Limiter and guard.minmax.<policy ID> for MinMax, where <policy ID> is vlbpolicy2 in the example above. +The user needs to manually insert id, actor, and operation so as to match the same fields defined in the operational policy. -.. figure:: files/scaleout/19.png +.. figure:: files/scaleout/clamp/15.png :align: center -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. +Once the operational policy design is completed, users can submit and then deploy the closed loop clicking the "Submit" and "Deploy" buttons from the "Loop Operations" tab, as shown below. -.. figure:: files/scaleout/20.png +.. figure:: files/scaleout/clamp/16.png :align: center At this point, the closed loop is deployed to Policy Engine and DCAE, and a new microservice will be deployed to the DCAE platform. @@ -2051,9 +2070,9 @@ PART 6 - Known Issues and Resolutions ------------------------------------- 1) When running closed loop-enabled scale out, the closed loop designed in CLAMP conflicts with the default closed loop defined for the old vLB/vDNS use case -Resolution: Change TCA configuration for the old vLB/vDNS use case +Resolution: Change TCA configuration for the old vLB/vDNS use case -- Connect to Consul: http://ANY_K8S_IP:30270 and click on "Key/Value" → "dcae-tca-analytics" +- Connect to Consul: http://ANY_K8S_IP: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" +- 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 diff --git a/docs/files/scaleout/12.png b/docs/files/scaleout/12.png Binary files differdeleted file mode 100644 index c6e79a8dd..000000000 --- a/docs/files/scaleout/12.png +++ /dev/null diff --git a/docs/files/scaleout/13.png b/docs/files/scaleout/13.png Binary files differdeleted file mode 100644 index b64d57759..000000000 --- a/docs/files/scaleout/13.png +++ /dev/null diff --git a/docs/files/scaleout/14.png b/docs/files/scaleout/14.png Binary files differdeleted file mode 100644 index 959fef355..000000000 --- a/docs/files/scaleout/14.png +++ /dev/null diff --git a/docs/files/scaleout/15.png b/docs/files/scaleout/15.png Binary files differdeleted file mode 100644 index ed552d9d0..000000000 --- a/docs/files/scaleout/15.png +++ /dev/null diff --git a/docs/files/scaleout/16.png b/docs/files/scaleout/16.png Binary files differdeleted file mode 100644 index 78ec99002..000000000 --- a/docs/files/scaleout/16.png +++ /dev/null diff --git a/docs/files/scaleout/17.png b/docs/files/scaleout/17.png Binary files differdeleted file mode 100644 index 4165da725..000000000 --- a/docs/files/scaleout/17.png +++ /dev/null diff --git a/docs/files/scaleout/18.png b/docs/files/scaleout/18.png Binary files differdeleted file mode 100644 index c0fc3b57a..000000000 --- a/docs/files/scaleout/18.png +++ /dev/null diff --git a/docs/files/scaleout/19.png b/docs/files/scaleout/19.png Binary files differdeleted file mode 100644 index f83e1d5a9..000000000 --- a/docs/files/scaleout/19.png +++ /dev/null diff --git a/docs/files/scaleout/20.png b/docs/files/scaleout/20.png Binary files differdeleted file mode 100644 index 71147e3de..000000000 --- a/docs/files/scaleout/20.png +++ /dev/null diff --git a/docs/files/scaleout/clamp/1.png b/docs/files/scaleout/clamp/1.png Binary files differnew file mode 100644 index 000000000..acf850843 --- /dev/null +++ b/docs/files/scaleout/clamp/1.png diff --git a/docs/files/scaleout/clamp/10.png b/docs/files/scaleout/clamp/10.png Binary files differnew file mode 100644 index 000000000..17dcaa937 --- /dev/null +++ b/docs/files/scaleout/clamp/10.png diff --git a/docs/files/scaleout/clamp/11.png b/docs/files/scaleout/clamp/11.png Binary files differnew file mode 100644 index 000000000..f41f72988 --- /dev/null +++ b/docs/files/scaleout/clamp/11.png diff --git a/docs/files/scaleout/clamp/12.png b/docs/files/scaleout/clamp/12.png Binary files differnew file mode 100644 index 000000000..8acc00439 --- /dev/null +++ b/docs/files/scaleout/clamp/12.png diff --git a/docs/files/scaleout/clamp/13.png b/docs/files/scaleout/clamp/13.png Binary files differnew file mode 100644 index 000000000..74894e9e7 --- /dev/null +++ b/docs/files/scaleout/clamp/13.png diff --git a/docs/files/scaleout/clamp/14.png b/docs/files/scaleout/clamp/14.png Binary files differnew file mode 100644 index 000000000..52d1b2a02 --- /dev/null +++ b/docs/files/scaleout/clamp/14.png diff --git a/docs/files/scaleout/clamp/15.png b/docs/files/scaleout/clamp/15.png Binary files differnew file mode 100644 index 000000000..a5195450e --- /dev/null +++ b/docs/files/scaleout/clamp/15.png diff --git a/docs/files/scaleout/clamp/16.png b/docs/files/scaleout/clamp/16.png Binary files differnew file mode 100644 index 000000000..edec29070 --- /dev/null +++ b/docs/files/scaleout/clamp/16.png diff --git a/docs/files/scaleout/clamp/2.png b/docs/files/scaleout/clamp/2.png Binary files differnew file mode 100644 index 000000000..e5ff5f6cb --- /dev/null +++ b/docs/files/scaleout/clamp/2.png diff --git a/docs/files/scaleout/clamp/3.png b/docs/files/scaleout/clamp/3.png Binary files differnew file mode 100644 index 000000000..f0dcc352f --- /dev/null +++ b/docs/files/scaleout/clamp/3.png diff --git a/docs/files/scaleout/clamp/4.png b/docs/files/scaleout/clamp/4.png Binary files differnew file mode 100644 index 000000000..5563b2442 --- /dev/null +++ b/docs/files/scaleout/clamp/4.png diff --git a/docs/files/scaleout/clamp/5.png b/docs/files/scaleout/clamp/5.png Binary files differnew file mode 100644 index 000000000..590b01c7e --- /dev/null +++ b/docs/files/scaleout/clamp/5.png diff --git a/docs/files/scaleout/clamp/6.png b/docs/files/scaleout/clamp/6.png Binary files differnew file mode 100644 index 000000000..bbdd69878 --- /dev/null +++ b/docs/files/scaleout/clamp/6.png diff --git a/docs/files/scaleout/clamp/7.png b/docs/files/scaleout/clamp/7.png Binary files differnew file mode 100644 index 000000000..281f7bcf9 --- /dev/null +++ b/docs/files/scaleout/clamp/7.png diff --git a/docs/files/scaleout/clamp/8.png b/docs/files/scaleout/clamp/8.png Binary files differnew file mode 100644 index 000000000..81217e8a4 --- /dev/null +++ b/docs/files/scaleout/clamp/8.png diff --git a/docs/files/scaleout/clamp/9.png b/docs/files/scaleout/clamp/9.png Binary files differnew file mode 100644 index 000000000..ef8d3200d --- /dev/null +++ b/docs/files/scaleout/clamp/9.png diff --git a/docs/files/scaleout/k8s-tca-clamp-policy-05162019.yaml b/docs/files/scaleout/dcae_blueprint.yaml index fb7174bfa..c3d1a1db9 100644 --- a/docs/files/scaleout/k8s-tca-clamp-policy-05162019.yaml +++ b/docs/files/scaleout/dcae_blueprint.yaml @@ -144,7 +144,7 @@ node_templates: start: inputs: envs: - MAAPHOST: + DMAAPHOST: { get_input: dmaap_host } DMAAPPORT: { get_input: dmaap_port } |