Add ACL sample config file 63/59663/2
authorMytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
Wed, 11 Jul 2018 08:25:26 +0000 (09:25 +0100)
committerVolodymyr Mytnyk <volodymyrx.mytnyk@intel.com>
Wed, 11 Jul 2018 12:21:11 +0000 (12:21 +0000)
The acl_rules.yaml is unused, so renamed it to sample config.
Updated the config with example of possible ACL configuration.

JIRA: YARDSTICK-1304

Change-Id: If0537cf55f4c96f57844caed5bf1c9050647e0d5
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
samples/vnf_samples/nsut/acl/acl_rules.yaml.sample [moved from samples/vnf_samples/nsut/acl/acl_rules.yaml with 88% similarity]

 ---
 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]