File 0001-fix-dvs-agent-config.patch of Package openstack-neutron-vsphere

On Sep 17 00:00:00 2001
From: Stefan Nica <snica@suse.com>
Date: Mon, 29 May 2017 12:23:36 +0200
Subject: [PATCH] Fix neutron-dvs-agent startup errors

The DVS agent complains about missing L2_AGENT_TOPIC
constant and report_interval configuration option
during startup. This changeset corrects these problems.

Closes-Bug: 1694239
Change-Id: I055bb7057e7ee67ea7dd1d30f4e1fc136b196e61
---

diff --git a/networking_vsphere/common/vmware_conf.py b/networking_vsphere/common/vmware_conf.py
index e8aaa69..ceb208d 100644
--- a/networking_vsphere/common/vmware_conf.py
+++ b/networking_vsphere/common/vmware_conf.py
@@ -28,6 +28,9 @@
     cfg.IntOpt('polling_interval', default=2,
                help=_("The number of seconds the agent will wait between "
                       "polling for local device changes.")),
+    cfg.IntOpt('report_interval',
+               default=30,
+               help='Seconds between agents reporting state to server.'),
 ]
 
 vmware_opts = [

openSUSE Build Service is sponsored by