From 73c14a112bf24cc9ad5a73766058e0920d9aa7de Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Tue, 10 Jan 2017 09:14:19 +0100 Subject: HC2VPP-31: fix vpp-ace translation with no protocol set Change-Id: I9d319ae3d04d90c7652828b0cb382ad142f9d2b6 Signed-off-by: Marek Gradzki (cherry picked from commit 1b7a019ae9ceeddee496b20f83c095ffcb87b6c2) --- .../src/test/resources/rules/no-protocol-rule.json | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 acl/acl-impl/src/test/resources/rules/no-protocol-rule.json (limited to 'acl/acl-impl/src/test/resources') diff --git a/acl/acl-impl/src/test/resources/rules/no-protocol-rule.json b/acl/acl-impl/src/test/resources/rules/no-protocol-rule.json new file mode 100644 index 000000000..a022bf08d --- /dev/null +++ b/acl/acl-impl/src/test/resources/rules/no-protocol-rule.json @@ -0,0 +1,23 @@ +{ + "access-lists": { + "acl": [ + { + "acl-name": "standard-acl", + "acl-type": "vpp-acl:vpp-acl", + "access-list-entries": { + "ace": [ + { + "rule-name": "no-protocol-rule", + "matches": { + "vpp-ace-nodes": { + "destination-ipv4-network": "192.168.2.1/32", + "source-ipv4-network": "192.168.2.2/32" + } + } + } + ] + } + } + ] + } +} \ No newline at end of file -- cgit 1.2.3-korg