fortios_switch_controller_ptp_profile
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_switch_controller_ptp_profile
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 | ||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| switch_controller_ptp_profile | dict | |||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_switch_controller_ptp_profile:
access_token: '{{ fortios_access_token }}'
state: present
switch_controller_ptp_profile:
domain: "254"
mode: transparent-e2e
name: default_name_6
pdelay_req_interval: 1sec
ptp_profile: C37.238-2017
transport: l2-mcast
vdom: root
name: Global PTP profile.