bc0310e088
Study and respond to PyLint
...
Add a reasonably tolerant .pylintrc and fix most pylint errors and
warnings.
------------------------------------------------------------------
Your code has been rated at 9.78/10
2022-04-22 19:32:38 +00:00
baaaaa67b5
Initial formatting run with Black. Integration tests and unit tests pass before and after this change.
2022-04-22 13:05:55 +00:00
5fc3b4c42b
Correct the returnvalue of get_parent_by_name() if ifname==None, add tests for that
2022-04-10 15:48:34 +00:00
b461ef49bb
Add 'state' field to interfaces and sub-interfaces
...
Assert that children cannot be 'up' of their parent is 'down'. Add tests. Update user-guide.
2022-04-05 11:06:33 +00:00
de9ed1730d
Add get_by_lcp_name() plus tests. Correct behavior of sub-ints without explicit encap: they are exact-match
2022-03-24 20:14:06 +00:00
672dd65f11
Rename validator/ to config/
2022-03-24 13:56:04 +00:00