community / community.general / 0.1.1 / module / onyx_ptp_interface Configures PTP on interface Authors: Anas Badaha (@anasb) preview | supported by communitycommunity.general.onyx_ptp_interface (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
This module provides declarative management of PTP interfaces configuration on Mellanox ONYX network devices.
- name: configure PTP interface onyx_ptp_interface: state: enabled name: Eth1/1 delay_request: 0 announce_interval: -2 announce_timeout: 3
name: description: - ethernet or vlan interface name that we want to configure PTP on it required: true state: choices: - enabled - disabled default: enabled description: - Enable/Disable PTP on Interface delay_request: description: - configure PTP delay request interval, Range 0-5 sync_interval: description: - configure PTP sync interval, Range -7--1 announce_timeout: description: - configure PTP announce setting for timeout, Range 2-10 announce_interval: description: - configure PTP announce setting for interval, Range -3-1
commands: description: The list of configuration mode commands to send to the device. returned: always sample: - interface ethernet 1/16 ptp enable - interface ethernet 1/16 ptp delay-req interval 0 - interface ethernet 1/16 ptp announce interval -1 type: list