Fixes bug
1088368
Change-Id: I41b816a8d72d09740ea7d063172a75cedffb8d6d
if len(fixed_ips) > 1:
LOG.error(_("Ignoring multiple IPs on router port %s") %
port['id'])
- ports.remove(port)
continue
# Empty fixed_ips should not happen
fixed_ip = fixed_ips[0]
routers = plugin.get_sync_data(ctx, None)
self.assertEqual(1, len(routers))
interfaces = routers[0].get(l3_constants.INTERFACE_KEY, [])
- self.assertEqual(0, len(interfaces))
+ self.assertEqual(1, len(interfaces))
# clean-up
self._router_interface_action('remove',
r['router']['id'],