Skip to content

Commit

Permalink
[FIX] Changed mac to duid for Host record IPv6.
Browse files Browse the repository at this point in the history
  • Loading branch information
JkhatriInfobox committed Nov 13, 2024
1 parent b5f0495 commit 5e18780
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugins/modules/nios_host_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,17 +151,17 @@
configure_for_dhcp:
description:
- Configure the host_record over DHCP instead of DNS, if user
changes it to true, user need to mention MAC address to configure.
changes it to true, user need to mention DUID address to configure.
type: bool
required: false
mac:
duid:
description:
- Configures the hardware MAC address for the host record. If user makes
DHCP to true, user need to mention MAC address.
- Configures the hardware DUID address for the host record. If user makes
DHCP to true, user need to mention DUID address.
type: str
required: false
aliases:
- mac
- duid
aliases:
description:
- Configures an optional list of additional aliases to add to the host
Expand Down Expand Up @@ -416,7 +416,7 @@ def main():
ipv6addr_spec = dict(
ipv6addr=dict(required=True, aliases=['address']),
configure_for_dhcp=dict(type='bool', required=False),
mac=dict(required=False)
duid=dict(required=False)
)

ib_spec = dict(
Expand Down

0 comments on commit 5e18780

Please sign in to comment.