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

Feature request: add support for storm-control #574

Closed
NikitaPuglachenko opened this issue Nov 10, 2023 · 2 comments · Fixed by #580
Closed

Feature request: add support for storm-control #574

NikitaPuglachenko opened this issue Nov 10, 2023 · 2 comments · Fixed by #580
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@NikitaPuglachenko
Copy link

NikitaPuglachenko commented Nov 10, 2023

Description

Add support for storm-control

New or Affected Resource(s)

Exist: junos_interface_physical
New: junos_forwardingoptions_storm_control_profile

Potential Terraform Configuration

resource "junos_interface_physical" "interface_physical_ae" {
  ...
  storm_control               = "profile_name"  # Optional, String
  ...
}
resource "junos_forwardingoptions_storm_control_profile" "storm_control_profile_demo" {
  action-shutdown             = false           # Optional, Boolean, (true | false)
  all {                                         # Optional, Block
    bandwidth-level           = 100             # Optional, Number,  (100..100000000 kbps)
    bandwidth-percentage      = 1               # Optional, Number,  (1..100)
    burst-size                = 1500            # Optional, Number,  (1500..100000000 bytes)
    no-broadcast              = false           # Optional, Boolean, (true | false)
    no-multicast              = false           # Optional, Boolean, (true | false)
    no-registered-multicast   = false           # Optional, Boolean, (true | false)
    no-unknown-unicast        = false           # Optional, Boolean, (true | false)
    no-unregistered-multicast = false           # Optional, Boolean, (true | false)
  }
}

References

https://www.juniper.net/documentation/us/en/software/junos/security-services/topics/ref/statement/storm-control-edit-interfaces.html
https://www.juniper.net/documentation/us/en/software/junos/security-services/topics/ref/statement/storm-control-profiles-rate-limiting.html

@NikitaPuglachenko NikitaPuglachenko added the enhancement New feature or request label Nov 10, 2023
@MrDaGree
Copy link

I would love if this could be added as well

@jeremmfr
Copy link
Owner

Hi 👋

I will take care of adding this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants