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
This commit is contained in:
parent
7585a95afb
commit
418e51de71
|
@ -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'])
|
||||
|
|
Loading…
Reference in New Issue