<?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 Re: Error when creating OSPF-cfg in Tools</title>
    <link>https://community.cisco.com/t5/tools/error-when-creating-ospf-cfg/m-p/3502234#M3083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just try and error and found that I need to add "process.start = empty()" to create the OSPF process from scratch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;def config_ospf(ospf):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; """Add config data to ospf object."""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # OSPF process&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; process = ospf.processes.Process()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; process.process_name = "DEFAULT"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; process.default_vrf.router_id = "10.2.11.1"&lt;/P&gt;&lt;P&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; process.nsr = xr_ipv4_ospf_cfg.NsrEnum.TRUE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; process.start = Empty()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Dec 2016 14:58:12 GMT</pubDate>
    <dc:creator>yitung</dc:creator>
    <dc:date>2016-12-21T14:58:12Z</dc:date>
    <item>
      <title>Error when creating OSPF-cfg</title>
      <link>https://community.cisco.com/t5/tools/error-when-creating-ospf-cfg/m-p/3502233#M3082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I create the ospf process, it shows the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error-type: application&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error-tag: operation-failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error-severity: error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error-path: ns1:ospf/ns1:processes/ns1:process[process-name = 'DEFAULT']/ns1:default-vrf/ns1:area-addresses/ns1:area-area-id[area-id = '1']/ns1:name-scopes/ns1:name-scope[interface-name = 'GigabitEthernet0/0/0/1']/ns1:network-type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error-message: 'CfgMgr' detected the 'fatal' condition 'This configuration has not been verified and can not be accepted by the system.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=======================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I workaround it is to create "router ospf DEFAULT" via CLI in XR first... Is it a kind of a bug or if I miss some steps??&lt;/P&gt;&lt;P&gt;Please find the full log in the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After creating "router ospf DEFAULT" via CLI:&lt;/P&gt;&lt;P&gt;===================================&lt;/P&gt;&lt;P&gt;RP/0/0/CPU0:R1#show run router ospf&lt;/P&gt;&lt;P&gt;Wed Dec 21 14:39:34.488 UTC&lt;/P&gt;&lt;P&gt;router ospf DEFAULT&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RP/0/0/CPU0:R1#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Detail log in the attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 14:42:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/error-when-creating-ospf-cfg/m-p/3502233#M3082</guid>
      <dc:creator>yitung</dc:creator>
      <dc:date>2016-12-21T14:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating OSPF-cfg</title>
      <link>https://community.cisco.com/t5/tools/error-when-creating-ospf-cfg/m-p/3502234#M3083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just try and error and found that I need to add "process.start = empty()" to create the OSPF process from scratch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;def config_ospf(ospf):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; """Add config data to ospf object."""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # OSPF process&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; process = ospf.processes.Process()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; process.process_name = "DEFAULT"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; process.default_vrf.router_id = "10.2.11.1"&lt;/P&gt;&lt;P&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; process.nsr = xr_ipv4_ospf_cfg.NsrEnum.TRUE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; process.start = Empty()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 14:58:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/error-when-creating-ospf-cfg/m-p/3502234#M3083</guid>
      <dc:creator>yitung</dc:creator>
      <dc:date>2016-12-21T14:58:12Z</dc:date>
    </item>
  </channel>
</rss>

