Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1. SDC:

Refer Design Service Templates for template creation and distribution.

It need to be created according to this diagram and this templates description.

2. Policy Creation Steps:

Refer Optimization Policy Creation Steps for optimization policy creation and deployment steps

Refer Policy Models and Sample policies - NSI selection for sample policies 

NOTE

  • The service name given for creating the policy must match with the service name in the request
  • The scope fields in the policies should match with the value in the resourceSharingLevel(non-shared/shared). Do modify the policy accordingly.
  • do check the attribute map (camel to snake and snake to camel) in config/slicing_config.yaml, check the case of the attributes if any mismatch found
  • You need to restart the OOF docker container once you updated the slicing_config.yaml, you can do it using the following steps,

    • Login to the worker VM where the OOF container is running. You can find the worker node by running (kubectl get pods -n onap -o wide | grep dev-oof)
    • Find the container using docker ps | grep optf-osdf
    • Restart the container using docker restart <container id>