community.network.pn_prefix_list_network – CLI command to add/remove prefix-list-network¶
Note
This plugin is part of the community.network collection (version 2.1.1).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.pn_prefix_list_network
.
Synopsis¶
This module is used to add network associated with prefix list and remove networks associated with prefix list.
Parameters¶
Examples¶
- name: Prefix list network add
community.network.pn_prefix_list_network:
pn_cliswitch: "sw01"
pn_name: "foo"
pn_network: "172.16.3.1"
pn_netmask: "24"
state: "present"
- name: Prefix list network remove
community.network.pn_prefix_list_network:
pn_cliswitch: "sw01"
state: "absent"
pn_name: "foo"
pn_network: "172.16.3.1"
pn_netmask: "24"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Pluribus Networks (@rajaspachipulusu17)