blob: 3c5afb01db1a6b68833bc2dd991482a314bb65ec [file] [log] [blame]
sebdetd72d0d02018-12-01 15:09:54 +01001tosca_definitions_version: tosca_simple_yaml_1_0_0
2node_types:
3 policy.nodes.cdap.tca.hi.lo.app:
4 derived_from: policy.nodes.Root
5 properties:
6 domain:
7 type: string
8 description: Domain
9 constraints:
10 - equal: measurementsForVfScaling
11 functionalRole:
12 type: string
13 description: Function of the event source e.g., vnf1, vnf2, vnf3
14 thresholds:
15 type: list
16 description: Thresholds
17 entry_schema:
18 type: policy.data.thresholds
19data_types:
20 policy.data.thresholds:
21 properties:
22 closedLoopControlName:
23 type: string
24 description: A UNIQUE string identifying the Closed Loop ID this event is for.
25 direction:
26 type: string
27 constraints:
28 - valid_values: [ LESS, LESS_OR_EQUAL, GREATER, GREATER_OR_EQUAL]
29 fieldPath:
30 description: Field Path
31 type: string
32 severity:
33 type: string
34 description: event severity or priority
35 constraints:
36 - valid_values: [CRITICAL, MAJOR, MINOR, WARNING, NORMAL]
37 thresholdValue:
38 type: integer
39 description: ThresholdValue
40 default: 0
41 constraints:
42 - in_range: [ 0, 65535 ]
43 version:
44 type: string
45 description: Version for the closed loop message
46 constraints:
47 - min_length: 1
48 dummySignatures:
49 type: list
50 description: dummy Signatures
51 required: true
52 entry_schema:
53 type: policy.data.dummySignatureTraversal
54 policy.data.dummySignatureTraversal:
55 derived_from: tosca.nodes.Root
56 properties:
57 signature:
58 type: policy.data.DUMMY_Signature_FM
59 required: true
60 traversal:
61 type: policy.data.traverse
62 required: true
63 policy.data.traverse:
64 derived_from: tosca.nodes.Root
65 properties:
66 traversal:
67 type: string
68 description: Dummy Traverse
69 required: true
70 constraints:
71 - valid_values: [ ONE, TWO, THREE ]
72 policy.data.DUMMY_Signature_FM:
73 derived_from: tosca.nodes.Root
74 properties:
75 filter_clause:
76 type: string
77 description: Filter Clause
78 required: true
79 constraints:
80 - valid_values: [ OR, AND, NOT ]