adf7c7eb24formatting with black
Pim van Pelt
2023-01-16 01:13:27 +00:00
7fd47c0854acl: Add the aclname to error messages
Pim van Pelt
2023-01-16 01:12:16 +00:00
56ffe52e20acl: semantic validation
Pim van Pelt
2023-01-16 01:09:23 +00:00
6990fb691dAllow src/dst to also be an IP address
Pim van Pelt
2023-01-16 00:16:17 +00:00
b08e97107eAdd first semantic check + unittest
Pim van Pelt
2023-01-15 22:24:13 +00:00
da7609a685acls: Syntax schema, example and docs
Pim van Pelt
2023-01-15 21:41:58 +00:00
21d38ebd64build: allow python3.8 and higher (due to dictionary merging code)
Pim van Pelt
2022-12-03 17:03:19 +00:00
47cdd74d75Typo fix
Pim van Pelt
2022-12-03 16:22:30 +00:00
c7bf763d1fRemove OpenBSD, vppcfg won't run there. Specify Ubuntu and Debian instead
Pim van Pelt
2022-12-03 16:21:42 +00:00
9e3761869cFix testing instructions
Pim van Pelt
2022-12-03 16:20:04 +00:00
ac13f54ab5Release vppcfg 0.0.3
Pim van Pelt
2022-12-03 16:18:26 +00:00
305a30b1a1feature: stateless planning
Pim van Pelt
2022-12-03 15:57:00 +00:00
490c294014feature: add device-type to the schema
Pim van Pelt
2022-12-03 13:46:30 +00:00
628dc62b15fix: move socket check to connect
Pim van Pelt
2022-12-03 12:42:33 +00:00
1b0fa13f74refactor: Simplify cache_clear()
Pim van Pelt
2022-12-03 12:31:18 +00:00
61f8169d69fix: execute YAML tests
Pim van Pelt
2022-12-03 12:21:34 +00:00
a622b1d54erefactor: indirect interface_names to interfaces
Pim van Pelt
2022-12-03 12:14:07 +00:00
806f4f4fc8Merge branch 'main' of github.com:pimvanpelt/vppcfg into main
Pim van Pelt
2022-12-03 09:55:37 +00:00
e6936e94e9Remove workaround for gerrit.fd.io/r/c/vpp/+/35479
Pim van Pelt
2022-12-03 09:55:24 +00:00
d4911a3c99Update PCI bus enumeration for hippo's regression test. Hu12/* -> Hu13/*
Pim van Pelt
2022-12-03 09:54:53 +00:00
c10b7bbabbMerge pull request #10 from vifino/vifino/cleanup
Pim van Pelt
2022-10-28 15:12:29 +02:00
60c4324f7evppapi: Use VPPApiJSONFiles instead of reinventing the wheel.
Adrian Pistol
2022-10-28 03:02:28 +02:00
b62f5313ddrelease: bump version to 0.0.2 for Debian and PIP
Pim van Pelt
2022-07-18 13:05:58 +00:00
849b51be67pylint: move most implementation detail to private methods
Pim van Pelt
2022-07-18 08:03:56 +00:00
8121eba598pylint: Remove a few exception lint warnings
Pim van Pelt
2022-07-18 07:46:12 +00:00
343a59b376bugfix: 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
18260e3465Call the correct new location of vppcfg.py
Pim van Pelt
2022-07-18 07:36:14 +00:00
1b5233bac1Merge pull request #8 from mdr78/main
Pim van Pelt
2022-07-13 14:34:22 +02:00
7d7e1e2e21build: add emacs undo tree to .gitignore
Ray Kinsella
2022-07-13 13:28:10 +01:00
1abcc38bddbuild: add empty __init__.py to satisfy build / pylint
Pim van Pelt
2022-07-13 12:28:15 +00:00
2aab450735Merge pull request #7 from mdr78/main
Pim van Pelt
2022-07-13 14:21:34 +02:00
fbe82a3057lint: Address pylint warnings
Pim van Pelt
2022-07-13 12:16:45 +00:00
f5c31c7f39build: enable unit tests as part of build
Ray Kinsella
2022-07-13 12:57:57 +01:00
fff10dba02Merge pull request #6 from mdr78/main
Pim van Pelt
2022-07-12 17:19:29 +02:00
9f2ef0e56abuild: fix python load paths
Ray Kinsella
2022-07-12 15:32:23 +01:00
ca0897fa65Update README.md
Pim van Pelt
2022-07-10 21:09:35 +02:00
f8bf7be731Port '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
a644840453bugfix: print sub-interface, not phy, in this error message
Pim van Pelt
2022-07-10 14:12:23 +00:00
d79efc5a83Merge pull request #5 from mdr78/main
Pim van Pelt
2022-07-04 14:26:31 +02:00
cd70856b6dUpdate README.md
Pim van Pelt
2022-07-04 13:08:51 +02:00
3122022383build: initial pybuild based deb packaging
Ray Kinsella
2022-07-01 17:15:26 +01:00
1affc2b59cMerge pull request #4 from mdr78/main
Pim van Pelt
2022-07-01 19:54:00 +02:00
b15106b88cbuild: reworked with setuptools
Ray Kinsella
2022-06-29 17:43:23 +01:00
4c35df7239Be 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
29736a3d6bbugfix: bridgedomain sync
Pim van Pelt
2022-06-22 15:32:33 +00:00
91899a3908Merge pull request #3 from dwallacelf/fix-vpp-args
Pim van Pelt
2022-05-18 07:08:03 +02:00
02cba6e81fFix optional vpp args handling
Dave Wallace
2022-05-17 17:36:58 -04:00
a7aefee4deBlack formatting
Pim van Pelt
2022-05-01 17:51:04 +00:00
a69a49d6f6Only 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
2ce5fc58e7Merge pull request #2 from dwallacelf/vpp-api-args
Pim van Pelt
2022-04-27 10:11:01 +02:00
bc1be09172Merge pull request #1 from dwallacelf/dumper-pg-if
Pim van Pelt
2022-04-27 10:07:53 +02:00
a9cff05ca4vpp/reconciler: format diff with black
Dave Wallace
2022-04-26 21:30:06 -04:00
b09773ae75vppcfg: add args to specify location of vpp api files
Dave Wallace
2022-04-26 21:04:31 -04:00
5b6d80a8f8dumper: format code change with black.
Dave Wallace
2022-04-26 18:04:50 -04:00
680ef9c8bedumper.py: address review comments.
Dave Wallace
2022-04-26 17:55:32 -04:00
71ea1823f4Formatting w/ black
Pim van Pelt
2022-04-24 10:41:35 +00:00
1a1760d45cRemove docstring here, it's not describing a class/function/method
Pim van Pelt
2022-04-24 10:38:46 +00:00
5af27211f3Add an initial stab at docstrings - enable docstring pylinter
Pim van Pelt
2022-04-24 10:36:25 +00:00
544f343da7Remove spurious print
Pim van Pelt
2022-04-22 22:05:41 +00:00
c78bdf955aDon't ignore missing/unreadable files in test cases (pylint)
Pim van Pelt
2022-04-22 19:40:30 +00:00
bc0310e088Study and respond to PyLint
Pim van Pelt
2022-04-22 19:31:38 +00:00
f8a6c3eba7Add a note about black code formatting
Pim van Pelt
2022-04-22 13:13:42 +00:00
b7ff5479acFix lint errors with black
Pim van Pelt
2022-04-22 13:10:16 +00:00
1b49059ffbAdd the --diff flag to black to show what should change
Pim van Pelt
2022-04-22 13:09:09 +00:00
9ee9a32693Test github push action
Pim van Pelt
2022-04-22 13:07:04 +00:00
d9e46b4041Add a black (code formatting) github action on PR and push
Pim van Pelt
2022-04-22 13:06:21 +00:00
baaaaa67b5Initial 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
b375ddb433Final 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
e13694a566Move to f-strings
Pim van Pelt
2022-04-22 10:58:41 +00:00
13cdba1e1dRemove commented out 'print' debug lines
Pim van Pelt
2022-04-22 09:33:27 +00:00
d8c0dd4ab4Skip TAPs that are an LCP
Pim van Pelt
2022-04-21 19:17:52 +00:00
e6f271181bbugfix - only print MAC on PHYs, not sub-interfaces
Pim van Pelt
2022-04-15 10:46:36 +00:00
58cf9e6b0cA few cosmetic refactors
Pim van Pelt
2022-04-14 11:46:04 +00:00
eee718c77cRefactor and clean up some repetitive code
Pim van Pelt
2022-04-12 11:04:13 +00:00
594e21afa4Remove redundant code - remove_interface() already removes TAP cache entries
Pim van Pelt
2022-04-12 10:47:45 +00:00
2b1287f4efRemove spurious logging
Pim van Pelt
2022-04-12 09:11:56 +00:00
6637820021Add TAP support
Pim van Pelt
2022-04-12 08:57:05 +00:00
95f56bc865bugfix: correct ordering of iface_mtu and host_mtu
Pim van Pelt
2022-04-10 16:14:58 +00:00
06046cd51aAllow TAP instances to be interfaces
Pim van Pelt
2022-04-10 16:10:19 +00:00
5fc3b4c42bCorrect 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
72668bdb18Allow 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
0116583463Rename VPPApiDumper() class to Dumper()
Pim van Pelt
2022-04-10 14:55:01 +00:00
da7765569fRefactor VPPApi
Pim van Pelt
2022-04-10 14:47:37 +00:00
9d60a01879Add a running log of executed commands in intest.exec
Pim van Pelt
2022-04-10 13:57:00 +00:00
929fa7b546bugfix: sync max frame size before packet MTU
Pim van Pelt
2022-04-10 10:57:17 +00:00
a7545ac5afAdd ability to manipulate MACs
Pim van Pelt
2022-04-10 09:54:51 +00:00
656f2ce883Only signal bondethernet diff if mode/lb are actually set in the config
Pim van Pelt
2022-04-09 22:08:32 +00:00
be36cc0edeAllow 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
35edcff884Allow mac to be set up loopbacks, iff not multicast
Pim van Pelt
2022-04-09 20:47:23 +00:00
1e0b99bc0fClarify that custom validators only get called iff yamale passes
Pim van Pelt
2022-04-09 20:35:58 +00:00
1230e04c3eRefactor 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
d6e3496809Add TAP syntax/semantic validator
Pim van Pelt
2022-04-09 19:56:48 +00:00
92a20d0755Add a few MAC checks
Pim van Pelt
2022-04-09 14:16:27 +00:00
1a00f14b53Assert hardware APIs must be made available for testing
Pim van Pelt
2022-04-07 21:39:41 +00:00
b7425a825dFix the MTU of BVIs to be consistent with the bridge they're in
Pim van Pelt
2022-04-07 21:19:38 +00:00
8854208b09Add 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
771d1ba62fAdd contributing guide with a few baseline expectations
Pim van Pelt
2022-04-07 20:57:51 +00:00
a8ced1b982Assert that BVI loopback's mtu is the same as its bridge MTU
Pim van Pelt
2022-04-05 17:54:23 +00:00
8971c325c0Allow bondethernet members list to be empty, and omitted from the YAML config
Pim van Pelt
2022-04-05 16:08:51 +00:00