network/module_utils
Thomas Haller a74092634a argument_validator: fix IPRouteUtils.get_route_tables_mapping() for whitespace sequence
Accept any whitespace sequence, according to Python's `rb"\s"` class.
This way, tabs are also accepted. This is also what iproute2 does.
Use just one regex for this.

Also add a unit test for the default iproute2 file.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2022-07-22 10:36:03 -04:00
..
network_lsr argument_validator: fix IPRouteUtils.get_route_tables_mapping() for whitespace sequence 2022-07-22 10:36:03 -04:00