community / community.general / 0.1.1 / 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.
Authors: Pluribus Networks (@amitsi)
deprecated | supported by community
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
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