Not able to provision L2VPN with SRV6 policy.: Not able to provision L2VPN with SRV6 policy, getting below error message.Tried with below neds cisco-iosxr-nc-7.3, cisco-iosxr-nc-7.4, cisco-iosxr-nc-7.5 ; cisco-iosxr-cli-7.38, all neds getting same error message.In the wiki i don't see L2VPN+SRV6 policy payload, It will helpful if you can share the sample payload for L2VPN+SRV6 policy.Setup -172.24.97.142nso- 172.24.97.147admin@ncs> *** ALARM service-activation-failure: /cisco-flat-L2vpn-fp-internal-local-site:flat-L2vpn-internal-local-site-service{L2NM-L2NM-SRV6-internal TB3-PE-D}: Python cb_validate error. STATUS_CODE: TSDN-L2VPN-416REASON: L2VPN association with SRv6 via SR policy is not supported for this release.CATEGORY: userSEVERITY: ERRORContext [name = Not supported , message = L2VPN association with SRv6 is not supported for this release.state = {'Device': 'TB3-PE-D', 'Service': 'L2NM-L2NM-SRV6-internal', 'Policy': 'srv6_vpn_policy-9001'}]
Hello Ragesh,According to our Flat-L2VPN detailed wiki for TSDN 4.0 M2, SRv6 policy association in Flat L2 via preferred-path is not supported for this current release. Instead, you may use the Flat-L2VPN EVPN SRv6 locator field to associate directly.Wiki Reference : Yang Tree for SRv6 locator (Referenced from Flat-L2VPN Detailed Wiki)<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"><pre class="code-bash"> +--rw flat-L2vpn* [name] | +--rw flat-L2vpn-evpn-vpws | | +--rw -site | | | +--rw srv6! | | | | +--rw locator?  string | | +--rw remote-site! | |   +--rw srv6! | |   | +--rw locator?  string</pre></div></div>After reviewing the wiki, I agree that it is not so clear how to associate SRv6 policy with Flat-L2VPN EVPN service using locator. I will relocate the info box and add a sample payload demonstrating the above to the wiki starting TSDN 4.0 M2.Please let me know if you have any other questions or concerns.Thanks,Isaac KimHello Ragesh,On second review, it does seem like our Flat-L2VPN detailed wiki provides sample payload for Flat-L2VPN EVPN + SRv6 association. You can find it here : In addition, the sample payload for IETF L2NM + SRv6 association can be found in our IETF L2NM detailed wiki here : As the sample payload is provided in our wiki, I will assume this ticket is resolved.Please feel free to reopen this ticket with any reply if you have any additional comments.Thanks,Isaac KimHello,For future reference,The path to IETF L2 + SRv6 association is hereYANG Tree for IETF L2 SRv6 Locator (Referenced from IETF L2 detailed wiki)<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"><pre class="code-bash"> +--rw l2vpn-ntw | +--rw vpn-services | | +--rw vpn-service* [vpn-id] | | | +--rw vpn-nodes | | | | +--rw vpn-node* [vpn-node-id ne-id] | | | |   +--rw te-service-mapping | | | |   | +--rw srv6! | | | |   |   +--rw locator?  string</pre></div></div>I have added additional note in both Flat L2 and IETF L2NM detailed wikis to clarify this association.