type: bool
                volume_set_addressing:
                    description: Indicates whether Volume Vet Addressing is
                                 enabled or disabled.
                    type: bool
                wwn_node:
                    description: WWN node of port.
                    type: str
'''

import logging
from ansible_collections.dellemc.powermax.plugins.module_utils.storage.dell \
    import dellemc_ansible_powermax_utils as utils
from ansible.module_utils.basic import AnsibleModule

LOG = utils.get_logger("dellemc_powermax_port", log_devel=logging.INFO)

HAS_PYU4V = utils.has_pyu4v_sdk()

PYU4V_VERSION_CHECK = utils.pyu4v_version_check()

# Application Type
APPLICATION_TYPE = 'ansible_v1.2'


class PowerMaxPort(object):
    """ Class with port operations"""

    u4v_conn = None

    def __init__(self):
示例#2
0
                    description: Director ID of the port.
                    type: str
                portId:
                    description: Port number of the port.
                    type: str
        type:
            description: Type of ports in port group.
            type: str
'''

import logging
from ansible_collections.dellemc.powermax.plugins.module_utils.storage.dell \
    import dellemc_ansible_powermax_utils as utils
from ansible.module_utils.basic import AnsibleModule

LOG = utils.get_logger('dellemc_powermax_portgroup', log_devel=logging.INFO)

HAS_PYU4V = utils.has_pyu4v_sdk()

PYU4V_VERSION_CHECK = utils.pyu4v_version_check()

# Application Type
APPLICATION_TYPE = 'ansible_v1.2'


class PowerMaxPortGroup(object):
    """Class with port group operations"""

    u4v_conn = None

    def __init__(self):
            type: str
        totalTracks:
            description: Total number of tracks in the volume.
            type: int
        volumeRdfTypes:
            description: RDF type of volume.
            type: str
'''

import logging
from ansible_collections.dellemc.powermax.plugins.module_utils.storage.dell \
    import dellemc_ansible_powermax_utils as utils
from ansible.module_utils.basic import AnsibleModule

LOG = utils.get_logger(
    module_name='dellemc_powermax_srdf',
    log_devel=logging.INFO)

HAS_PYU4V = utils.has_pyu4v_sdk()

PYU4V_VERSION_CHECK = utils.pyu4v_version_check()

# Application Type
APPLICATION_TYPE = 'ansible_v1.2'


class PowerMax_SRDF(object):

    '''Class with srdf operations'''

    u4v_conn = None
示例#4
0
            description: Masking view ID.
            type: str
        portGroupId:
            description: Port group present in the masking view.
            type: str
        storageGroupId:
            description: Storage group present in the masking view.
            type: str
'''

import logging
from ansible_collections.dellemc.powermax.plugins.module_utils.storage.dell \
    import dellemc_ansible_powermax_utils as utils
from ansible.module_utils.basic import AnsibleModule

LOG = utils.get_logger('dellemc_powermax_maskingview', log_devel=logging.INFO)
HAS_PYU4V = utils.has_pyu4v_sdk()

PYU4V_VERSION_CHECK = utils.pyu4v_version_check()

# Application Type
APPLICATION_TYPE = 'ansible_v1.2'


class PowerMaxMaskingView(object):
    """Class with masking view operations"""

    u4v_conn = None

    def __init__(self):
        """Define all the parameters required by this module"""
            description: Unique ID of the volume.
            type: str
        volume_identifier:
            description: Name identifier for the volume.
            type: str
        wwn:
            description: WWN of the volume.
            type: str
'''

from ansible_collections.dellemc.powermax.plugins.module_utils.storage.dell \
    import dellemc_ansible_powermax_utils as utils
from ansible.module_utils.basic import AnsibleModule
import logging

LOG = utils.get_logger('dellemc_powermax_volume', log_devel=logging.INFO)
HAS_PYU4V = utils.has_pyu4v_sdk()

PYU4V_VERSION_CHECK = utils.pyu4v_version_check()

# Application Type
APPLICATION_TYPE = 'ansible_v1.2'


class PowerMaxVolume(object):
    """Class with volume operations"""

    volume_id = None
    u4v_conn = None

    def __init__(self):
示例#6
0
            description: Snapshot time stamp.
            type: str
        timestamp_utc:
            description: Snapshot time stamp specified in UTC.
            type: int
        tracks:
            description: Number of tracks.
            type: int
'''

import logging
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.dellemc.powermax.plugins.module_utils.storage.dell \
    import dellemc_ansible_powermax_utils as utils

LOG = utils.get_logger('dellemc_powermax_snapshot', log_devel=logging.INFO)

HAS_PYU4V = utils.has_pyu4v_sdk()

PYU4V_VERSION_CHECK = utils.pyu4v_version_check()

# Application Type
APPLICATION_TYPE = 'ansible_v1.2'


class PowerMaxSnapshot(object):
    """Class with Snapshot operations"""

    u4v_conn = None

    def __init__(self):
示例#7
0
                    description: Virtual provisioning savings ratio of SRP.
                    type: int
        total_srdf_dse_allocated_cap_gb:
            description: Total srdf dse allocated capacity in GB.
            type: int
Volumes:
    description: List of volumes on the array.
    returned: When the volumes exist.
    type: list
'''

from ansible_collections.dellemc.powermax.plugins.module_utils.storage.dell \
    import dellemc_ansible_powermax_utils as utils
from ansible.module_utils.basic import AnsibleModule

LOG = utils.get_logger('dellemc_powermax_gatherfacts')

HAS_PYU4V = utils.has_pyu4v_sdk()
PYU4V_VERSION_CHECK = utils.pyu4v_version_check()

# Application Type
APPLICATION_TYPE = 'ansible_v1.3'


class PowerMaxGatherFacts(object):
    """Class with Gather Fact operations"""

    u4v_conn = None

    def __init__(self):
        """Define all the parameters required by this module"""