community.network.flowadm – Manage bandwidth resource control and priority for protocols, services and zones on Solaris/illumos systems
This plugin is part of the community.network collection (version 3.0.0).
To install it use:
ansible-galaxy collection install community.network.
To use it in a playbook, specify:
Create/modify/remove networking bandwidth and associated resources for a type of traffic on a particular link.
- name: Limit SSH traffic to 100M via vnic0 interface community.network.flowadm: link: vnic0 flow: ssh_out transport: tcp local_port: 22 maxbw: 100M state: present - name: Reset flow properties community.network.flowadm: name: dns state: resetted - name: Configure policy for EF PHB (DSCP value of 101110 from RFC 2598) with a bandwidth of 500 Mbps and a high priority community.network.flowadm: link: bge0 dsfield: '0x2e:0xfc' maxbw: 500M priority: high flow: efphb-flow state: present
Common return values are documented here, the following are the fields unique to this module: