Skip to content

Commit

Permalink
fix(#110): Add missing fields to DhcpServerLease
Browse files Browse the repository at this point in the history
  • Loading branch information
gfenn-newbury committed Feb 16, 2023
1 parent 654dd15 commit 100af8f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions routeros/resource_ip_dhcp_server_lease.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@ func ResourceDhcpServerLease() *schema.Resource {
MetaResourcePath: PropResourcePath("/ip/dhcp-server/lease"),
MetaId: PropId(Id),

"active_address": {
Type: schema.TypeString,
Computed: true,
Description: "The IP address of the machine currently holding the DHCP lease.",
},
"active_hostname": {
Type: schema.TypeString,
Computed: true,
Description: "The hostname of the machine currently holding the DHCP lease.",
},
"active_mac_address": {
Type: schema.TypeString,
Computed: true,
Description: "The MAC address of of the machine currently holding the DHCP lease.",
},
"address": {
Type: schema.TypeString,
Required: true,
Expand Down

0 comments on commit 100af8f

Please sign in to comment.