Make Network Slicing usecase more user friendly
[demo.git] / tutorials / 5GE2ENetworkSlicing / common / policies / nssi_policies / optimization_nssi.json
1 {
2     "{{ goal }}_{{ attribute }}_{{ service_name }}": {
3         "metadata": {
4             "policy-id": "{{ goal }}_{{ attribute }}_{{ service_name }}",
5             "policy-version": 1
6         },
7         "properties": {
8             "geography": [],
9             "identity": "optimization",
10             "goal": "{{ goal }}",
11             "operation_function": {
12                 "operator": "sum",
13                 "operands": [
14                     {
15                         "function": "attribute",
16                         "params": {
17                             "attribute": "{{ attribute }}",
18                             "demand": "{{ service_name }}"
19                         }
20                     }
21                 ]
22             },
23             "resources": [
24                 "{{ service_name }}"
25             ],
26             "scope": [
27                 "OSDF_GUILIN"
28             ],
29             "services": [
30                 "{{ service_name }}"
31             ]
32         },
33         "type": "onap.policies.optimization.resource.OptimizationPolicy",
34         "type_version": "2.0.0",
35         "version": "1.0.0"
36     }
37 }