netapp_eseries.santricity.na_santricity_ib_iser_interface 模块 – NetApp E-Series 管理 InfiniBand iSER 接口配置
注意
此模块是 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_ib_iser_interface
。
概要
配置 E-Series InfiniBand iSER 接口 IPv4 地址配置的设置。
参数
参数 |
注释 |
---|---|
要分配给接口的 IPv4 地址。 应以 xx.xx.xx.xx 格式指定。 |
|
用于使用 SANtricity Web Services Proxy 或嵌入式 Web Services API 进行身份验证的密码。 |
|
指向 SANtricity Web Services Proxy 或嵌入式 Web Services API 的 URL。 |
|
用于使用 SANtricity Web Services Proxy 或嵌入式 Web Services API 进行身份验证的用户名。 |
|
您希望修改的 InfiniBand HCA 端口。 端口从左到右开始,从 1 开始。 |
|
拥有要配置的端口的控制器。 控制器名称按字母顺序显示,第一个控制器为 A,第二个为 B,依此类推。 当前的硬件型号有 1 或 2 个可用的控制器,但这并不是一个有保证的硬性限制,并且将来可能会更改。 选项
|
|
要管理的阵列的 ID。此值对于每个阵列都必须是唯一的。 默认值: |
|
是否应验证 https 证书? 选项
|
说明
注意
支持检查模式。
E-Series Ansible 模块需要 Web Services Proxy (WSP) 的实例才能管理存储系统,或者需要支持嵌入式 Web Services API 的 E-Series 存储系统。
嵌入式 Web 服务目前在 E2800、E5700、EF570 和更新的硬件型号上可用。
netapp_eseries.santricity.netapp_e_storage_system 可用于配置由 WSP 实例管理的系统。
示例
- name: Configure the first port on the A controller with a static IPv4 address
na_santricity_ib_iser_interface:
ssid: "1"
api_url: "https://192.168.1.100:8443/devmgr/v2"
api_username: "admin"
api_password: "adminpass"
validate_certs: true
controller: "A"
channel: "1"
address: "192.168.1.100"
返回值
常用返回值记录在此处,以下是此模块独有的字段
键 |
描述 |
---|---|
指示是否已启用或禁用 IPv4 连接。 这并不一定表示连接性。例如,如果启用了 dhcp 但没有 dhcp 服务器,则该配置实际上不太可能有效。 返回:成功时 示例: |
|
成功消息 返回:成功时 示例: |