Merge "Fix missing import for i18n"

This commit is contained in:
Zuul 2023-07-13 10:28:00 +00:00 committed by Gerrit Code Review
commit f0da0ec589
24 changed files with 27 additions and 2 deletions

View File

@ -21,6 +21,7 @@ from oslo_utils import strutils
from oslo_utils import timeutils
from oslo_utils import uuidutils
from tacker._i18n import _
from tacker.common import exceptions as exception

View File

@ -20,6 +20,7 @@ Utility methods for working with WSGI servers redux
from oslo_log import log as logging
import webob.dec
from tacker._i18n import _
from tacker.api import api_common
from tacker import wsgi

View File

@ -21,6 +21,7 @@ Request Body validating middleware.
import functools
import webob
from tacker._i18n import _
from tacker.api.validation import validators
from tacker.common import exceptions

View File

@ -25,6 +25,7 @@ from oslo_utils import uuidutils
import rfc3986
import webob
from tacker._i18n import _
from tacker.common import exceptions as exception

View File

@ -40,6 +40,7 @@ from oslo_utils import timeutils
from oslo_utils import uuidutils
from sqlalchemy import exc as sqlexc
from tacker._i18n import _
from tacker import auth
from tacker.common import coordination
from tacker.common import csar_utils

View File

@ -15,6 +15,8 @@
from oslo_config import cfg
from tacker._i18n import _
CONF = cfg.CONF

View File

@ -15,6 +15,7 @@
from oslo_config import cfg
from tacker._i18n import _
CONF = cfg.CONF

View File

@ -15,6 +15,7 @@
from oslo_config import cfg
from tacker._i18n import _
CONF = cfg.CONF

View File

@ -15,6 +15,7 @@
from oslo_db.sqlalchemy import utils as sqlalchemyutils
from tacker._i18n import _
import tacker.context

View File

@ -19,6 +19,7 @@ from oslo_utils import uuidutils
from oslo_versionedobjects import base as ovoo_base
from sqlalchemy.orm import joinedload
from tacker._i18n import _
from tacker.common import exceptions
from tacker.db import api as db_api
from tacker.db.db_sqlalchemy import api

View File

@ -16,6 +16,7 @@ from oslo_db import exception as db_exc
from oslo_log import log as logging
from oslo_utils import uuidutils
from tacker._i18n import _
from tacker.common import exceptions
import tacker.context
from tacker.db import api as db_api

View File

@ -17,6 +17,7 @@ from oslo_utils import uuidutils
from oslo_versionedobjects import base as ovoo_base
from sqlalchemy.orm import joinedload
from tacker._i18n import _
from tacker.common import exceptions
from tacker.common import utils
from tacker.db import api as db_api

View File

@ -17,6 +17,7 @@ import yaml
from oslo_config import cfg
from oslo_serialization import jsonutils
from tacker._i18n import _
from tacker.common import clients
from tacker.common import log
from tacker.extensions import vnfm

View File

@ -11,6 +11,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from tacker._i18n import _
from tacker.extensions import vnfm
from tacker.vnfm.lcm_user_data.abstract_user_data import AbstractUserData

View File

@ -18,6 +18,7 @@ import datetime
from kubernetes import client
from oslo_utils import uuidutils
from tacker._i18n import _
from tacker.sol_refactored import objects

View File

@ -29,6 +29,7 @@ from oslo_config import cfg
from oslo_policy import policy as oslo_policy
from oslo_serialization import jsonutils
from tacker._i18n import _
from tacker.api.views import vnf_subscriptions as vnf_subscription_view
from tacker.api.vnflcm.v1 import controller
from tacker.api.vnflcm.v1 import sync_resource

View File

@ -25,6 +25,7 @@ from oslo_serialization import jsonutils
from oslo_utils import uuidutils
from heatclient.v1 import resources
from tacker._i18n import _
from tacker.common import driver_manager
from tacker.common import exceptions
from tacker.common import utils

View File

@ -18,6 +18,7 @@ import datetime
from kubernetes import client
from oslo_serialization import jsonutils
from oslo_utils import uuidutils
from tacker._i18n import _
from tacker.db.db_sqlalchemy import models
from tacker import objects
from tacker.objects import vim_connection

View File

@ -20,6 +20,7 @@ import os
from kubernetes import client
from oslo_log import log as logging
from oslo_serialization import jsonutils
from tacker._i18n import _
from tacker.common.container import kubernetes_utils
from tacker.common import exceptions
from tacker import context

View File

@ -18,6 +18,7 @@ import paramiko
from ddt import ddt
from kubernetes import client
from oslo_serialization import jsonutils
from tacker._i18n import _
from tacker.common import exceptions
from tacker import context
from tacker.db.db_sqlalchemy import models

View File

@ -17,6 +17,7 @@ import datetime
from kubernetes import client
import os
from tacker._i18n import _
from tacker import objects
from tacker.objects import fields
from tacker.tests import uuidsentinel

View File

@ -27,6 +27,7 @@ from oslo_config import cfg
from oslo_policy import policy as oslo_policy
from oslo_serialization import jsonutils
from tacker._i18n import _
from tacker.api.vnfpkgm.v1 import controller
from tacker.common import csar_utils
from tacker.common import exceptions as tacker_exc

View File

@ -31,6 +31,7 @@ from oslo_utils import excutils
from oslo_utils import timeutils
from toscaparser import tosca_template
from tacker._i18n import _
from tacker.common import driver_manager
from tacker.common import exceptions
from tacker.common import log
@ -355,7 +356,7 @@ class VnfLcmDriver(abstract_driver.VnfInstanceAbstractDriver):
vnf_package_path=vnf_package_path)
# save the vnf resources in the db
for _, resources in vnf_resources.items():
for _i, resources in vnf_resources.items():
for vnf_resource in resources:
vnf_resource.create()
@ -1488,7 +1489,7 @@ class VnfLcmDriver(abstract_driver.VnfInstanceAbstractDriver):
region_name=vim_connection_info.access_info.get('region_name')
)
else:
for _ in range(scale_vnf_request.number_of_steps):
for _i in range(scale_vnf_request.number_of_steps):
last_event_id = self._vnf_manager.invoke(
vim_connection_info.vim_type,
'scale',

View File

@ -13,6 +13,7 @@
import abc
from tacker._i18n import _
from tacker.extensions import vnfm