Skip to content

Commit

Permalink
fix(no-release): Update resource_ipv6_address.go (#568)
Browse files Browse the repository at this point in the history
Forgot the resource, edited only the datasource...
  • Loading branch information
durandguru authored Sep 28, 2024
1 parent 4f77f21 commit 587f527
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion routeros/resource_ipv6_address.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
]
*/

// ResourceIPv6Address https://wiki.mikrotik.com/wiki/Manual:IPv6/Address
// ResourceIPv6Address https://help.mikrotik.com/docs/display/ROS/IP+Addressing
func ResourceIPv6Address() *schema.Resource {
resSchema := map[string]*schema.Schema{
MetaResourcePath: PropResourcePath("/ipv6/address"),
Expand Down Expand Up @@ -106,6 +106,11 @@ func ResourceIPv6Address() *schema.Resource {
KeyComment: PropCommentRw,
KeyDisabled: PropDisabledRw,
KeyDynamic: PropDynamicRo,
"deprecated": {
Type: schema.TypeBool,
Computed: true,
Description: "Whether address is deprecated",
},
"eui_64": {
Type: schema.TypeBool,
Optional: true,
Expand Down Expand Up @@ -136,6 +141,11 @@ func ResourceIPv6Address() *schema.Resource {
Description: "If set indicates that address is anycast address and Duplicate Address Detection should " +
"not be performed.",
},
"slave": {
Type: schema.TypeBool,
Computed: true,
Description: "Whether address belongs to an interface which is a slave port to some other master interface",
},
}
return &schema.Resource{
CreateContext: DefaultCreate(resSchema),
Expand Down

0 comments on commit 587f527

Please sign in to comment.