ansible / ansible.builtin / v2.9.27 / module / onyx_ptp_interface Configures PTP on interface | "added in version" 2.8 of ansible.builtin" Authors: Anas Badaha (@anasb) preview | supported by communityansible.builtin.onyx_ptp_interface (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
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