Commit Graph

19 Commits

Author SHA1 Message Date
Takashi Kajinami e62823d134 Bump hacking
... 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
2024-01-27 23:14:24 +09:00
Ghanshyam Mann 8dc5192650 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: Ie57cd00b241d810528d51c5afbef604db841b0ce
2022-04-30 20:27:33 -05:00
Terry Wilson 1a1219f7cd Bump ovs minimum version for support of indexing
The custom indexing patch requires ovs >= 2.10

Change-Id: Ie477f03f82550535d0324689babe549a7b323373
2020-10-07 15:21:08 +00:00
zhouxinyong 7ced5efa15 Remove all usage of six library
Convert all code to not require six library and instead
use python 3.x logic.

Change-Id: I8721dedf8d77073225ebeec9525776bce15bd002
2020-04-02 13:06:11 -04:00
Miguel Duarte Barroso 5044279f58 Remove the oslo-utils dependency
Change-Id: I34357d5a594330d07f5cad372859d98efb5d3fde
2018-08-21 11:16:26 +02:00
Lucas Alvares Gomes 90dfca5dfc Add Port_Group commands
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
2018-05-29 16:06:41 +01:00
OpenStack Proposal Bot 7b9afd8ee6 Updated from global requirements
Change-Id: I24d899c38156722fc0c827fa545f3f9430b080c1
2017-12-24 03:48:15 +00:00
OpenStack Proposal Bot 5c64956820 Updated from global requirements
Change-Id: Ic507994d13b1de8a9b8b04372a3613296b36a741
2017-11-16 11:22:31 +00:00
OpenStack Proposal Bot ccf8b09a96 Updated from global requirements
Change-Id: Ic6f67661a6b75f7925afd3de1c504b8d732b4228
2017-09-11 21:47:42 +00:00
OpenStack Proposal Bot 03ede4ec34 Updated from global requirements
Change-Id: I71f5124b418a1b30948b8ac0cf643b251974a167
2017-07-04 19:12:52 +00:00
Terry Wilson 4bde2d5237 Add OVN Northbound API for LS, LSP, and DHCP
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
2017-07-03 23:19:46 -05:00
Terry Wilson baf68b5a3f Allow choosing vlog levels to patch and restoring the vlog
Change-Id: I99bd8e5deec3cf92aebe8402c3c7b7d7a670556c
2017-05-03 12:31:52 -05:00
Terry Wilson a540180790 Remove get_schema_helper retry/try_add_manager parameters
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
2017-04-18 16:04:27 -05:00
OpenStack Proposal Bot 42bfd7957f Updated from global requirements
Change-Id: I5ee4a5963bd8359674c42ddc849af82ec9ba0449
2017-04-12 17:05:48 +00:00
OpenStack Proposal Bot a7078c85a3 Updated from global requirements
Change-Id: I8e870c68110198d260bb7fd4343459a4c5839948
2017-03-24 16:35:20 +00:00
Terry Wilson 1af842a207 Add missing tenacity requirement
Change-Id: I0a103751054b415662e88ad7088d0d44961cb16a
2017-03-16 17:55:01 -05:00
OpenStack Proposal Bot b618331751 Updated from global requirements
Change-Id: I7ad64e819ef7a7918432f8d0d33a021a8d8fc193
2017-03-15 04:26:57 +00:00
Terry Wilson 81e6bf5393 Add cookiecutter output 2017-02-24 15:02:19 -05:00
Terry Wilson 2325d5b940 Add requirements.txt 2017-02-24 14:26:37 -05:00