CiscoDevNet / terraform-provider-iosxr

Terraform Cisco IOS-XR Provider
https://registry.terraform.io/providers/CiscoDevNet/iosxr
Mozilla Public License 2.0
5 stars 9 forks source link

iosxr_l2vpn #158

Closed rjoensen closed 1 year ago

rjoensen commented 1 year ago

Hello,

iosxr_l2vpn does not appear to be complete. I am trying to use it to configure this;

Don't seem to be able to setup load-balancing nor configure pw-class.

Best wishes, rjoensen

rjoensen commented 1 year ago

Attaching an example;

pw-class encapsulation mpls transport-mode plan passthrough | ethernet | vlan load-balancing pw-label flow-label both

rjoensen commented 1 year ago

And under the l2vpn configuration load-balancing also needs to be configured as flow and then you have multiple options, e.g. src-dst-ip, etc.

Best wishes, rjoensen

danischm commented 1 year ago

https://github.com/CiscoDevNet/terraform-provider-iosxr/commit/d4150372df1286f8b01e4735335f01c41d12b9a4

danischm commented 1 year ago

https://github.com/CiscoDevNet/terraform-provider-iosxr/commit/634511ea906ad4a9c3956a20cef0fd72ed402381

danischm commented 1 year ago

Addressed in v0.2.4 .

rjoensen commented 1 year ago

Hello,

I just got around to actually test this and it appears I was not very clear when reporting this. I believe what's missing is jut the pw-class ability.

l2vpn load-balancing flow src-dst-ip pw-class encapsulation mpls transport-mode vlan passthrough load-balancing pw-label flow-label both ! ! ! pw-class encapsulation mpls transport-mode ethernet load-balancing pw-label flow-label both ! ! !

Best wishes, rjoensen