From 418e51de71d1165ef214d46ef3e3af1c95a4c6ca Mon Sep 17 00:00:00 2001 From: Eran Gampel Date: Mon, 30 May 2016 17:38:37 +0300 Subject: [PATCH] Create FIP port in active state by default Until we support port status update from the compute nodes we should assume that the port is up Closes-bug:#1587043 Change-Id: I611b31d2a25eac7df18ed63d8bf01f1c7d8d4c5f --- dragonflow/neutron/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dragonflow/neutron/plugin.py b/dragonflow/neutron/plugin.py index 3fd4c84f0..8ca06c674 100644 --- a/dragonflow/neutron/plugin.py +++ b/dragonflow/neutron/plugin.py @@ -984,7 +984,7 @@ class DFPlugin(db_base_plugin_v2.NeutronDbPluginV2, with context.session.begin(subtransactions=True): floatingip_dict = super(DFPlugin, self).create_floatingip( context, floatingip, - initial_status=const.FLOATINGIP_STATUS_DOWN) + initial_status=const.FLOATINGIP_STATUS_ACTIVE) floatingip_port = self._get_floatingip_port( context, floatingip_dict['id'])