Merge "Fix "id" retrieval from MQ producer in GenericTrafficGen"
[yardstick.git] / samples / vnf_samples / nsut / acl / acl_rules.yaml.sample
1 # Copyright (c) 2016-2017 Intel Corporation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 ---
15 access-list-entries:
16   -
17     actions:
18       - count
19       - nat:
20           port: 1
21       - fwd:
22           port: 0
23     matches:
24       destination-ipv4-network: 152.16.40.20/24
25       destination-port-range:
26         lower-port: 0
27         upper-port: 65535
28       source-ipv4-network: 0.0.0.0/0
29       source-port-range:
30         lower-port: 0
31         upper-port: 65535
32       protocol-mask: 255
33       protocol: 127
34       priority: 1
35     rule-name: rule1588
36   -
37     actions: [drop,count]
38     matches:
39       destination-ipv4-network: 0.0.0.0/0
40       destination-port-range:
41         lower-port: 0
42         upper-port: 65535
43       source-ipv4-network: 152.16.100.20/24
44       source-port-range:
45         lower-port: 0
46         upper-port: 65535
47     rule-name: rule1589