summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch/files/python-switch-remaining-scripts-to-use-python3.patch
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2018-05-30 11:47:10 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-06-03 23:26:54 -0400
commit1fd1ff3720140baa3680d795f6d97597e5113e90 (patch)
tree41e63c2363391e512dae7cd1c8777db51ad928a1 /recipes-networking/openvswitch/files/python-switch-remaining-scripts-to-use-python3.patch
parent1a5853f87cfc0b16d992ed222bbb0ff6066b2617 (diff)
downloadmeta-virtualization-1fd1ff3720140baa3680d795f6d97597e5113e90.tar.gz
openvswitch: uprev to v2.9.2
This brings us up to date with the latest upstream release. I suspect there will be an upcoming release to add compatibility with DPDK v18.05 (the DPDK release is due out any day now) but getting this fairly large release bump out of the way first will facilitate any upcoming uprev. We are able to drop they python3 patches as they have been merged upstream. Some scripts which needed to be updated to use python3 disappeared, new ones appeared so the 'use python3' patches are updated accordingly. Beyond this the biggest change is related to the systemd unit files, the ovsdb-server has been updated upstream to be generated on the fly via the spec file, we mimic this in the install_prepend. We also add the various configuration files which the unit files source before launching the services. As usual this was tested against out typical usecases including usage in meta-overc. As well the ptests have been run and the results are no better or worse. Previous version: ERROR: 2332 tests were run, 21 failed unexpectedly. 3 tests were skipped. New version: ERROR: 2527 tests were run, 29 failed unexpectedly. 3 tests were skipped. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-networking/openvswitch/files/python-switch-remaining-scripts-to-use-python3.patch')
-rw-r--r--recipes-networking/openvswitch/files/python-switch-remaining-scripts-to-use-python3.patch15
1 files changed, 2 insertions, 13 deletions
diff --git a/recipes-networking/openvswitch/files/python-switch-remaining-scripts-to-use-python3.patch b/recipes-networking/openvswitch/files/python-switch-remaining-scripts-to-use-python3.patch
index 6a1b8320..540bda6d 100644
--- a/recipes-networking/openvswitch/files/python-switch-remaining-scripts-to-use-python3.patch
+++ b/recipes-networking/openvswitch/files/python-switch-remaining-scripts-to-use-python3.patch
@@ -13,11 +13,10 @@ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
13 utilities/checkpatch.py | 2 +- 13 utilities/checkpatch.py | 2 +-
14 utilities/ovs-dev.py | 2 +- 14 utilities/ovs-dev.py | 2 +-
15 utilities/ovs-pipegen.py | 2 +- 15 utilities/ovs-pipegen.py | 2 +-
16 vtep/ovs-vtep | 2 +-
17 xenserver/etc_xapi.d_plugins_openvswitch-cfg-update | 2 +- 16 xenserver/etc_xapi.d_plugins_openvswitch-cfg-update | 2 +-
18 xenserver/opt_xensource_libexec_interface-reconfigure | 2 +- 17 xenserver/opt_xensource_libexec_interface-reconfigure | 2 +-
19 xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync | 2 +- 18 xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync | 2 +-
20 9 files changed, 9 insertions(+), 9 deletions(-) 19 8 files changed, 8 insertions(+), 8 deletions(-)
21 20
22diff --git a/ofproto/ipfix-gen-entities b/ofproto/ipfix-gen-entities 21diff --git a/ofproto/ipfix-gen-entities b/ofproto/ipfix-gen-entities
23index 0be7199..d2cce42 100755 22index 0be7199..d2cce42 100755
@@ -46,7 +45,7 @@ index 26eb5c3..2e1932b 100755
46@@ -1,4 +1,4 @@ 45@@ -1,4 +1,4 @@
47-#!/usr/bin/env python 46-#!/usr/bin/env python
48+#!/usr/bin/env python3 47+#!/usr/bin/env python3
49 # Copyright (c) 2016 Red Hat, Inc. 48 # Copyright (c) 2016, 2017 Red Hat, Inc.
50 # 49 #
51 # Licensed under the Apache License, Version 2.0 (the "License"); 50 # Licensed under the Apache License, Version 2.0 (the "License");
52diff --git a/utilities/ovs-dev.py b/utilities/ovs-dev.py 51diff --git a/utilities/ovs-dev.py b/utilities/ovs-dev.py
@@ -69,16 +68,6 @@ index 4bf240f..2a8f13e 100755
69 # Copyright (c) 2013, 2014, 2015 Nicira, Inc. 68 # Copyright (c) 2013, 2014, 2015 Nicira, Inc.
70 # 69 #
71 # Licensed under the Apache License, Version 2.0 (the "License"); 70 # Licensed under the Apache License, Version 2.0 (the "License");
72diff --git a/vtep/ovs-vtep b/vtep/ovs-vtep
73index fd652d4..19d63f9 100755
74--- a/vtep/ovs-vtep
75+++ b/vtep/ovs-vtep
76@@ -1,4 +1,4 @@
77-#! /usr/bin/env python
78+#! /usr/bin/env python3
79 # Copyright (C) 2013 Nicira, Inc. All Rights Reserved.
80 #
81 # Licensed under the Apache License, Version 2.0 (the "License");
82diff --git a/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update b/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update 71diff --git a/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update b/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update
83index e7404e3..5edad76 100755 72index e7404e3..5edad76 100755
84--- a/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update 73--- a/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update