CiscoDevNet / terraform-provider-iosxr

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

Add segment routing config for OSPF #192

Closed tiagosil-cisco closed 1 year ago

tiagosil-cisco commented 1 year ago

Hi,

Could you please add the support for Segment routing config using OSPF?

Steps to enable on OSPF process: https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r7-6/segment-routing/configuration/guide/b-segment-routing-cg-asr9000-76x/configure-sr-for-ospf-protocol.html#task_4D379C0F92814C319A7D5C567C87DF2A 1- configure 2- router ospf process-name 3- segment-routing mpls 4- segment-routing sr-prefer 5- area area 6- segment-routing mpls 7- exit 8- Use the commit or end command.

Commands to configure loopback with prefix SID https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r7-6/segment-routing/configuration/guide/b-segment-routing-cg-asr9000-76x/configure-sr-for-ospf-protocol.html#task_1E8B0B8FBA20429DA670496C27EE8389 1- configure 2- router ospf process-name 3- area value 4- interface Loopback interface-instance 5- prefix-sid [strict-spf| algorithm algorithm-number] {index SID-index | absolute SID-value } [n-flag-clear] [explicit-null] 6- Use the commit or end command.

danischm commented 1 year ago

Thanks for raising the issue. We are looking to add support for this.

danischm commented 1 year ago

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

danischm commented 1 year ago

Added in v0.3.2 release.