/kubernetes/policy/resources/config/

ata/cgit.css'/>
summaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.input.tosca.json
blob: 494ade2b767cfb3e753c077628ae0e8e87a89619 (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
{
    "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
    "topology_template": {
        "policies": [
            {
                "guard.frequency.scaleout": {
                    "type": "onap.policies.controlloop.guard.FrequencyLimiter",
                    "version": "1.0.0",
                    "metadata": {
                        "policy-id" : "guard.frequency.scaleout"
                    },
                    "properties": {
                        "actor": "SO",
                        "recipe": "scaleOut",
                        "targets": ".*",
                        "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
                        "limit": "1",
                        "timeWindow": "10",
                        "timeUnits": "minute",
                        "guardActiveStart": "00:00:01-05:00",
                        "guardActiveEnd": "23:59:59-05:00"
                    }
                }
            }
        ]
    }
}