diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron/0001-Escape-quotes-in-ovsdb-agent-implementation.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/0001-Escape-quotes-in-ovsdb-agent-implementation.patch b/meta-openstack/recipes-devtools/python/python-neutron/0001-Escape-quotes-in-ovsdb-agent-implementation.patch new file mode 100644 index 0000000..d734e67 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-neutron/0001-Escape-quotes-in-ovsdb-agent-implementation.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From 0facdc911f721a6ad86f93f8bad8da210e71709f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Adrian Dudau <adrian.dudau@enea.com> | ||
| 3 | Date: Thu, 26 Oct 2017 16:35:53 +0200 | ||
| 4 | Subject: [PATCH] Escape quotes in ovsdb agent implementation | ||
| 5 | |||
| 6 | This fixes a parsing error. | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | |||
| 10 | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> | ||
| 11 | --- | ||
| 12 | neutron/agent/ovsdb/impl_vsctl.py | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/neutron/agent/ovsdb/impl_vsctl.py b/neutron/agent/ovsdb/impl_vsctl.py | ||
| 16 | index 51d19cc..1462ed0 100644 | ||
| 17 | --- a/neutron/agent/ovsdb/impl_vsctl.py | ||
| 18 | +++ b/neutron/agent/ovsdb/impl_vsctl.py | ||
| 19 | @@ -165,7 +165,7 @@ class OvsdbVsctl(ovsdb.API): | ||
| 20 | |||
| 21 | def add_manager(self, connection_uri): | ||
| 22 | # This will add a new manager without overriding existing ones. | ||
| 23 | - conn_uri = 'target="%s"' % connection_uri | ||
| 24 | + conn_uri = 'target=\"%s\"' % connection_uri | ||
| 25 | args = ['create', 'Manager', conn_uri, '--', 'add', 'Open_vSwitch', | ||
| 26 | '.', 'manager_options', '@manager'] | ||
| 27 | return BaseCommand(self.context, '--id=@manager', args=args) | ||
| 28 | -- | ||
| 29 | 2.7.4 | ||
| 30 | |||
