community.network.flowadm module – Manage bandwidth resource control and priority for protocols, services and zones on Solaris/illumos systems
Note
This module is part of the community.network collection (version 5.0.3).
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.flowadm
.
Synopsis
- Create/modify/remove networking bandwidth and associated resources for a type of traffic on a particular link.
Aliases: network.illumos.flowadm
Parameters
Parameter | Comments |
---|---|
dsfield string |
|
link string | Specifiies a link to configure flow on. |
local_ip string | Identifies a network flow by the local IP address. |
local_port string | Identifies a service specified by the local port. |
maxbw string |
|
name aliases: flow string / required |
|
priority string | Sets the relative priority for the flow. Choices:
|
remote_ip string | Identifies a network flow by the remote IP address. |
state string | Create/delete/enable/disable an IP address on the network interface. Choices:
|
temporary boolean | Specifies that the configured flow is temporary. Temporary flows do not persist across reboots. Choices:
|
transport string |
|
Examples
- 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
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key | Description |
---|---|
dsfield string | flow’s differentiated services value Returned: if dsfield is defined Sample: |
link string | flow’s link Returned: if link is defined Sample: |
local_Ip string | flow’s local IP address Returned: if local_ip is defined Sample: |
local_port integer | flow’s local port Returned: if local_port is defined Sample: |
maxbw string | flow’s maximum bandwidth Returned: if maxbw is defined Sample: |
name string | flow name Returned: always Sample: |
priority string | flow’s priority Returned: if priority is defined Sample: |
remote_Ip string | flow’s remote IP address Returned: if remote_ip is defined Sample: |
state string | state of the target Returned: always Sample: |
temporary boolean | flow’s persistence Returned: always Sample: |
transport string | flow’s transport Returned: if transport is defined Sample: |
Collection links
© 2012–2018 Michael DeHaan
© 2018–2024 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/network/flowadm_module.html