yadro.tatlin_uni.tatlin_sp_port module – Configure data port
Note
This module is part of the yadro.tatlin_uni collection (version 1.0.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install yadro.tatlin_uni
.
To use it in a playbook, specify: yadro.tatlin_uni.tatlin_sp_port
.
New in version 1.0.0: of yadro.tatlin_uni
Synopsis
This module is intended to configure specified data port
Supports check mode
Parameters
Parameter |
Comments |
---|---|
connection describes Tatlin Storage Processor (SP) connection configuration. Only session connection supported. Authorization is executed automatically with corresponding endpoint. ‘auth/login’ by default. Client receives x-auth-token and uses it for following requests. |
|
Tatlin REST API entrypoint. |
|
Tatlin user password. |
|
Tatlin REST API request timeout. Default: 60 |
|
Tatlin username to login. |
|
Responsible for SSL certificates validation. If set to False certificates won’t validated. Choices:
|
|
Ip address of default gateway |
|
Name of the port |
|
List of storage processors with corresponding ip addresses |
|
Ip address of the SP with mask |
|
Ip address of the SP |
|
Mask of the ip address |
|
Name of the Storage Processor |
|
Choices:
|
Notes
Note
For configuring mgmt port it is recommended to use yadro.tatlin_uni.tatlin_sp_mgmt_port
Examples
---
- name: Configure p00
yadro.tatlin_uni.tatlin_sp_port:
connection: "{{ connection }}"
name: p00
gateway: 192.168.1.1
nodes:
- name: sp-0
address:
ip: 192.168.1.2
mask: 24
- name: sp-1
address:
ip: 192.168.1.3
mask: 24
- name: Test port change | Reset p00
yadro.tatlin_uni.tatlin_sp_port:
connection: "{{ connection }}"
name: p00
state: absent
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Error details if raised Returned: on error |
|
Operation status message Returned: always |