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 for resource junos_routing_instance #673

Closed
Vokunne opened this issue Jun 14, 2024 · 2 comments · Fixed by #676
Closed

Feature request: add "remote-vtep-list" option for resource junos_routing_instance #673

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,

this feature request is related to #672.
I found out that configuration "static-remote-vtep-list" option in a vxlan block in a "junos_bridge_domain" resource is also required a "remote-vtep-list" configuration for "junos_routing_instance". It's necessary when the type of routing instance is "virtual-switch"

New or Affected Resource(s)

junos_routing_instance

Example Junos Configuration

routing-instances {
    rt1 {
        vtep-source-interface lo0.0;
        remote-vtep-list [ 10.1.1.1 10.1.1.2 ];
        instance-type virtual-switch;
        bridge-domains {
            bd1 {
                vlan-id 5;
                vxlan {
                    vni 500005;
                    ingress-node-replication;
                    static-remote-vtep-list [ 10.1.1.1 10.1.1.2 ];
                }
            }

Potential Terraform Configuration

resource "junos_routing_instance" "rt1" {
  name                  = "rt1"
  type                  = "virtual-switch"
  description           = "vSwitch routing instance for static VXLANs"
  vtep_source_interface = "lo0.0"
  remote_vtep_ist       = [ 10.1.1.1, 10.1.1.2 ]

References

From Junos docs:
"On some platforms, you can use this statement with the static-remote-vtep-list statement to also configure remote VTEPs at the VLAN or bridge domain level. When you use the static-remote-vtep-list option, you must configure the remote-vtep-list statement to specify the remote VTEPs at the global level as follows:

In an L2 routing instance of type virtual-switch at the [edit routing-instances name] hierarchy level.

In the default switch instance at the [edit switch-options] hierarchy level."

Link to Junos docs:
https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/remote-vtep-list-routing-instances.html

@Vokunne Vokunne added the enhancement New feature or request label Jun 14, 2024
@Vokunne Vokunne changed the title Feature request: add "remote-vtep-list" option in "vxlan" block for resource junos_bridge_domain Feature request: add "remote-vtep-list" option for resource junos_routing_instance Jun 14, 2024
@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

@jeremmfr thanks a lot!

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