protocols/ovsdb: Fix variable name issue

Previous patch referred to the wrong config names

Signed-off-by: Jason Kölker <jason@koelker.net>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Jason Kölker 2016-03-16 21:55:09 +00:00 committed by FUJITA Tomonori
parent 2b047bd7d7
commit 0ffbc19e18

View File

@ -51,8 +51,8 @@ class OVSDB(app_manager.RyuApp):
self._address = self.CONF.ovsdb.address
self._port = self.CONF.ovsdb.port
self._probe_interval = self.CONF.ovsdb.probe_interval
self._min_backoff = self.CONF.ovsdb._min_backoff
self._max_backoff = self.CONF.ovsdb._max_backoff
self._min_backoff = self.CONF.ovsdb.min_backoff
self._max_backoff = self.CONF.ovsdb.max_backoff
self._clients = {}
def _accept(self, server):
@ -102,7 +102,7 @@ class OVSDB(app_manager.RyuApp):
app = client.RemoteOvsdb.factory(sock, client_address,
probe_interval=self._probe_interval,
min_backoff=self._min_backoff,
max_backoff=self._max_min_backoff)
max_backoff=self._max_backoff)
if app:
self._clients[app.name] = app