netapp_eseries.santricity.na_santricity_discover 模块 – NetApp E-Series 发现 E-Series 存储系统
注意
此模块是 netapp_eseries.santricity 集合(版本 1.4.1)的一部分。
如果您正在使用 ansible
包,您可能已经安装了这个集合。它不包含在 ansible-core
中。要检查是否已安装,请运行 ansible-galaxy collection list
。
要安装它,请使用:ansible-galaxy collection install netapp_eseries.santricity
。您需要进一步的要求才能使用此模块,有关详细信息,请参阅要求。
要在 Playbook 中使用它,请指定:netapp_eseries.santricity.na_santricity_discover
。
概要
模块搜索子网范围,并返回任何可用的 E-Series 存储系统。
要求
执行此模块的主机上需要以下要求。
ipaddress
参数
参数 |
注释 |
---|---|
此选项指定在发现过程中要测试的端口。 返回的 API URL 中将使用第一个可用的端口。 默认值: |
|
当 Web Services Proxy 和 Embedded 都存在时,优先选择 Web Services Embedded。 默认情况下,在可用时将使用 Web Services Proxy。 选择
|
|
Web Service Proxy 用户密码 |
|
Web Services Proxy REST API URL。示例 https://192.168.1.100:8443/devmgr/v2/ |
|
Web Service Proxy 用户名 |
|
是否验证 Web Service Proxy SSL 证书 选择
|
|
这是用于发现 E-Series 存储阵列的 IPv4 搜索范围。 以 CIDR 形式指定的 IPv4 子网掩码。示例 192.168.1.0/24 将搜索 192.168.1.0 到 192.168.1.255 的范围。 请务必在搜索范围中包含所有管理路径。 |
备注
注意
仅适用于 E2800 或更高版本的平台(必须提供 SANtricity Web Services Embedded REST API)。
将发现所有带有 SANtricity 11.62 或更高版本的 E-Series 存储系统。
只会发现没有设置管理密码的,运行 11.62 之前版本的 SANtricity 的 E-Series 存储系统。
使用 SANtricity Web Services Proxy 来发现所有系统,无论 SANtricity 版本或密码如何。
示例
- name: Discover all E-Series storage systems on the network.
na_santricity_discover:
subnet_mask: 192.168.1.0/24
返回值
常见的返回值记录在 这里,以下是此模块独有的字段
键 |
描述 |
---|---|
成功消息 已返回: 成功时 示例: |