jeremmfr / terraform-provider-junos

Terraform provider for Junos devices
https://registry.terraform.io/providers/jeremmfr/junos
MIT License
62 stars 22 forks source link

Feature request: add support for mc-ae #572

Closed NikitaPuglachenko closed 11 months ago

NikitaPuglachenko commented 12 months ago

Description

Add support of mc-ae on junos_interface_physical block parent_ether_opts

New or Affected Resource(s)

junos_interface_physical block parent_ether_opts

Potential Terraform Configuration

resource "junos_interface_physical" "interface_physical_ae" {
  ...
  parent_ether_opts {
    mc_ae {
      chassis_id           = 1                   # Required, Number,  (0..1)
      enhanced_convergence = false               # Optional, Boolean, (true || false)
      init_delay_time      = 240                 # Optional, Number,  (1..6000 seconds)
      mc_ae_id             = 1                   # Required, Number,  (1..65535)
      mode                 = "active-standby"    # Required, String,  ("active-active" || "active-standby")
      recovery_delay_time  = 100                 # Optional, Number,  (1..6000 seconds)
      redundancy_group     = 1                   # Required, Number,  (1..4294967294)
      revert_time          = 1                   # Optional, Number,  (1..10 minute)
      status_control       = "standby"           # Optional, String,  ("active" || "standby")
      switchover-mode      = non-revertive       # Optional, String,  ("non-revertive" || "revertive")
    }
  }
}

References

https://www.juniper.net/documentation/us/en/software/junos/mc-lag/topics/topic-map/getting-started-mc-lag.html

jeremmfr commented 11 months ago

Hi 👋

I will take care of adding this.