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 "remote-vtep-list" option in "vxlan" block for resource junos_bridge_domain #672

Closed
Vokunne opened this issue Jun 14, 2024 · 2 comments · Fixed by #676
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Vokunne
Copy link

Vokunne commented Jun 14, 2024

Description

Hi there,

During configuration static vxlan tunnels with bridge-domain + virtual router I faced that Junos requires to tie remote VTEP addresses to bridge domain configuration. So I'd like to ask about implementation this feature in vxlan block for junos_bridge_domain resource

New or Affected Resource(s)

junos_bridge_domain

Example Junos Configuration

bridge-domains {
      bd1 {
           vlan-id 5;
            vxlan {
                 vni 5005;
                 ingress-node-replication;
                 static-remote-vtep-list [ 10.1.1.1 10.1.1.2 ];
            }
      }
}

Potential Terraform Configuration

```hcl
resource "junos_bridge_domain" "bd1" {
  name               = "bd1"
  routing_interface  = "irb.5"
  routing_instance   = "vswitch-bd1"
  vlan_id            = "5"
  domain_type_bridge = true
  interface          = ["ae0.5"]
  vxlan {
    vni                           = 100005
    decapsulate_accept_inner_vlan = null
    encapsulate_inner_vlan        = null
    ingress_node_replication      = true
    remote-vtep-list = [10.1.1.1, 10.1.1.2]
  }
}

### References
<!--
Are there any other GitHub issues or pull requests that should be linked here? Junos blog posts or documentation? 
-->
Link to Junos docs:

https://www.juniper.net/documentation/us/en/software/junos/evpn-vxlan/topics/ref/statement/static-remote-vtep-list-edit-vlans-bridge-domains-vxlan.html
@jeremmfr
Copy link
Owner

Hi 👋

I will take care of adding this.

@jeremmfr jeremmfr added this to the v2.8.0 milestone Jun 17, 2024
@jeremmfr jeremmfr self-assigned this Jun 17, 2024
@Vokunne
Copy link
Author

Vokunne commented Jun 18, 2024

Thank you so much!

jeremmfr added a commit that referenced this issue Jun 19, 2024
inside vxlan block
Fix #672

and use same way as vlan to vxlan/vlan-id field names on struct
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
2 participants