- "acl": [{
- "acl-type":
- "vpp-acl:vpp-acl",
- "acl-name": name,
- "access-list-entries": {"ace": [
- {
- "rule-name": "rule1",
- "matches": {
- "vpp-ace-nodes": {
- "source-ipv4-network":
- "{0}/{1}".format(
- test_vars["reflex"]["classify_dst_net"],
- test_vars["reflex"]["prefix_length"]),
- "destination-ipv4-network":
- "{0}/{1}".format(
- test_vars["reflex"]["classify_src_net"],
- test_vars["reflex"]["prefix_length"]),
+ "acl": [
+ {
+ "name": name,
+ "type": "vpp-acl:vpp-acl",
+ "aces": {
+ "ace": [
+ {
+ "name": "rule1",
+ "matches": {
+ "ipv4": {
+ "destination-ipv4-network": "{0}/{1}".format(
+ test_vars["reflex"]["classify_src_net"],
+ test_vars["reflex"]["prefix_length"]),
+ "source-ipv4-network": "{0}/{1}".format(
+ test_vars["reflex"]["classify_dst_net"],
+ test_vars["reflex"]["prefix_length"])
+ }
+ },
+ "actions": {
+ "forwarding": "vpp-acl:accept-and-reflect"
+ }