summaryrefslogtreecommitdiffstats
path: root/acl/acl-impl/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'acl/acl-impl/src/test/resources')
-rw-r--r--acl/acl-impl/src/test/resources/acl/standard/interface-ref-acl-udp.json21
-rw-r--r--acl/acl-impl/src/test/resources/reference/acl-references.json57
2 files changed, 78 insertions, 0 deletions
diff --git a/acl/acl-impl/src/test/resources/acl/standard/interface-ref-acl-udp.json b/acl/acl-impl/src/test/resources/acl/standard/interface-ref-acl-udp.json
new file mode 100644
index 000000000..ae987a798
--- /dev/null
+++ b/acl/acl-impl/src/test/resources/acl/standard/interface-ref-acl-udp.json
@@ -0,0 +1,21 @@
+{
+ "interfaces":{
+ "interface": [{
+ "name": "eth2",
+ "acl": {
+ "ingress": {
+ "vpp-acls": [
+ {
+ "type": "vpp-acl:vpp-acl",
+ "name": "standard-acl"
+ }
+ ],
+ "vpp-macip-acl": {
+ "name": "acl4",
+ "type": "vpp-acl:vpp-macip-acl"
+ }
+ }
+ }
+ }]
+ }
+} \ No newline at end of file
diff --git a/acl/acl-impl/src/test/resources/reference/acl-references.json b/acl/acl-impl/src/test/resources/reference/acl-references.json
new file mode 100644
index 000000000..d60eeca45
--- /dev/null
+++ b/acl/acl-impl/src/test/resources/reference/acl-references.json
@@ -0,0 +1,57 @@
+{
+ "interfaces": {
+ "interface": [
+ {
+ "name": "eth0",
+ "acl": {
+ "ingress": {
+ "vpp-acls": [
+ {
+ "type": "vpp-acl",
+ "name": "acl1"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "eth1",
+ "acl": {
+ "egress": {
+ "vpp-acls": [
+ {
+ "type": "vpp-acl",
+ "name": "acl1"
+ }
+ ]
+ },
+ "ingress": {
+ "vpp-acls": [
+ {
+ "type": "vpp-acl",
+ "name": "acl2"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "eth2",
+ "acl": {
+ "ingress": {
+ "vpp-acls": [
+ {
+ "type": "vpp-acl",
+ "name": "acl1"
+ }
+ ],
+ "vpp-macip-acl": {
+ "name": "acl4",
+ "type": "vpp-macip-acl"
+ }
+ }
+ }
+ }
+ ]
+ }
+} \ No newline at end of file