community / community.general / 0.1.1 / module / onyx_ptp_global Configures PTP Global parameters Authors: Anas Badaha (@anasb) preview | supported by communitycommunity.general.onyx_ptp_global (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 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