Debian Codegraph @

ansible_collections/cisco/mso/plugins/doc_fragments/l3out_interface_ptp.py

raw
1 # -*- coding: utf-8 -*-
2
3 # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
4
5 from __future__ import absolute_import, division, print_function
6
7 __metaclass__ = type
8
9
10 class ModuleDocFragment(object):
11 # Standard files documentation fragment
12 DOCUMENTATION = r"""
13 options:
14 ptp:
15 description:
16 - The Precision Time Protocol (PTP) configuration for the interface.
17 - Providing an empty dictionary O(ptp={}) will remove the PTP configuration from the interface.
18 type: dict
19 suboptions:
20 mode:
21 description:
22 - The PTP mode.
23 - If this parameter is unspecified, NDO defaults to O(ptp.mode=multicast_dynamic).
24 type: str
25 choices: [ multicast_dynamic, multicast_master, unicast_master ]
26 source_address:
27 description:
28 - The PTP source address.
29 - If this parameter is unspecified, NDO defaults to O(ptp.source_address=0.0.0.0).
30 type: str
31 user_profile:
32 description:
33 - The PTP user profile.
34 type: dict
35 suboptions:
36 uuid:
37 description:
38 - The UUID of the PTP user profile.
39 type: str
40 reference:
41 description:
42 - The reference details of the PTP user profile.
43 type: dict
44 aliases: [ ref ]
45 suboptions:
46 name:
47 description:
48 - The name of the PTP user profile.
49 type: str
50 required: true
51 template:
52 description:
53 - The name of the template that contains the PTP user profile.
54 - This parameter or O(ptp.user_profile.reference.template_id) is required.
55 type: str
56 template_id:
57 description:
58 - The ID of the template that contains the PTP user profile.
59 - This parameter or O(ptp.user_profile.reference.template) is required.
60 type: str
61 unicast_destinations:
62 description:
63 - The PTP unicast destination IP addresses.
64 - The old O(ptp.unicast_destinations) will be replaced with the new O(ptp.unicast_destinations) during an update.
65 - The PTP unicast destinations IP addresses can only be configured if O(ptp.mode=unicast_master).
66 type: list
67 elements: str
68 """