6975757303Merge ACL plugin work so-far
Pim van Pelt
2023-06-23 00:50:19 +02:00
91122c70a4acl: add dumper for acls
Pim van Pelt
2023-01-16 17:12:48 +00:00
7d615fd338Set MPLS for loopback and interface. Allow for --novpp and VPP changes
Pim van Pelt
2023-06-11 18:43:43 +02:00
1bebb8d68dacl: add dumper for acls
Pim van Pelt
2023-01-16 17:12:48 +00:00
28b8ba1485Protect API calls that are missing, print a warning
Pim van Pelt
2023-06-11 18:55:44 +02:00
603e26a313Set MPLS for loopback and interface. Allow for --novpp and VPP changes
Pim van Pelt
2023-06-11 18:43:43 +02:00
c7ba451016Collapse the error messages to force consistency
Pim van Pelt
2023-01-16 22:22:27 +00:00
a4dfbf055fRefuse to work with ACLs if there are duplicate tags -- it means something/somebody has been inserting them outside of vppcfg, and this breaks the requirement that vppcfg.acls. is the same uniquely identified vpp.acl.tag
Pim van Pelt
2023-01-16 19:07:04 +00:00
871e5a7d8bacl: add dumper for acls
Pim van Pelt
2023-01-16 17:12:48 +00:00
7a69f657dbProtect API calls that are missing, print a warning
Pim van Pelt
2023-06-11 18:55:44 +02:00
52864aac2cAdd documentation for MPLS on loopback interfaces
Pim van Pelt
2023-06-11 18:45:30 +02:00
1c9590dcceSet MPLS for loopback and interface. Allow for --novpp and VPP changes
Pim van Pelt
2023-06-11 18:43:43 +02:00
9a42cc91c3Allow MPLS on loopbacks too -- needed for BVIs and such. Add tests.
Pim van Pelt
2023-06-11 18:18:05 +02:00
52b8cb5477Add MPLS config option and interface.is_mpls()
Pim van Pelt
2023-06-10 15:31:09 +02:00
85e553c437Fix some formatting issues
Pim van Pelt
2023-05-25 18:32:54 +02:00
d5dbd11d2dCut 0.0.4
Pim van Pelt
2023-05-25 18:29:35 +02:00
0183822505Add address.get_canonical() and is_canonical()
Pim van Pelt
2023-05-25 18:24:46 +02:00
abd3b2adbcAdd address.get_canonical() and is_canonical()
Pim van Pelt
2023-05-25 18:24:46 +02:00
9d1d8a32d6Add device-type, to ensure that plan --novpp generates MTU statements
Pim van Pelt
2023-05-25 16:54:01 +02:00
adf4378239Move to checkout@v3 for node 16
Pim van Pelt
2023-02-25 13:37:42 +01:00
0a0413927aBugfix: Run vppcfg plan --novpp cleanly with bondethernet and MAC addresses
Pim van Pelt
2023-02-25 13:15:24 +01:00
b890a08c7eCollapse the error messages to force consistency
Pim van Pelt
2023-01-16 22:22:27 +00:00
818c45e09cacl: consistency in error messages, reformatted, and updated unittests
Pim van Pelt
2023-01-16 22:20:41 +00:00
7914659fa5icmp-type/code also match for proto 58 (ipv6-icmp)
Pim van Pelt
2023-01-16 21:09:08 +00:00
c190dfbd2bAdd a warning in case the tag contains ' or " characters
Pim van Pelt
2023-01-16 20:57:49 +00:00
5fd2d0859cRemove dangling file
Pim van Pelt
2023-01-16 19:52:46 +00:00
16e946c92cCopy over the acl.tag into the description when dumping
Pim van Pelt
2023-01-16 19:12:33 +00:00
ace08ac052Refuse to work with ACLs if there are duplicate tags -- it means something/somebody has been inserting them outside of vppcfg, and this breaks the requirement that vppcfg.acls. is the same uniquely identified vpp.acl.tag
Pim van Pelt
2023-01-16 19:07:04 +00:00
f654e78ed5Fix pylint warning
Pim van Pelt
2023-01-16 18:00:24 +00:00
02ca2e22cdacl: add dumper for acls
Pim van Pelt
2023-01-16 17:12:48 +00:00
efef03ea42address pylint
Pim van Pelt
2023-01-16 14:41:07 +00:00
9a175e1bbaAdd an ACE with a an example prefixlist
Pim van Pelt
2023-01-16 14:36:05 +00:00
5824af9666Add a unit test for empty src/dst
Pim van Pelt
2023-01-16 14:30:56 +00:00
a282a5358aacl: rework source/destination
Pim van Pelt
2023-01-16 14:24:36 +00:00
0e4490fc06Make 'any' a reserved name for prefixlists
Pim van Pelt
2023-01-16 14:20:07 +00:00
8a7c690ee5Add ability to filter get_network_list() by ipv4 or ipv6, and add tests
Pim van Pelt
2023-01-16 12:15:24 +00:00
4e2354c3d8Add acl.get_network_list() + tests; Update docs to reference the ability to use prefixlist as a source/destination
Pim van Pelt
2023-01-16 12:03:34 +00:00
a274fdc2afAdd prefixlist.get_network_list() + tests
Pim van Pelt
2023-01-16 12:01:29 +00:00
597981e79bAdd prefixlist (mixed IPv4 and IPv6, containing either IP addresses or prefixes + tests
Pim van Pelt
2023-01-16 10:15:57 +00:00
f0da3abe6eAdd an ACL yaml unit test, to cover get_acls() and get_by_name()
Pim van Pelt
2023-01-16 09:42:22 +00:00