Skip to content

Commit

Permalink
fix: Add new port_cost_mode property to routeros_interface_bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
dokmic authored and vaerh committed Jan 16, 2024
1 parent 1c7a46b commit cab4fb6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions routeros/resource_interface_bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,13 @@ func ResourceInterfaceBridge() *schema.Resource {
RequiredWith: []string{"igmp_snooping"},
},
KeyName: PropNameForceNewRw,
"port_cost_mode": {
Type: schema.TypeString,
Optional: true,
Description: "An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed.",
ValidateFunc: validation.StringInSlice([]string{"long", "short"}, false),
DiffSuppressFunc: AlwaysPresentNotUserProvided,
},
"priority": {
Type: schema.TypeString,
Optional: true,
Expand Down

0 comments on commit cab4fb6

Please sign in to comment.