summaryrefslogtreecommitdiffstats
path: root/docs/sections/example.rst
diff options
context:
space:
mode:
authorhariharan97 <rh20085046@wipro.com>2021-04-16 13:00:32 +0530
committerHariharan Ramanathan <rh20085046@wipro.com>2021-04-19 04:36:21 +0000
commit2b65f0de725064e6d8cdb7cdae8f6ba3ec9c519d (patch)
tree76888b64d9d26fb72e75fd2be8a4f1b4ffa157a3 /docs/sections/example.rst
parentb07f208f9da6ff15c5f98d6039cab6a5bbe5f9e7 (diff)
Updating the docs to include NST selection enhancementshonolulu
Issue-ID: OPTFRA-942 Signed-off-by: hariharan97 <rh20085046@wipro.com> Change-Id: Ic1e059d1ce31591ee4ac7b1d0884f2d68107b064 (cherry picked from commit 3b2b42576c88549511443042dcd2298242a4ba06)
Diffstat (limited to 'docs/sections/example.rst')
-rw-r--r--docs/sections/example.rst67
1 files changed, 67 insertions, 0 deletions
diff --git a/docs/sections/example.rst b/docs/sections/example.rst
index c2254e0..a511e8e 100644
--- a/docs/sections/example.rst
+++ b/docs/sections/example.rst
@@ -312,6 +312,73 @@ constraint specifies that the latency of the the subnets must be less
than a particular threshold.
+Example 4
+---------
+
+.. code:: json
+
+ {
+ "name":"urllc_sample",
+ "files":{
+
+ },
+ "limit":10,
+ "num_solution":"1",
+ "timeout":1200,
+ "template":{
+ "homing_template_version":"2020-08-13",
+ "demands":{
+ "nst_demand":[
+ {
+ "inventory_provider":"aai",
+ "inventory_type":"nst",
+ "unique":"true",
+ "region":"RegionOne",
+ "filtering_attributes":{
+ "model-role":"nst"
+ }
+ }
+ ]
+ },
+ "constraints":{
+ "nst_Threshold":{
+ "type":"threshold",
+ "demands":[
+ "nst_demand"
+ ],
+ "properties":{
+ "evaluate":[
+ {
+ "attribute":"latency",
+ "operator":"lte",
+ "threshold":30,
+ "unit":"ms"
+ }
+ ]
+ }
+ }
+ },
+ "optimization":{
+ "goal": "minimize",
+ "operation_function": {
+ "operator": "sum",
+ "operands": [{
+ "function": "attribute",
+ "params": {
+ "demand": "nst_demand",
+ "attribute": "latency"
+ }
+ }]
+ }
+ }
+ }
+ }
+
+This template is for the selecting the NST templates for Network
+Slicing use case. The demand here is the slice templates and the threshold
+constraint specifies that the latency of the the templates must be less
+than a particular threshold.
+
Contact
-------