aboutsummaryrefslogtreecommitdiffstats
path: root/tosca-controlloop/participant/participant-impl/participant-impl-policy/src/test/resources/policytypes/onap.policies.Naming.yaml
blob: bde730cd73de47c43d6f8b314e27e60be49a0091 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
tosca_definitions_version: tosca_simple_yaml_1_1_0
policy_types:
    onap.policies.Naming:
        derived_from: tosca.policies.Root
        version: 1.0.0
        name: onap.policies.Naming
        description: Virtual policy node for naming
        properties:
            policy-instance-name:
                type: string
            naming-models:
                type: list
                entry_schema:
                    type: policy.data.naming-model-entity
data_types:
    policy.data.naming-model-entity:
        derived_from: tosca.datatypes.Root
        properties:
            nfRole:
                type: string
                required: false
                metadata:
                    matchable: true
            naming-type:
                type: string
                required: true
                metadata:
                    matchable: true
            naming-recipe:
                type: string
                required: true
            name-operation:
                type: string
                required: false
            naming-properties:
                type: list
                required: true
                entry_schema:
                    type: policy.data.naming-property
    policy.data.naming-property:
        derived_from: tosca.datatypes.Root
        properties:
            property-name:
                type: string
                required: true
                metadata:
                    matchable: true
            property-value:
                type: string
                required: false
            property-operation:
                type: string
                required: false
            source-system:
                type: string
                required: false
            source-endpoint:
                type: string
                required: false
            increment-sequence:
                type: policy.data.increment-sequence
                required: false
    policy.data.increment-sequence:
        derived_from: tosca.datatypes.Root
        properties:
            scope:
                type: list
                required: true
                entry_schema:
                    type: string
                    constraints:
                    -   valid_values:
                        - CLOUD_REGION_ID
                        - LOCATION_CLLI
                        - VNF
                        - VM
                        - VFMODULE
                        - PRECEEDING
                        - TRAILING
                        - ENTIRETY
            sequence-type:
                type: string
                require: true
                entry_schema:
                    type: string
                    constraints:
                    -   valid_values:
                        - numeric
                        - alpha-numeric
            start-value:
                type: string
                required: true
            max:
                type: string
                required: false
            increment:
                type: string
                required: true
            length:
                type: string
                required: true