01-dhcp-agent-add-solaris.patch revision 4070
4070N/A--- neutron-2014.2.2/neutron/agent/dhcp_agent.py.~1~ 2015-02-05 07:45:33.000000000 -0800
4070N/A+++ neutron-2014.2.2/neutron/agent/dhcp_agent.py 2015-02-25 00:44:00.464466509 -0800
4070N/A@@ -22,9 +23,7 @@ eventlet.monkey_patch()
2900N/A from oslo.config import cfg
2900N/A from neutron.agent.common import config
2900N/A-from neutron.agent.linux import dhcp
2900N/A from neutron.agent.linux import external_process
2900N/A-from neutron.agent.linux import interface
4070N/A from neutron.agent.linux import ovs_lib # noqa
2900N/A from neutron.agent import rpc as agent_rpc
4070N/A from neutron.common import config as common_config
4070N/A@@ -42,6 +41,9 @@ from neutron.openstack.common import ser
2900N/A LOG = logging.getLogger(__name__)
2900N/A class DhcpAgent(manager.Manager):
2900N/A+ if platform.system() == "SunOS":
4070N/A--- neutron-2014.2.2/neutron/api/rpc/handlers/dhcp_rpc.py.~1~ 2015-02-05 07:45:33.000000000 -0800
4070N/A+++ neutron-2014.2.2/neutron/api/rpc/handlers/dhcp_rpc.py 2015-02-25 00:44:00.464738154 -0800
4070N/A@@ -168,11 +168,13 @@ class DhcpRpcCallback(n_rpc.RpcCallback)
2900N/A dhcp_enabled_subnet_ids.remove(fixed_ip['subnet_id'])
2900N/A- retval = plugin.update_port(context, port['id'],
2900N/A+ retval = plugin.update_port(context, port['id'],
2900N/A except n_exc.NotFound as e: