ansible / ansible.builtin / v2.9.27 / module / pn_vrouter_ospf CLI command to add/remove vrouter-ospf | "added in version" 2.9 of ansible.builtin" Authors: Pluribus Networks (@rajaspachipulusu17) preview | supported by communityansible.builtin.pn_vrouter_ospf (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
This module can be used to add OSPF protocol to vRouter and remove OSPF protocol from a vRouter
- name: Add OSPF to vRouter pn_vrouter_ospf: state: 'present' pn_vrouter_name: 'sw01-vrouter' pn_network: '105.104.104.1' pn_netmask: '24' pn_ospf_area: '0'
- name: "Remove OSPF to vRouter" pn_vrouter_ospf: state: 'absent' pn_vrouter_name: 'sw01-vrouter' pn_network: '105.104.104.1'
state: choices: - present - absent default: present description: - vrouter-ospf configuration command. required: false type: str pn_netmask: description: - OSPF network IP address netmask. required: false type: str pn_network: description: - OSPF network IP address. required: true type: str pn_cliswitch: description: - Target switch to run the CLI on. required: false type: str pn_ospf_area: description: - stub area number for the configuration. required: false type: str pn_vrouter_name: description: - name of service config. required: true 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-ospf command. returned: on error type: list stdout: description: set of responses from the vrouter-ospf command. returned: always type: list