Versions Compared

Key

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

...

  • policy_types (dir) - The directory contains the addtional policy types that needs to be created for the Network slicing use case.
  • nst_policies (dir) -  The directory contains the policies required for NST selection.
  • nsi_polices (dir) - The directory contains the policy templates required for NSI selection.
  • nssi_policies (dir) - The directory contains the policy templates required for NSSI selection.
  • policy_utils.py - The python script which can be used to generate, create and delete policies

...

Code Block
languagebash
themeEmacs
titleGenerate policies
# for NST selection, we need not generate any policies, since it will same for all the requests

# for nsi policies
python3 policy_utils.py generate_nsi_policies <service_name(nst)>

# for nssi policies
python3 policy_utils.py generate_nssi_policies <service_name(nsst)> minimize latency

...

Code Block
languagebash
themeEmacs
titleGenerate policies
# for nst policies
python3 policy_utils.py create_and_push_policies nst_policies

# for nsi policies
python3 policy_utils.py create_and_push_policies gen_nsi_policies

# for nssi policies
python3 policy_utils.py create_and_push_policies gen_nssi_policies

...

Code Block
languagebash
themeEmacs
titleGenerate policies
# for nst policies
python3 policy_utils.py delete_policies nst_policies

# for nsi policies
python3 policy_utils.py delete_policies gen_nsi_policies

# for nssi policies
python3 policy_utils.py delete_policies gen_nssi_policies

...