From 40f5e077d88aaaac1a84367b11380e452d7fa5bb Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Tue, 28 Feb 2023 19:52:06 +0000 Subject: [PATCH] ansible-doc fix typo end of #273 Signed-off-by: Alexis La Goutte --- plugins/modules/nsxt_policy_segment.py | 53 ++++++++++++------------- plugins/modules/nsxt_transport_nodes.py | 2 +- plugins/modules/nsxt_virtual_ip.py | 4 +- 3 files changed, 28 insertions(+), 31 deletions(-) diff --git a/plugins/modules/nsxt_policy_segment.py b/plugins/modules/nsxt_policy_segment.py index 0fa17bc9..9b8d9a20 100644 --- a/plugins/modules/nsxt_policy_segment.py +++ b/plugins/modules/nsxt_policy_segment.py @@ -400,12 +400,10 @@ type: list lease_time: description: - - DHCP lease time in seconds. When specified, this + - DHCP lease time in seconds (60 - 4294967295). When specified, this property overwrites lease time configured DHCP server config - - Minimum: 60 - - Maximum: 4294967295 - - Default: "86400" + default: 86400 type: int resource_type: description: Resource type @@ -488,9 +486,9 @@ 65 NIS+-Server-Addr 66 TFTP Server-Name (used by PXE) 67 Bootfile-Name (used by PXE) - 93 PXE: Client system architecture - 94 PXE: Client NDI - 97 PXE: UUID/UNDI + 93 PXE Client system architecture + 94 PXE Client NDI + 97 PXE UUID/UNDI 117 Name Service Search 119 Domain Search 150 TFTP server address (used by PXE) @@ -521,12 +519,11 @@ allocation ranges type: list preferred_time: + description: - Property of SegmentDhcpV6Config - - The length of time that a valid address is + - The length of time (60-4294967295) that a valid address is preferred. When the preferred lifetime expires, the address becomes deprecated - - Minimum: 60 - - Maximum: 4294967295 type: int sntp_servers: description: @@ -561,15 +558,15 @@ type: list elements: dict suboptions: - ip_address: - description: IP Address for port binding. - type: str - mac_address: - description: Mac address for port binding. - type: str - vlan_id: - description: VLAN ID for port binding. - type: str + ip_address: + description: IP Address for port binding. + type: str + mac_address: + description: Mac address for port binding. + type: str + vlan_id: + description: VLAN ID for port binding. + type: str attachment: description: VIF attachment. type: dict @@ -667,15 +664,15 @@ supported. type: dict suboptions: - ip_address: - description: IP Address for port binding. - type: str - mac_address: - description: Mac address for port binding. - type: str - vlan_id: - description: VLAN ID for port binding. - type: str + ip_address: + description: IP Address for port binding. + type: str + mac_address: + description: Mac address for port binding. + type: str + vlan_id: + description: VLAN ID for port binding. + type: str init_state: description: - Initial state of this logical ports diff --git a/plugins/modules/nsxt_transport_nodes.py b/plugins/modules/nsxt_transport_nodes.py index 0a4e504e..35e28c8c 100644 --- a/plugins/modules/nsxt_transport_nodes.py +++ b/plugins/modules/nsxt_transport_nodes.py @@ -234,7 +234,7 @@ required: false type: boolean ipv6_assignment_type: - description: 'Its enum which will have value as 'STATIC', this variable is explicitly for Edge TN creation' + description: 'Its enum which will have value as "STATIC", this variable is explicitly for Edge TN creation' required: false type: str compute: diff --git a/plugins/modules/nsxt_virtual_ip.py b/plugins/modules/nsxt_virtual_ip.py index 62b1ad01..9c559083 100644 --- a/plugins/modules/nsxt_virtual_ip.py +++ b/plugins/modules/nsxt_virtual_ip.py @@ -57,7 +57,7 @@ description: "Action can be either 'clear_virtual_ip' or 'clear_virtual_ip6'. 'clear_virtual_ip' is used to clear Virtual IPv4. 'clear_virtual_ip6' is used to clear Virtual IPv6." - required: true only if state is absent + required: true state: choices: - present @@ -65,7 +65,7 @@ description: "State can be either 'present' or 'absent'. 'present' is used to create or update resource. 'absent' is used to delete resource." - required: true + required: true ''' EXAMPLES = '''