fortios_firewall_shaper_traffic_shaper
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_firewall_shaper_traffic_shaper
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| firewall_shaper_traffic_shaper | dict | |||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_firewall_shaper_traffic_shaper:
access_token: '{{ fortios_access_token }}'
firewall_shaper_traffic_shaper:
bandwidth_unit: kbps
cos_marking: enable
cos_marking_method: multi-stage
diffserv: enable
dscp_marking_method: multi-stage
exceed_bandwidth: "0"
exceed_class_id: "0"
guaranteed_bandwidth: "0"
maximum_bandwidth: "0"
name: default_name_18
overhead: "0"
per_policy: disable
priority: low
state: present
vdom: root
name: Configure shared traffic shaper.