Commit includes ControlLoopPolicy API and bugfixes
[policy/engine.git] / ECOMP-ControlloopPolicy / src / test / resources / v2.0.0-guard / duplicate_guard_constraint.yaml
1 guard:
2   version: 2.0.0
3
4 guards:
5   - id: unique_guard_vUSP_1
6     name: APPC 5 Restart
7     description: 
8       We only allow 5 restarts over 15 minute window during the day time hours (i.e. avoid midnight to 5am)
9     actor: APPC
10     recipe: Restart
11     limit_constraints:
12       #
13       - num: 5
14         time_in_range:
15           arg2: PT5H
16           arg3: PT24H
17       #
18       - num: 5
19         time_in_range:
20           arg2: PT5H
21           arg3: PT24H