diff -Nru python-ovsdbapp-1.8.0/ChangeLog python-ovsdbapp-1.9.0/ChangeLog --- python-ovsdbapp-1.8.0/ChangeLog 2021-01-18 21:56:31.000000000 +0000 +++ python-ovsdbapp-1.9.0/ChangeLog 2021-03-03 14:36:06.000000000 +0000 @@ -1,10 +1,17 @@ CHANGES ======= +1.9.0 +----- + +* Log the name of the command in execute() +* Make it possible to just retrieve schema json + 1.8.0 ----- * [ovn nb] Acl add: Avoid setting columns that have no values +* Drop py37 and add py38 test * Update Python3 wallaby unit tests * Add northbound API support for meters * Fix NB API definition "lb\_add" method signature diff -Nru python-ovsdbapp-1.8.0/debian/changelog python-ovsdbapp-1.9.0/debian/changelog --- python-ovsdbapp-1.8.0/debian/changelog 2021-01-21 15:21:25.000000000 +0000 +++ python-ovsdbapp-1.9.0/debian/changelog 2021-03-17 16:50:57.000000000 +0000 @@ -1,3 +1,9 @@ +python-ovsdbapp (1.9.0-0ubuntu1) hirsute; urgency=medium + + * New upstream release for OpenStack Wallaby. + + -- Corey Bryant Wed, 17 Mar 2021 12:50:57 -0400 + python-ovsdbapp (1.8.0-0ubuntu1) hirsute; urgency=medium * New upstream release for OpenStack Wallaby. diff -Nru python-ovsdbapp-1.8.0/ovsdbapp/backend/ovs_idl/command.py python-ovsdbapp-1.9.0/ovsdbapp/backend/ovs_idl/command.py --- python-ovsdbapp-1.8.0/ovsdbapp/backend/ovs_idl/command.py 2021-01-18 21:55:31.000000000 +0000 +++ python-ovsdbapp-1.9.0/ovsdbapp/backend/ovs_idl/command.py 2021-03-03 14:35:28.000000000 +0000 @@ -44,7 +44,8 @@ except Exception: if log_errors: ignoring = "" if check_error else ": IGNORING" - LOG.exception("Error executing command%s", ignoring) + LOG.exception("Error executing command (%s)%s", + type(self).__name__, ignoring) if check_error: raise diff -Nru python-ovsdbapp-1.8.0/ovsdbapp/backend/ovs_idl/idlutils.py python-ovsdbapp-1.9.0/ovsdbapp/backend/ovs_idl/idlutils.py --- python-ovsdbapp-1.8.0/ovsdbapp/backend/ovs_idl/idlutils.py 2021-01-18 21:55:31.000000000 +0000 +++ python-ovsdbapp-1.9.0/ovsdbapp/backend/ovs_idl/idlutils.py 2021-03-03 14:35:28.000000000 +0000 @@ -168,8 +168,8 @@ return idl.SchemaHelper(None, schema) -def get_schema_helper(connection, schema_name): - """Create a schema helper object by querying an ovsdb-server +def fetch_schema_json(connection, schema_name): + """Retrieve the schema json from an ovsdb-server :param connection: The ovsdb-server connection string :type connection: string @@ -200,10 +200,21 @@ "%(err)s", {'conn': c, 'err': resp.error}) continue - return create_schema_helper(resp.result) + return resp.result raise Exception("Could not retrieve schema from %s" % connection) +def get_schema_helper(connection, schema_name): + """Create a schema helper object by querying an ovsdb-server + + :param connection: The ovsdb-server connection string + :type connection: string + :param schema_name: The schema on the server to pull + :type schema_name: string + """ + return create_schema_helper(fetch_schema_json(connection, schema_name)) + + def parse_connection(connection_string): """Parse a connection string. diff -Nru python-ovsdbapp-1.8.0/ovsdbapp.egg-info/pbr.json python-ovsdbapp-1.9.0/ovsdbapp.egg-info/pbr.json --- python-ovsdbapp-1.8.0/ovsdbapp.egg-info/pbr.json 2021-01-18 21:56:31.000000000 +0000 +++ python-ovsdbapp-1.9.0/ovsdbapp.egg-info/pbr.json 2021-03-03 14:36:06.000000000 +0000 @@ -1 +1 @@ -{"git_version": "aac2da8", "is_release": true} \ No newline at end of file +{"git_version": "38a99c7", "is_release": true} \ No newline at end of file diff -Nru python-ovsdbapp-1.8.0/ovsdbapp.egg-info/PKG-INFO python-ovsdbapp-1.9.0/ovsdbapp.egg-info/PKG-INFO --- python-ovsdbapp-1.8.0/ovsdbapp.egg-info/PKG-INFO 2021-01-18 21:56:31.000000000 +0000 +++ python-ovsdbapp-1.9.0/ovsdbapp.egg-info/PKG-INFO 2021-03-03 14:36:06.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: ovsdbapp -Version: 1.8.0 +Version: 1.9.0 Summary: A library for creating OVSDB applications Home-page: https://pypi.org/project/ovsdbapp/ Author: OpenStack @@ -37,4 +37,5 @@ Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 Requires-Python: >=3.6 diff -Nru python-ovsdbapp-1.8.0/PKG-INFO python-ovsdbapp-1.9.0/PKG-INFO --- python-ovsdbapp-1.8.0/PKG-INFO 2021-01-18 21:56:31.515421000 +0000 +++ python-ovsdbapp-1.9.0/PKG-INFO 2021-03-03 14:36:06.790809000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: ovsdbapp -Version: 1.8.0 +Version: 1.9.0 Summary: A library for creating OVSDB applications Home-page: https://pypi.org/project/ovsdbapp/ Author: OpenStack @@ -37,4 +37,5 @@ Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 Requires-Python: >=3.6 diff -Nru python-ovsdbapp-1.8.0/setup.cfg python-ovsdbapp-1.9.0/setup.cfg --- python-ovsdbapp-1.8.0/setup.cfg 2021-01-18 21:56:31.519420900 +0000 +++ python-ovsdbapp-1.9.0/setup.cfg 2021-03-03 14:36:06.790809000 +0000 @@ -17,6 +17,7 @@ Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 [files] packages = diff -Nru python-ovsdbapp-1.8.0/tox.ini python-ovsdbapp-1.9.0/tox.ini --- python-ovsdbapp-1.8.0/tox.ini 2021-01-18 21:55:31.000000000 +0000 +++ python-ovsdbapp-1.9.0/tox.ini 2021-03-03 14:35:28.000000000 +0000 @@ -1,6 +1,6 @@ [tox] minversion = 3.1.1 -envlist = py36,py37,pep8 +envlist = py38,py36,pep8 skipsdist = True ignore_basepython_conflict = True