... because hacking 3.0.x is too old. pylint is also bumped to resolve
conflicting dependencies. The new version is currently used in neutron.
The pylint setting is imported from neutron with one additional
disablement to ignore the following error.
ovsdbapp/schema/open_vswitch/helpers.py:47:14: R1732: Consider using
'with' for resource-allocating operations (consider-using-with)
Change-Id: I41b4524ff13b8d46d2e0c76f09b5ec47601bd955
This patch is adding commands to manipulate the new Port_Group table
introduced in the OVN Northbound Database.
Four new commands are being added:
* pg_add() -> To add a new Port Group
* pg_del() -> To delete a Port Group
* pg_add_ports() -> To add a list of LSP to a Port Group
* pg_add_acls() -> To add a list of ACL to a Port Group
* pg_del_ports() -> To delete a list of LSP from a Port Group
* pg_del_acls() -> To delete a list of ACL from a Port Group
Change-Id: I9bae9a5681501d8e8a85c25ccb6d496d5b3f8681
This patch implments the ovn-nbctl API for the Logical_Switch,
Logical_Switch_Port, and DHCP_Options commands. Additional patches
will implement logical router and load balancer functionality.
As a convenience, the add/list/get commands return a special
read-only version of an ovs.db.idl.Row object called a RowView.
This object can be compared to a Row for equality and hashing. This
saves having to return uuids and then look them up. This behavior
differs from the Open_vSwitch schema implementation. This wrapper
serves both to keep people from modifying returned values outside of
a transaction and as an interface for any future backend to implement.
In addition, an ovs virtual environment fixture based on ovs-sandbox
is added to set up a sandboxed ovs/ovn install for running functional
tests.
Change-Id: I93689158467ff73a1b02588510d168b50ed6292a
With enable_connection_uri taking optional arguments for handling
combinations of retrying and adding missing manager connections,
it was ugly trying to pass that information through get_schema_helper.
Neutron is the only user of the extra options to get_schema_helper and
both OVN and dragonflow have had to work around issues with
get_schema_helper and enable_connection_uri. In addition,
enable_connection_uri is Open_vSwitch schema specific. So it makes
sense to move the burden of adding any retrying or modifying
ovsdb-server connections on the user of ovsdbapp.
Change-Id: I886ccf2aac7ec5b09b47b308933b81d3d09c3284