45
45
type: str
46
46
ntp_keys:
47
47
description:
48
- - The List of NTP client authentication keys.
48
+ - The list of NTP client authentication keys.
49
49
- Providing a new list of O(ntp_keys) will completely replace an existing one from the NTP Policy.
50
50
- Providing an empty list will remove the O(ntp_keys=[]) from the NTP Policy.
51
51
type: list
56
56
- The key's ID.
57
57
- The value must be between 1 and 65535.
58
58
type: int
59
+ required: true
59
60
aliases: [ key_id ]
60
61
key:
61
62
description:
64
65
type: str
65
66
authentication_type:
66
67
description:
67
- - the type of authentication.
68
+ - The type of authentication.
68
69
- The default value is O(ntp_keys.authentication_type=md5).
69
70
type: str
70
71
choices: [ md5, sha1 ]
82
83
suboptions:
83
84
host:
84
85
description:
85
- - The Hostname or IP address of the NTP provider.
86
+ - The hostname or IP address of the NTP provider.
86
87
type: str
88
+ required: true
87
89
minimum_poll_interval:
88
90
description:
89
- - The Minimum Polling interval value.
91
+ - The minimum polling interval value.
90
92
- The default value is O(ntp_providers.minimum_poll_interval=4).
91
93
- The value must be between 4 and 16.
92
94
type: int
93
95
aliases: [ min_poll ]
94
96
maximum_poll_interval:
95
97
description:
96
- - The Maximum Polling interval value.
98
+ - The maximum polling interval value.
97
99
- The default value is O(ntp_providers.maximum_poll_interval=6).
98
100
- The value must be between 4 and 16.
99
101
type: int
102
104
description:
103
105
- The type of the management EPG.
104
106
type: str
107
+ required: true
105
108
choices: [ inb, oob ]
106
109
aliases: [ epg_type ]
107
110
management_epg:
108
111
description:
109
112
- The management EPG.
110
113
type: str
114
+ required: true
111
115
aliases: [ epg ]
112
116
preferred:
113
117
description:
@@ -273,7 +277,7 @@ def main():
273
277
type = "list" ,
274
278
elements = "dict" ,
275
279
options = dict (
276
- id = dict (type = "int" , aliases = ["key_id" ]),
280
+ id = dict (type = "int" , required = True , aliases = ["key_id" ]),
277
281
key = dict (type = "str" , no_log = True ),
278
282
authentication_type = dict (type = "str" , choices = ["md5" , "sha1" ]),
279
283
trusted = dict (type = "bool" ),
@@ -284,11 +288,11 @@ def main():
284
288
type = "list" ,
285
289
elements = "dict" ,
286
290
options = dict (
287
- host = dict (type = "str" ),
291
+ host = dict (type = "str" , required = True ),
288
292
minimum_poll_interval = dict (type = "int" , aliases = ["min_poll" ]),
289
293
maximum_poll_interval = dict (type = "int" , aliases = ["max_poll" ]),
290
- management_epg_type = dict (type = "str" , choices = ["inb" , "oob" ], aliases = ["epg_type" ]),
291
- management_epg = dict (type = "str" , aliases = ["epg" ]),
294
+ management_epg_type = dict (type = "str" , choices = ["inb" , "oob" ], required = True , aliases = ["epg_type" ]),
295
+ management_epg = dict (type = "str" , required = True , aliases = ["epg" ]),
292
296
preferred = dict (type = "bool" ),
293
297
authentication_key_id = dict (type = "int" , aliases = ["key_id" ]),
294
298
),
0 commit comments