summaryrefslogtreecommitdiffstats
path: root/ms/neng/src/test/sanity/policy-decision-api.json
blob: 3804ff45914560b933fd4159ff997cb5274257e2 (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
{
    "policies": {
        "SDNC_Policy.ONAP_VNF_NAMING_TIMESTAMP": {
            "type": "onap.policies.Naming",
            "type_version": "1.0.0",
            "properties": {
                "policy-instance-name": "ONAP_VNF_NAMING_TIMESTAMP",
                "naming-models": [
                    {
                        "naming-type": "VNF",
                        "naming-recipe": "AIC_CLOUD_REGION|DELIMITER|CONSTANT|DELIMITER|TIMESTAMP",
                        "naming-properties": [
                            {
                                "property-name": "AIC_CLOUD_REGION"
                            },
                            {
                                "property-name": "CONSTANT",
                                "property-value": "ONAP-NF"
                            },
                            {
                                "property-name": "TIMESTAMP"
                            },
                            {
                                "property-value": "_",
                                "property-name": "DELIMITER"
                            }
                        ]
                    },
                    {
                        "naming-type": "VNFC",
                        "naming-recipe": "VNF_NAME|DELIMITER|NFC_NAMING_CODE|DELIMITER|SEQUENCE",
                        "naming-properties": [
                            {
                                "property-name": "VNF_NAME"
                            },
                            {
                                "property-name": "SEQUENCE",
                                "increment-sequence": {
                                    "max": "zzz",
                                    "scope": "ENTIRETY",
                                    "start-value": 1.0,
                                    "length": 3.0,
                                    "increment": 1.0,
                                    "sequence-type": "alpha-numeric"
                                }
                            },
                            {
                                "property-name": "NFC_NAMING_CODE"
                            },
                            {
                                "property-value": "_",
                                "property-name": "DELIMITER"
                            }
                        ]
                    },
                    {
                        "naming-type": "VF-MODULE",
                        "naming-recipe": "VNF_NAME|DELIMITER|VF_MODULE_LABEL|DELIMITER|VF_MODULE_TYPE|DELIMITER|SEQUENCE",
                        "naming-properties": [
                            {
                                "property-name": "VNF_NAME"
                            },
                            {
                                "property-value": "_",
                                "property-name": "DELIMITER"
                            },
                            {
                                "property-name": "VF_MODULE_LABEL"
                            },
                            {
                                "property-name": "VF_MODULE_TYPE"
                            },
                            {
                                "property-name": "SEQUENCE",
                                "increment-sequence": {
                                    "max": "zzz",
                                    "scope": "PRECEEDING",
                                    "start-value": 1.0,
                                    "length": 3.0,
                                    "increment": 1.0,
                                    "sequence-type": "alpha-numeric"
                                }
                            }
                        ]
                    }
                ]
            },
            "name": "SDNC_Policy.ONAP_VNF_NAMING_TIMESTAMP",
            "version": "1.0.0",
            "metadata": {
                "policy-id": "SDNC_Policy.ONAP_VNF_NAMING_TIMESTAMP",
                "policy-version": "1"
            }
        }
    }
}