community.network.pn_vrouter_bgp_network – CLI command to add/remove vrouter-bgp-network¶
Note
This plugin is part of the community.network collection (version 1.3.2).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.pn_vrouter_bgp_network
.
Synopsis¶
This module can be used to add Border Gateway Protocol network to a vRouter and remove Border Gateway Protocol network from a vRouter.
Parameters¶
Examples¶
- name: Add network to bgp
community.network.pn_vrouter_bgp_network:
pn_cliswitch: "sw01"
state: "present"
pn_vrouter_name: "foo-vrouter"
pn_network: '10.10.10.10'
pn_netmask: '31'
- name: Remove network from bgp
community.network.pn_vrouter_bgp_network:
pn_cliswitch: "sw01"
state: "absent"
pn_vrouter_name: "foo-vrouter"
pn_network: '10.10.10.10'
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Pluribus Networks (@rajaspachipulusu17)