aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-07-12 16:40:46 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-07-12 16:40:46 +0000
commit70e0f379bffcd0837fea69bdac5e9148270e257b (patch)
treec68a5a8a998072e789bae6aa5db3a685776cacf3 /samples
parent2a286049b340801cff37329921f2ecca8a33c3fa (diff)
parent83e29e5c24db6ae86fc22236ecf49708f6e29ab7 (diff)
Merge "Add ACL sample config file"
Diffstat (limited to 'samples')
-rw-r--r--samples/vnf_samples/nsut/acl/acl_rules.yaml.sample (renamed from samples/vnf_samples/nsut/acl/acl_rules.yaml)10
1 files changed, 9 insertions, 1 deletions
diff --git a/samples/vnf_samples/nsut/acl/acl_rules.yaml b/samples/vnf_samples/nsut/acl/acl_rules.yaml.sample
index 49066e924..4c425d44f 100644
--- a/samples/vnf_samples/nsut/acl/acl_rules.yaml
+++ b/samples/vnf_samples/nsut/acl/acl_rules.yaml.sample
@@ -14,7 +14,12 @@
---
access-list-entries:
-
- actions: [drop,count]
+ actions:
+ - count
+ - nat:
+ port: 1
+ - fwd:
+ port: 0
matches:
destination-ipv4-network: 152.16.40.20/24
destination-port-range:
@@ -24,6 +29,9 @@ access-list-entries:
source-port-range:
lower-port: 0
upper-port: 65535
+ protocol-mask: 255
+ protocol: 127
+ priority: 1
rule-name: rule1588
-
actions: [drop,count]