pn_vrouterif – CLI command to add/remove/modify vrouter-interface¶
DEPRECATED¶
| Removed in Ansible: | |
|---|---|
| version: 2.12 | |
| Why: | Doesn’t support latest Pluribus Networks netvisor | 
| Alternative: | Latest modules will be pushed in Ansible future versions. | 
Synopsis¶
- Execute vrouter-interface-add, vrouter-interface-remove, vrouter-interface-modify command.
- You configure interfaces to vRouter services on a fabric, cluster, standalone switch or virtual network(VNET).
Parameters¶
Examples¶
- name: Add vrouter-interface
  pn_vrouterif:
    pn_cliusername: admin
    pn_clipassword: admin
    state: 'present'
    pn_vrouter_name: 'ansible-vrouter'
    pn_interface_ip: 101.101.101.2/24
    pn_vlan: 101
- name: Add VRRP..
  pn_vrouterif:
    pn_cliusername: admin
    pn_clipassword: admin
    state: 'present'
    pn_vrouter_name: 'ansible-vrouter'
    pn_interface_ip: 101.101.101.2/24
    pn_vrrp_ip: 101.101.101.1/24
    pn_vrrp_priority: 100
    pn_vlan: 101
- name: Remove vrouter-interface
  pn_vrouterif:
    pn_cliusername: admin
    pn_clipassword: admin
    state: 'absent'
    pn_vrouter_name: 'ansible-vrouter'
    pn_interface_ip: 101.101.101.2/24
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
- This module will be removed in version 2.12. [deprecated]
- For more information see DEPRECATED.
Authors¶
- Pluribus Networks (@amitsi)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
