Comment 12 for bug 1649124

Revision history for this message
David Hill (david-hill-ubisoft) wrote :

I've modified /usr/lib/python2.7/site-packages/neutron/agent/ovsdb/impl_vsctl.py so target is escaped like this:

    def add_manager(self, connection_uri):
        # This will add a new manager without overriding existing ones.
        conn_uri = 'target=\"%s\"' % connection_uri
        args = ['create', 'Manager', conn_uri, '--', 'add', 'Open_vSwitch',
                '.', 'manager_options', '@manager']
        return BaseCommand(self.context, '--id=@manager', args=args)