diff --git a/plugins/module_utils/storage/dell/utils.py b/plugins/module_utils/storage/dell/utils.py index 305b79d..e8fa037 100644 --- a/plugins/module_utils/storage/dell/utils.py +++ b/plugins/module_utils/storage/dell/utils.py @@ -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: