community.network.bigmon_policy module – Create and remove a bigmon out-of-band policy.
Note
This module is part of the community.network collection (version 4.0.2).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.bigmon_policy
.
Synopsis
Create and remove a bigmon out-of-band policy.
Parameters
Parameter |
Comments |
---|---|
Bigmon access token. If this isn’t set, the environment variable |
|
Forward matching packets to delivery interfaces, Drop is for measure rate of matching packets, but do not forward to delivery interfaces, capture packets and write to a PCAP file, or enable NetFlow generation. Choices:
|
|
The controller address. |
|
Run policy until delivery_packet_count packets are delivered. Default: |
|
Run policy for duration duration or until delivery_packet_count packets are delivered, whichever comes first. Default: |
|
The name of the policy. |
|
Description of policy. |
|
A priority associated with this policy. The higher priority policy takes precedence over a lower priority. Default: |
|
Date the policy becomes active Default: |
|
Whether the policy should be present or absent. Choices:
|
|
If Choices:
|
Examples
- name: Policy to aggregate filter and deliver data center (DC) 1 traffic
community.network.bigmon_policy:
name: policy1
policy_description: DC 1 traffic policy
action: drop
controller: '{{ inventory_hostname }}'
state: present
validate_certs: false