tests: extend testtools capabilities + HW mocks to be able to add and remove network interfaces on the fly
Currently our tests works the same finite set of interfaces (given by HW mocks), while with VLANs for interfaces involved, interfaces needs to be more dynamic - virtual interfaces with vlan id would be added and removed on the fly.
While code in !113 (merged) works fine on real HW, it is not covered by synthetic tests, because of lacking support for dynamic network interfaces in testtools and HW mocks.
We should:
-
Update testtools + HW mocks for testing VLAN ids -
Add test coverage for VLAN related code in foris-controller.