blob: d19f08549a91cd5c53cfa5d8204106a2b76f18a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
tosca_definitions_version: tosca_simple_yaml_1_1_0
topology_template:
inputs: {}
policies:
- bad.tosca.policy.test:
type: onap.policies.native.ToscaXacml
type_version: 1.0.0
properties:
policies:
- properties:
description: Policy that allows minimum number of available cells for
a slice to be feasible, prio=1
rules:
- condition:
apply:
keys:
- feasibleCellsForSlice
operator: integ
compareWith:
value: 2
decision: Permit
advice:
value: Slice is feasible since minumum number of cells are available
metadata:
policy-id: bad.tosca.policy.test.1
policy-version: 1.0.0
name: bad.tosca.policy.test
version: 3.0.0
metadata:
action: sfc-policy
description: This policy set specifies the conditions for slice feasibility
based on availability of cells
policy-id: tnap.policy.slice.sfc.set
policy-version: 3.0.0
name: ToscaServiceTemplateSimple
version: 1.0.0
|