Skip to content

Commit

Permalink
Fix utils import
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennifer-John committed Jul 4, 2023
1 parent f4cb455 commit 4f7b28c
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions plugins/module_utils/storage/dell/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,44 @@

try:
from storops import UnitySystem
from storops.unity.client import UnityClient # noqa # pylint: disable=unused-import
from storops.unity.resource import host, cg, snap_schedule, snap, \
cifs_share, nas_server # noqa # pylint: disable=unused-import
from storops.unity.resource.lun import UnityLun # noqa # pylint: disable=unused-import
from storops.unity.resource.pool import UnityPool, UnityPoolList, RaidGroupParameter # noqa # pylint: disable=unused-import
from storops.unity.resource.filesystem import UnityFileSystem, \
UnityFileSystemList # noqa # pylint: disable=unused-import
from storops.unity.resource.nas_server import UnityNasServer # noqa # pylint: disable=unused-import
from storops.unity.resource.nfs_share import UnityNfsShare, \
UnityNfsShareList # noqa # pylint: disable=unused-import
from storops.unity.resource.snap_schedule import UnitySnapScheduleList, \
UnitySnapSchedule # noqa # pylint: disable=unused-import
from storops.unity.resource.replication_session import UnityReplicationSession # noqa # pylint: disable=unused-import
from storops.unity.enums import HostInitiatorTypeEnum, \
TieringPolicyEnum, ScheduleTypeEnum, DayOfWeekEnum, NodeEnum # noqa # pylint: disable=unused-import
from storops.unity.enums import HostLUNAccessEnum, HostTypeEnum, AccessPolicyEnum, \
FilesystemTypeEnum, FSSupportedProtocolEnum, FSFormatEnum # noqa # pylint: disable=unused-import
from storops.unity.enums import NFSTypeEnum, NFSShareDefaultAccessEnum, NFSShareSecurityEnum, \
FilesystemSnapAccessTypeEnum, FSLockingPolicyEnum # noqa # pylint: disable=unused-import
from storops.unity.enums import CifsShareOfflineAvailabilityEnum, NasServerUnixDirectoryServiceEnum, \
KdcTypeEnum, NodeEnum, FileInterfaceRoleEnum, ReplicationOpStatusEnum # noqa # pylint: disable=unused-import
from storops.exception import UnityResourceNotFoundError, \
StoropsConnectTimeoutError, UnityNfsShareNameExistedError # noqa # pylint: disable=unused-import
from storops.connection.exceptions import HttpError, HTTPClientError # noqa # pylint: disable=unused-import
from storops.unity.resource.user_quota import UnityUserQuota, \
UnityUserQuotaList # noqa # pylint: disable=unused-import
from storops.unity.resource.tree_quota import UnityTreeQuota, \
UnityTreeQuotaList # noqa # pylint: disable=unused-import
from storops.unity.resource.quota_config import UnityQuotaConfig, \
UnityQuotaConfigList # noqa # pylint: disable=unused-import
from storops.unity.resource.storage_resource import UnityStorageResource # noqa # pylint: disable=unused-import
from storops.unity.enums import QuotaPolicyEnum, RaidTypeEnum, \
RaidStripeWidthEnum, StoragePoolTypeEnum # noqa # pylint: disable=unused-import
from storops.unity.resource.disk import UnityDisk, \
UnityDiskList, UnityDiskGroup, UnityDiskGroupList # noqa # pylint: disable=unused-import
from storops.unity.resource.cifs_server import UnityCifsServer # noqa # pylint: disable=unused-import
from storops.unity.resource.nfs_server import UnityNfsServer # noqa # pylint: disable=unused-import
from storops.unity.resource.interface import UnityFileInterface # noqa # pylint: disable=unused-import

HAS_UNITY_SDK, STOROPS_IMP_ERR = True, None
except ImportError:
Expand Down

0 comments on commit 4f7b28c

Please sign in to comment.