From 6b6aa44cc13297bde6c7838b5e3c48cf799dfab8 Mon Sep 17 00:00:00 2001 From: Christos Tranoris <tranoris@gmail.com> Date: Sat, 6 Jul 2024 13:53:06 +0300 Subject: [PATCH] updates #9 --- doc/service_design/kubernetes/intro.md | 3 ++ doc/service_design/lcmrules/intro.md | 66 -------------------------- mkdocs.yml | 1 + 3 files changed, 4 insertions(+), 66 deletions(-) diff --git a/doc/service_design/kubernetes/intro.md b/doc/service_design/kubernetes/intro.md index e69de29b..8fad353e 100644 --- a/doc/service_design/kubernetes/intro.md +++ b/doc/service_design/kubernetes/intro.md @@ -0,0 +1,3 @@ +# OpenSlice and support for kubernetes + +This section contains information on how Service Designers can expose Kubernetes resources as services \ No newline at end of file diff --git a/doc/service_design/lcmrules/intro.md b/doc/service_design/lcmrules/intro.md index 05a0b914..651f83c8 100644 --- a/doc/service_design/lcmrules/intro.md +++ b/doc/service_design/lcmrules/intro.md @@ -87,72 +87,6 @@ The following figure is an example of such a rule design. The rule for example w See our [LCM Blocks specification](./specification.md) -## Examples of Rules - - -The following images provide some examples of rules. - -### define variables according to cases - -In the following example we : - -* define a String variable. -* Then according to the Area of Service selected from the Service Order of the Service Specification we need to define it properly. -* We output the value to the OSOM Log -* Define dynamically the value of another parameter (This is fictional) and then do some other condition check - -The strAreaCodes could be passed then e.g. to NFVO for instantiation of services to these cells. - - -[](./images/lcm/lcmfig9.png) - - - -### Define complex OSM configs for DAY 0 - -The following displays some complex examples for defining the parameters to pass to the NFV. In this case is OSM. - -* NOTE: The OSM_CONFIG characteristic of a service is the one that it is used in orchestration to instantiate NS from OSM - -* check the variable strTargetsParam. It is passed to the variable strOsmConfig3 which is executed if the Number of Cameras is more than 100. -* if the Video quality requested is 3, then the Maximum Namber of camers will be 8. Check the OSM detailed configuration block and its syntax. -* if the Video quality requested is 2, we use a simpler OSM Config block to configure the parameter OSM_CONFIG. We just injected a json text ( watch the Escape of the string for the Quotes!) -* if the Video quality requested is 1, again we use a simpler OSM Config block to configure the parameter OSM_CONFIG. We use as injected json text a variable constructed later - - -[](./images/lcm/lcmfig10.png) - - -### Define and instantiate different services according to Service Order request - -In the following example we would like to offer a service either as Platinum, Gold or Silver. Depending on the selection we need to instantiate different services. - -There are different ways to accomplish this: - -* create dynamically New Service Orders of RFSs with equivalent quality of Services -* change for example the VIMs that you deploy the NS -* change the NSD (that is use different VNFs) - -The following image displays for example the latter case. - -[](./images/lcm/lcmfig11.png) - - -### Call an external RESTful service - -This is useful in cases for example of alarms , external logging, calling other services e.g. email or even a complex algorithm written in other language e.g. call an external service and get a result. (service e.g. a Python service) - - -[](./images/lcm/lcmfig12.png) - -[](./images/lcm/lcmfig13.png) - -### Create New Service Orders - -The following example calls to Order a New Service Specification with specific Parameter Values - -[](./images/lcm/lcmfig14.png) - ## Probe further diff --git a/mkdocs.yml b/mkdocs.yml index 9a39b3d1..3774374e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -112,6 +112,7 @@ nav: - NFV Services: ./naas/nfv/nfvservices.md - Service design: - Introduction: ./service_design/intro.md + - Catalogs: ./service_design/catalogs.md - Support for Kubernetes: - Introduction: ./service_design/kubernetes/intro.md - Exposing Kubernetes Resources: ./service_design/kubernetes/ExposingKubernetesResources.md -- GitLab