Chicken and the egg problem in appending / prepending route policies : I want to use the policy append/prepend statements in route policydefinition <l3vpn-route-policyxmlns=><name>L3VPN_NM-SRTE-ODN-PE-A-44</name><color><id>44</id><ipv4><prefix>40.40.44.0/30</prefix></ipv4></color><extra-policy><name>L3VPN_NM-SRTE-ODN-PE-A-45</name><operation>append</operation><address>both</address> </extra-policy> </l3vpn-route-policy>The thing is that policy I append/prepend has to be on the device,because otherwise I get this error <errorsxmlns="urn:ietf:params:xml:ns:yang:ietf-restconf"> <error><error-type>application</error-type><error-tag>malformed-message</error-tag><error-path></error-path> <error-message>RPCerror towards PE-C: operation_failed: for ns2:vrfs/ns2:vrf[vrf-name ='L3VPN_NM-SRTE-ODN-40']/ns2:afs/ns2:af[af-name = 'ipv4' and saf-name ='unicast' and topology-name = 'default']/ns1:bgp/ns1:export-route-policy:Verify failed for policy: Policy usespolicy . must be definedbefore can be attached.</error-message> </error></errors>On the other hand, I dont have a manner to create the route policy onthe device without creating VPN service .This leads to a conclusion that I can not create policies I want toappend/prepend through NSO, but only using CLI. As far as I see it, this is a problem !
Are you able to use custom-template to resolve this issue? You can refer to flow here: Hi Yevgeny, did the custom-templates resolve your issue?Closing ticket due to no response from submitter