Merge "Consume _ from local _1i8n"
This commit is contained in:
commit
84c2dceb2a
@ -22,6 +22,7 @@ from neutron.db import models_v2
|
|||||||
from neutron import manager
|
from neutron import manager
|
||||||
from neutron.plugins.common import constants as nconstants
|
from neutron.plugins.common import constants as nconstants
|
||||||
|
|
||||||
|
from neutron_vpnaas._i18n import _
|
||||||
from neutron_vpnaas.extensions import vpnaas
|
from neutron_vpnaas.extensions import vpnaas
|
||||||
from neutron_vpnaas.services.vpn.common import constants
|
from neutron_vpnaas.services.vpn.common import constants
|
||||||
|
|
||||||
|
@ -24,6 +24,8 @@ from neutron.common import exceptions as nexception
|
|||||||
from neutron.plugins.common import constants as nconstants
|
from neutron.plugins.common import constants as nconstants
|
||||||
from neutron.services import service_base
|
from neutron.services import service_base
|
||||||
|
|
||||||
|
from neutron_vpnaas._i18n import _
|
||||||
|
|
||||||
|
|
||||||
class VPNServiceNotFound(nexception.NotFound):
|
class VPNServiceNotFound(nexception.NotFound):
|
||||||
message = _("VPNService %(vpnservice_id)s could not be found")
|
message = _("VPNService %(vpnservice_id)s could not be found")
|
||||||
|
@ -18,6 +18,7 @@ from neutron.agent.l3 import agent as l3_agent
|
|||||||
from neutron.agent import l3_agent as entry
|
from neutron.agent import l3_agent as entry
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
|
from neutron_vpnaas._i18n import _
|
||||||
from neutron_vpnaas.services.vpn import vpn_service
|
from neutron_vpnaas.services.vpn import vpn_service
|
||||||
|
|
||||||
vpn_agent_opts = [
|
vpn_agent_opts = [
|
||||||
|
@ -25,7 +25,7 @@ from oslo_log import log as logging
|
|||||||
from oslo_rootwrap import wrapper
|
from oslo_rootwrap import wrapper
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from neutron_vpnaas._i18n import _LE, _LI
|
from neutron_vpnaas._i18n import _, _LE, _LI
|
||||||
|
|
||||||
if six.PY3:
|
if six.PY3:
|
||||||
import configparser as ConfigParser
|
import configparser as ConfigParser
|
||||||
|
@ -26,7 +26,7 @@ from oslo_log import log as logging
|
|||||||
import oslo_messaging
|
import oslo_messaging
|
||||||
from oslo_service import loopingcall
|
from oslo_service import loopingcall
|
||||||
|
|
||||||
from neutron_vpnaas._i18n import _LE, _LI, _LW
|
from neutron_vpnaas._i18n import _, _LE, _LI, _LW
|
||||||
from neutron_vpnaas.services.vpn.common import topics
|
from neutron_vpnaas.services.vpn.common import topics
|
||||||
from neutron_vpnaas.services.vpn import device_drivers
|
from neutron_vpnaas.services.vpn import device_drivers
|
||||||
from neutron_vpnaas.services.vpn.device_drivers import (
|
from neutron_vpnaas.services.vpn.device_drivers import (
|
||||||
|
@ -36,7 +36,7 @@ from oslo_log import log as logging
|
|||||||
import oslo_messaging
|
import oslo_messaging
|
||||||
from oslo_service import loopingcall
|
from oslo_service import loopingcall
|
||||||
|
|
||||||
from neutron_vpnaas._i18n import _LE, _LI, _LW
|
from neutron_vpnaas._i18n import _, _LE, _LI, _LW
|
||||||
from neutron_vpnaas.extensions import vpnaas
|
from neutron_vpnaas.extensions import vpnaas
|
||||||
from neutron_vpnaas.services.vpn.common import topics
|
from neutron_vpnaas.services.vpn.common import topics
|
||||||
from neutron_vpnaas.services.vpn import device_drivers
|
from neutron_vpnaas.services.vpn import device_drivers
|
||||||
|
@ -20,6 +20,8 @@ from oslo_config import cfg
|
|||||||
|
|
||||||
from neutron.agent.linux import ip_lib
|
from neutron.agent.linux import ip_lib
|
||||||
from neutron.plugins.common import constants
|
from neutron.plugins.common import constants
|
||||||
|
|
||||||
|
from neutron_vpnaas._i18n import _
|
||||||
from neutron_vpnaas.services.vpn.device_drivers import ipsec
|
from neutron_vpnaas.services.vpn.device_drivers import ipsec
|
||||||
|
|
||||||
TEMPLATE_PATH = os.path.dirname(os.path.abspath(__file__))
|
TEMPLATE_PATH = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
@ -28,7 +28,7 @@ from oslo_service import loopingcall
|
|||||||
from oslo_service import periodic_task
|
from oslo_service import periodic_task
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from neutron_vpnaas._i18n import _LE, _LW
|
from neutron_vpnaas._i18n import _, _LE, _LW
|
||||||
from neutron_vpnaas.services.vpn.common import topics
|
from neutron_vpnaas.services.vpn.common import topics
|
||||||
from neutron_vpnaas.services.vpn import device_drivers
|
from neutron_vpnaas.services.vpn import device_drivers
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ from oslo_log import log as logging
|
|||||||
import sqlalchemy as sa
|
import sqlalchemy as sa
|
||||||
from sqlalchemy.orm import exc as sql_exc
|
from sqlalchemy.orm import exc as sql_exc
|
||||||
|
|
||||||
from neutron_vpnaas._i18n import _LI
|
from neutron_vpnaas._i18n import _, _LI
|
||||||
from neutron_vpnaas.db.vpn import vpn_models
|
from neutron_vpnaas.db.vpn import vpn_models
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
@ -17,6 +17,7 @@ from netaddr import core as net_exc
|
|||||||
from neutron.common import exceptions
|
from neutron.common import exceptions
|
||||||
from oslo_log import log as logging
|
from oslo_log import log as logging
|
||||||
|
|
||||||
|
from neutron_vpnaas._i18n import _
|
||||||
from neutron_vpnaas.db.vpn import vpn_validator
|
from neutron_vpnaas.db.vpn import vpn_validator
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
from neutron.common import exceptions
|
from neutron.common import exceptions
|
||||||
|
|
||||||
|
from neutron_vpnaas._i18n import _
|
||||||
from neutron_vpnaas.db.vpn import vpn_validator
|
from neutron_vpnaas.db.vpn import vpn_validator
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ from networking_brocade.vyatta.common import l3_agent as vyatta_l3
|
|||||||
from neutron.agent import l3_agent as entry
|
from neutron.agent import l3_agent as entry
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
|
from neutron_vpnaas._i18n import _
|
||||||
from neutron_vpnaas.services.vpn import vyatta_vpn_service
|
from neutron_vpnaas.services.vpn import vyatta_vpn_service
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user