Commit Graph

  • adf7c7eb24 formatting with black Pim van Pelt 2023-01-16 01:13:27 +00:00
  • 7fd47c0854 acl: Add the aclname to error messages Pim van Pelt 2023-01-16 01:12:16 +00:00
  • 56ffe52e20 acl: semantic validation Pim van Pelt 2023-01-16 01:09:23 +00:00
  • 6990fb691d Allow src/dst to also be an IP address Pim van Pelt 2023-01-16 00:16:17 +00:00
  • b08e97107e Add first semantic check + unittest Pim van Pelt 2023-01-15 22:24:13 +00:00
  • da7609a685 acls: Syntax schema, example and docs Pim van Pelt 2023-01-15 21:41:58 +00:00
  • 21d38ebd64 build: allow python3.8 and higher (due to dictionary merging code) Pim van Pelt 2022-12-03 17:03:19 +00:00
  • 47cdd74d75 Typo fix Pim van Pelt 2022-12-03 16:22:30 +00:00
  • c7bf763d1f Remove OpenBSD, vppcfg won't run there. Specify Ubuntu and Debian instead Pim van Pelt 2022-12-03 16:21:42 +00:00
  • 9e3761869c Fix testing instructions Pim van Pelt 2022-12-03 16:20:04 +00:00
  • ac13f54ab5 Release vppcfg 0.0.3 Pim van Pelt 2022-12-03 16:18:26 +00:00
  • 305a30b1a1 feature: stateless planning Pim van Pelt 2022-12-03 15:57:00 +00:00
  • 490c294014 feature: add device-type to the schema Pim van Pelt 2022-12-03 13:46:30 +00:00
  • 628dc62b15 fix: move socket check to connect Pim van Pelt 2022-12-03 12:42:33 +00:00
  • 1b0fa13f74 refactor: Simplify cache_clear() Pim van Pelt 2022-12-03 12:31:18 +00:00
  • 61f8169d69 fix: execute YAML tests Pim van Pelt 2022-12-03 12:21:34 +00:00
  • a622b1d54e refactor: indirect interface_names to interfaces Pim van Pelt 2022-12-03 12:14:07 +00:00
  • 806f4f4fc8 Merge branch 'main' of github.com:pimvanpelt/vppcfg into main Pim van Pelt 2022-12-03 09:55:37 +00:00
  • e6936e94e9 Remove workaround for gerrit.fd.io/r/c/vpp/+/35479 Pim van Pelt 2022-12-03 09:55:24 +00:00
  • d4911a3c99 Update PCI bus enumeration for hippo's regression test. Hu12/* -> Hu13/* Pim van Pelt 2022-12-03 09:54:53 +00:00
  • c10b7bbabb Merge pull request #10 from vifino/vifino/cleanup Pim van Pelt 2022-10-28 15:12:29 +02:00
  • 60c4324f7e vppapi: Use VPPApiJSONFiles instead of reinventing the wheel. Adrian Pistol 2022-10-28 03:02:28 +02:00
  • b62f5313dd release: bump version to 0.0.2 for Debian and PIP Pim van Pelt 2022-07-18 13:05:58 +00:00
  • 849b51be67 pylint: move most implementation detail to private methods Pim van Pelt 2022-07-18 08:03:56 +00:00
  • 8121eba598 pylint: Remove a few exception lint warnings Pim van Pelt 2022-07-18 07:46:12 +00:00
  • 343a59b376 bugfix: remove addresses also when there is a diff, not only when the interface is not present; remove duplicate block of code Pim van Pelt 2022-07-18 07:37:00 +00:00
  • 18260e3465 Call the correct new location of vppcfg.py Pim van Pelt 2022-07-18 07:36:14 +00:00
  • 1b5233bac1 Merge pull request #8 from mdr78/main Pim van Pelt 2022-07-13 14:34:22 +02:00
  • 7d7e1e2e21 build: add emacs undo tree to .gitignore Ray Kinsella 2022-07-13 13:28:10 +01:00
  • 1abcc38bdd build: add empty __init__.py to satisfy build / pylint Pim van Pelt 2022-07-13 12:28:15 +00:00
  • 2aab450735 Merge pull request #7 from mdr78/main Pim van Pelt 2022-07-13 14:21:34 +02:00
  • fbe82a3057 lint: Address pylint warnings Pim van Pelt 2022-07-13 12:16:45 +00:00
  • f5c31c7f39 build: enable unit tests as part of build Ray Kinsella 2022-07-13 12:57:57 +01:00
  • fff10dba02 Merge pull request #6 from mdr78/main Pim van Pelt 2022-07-12 17:19:29 +02:00
  • 9f2ef0e56a build: fix python load paths Ray Kinsella 2022-07-12 15:32:23 +01:00
  • ca0897fa65 Update README.md Pim van Pelt 2022-07-10 21:09:35 +02:00
  • f8bf7be731 Port 'make wipe' patterns into .gitignore so as not to create a dirty client while building Pim van Pelt 2022-07-10 18:27:18 +00:00
  • a644840453 bugfix: print sub-interface, not phy, in this error message Pim van Pelt 2022-07-10 14:12:23 +00:00
  • d79efc5a83 Merge pull request #5 from mdr78/main Pim van Pelt 2022-07-04 14:26:31 +02:00
  • cd70856b6d Update README.md Pim van Pelt 2022-07-04 13:08:51 +02:00
  • 3122022383 build: initial pybuild based deb packaging Ray Kinsella 2022-07-01 17:15:26 +01:00
  • 1affc2b59c Merge pull request #4 from mdr78/main Pim van Pelt 2022-07-01 19:54:00 +02:00
  • b15106b88c build: reworked with setuptools Ray Kinsella 2022-06-29 17:43:23 +01:00
  • 4c35df7239 Be a bit more persistent when connecting to VPP - retry 30 times before giving up Pim van Pelt 2022-06-26 12:37:44 +00:00
  • 29736a3d6b bugfix: bridgedomain sync Pim van Pelt 2022-06-22 15:32:33 +00:00
  • 91899a3908 Merge pull request #3 from dwallacelf/fix-vpp-args Pim van Pelt 2022-05-18 07:08:03 +02:00
  • 02cba6e81f Fix optional vpp args handling Dave Wallace 2022-05-17 17:36:58 -04:00
  • a7aefee4de Black formatting Pim van Pelt 2022-05-01 17:51:04 +00:00
  • a69a49d6f6 Only copy over keyword args if they're set (fixes bug in 'check' which does not supply args.vpp_*) Pim van Pelt 2022-05-01 17:47:11 +00:00
  • 2ce5fc58e7 Merge pull request #2 from dwallacelf/vpp-api-args Pim van Pelt 2022-04-27 10:11:01 +02:00
  • bc1be09172 Merge pull request #1 from dwallacelf/dumper-pg-if Pim van Pelt 2022-04-27 10:07:53 +02:00
  • a9cff05ca4 vpp/reconciler: format diff with black Dave Wallace 2022-04-26 21:30:06 -04:00
  • b09773ae75 vppcfg: add args to specify location of vpp api files Dave Wallace 2022-04-26 21:04:31 -04:00
  • 5b6d80a8f8 dumper: format code change with black. Dave Wallace 2022-04-26 18:04:50 -04:00
  • 680ef9c8be dumper.py: address review comments. Dave Wallace 2022-04-26 17:55:32 -04:00
  • 71ea1823f4 Formatting w/ black Pim van Pelt 2022-04-24 10:41:35 +00:00
  • 1a1760d45c Remove docstring here, it's not describing a class/function/method Pim van Pelt 2022-04-24 10:38:46 +00:00
  • 5af27211f3 Add an initial stab at docstrings - enable docstring pylinter Pim van Pelt 2022-04-24 10:36:25 +00:00
  • 544f343da7 Remove spurious print Pim van Pelt 2022-04-22 22:05:41 +00:00
  • c78bdf955a Don't ignore missing/unreadable files in test cases (pylint) Pim van Pelt 2022-04-22 19:40:30 +00:00
  • 5a30d9d995 Add proper exception classes (pylint) Pim van Pelt 2022-04-22 19:40:04 +00:00
  • bc0310e088 Study and respond to PyLint Pim van Pelt 2022-04-22 19:31:38 +00:00
  • f8a6c3eba7 Add a note about black code formatting Pim van Pelt 2022-04-22 13:13:42 +00:00
  • b7ff5479ac Fix lint errors with black Pim van Pelt 2022-04-22 13:10:16 +00:00
  • 1b49059ffb Add the --diff flag to black to show what should change Pim van Pelt 2022-04-22 13:09:09 +00:00
  • 9ee9a32693 Test github push action Pim van Pelt 2022-04-22 13:07:04 +00:00
  • d9e46b4041 Add a black (code formatting) github action on PR and push Pim van Pelt 2022-04-22 13:06:21 +00:00
  • baaaaa67b5 Initial formatting run with Black. Integration tests and unit tests pass before and after this change. Pim van Pelt 2022-04-22 13:05:55 +00:00
  • b375ddb433 Final f-string conversions that flynt did not catch. Tested: integration test before and after are clean Pim van Pelt 2022-04-22 11:48:08 +00:00
  • e13694a566 Move to f-strings Pim van Pelt 2022-04-22 10:58:41 +00:00
  • 13cdba1e1d Remove commented out 'print' debug lines Pim van Pelt 2022-04-22 09:33:27 +00:00
  • d8c0dd4ab4 Skip TAPs that are an LCP Pim van Pelt 2022-04-21 19:17:52 +00:00
  • e6f271181b bugfix - only print MAC on PHYs, not sub-interfaces Pim van Pelt 2022-04-15 10:46:36 +00:00
  • 58cf9e6b0c A few cosmetic refactors Pim van Pelt 2022-04-14 11:46:04 +00:00
  • eee718c77c Refactor and clean up some repetitive code Pim van Pelt 2022-04-12 11:04:13 +00:00
  • 594e21afa4 Remove redundant code - remove_interface() already removes TAP cache entries Pim van Pelt 2022-04-12 10:47:45 +00:00
  • 2b1287f4ef Remove spurious logging Pim van Pelt 2022-04-12 09:11:56 +00:00
  • 6637820021 Add TAP support Pim van Pelt 2022-04-12 08:57:05 +00:00
  • 95f56bc865 bugfix: correct ordering of iface_mtu and host_mtu Pim van Pelt 2022-04-10 16:14:58 +00:00
  • 06046cd51a Allow TAP instances to be interfaces Pim van Pelt 2022-04-10 16:10:19 +00:00
  • 5fc3b4c42b Correct the returnvalue of get_parent_by_name() if ifname==None, add tests for that Pim van Pelt 2022-04-10 15:48:34 +00:00
  • 72668bdb18 Allow for the integration test to be run in -strict mode, exiting the execution in case errors were found Pim van Pelt 2022-04-10 15:06:37 +00:00
  • 0116583463 Rename VPPApiDumper() class to Dumper() Pim van Pelt 2022-04-10 14:55:01 +00:00
  • da7765569f Refactor VPPApi Pim van Pelt 2022-04-10 14:47:37 +00:00
  • 9d60a01879 Add a running log of executed commands in intest.exec Pim van Pelt 2022-04-10 13:57:00 +00:00
  • 929fa7b546 bugfix: sync max frame size before packet MTU Pim van Pelt 2022-04-10 10:57:17 +00:00
  • a7545ac5af Add ability to manipulate MACs Pim van Pelt 2022-04-10 09:54:51 +00:00
  • 656f2ce883 Only signal bondethernet diff if mode/lb are actually set in the config Pim van Pelt 2022-04-09 22:08:32 +00:00
  • be36cc0ede Allow BondEthernet to set MAC, and disallow interfaces to set their MAC if they are a bond member Pim van Pelt 2022-04-09 21:18:26 +00:00
  • 35edcff884 Allow mac to be set up loopbacks, iff not multicast Pim van Pelt 2022-04-09 20:47:23 +00:00
  • 1e0b99bc0f Clarify that custom validators only get called iff yamale passes Pim van Pelt 2022-04-09 20:35:58 +00:00
  • 1230e04c3e Refactor validators into a list, and add a custom validator function, which is passed the YAML as an argument, and will return (rv,msgs) to signal custom semantic validation results Pim van Pelt 2022-04-09 20:12:21 +00:00
  • d6e3496809 Add TAP syntax/semantic validator Pim van Pelt 2022-04-09 19:56:48 +00:00
  • 92a20d0755 Add a few MAC checks Pim van Pelt 2022-04-09 14:16:27 +00:00
  • 1a00f14b53 Assert hardware APIs must be made available for testing Pim van Pelt 2022-04-07 21:39:41 +00:00
  • b7425a825d Fix the MTU of BVIs to be consistent with the bridge they're in Pim van Pelt 2022-04-07 21:19:38 +00:00
  • 8854208b09 Add license for docs, add notes on AP2 for code, add requirement for origin certification Pim van Pelt 2022-04-07 21:18:05 +00:00
  • 771d1ba62f Add contributing guide with a few baseline expectations Pim van Pelt 2022-04-07 20:57:51 +00:00
  • a8ced1b982 Assert that BVI loopback's mtu is the same as its bridge MTU Pim van Pelt 2022-04-05 17:54:23 +00:00
  • 8971c325c0 Allow bondethernet members list to be empty, and omitted from the YAML config Pim van Pelt 2022-04-05 16:08:51 +00:00