remove dependency of drool-application/yaml in actors
[policy/models.git] / models-interactions / model-yaml / src / test / resources / v2.0.0-guard / policy_guard_ONAP_demo_vDNS.yaml
1 # Copyright 2018 AT&T Intellectual Property. All rights reserved
2 # Modifications Copyright (C) 2019 Nordix Foundation.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #         http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 guard:
16   version: 2.0.0
17
18 guards:
19   - id: unique_guard_ONAP_vDNS_1
20     name: MSO Spinup
21     description: We only spin up 1 instance over a 10 minute window
22     match_parameters:
23       actor: MSO
24       recipe: VF Module Create
25     limit_constraints:
26       - freq_limit_per_target: 1
27         #
28         # https://www.w3.org/TR/xmlschema-2/#duration
29         #
30         time_window:
31           value: 10
32           units: hour
33