mellanox.onyx.onyx_ptp_global – Configures PTP Global parameters¶
Note
This plugin is part of the mellanox.onyx collection (version 1.0.0).
To install it use: ansible-galaxy collection install mellanox.onyx
.
To use it in a playbook, specify: mellanox.onyx.onyx_ptp_global
.
Synopsis¶
This module provides declarative management of PTP Global configuration on Mellanox ONYX network devices.
Parameters¶
Examples¶
- name: Configure PTP
onyx_ptp_global:
ntp_state: enabled
ptp_state: disabled
domain: 127
primary_priority: 128
secondary_priority: 128
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
commands
list
/ elements=string
|
always |
The list of configuration mode commands to send to the device.
Sample:
['no ntp enable', 'protocol ptp', 'ptp domain 127']
|
Authors¶
Anas Badaha (@anasb)