# Copyright 2016 Mirantis, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from neutron.common import eventlet_utils eventlet_utils.monkey_patch()
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. import importlib import signal import sys import time # We need to ensure that the monkey-patch gets applied # before other packages that use eventlet get imported from neutron.common import eventlet_utils # noqa eventlet_utils.monkey_patch() # noqa from neutron.agent.common import ip_lib from neutron.agent.common import polling from neutron.agent.linux import iptables_firewall from neutron.agent import rpc as agent_rpc from neutron.agent import securitygroups_rpc as agent_sg_rpc from neutron.api.rpc.handlers import securitygroups_rpc as sg_rpc from neutron.common import config as common_config from neutron.common import utils as q_utils from neutron.conf.agent import common as config from neutron.conf.agent import dhcp as dhcp_config from neutron.plugins.ml2.drivers.openvswitch.agent import (ovs_neutron_agent as ovs) from neutron.plugins.ml2.drivers.openvswitch.agent.common import constants from neutron_lib.agent import topics