community / community.network / 0.2.1 / module / onyx_ptp_global Configures PTP Global parameters Authors: Anas Badaha (@anasb)community.network.onyx_ptp_global (0.2.1) — module
Install with ansible-galaxy collection install community.network:==0.2.1
collections: - name: community.network version: 0.2.1
This module provides declarative management of PTP Global configuration on Mellanox ONYX network devices.
- name: Configure PTP onyx_ptp_global: ntp_state: enabled ptp_state: disabled domain: 127 primary_priority: 128 secondary_priority: 128
domain: description: - set PTP domain number Range 0-127 ntp_state: choices: - enabled - disabled description: - NTP state. ptp_state: choices: - enabled - disabled default: enabled description: - PTP state. primary_priority: description: - set PTP primary priority Range 0-225 secondary_priority: description: - set PTP secondary priority Range 0-225
commands: description: The list of configuration mode commands to send to the device. returned: always sample: - no ntp enable - protocol ptp - ptp domain 127 type: list