ansible / ansible.builtin / v2.9.18 / module / pn_vrouter_ospf6 CLI command to add/remove vrouter-ospf6 | "added in version" 2.8 of ansible.builtin" Authors: Pluribus Networks (@rajaspachipulusu17) preview | supported by communityansible.builtin.pn_vrouter_ospf6 (v2.9.18) — module
pip
Install with pip install ansible==2.9.18
This module can be used to add interface ip to OSPF6 protocol or remove interface ip from OSPF6 protocol on vRouter.
- name: Add vrouter interface nic to ospf6 pn_vrouter_ospf6: pn_cliswitch: "sw01" state: "present" pn_vrouter_name: "foo-vrouter" pn_nic: "eth0.4092" pn_ospf6_area: "0.0.0.0"
- name: Remove vrouter interface nic to ospf6 pn_vrouter_ospf6: pn_cliswitch: "sw01" state: "absent" pn_vrouter_name: "foo-vrouter" pn_nic: "eth0.4092"
state: choices: - present - absent description: - State the action to perform. Use C(present) to add vrouter-ospf6 and C(absent) to remove interface from vrouter-ospf6. required: true type: str pn_nic: description: - OSPF6 control for this interface. required: false type: str pn_cliswitch: description: - Target switch to run the CLI on. required: false type: str pn_ospf6_area: description: - area id for this interface in IPv4 address format. required: false type: str pn_vrouter_name: description: - name of service config. required: false type: str
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. returned: always type: str stderr: description: set of error responses from the vrouter-ospf6 command. returned: on error type: list stdout: description: set of responses from the vrouter-ospf6 command. returned: always type: list