Merge pull request #57 from davecahill/stable/havana

Midonet plugin: Fix source NAT
Remove routes/nat when disassociating FIPs

* Added provider router route removal when
  - deleting floating ips
  - disassociating floating ips
  - updating floating ips to remove the port association

* Added support for creating router's gateway in create_router

* update_floatingips now returns the updated fip dictionary

Fixes MN-1027
Signed-off-by: Joe Mills <joe@midokura.com>
Merge pull request #59 from JoeMido/MN-1027_v3

Remove routes/nat when disassociating FIPs
Add support for --disable-snat option

* When setting the gateway of the router, there is a possible option
  of disabling SNAT. This fix checks for that option.

Signed-off-by: Joe Mills <joe@midokura.com>
Fixes MN-1055
Merge pull request #61 from JoeMido/MN-1055v3

Add support for --disable-snat option
Support update subnet

* Add the update_subnet call to the Midonet plugin.
* This only supports changes to the DHCP configuration.

Fixes MN-1050
Signed-off-by: Joe Mills
Merge pull request #65 from JoeMido/MN-1050v2

Support update subnet
Fixes security rules in Midonet plugin

Fixes several issues with the rule chains in Midonet plugins, including
adding a rule to drop egress traffic by default, adding security group
support to a port's egress chain, and correctly adding/deleting jump
rules from port chains when changing a port's security groups. Also
fixes several pep8 issues.

Change-Id: Ib80bd22135b220b0e8113556ac7a2b2d9261c954
Closes-Bug: #1231790
Replace Midonet port groups with IP address groups

Replacing port groups with IP address groups. With Neutron security
groups implemented as Midonet port groups, we were unable to support
security rules with security group as a criterion because we didn't
know the destination port at the time of egress to the network. This
change implements neutron security groups as Midonet IP address
groups. This allows us to perform the security group check because the
destination IP address is known at all times.

Change-Id: Ia60ba8edf94406520b36ef4e465574b6e5fb3c0d
Closes-Bug: #1244025
Disable agent and dhcp_agent_scheduler extension

* remove the extension aliases for the dhcp_agent_scheduler, so that the
  default dhcp scheduler is used.

Signed-off-by: Joe Mills <joe@midokura.com>
Merge pull request #71 from JoeMido/MN-1087

Disable agent and dhcp_agent_scheduler extension
Remove the replaces line from package script

Remove the line that indicates that the package should replace
python-neutron package since this is not true.

Signed-off-by: Ryu Ishimoto <ryu@midokura.com>
Merge pull request #72 from midokura/mido_stable_havana

Remove the replaces line from package script
Add retry loop for getting dhcp port

* There is a possible condition (exposed by test_network_basic_ops) where
  the subnet will not yet have a dhcp port attached to it, but an attempt
  to add a metadata route using the dhcp port will happen. This is resolved
  by putting in a couple of retries to give time for the dhcp_agent to create
  a port.

Fixed MN-1028
Signed-off-by: Joe Mills <joe@midokura.com>
Merge pull request #75 from JoeMido/MN-1028v3

Add retry loop for getting dhcp port
Clean up blackhole routes on the provider router

* When deleting a subnet, we need to clean up the blackhole
  routes that are on the subnet.
* Added a route filter to return the routes to be deleted.

Signed-off-by: Joe Mills <joe@midokura.com>

Fixes MN-1119
Merge pull request #77 from JoeMido/MN-1119v2

Clean up blackhole routes on the provider router
Package ext_gw migration file

- Without this migration file, migration from no DB to
  Havana will fail to create the 'routers.enable_snat' column.
Change the log level from debug to info

In various places, for better debugging, upgrade the log level
from info to debug.

Fixes MN-1140
Signed-off-by: Ryu Ishimoto <ryu@midokura.com>
Merge pull request #78 from midokura/stable_havana_change_log

Change the log level from debug to info