<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Reconciliation of NSO service while skipping infra/day0 config in NSO Developer Hub Discussions</title>
    <link>https://community.cisco.com/t5/nso-developer-hub-discussions/reconciliation-of-nso-service-while-skipping-infra-day0-config/m-p/4682207#M7367</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;I am looking to find a solution for a NSO service reconciliation scenario wherein service config lies under some infra/day0 config tree. My objective is to skip reconciliation of the day0 config while reconciling the service config.&lt;/P&gt;
&lt;P&gt;For eg:&lt;/P&gt;
&lt;P&gt;My service creates interface instances under "router ospf &amp;lt;name&amp;gt; area &amp;lt;id&amp;gt;". Since the service only creates interface config under "router ospf area", I don't want to reconcile&amp;nbsp;"router ospf area".&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;devices device DU01-Core-ASR9k-1 &lt;BR /&gt;&lt;BR /&gt;cisco-ios-xr:router ospf 100&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;lt;-- Skip reconciliation&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;area 0&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;lt;-- Skip reconciliation&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; interface TenGigE0/2/0/0&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;lt;-- Need to reconcile from here onwards&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;bfd minimum-interval 300&lt;BR /&gt;&amp;nbsp; &amp;nbsp;bfd fast-detect&lt;BR /&gt;&amp;nbsp; &amp;nbsp;bfd multiplier 3&lt;BR /&gt;&amp;nbsp; &amp;nbsp;cost 10&lt;BR /&gt;&amp;nbsp; exit&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 06 Sep 2022 18:59:30 GMT</pubDate>
    <dc:creator>vipsinha</dc:creator>
    <dc:date>2022-09-06T18:59:30Z</dc:date>
    <item>
      <title>Reconciliation of NSO service while skipping infra/day0 config</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/reconciliation-of-nso-service-while-skipping-infra-day0-config/m-p/4682207#M7367</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;I am looking to find a solution for a NSO service reconciliation scenario wherein service config lies under some infra/day0 config tree. My objective is to skip reconciliation of the day0 config while reconciling the service config.&lt;/P&gt;
&lt;P&gt;For eg:&lt;/P&gt;
&lt;P&gt;My service creates interface instances under "router ospf &amp;lt;name&amp;gt; area &amp;lt;id&amp;gt;". Since the service only creates interface config under "router ospf area", I don't want to reconcile&amp;nbsp;"router ospf area".&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;devices device DU01-Core-ASR9k-1 &lt;BR /&gt;&lt;BR /&gt;cisco-ios-xr:router ospf 100&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;lt;-- Skip reconciliation&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;area 0&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;lt;-- Skip reconciliation&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; interface TenGigE0/2/0/0&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;lt;-- Need to reconcile from here onwards&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;bfd minimum-interval 300&lt;BR /&gt;&amp;nbsp; &amp;nbsp;bfd fast-detect&lt;BR /&gt;&amp;nbsp; &amp;nbsp;bfd multiplier 3&lt;BR /&gt;&amp;nbsp; &amp;nbsp;cost 10&lt;BR /&gt;&amp;nbsp; exit&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Sep 2022 18:59:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/reconciliation-of-nso-service-while-skipping-infra-day0-config/m-p/4682207#M7367</guid>
      <dc:creator>vipsinha</dc:creator>
      <dc:date>2022-09-06T18:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reconciliation of NSO service while skipping infra/day0 config</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/reconciliation-of-nso-service-while-skipping-infra-day0-config/m-p/4683037#M7369</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;To control where the reconciliation is happening, you have to tell your service from where you should begin merging config. In the below example we tell the NSO service, to not create or take ownership&amp;nbsp; of anything above the interface.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;config-template xmlns="http://tail-f.com/ns/config/1.0"&amp;gt;
&amp;lt;devices xmlns="http://tail-f.com/ns/ncs"&amp;gt;
  &amp;lt;device tags="nocreate"&amp;gt;
    &amp;lt;name&amp;gt;{pe}&amp;lt;/name&amp;gt;
    &amp;lt;config&amp;gt;
      &amp;lt;router xmlns="http://tail-f.com/ned/cisco-ios-xr"&amp;gt;
        &amp;lt;ospf&amp;gt;
          &amp;lt;name&amp;gt;100&amp;lt;/name&amp;gt;
          &amp;lt;area&amp;gt;
            &amp;lt;id&amp;gt;0&amp;lt;/id&amp;gt;
            &amp;lt;interface tags="merge" &amp;gt;
              &amp;lt;name&amp;gt;TenGigE0/2/0/0&amp;lt;/name&amp;gt;
              &amp;lt;bfd&amp;gt;
                &amp;lt;minimum-interval&amp;gt;300&amp;lt;/minimum-interval&amp;gt;
                &amp;lt;fast-detect/&amp;gt;
                &amp;lt;multiplier&amp;gt;3&amp;lt;/multiplier&amp;gt;
              &amp;lt;/bfd&amp;gt;
              &amp;lt;cost&amp;gt;10&amp;lt;/cost&amp;gt;
            &amp;lt;/interface&amp;gt;
          &amp;lt;/area&amp;gt;
        &amp;lt;/ospf&amp;gt;
      &amp;lt;/router&amp;gt;
    &amp;lt;/config&amp;gt;
  &amp;lt;/device&amp;gt;
&amp;lt;/devices&amp;gt;
&amp;lt;/config-template&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;Just notice that if you don't have the ospf area already configured when you apply the template nothing will be added.&lt;/P&gt;
&lt;P&gt;More on info on this topic can be found in the development guide "Chapter 15. Templates" section "Template tag operations" (page 357 in&amp;nbsp;nso_development-5.8.3.pdf)&lt;/P&gt;
&lt;P&gt;br.&lt;/P&gt;
&lt;P&gt;Kristoffer Larsen&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 18:54:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/reconciliation-of-nso-service-while-skipping-infra-day0-config/m-p/4683037#M7369</guid>
      <dc:creator>radioman</dc:creator>
      <dc:date>2022-09-07T18:54:57Z</dc:date>
    </item>
  </channel>
</rss>

