ansible / ansible.builtin / v2.9.25 / module / _pn_vrouterlbif
Removed in 2.12
Reason:Doesn't support latest Pluribus Networks netvisor | Alternative:Latest modules will be pushed in Ansible future versions.
CLI command to add/remove vrouter-loopback-interface.
| "added in version" 2.2 of ansible.builtin"
Authors: Pluribus Networks (@amitsi)
deprecated | supported by community
pip
Install with pip install ansible==2.9.25
Execute vrouter-loopback-interface-add, vrouter-loopback-interface-remove commands.
Each fabric, cluster, standalone switch, or virtual network (VNET) can provide its tenants with a virtual router (vRouter) service that forwards traffic between networks and implements Layer 3 protocols.
- name: add vrouter-loopback-interface pn_vrouterlbif: state: 'present' pn_vrouter_name: 'ansible-vrouter' pn_interface_ip: '104.104.104.1'
- name: remove vrouter-loopback-interface pn_vrouterlbif: state: 'absent' pn_vrouter_name: 'ansible-vrouter' pn_interface_ip: '104.104.104.1'
state: choices: - present - absent description: - State the action to perform. Use 'present' to add vrouter loopback interface and 'absent' to remove vrouter loopback interface. required: true pn_index: description: - Specify the interface index from 1 to 255. pn_cliswitch: default: local description: - Target switch(es) to run the cli on. required: false pn_clipassword: description: - Provide login password if user is not root. required: false pn_cliusername: description: - Provide login username if user is not root. required: false pn_interface_ip: description: - Specify the IP address. required: true pn_vrouter_name: description: - Specify the name of the vRouter. required: true
changed: description: Indicates whether the CLI caused changes on the target. returned: always type: bool command: description: The CLI command run on the target node(s). returned: always type: str stderr: description: The set of error responses from the vrouterlb command. returned: on error type: list stdout: description: The set of responses from the vrouterlb command. returned: always type: list