aboutsummaryrefslogtreecommitdiffstats
path: root/GPL/traffic_scripts/lisp
AgeCommit message (Collapse)AuthorFilesLines
2021-06-17Traffic scripts: Move valid_ipv* to a libraryVratko Polak2-62/+2
No need to implement the same two functions in 5 places. Change-Id: I7bbcfaba18030a0520aaef5dcf06ed155bcf806b Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2021-06-17Traffic scripts: Fix docstringsVratko Polak2-4/+0
The IP address checking functions do not raise the exceptions listed, they except them and return False. Change-Id: I74e52b65bac99c8ca8679d4cc6395067ccc6a961 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2021-06-14FIX: vpp_device ignore packets listpmikus1-1/+5
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ifda8fcb102661e7c585bc5fe3a16113ae629d516
2021-06-10FIX: Pylint reducepmikus2-9/+42
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I909942dbb920df7f0fe15c0c92cda92c3cd8d8ad
2021-06-10FIX: Add ICMPv6MLReport2 maskingpmikus2-16/+43
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I1183a0ffd13c6926b3963b78630954bb6356133b
2021-01-12License: Wrap GPL block to 80 charactersVratko Polak3-6/+9
The original license block was adapted from https://wiki.fd.io/view/TSC/Proposed_Header_Python_Test_Scripts resulting in a line longer than 80 chars, but those are reported (although not blocked) by tox verify job. As the text from wiki was not used in verbatim (it uses c-style comment block), minor formatting change like this should not be a big deal. + Bump copyright year. Change-Id: I55e3a0232639b448b1a6d7b1f3af84d903a8d0a5 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-11-12Switch licenses in GPL directoryVratko Polak3-9/+36
To be merged after this completes: https://wiki.fd.io/view/TSC/Relicensing_Procedure Change-Id: I003e53a620a5f82ba2bcc65b12f9c84ae92264ef Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-05-06Separate files needing GPL licenseVratko Polak3-0/+413
+ Keep apache license for now, until this is completed: https://wiki.fd.io/view/TSC/Relicensing_Procedure + Add utilities for switching license comment blocks. - They do not preserve attributes, so executable flag is lost. + Move the affected files to GPL/. + Update paths so files are executed from the new location. + Change the way scripts are started to do not require executable flag. + Employ OptionString when constructing longer command lines. + Move also PacketVerifier.py and TrafficScriptArg.py as they are linked with traffic scripts. + That means the two files are outside "resources" package tree now. + Added __init__.py files so relative imports work in new package tree. + Start traffic scripts as python modules to allow relative imports. + Once again needed because they are outside the default PYTHONPATH. Change-Id: Ieb135629e890adbaf5b79497570f3be25b746f9f Signed-off-by: Vratko Polak <vrpolak@cisco.com>