Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update resource_interface_bridge.go #118

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions routeros/resource_interface_bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,19 @@ func ResourceInterfaceBridge() *schema.Resource {
"Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.",
RequiredWith: []string{"igmp_snooping"},
},
// https://help.mikrotik.com/docs/pages/viewpage.action?pageId=59277403#BridgeIGMP/MLDsnooping-Configurationoptions
"multicast_router": {
Type: schema.TypeString,
Optional: true,
Default: "temporary-query",
Description: "A multicast router port is a port where a multicast router or querier is connected. On " +
"this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This " +
"setting changes the state of the multicast router for a bridge interface itself. This property can " +
"be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further " +
"multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.",
ValidateFunc: validation.StringInSlice([]string{"disabled", "permanent", "temporary-query"}, false),
RequiredWith: []string{"igmp_snooping"},
},
KeyName: PropNameRw,
"priority": {
Type: schema.TypeString,
Expand Down