ovn-bgp-agent/ovn_bgp_agent/tests/unit/drivers
Lucas Alvares Gomes d81e742168 Refactor parts of ovs.py and add unittests
* Fix import order

* Add 'patch-provnet-' prefix as a constant

* Simplify the logic in ensure_evpn_ovs_flow()

* Simplify the logic in add_device_to_ovs_bridge()

* Simplify the logic in del_device_from_ovs_bridge()

* Refactor get_bridge_flows_by_cookie() into get_bridge_flows() to
  make it more generic and allowing it to be reused everywhere 'ovs-ofctl
  dump-flows' was being invoked

Story: 2009165
Task: 43360

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Change-Id: I4fe79bd46a4a9476e6fd71b0dea6115f79814559
2021-09-17 16:32:48 +01:00
..
openstack Refactor parts of ovs.py and add unittests 2021-09-17 16:32:48 +01:00
__init__.py Refactor some methods from OvsdbSbOvnIdl + unittests 2021-09-10 12:08:00 +01:00