<?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: ACI Learning Labs problem in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/4298153#M2459</link>
    <description>&lt;P&gt;Could you resolve the issue?&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2021 05:34:55 GMT</pubDate>
    <dc:creator>mmuskan</dc:creator>
    <dc:date>2021-02-26T05:34:55Z</dc:date>
    <item>
      <title>ACI Learning Labs problem</title>
      <link>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/3443685#M2454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm stuck with a problem on ACI Programmability Options lab, section APIC Sandbox Environment Setup, it says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hljs-comment"&gt;# From within the correct virtual environment&lt;/SPAN&gt; (venv) apic_fabric_setup\ $ python baseline.py &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hljs-comment"&gt;# Expected Output&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Baselining APIC Simulator &lt;SPAN class="hljs-keyword"&gt;for&lt;/SPAN&gt; Learning Labs&lt;/P&gt;&lt;P&gt;Setting up Fabric Nodes&lt;/P&gt;&lt;P&gt;Configuring Fabric Policies&lt;/P&gt;&lt;P&gt;Setting up Common Tenant&lt;/P&gt;&lt;P&gt;Setting up Heroes Tenant&lt;/P&gt;&lt;P&gt;Setting up SnV Tenant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my output is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(venv) C:\Python27\aci-learning-labs-code-samples\apic_fabric_setup&amp;gt;baseline.py&lt;/P&gt;&lt;P&gt;Baselining APIC Simulator for Learning Labs&lt;/P&gt;&lt;P&gt;Setting up Fabric Nodes&lt;/P&gt;&lt;P&gt;Configuring Fabric Policies&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "C:\Python27\aci-learning-labs-code-samples\apic_fabric_setup\baseline.py", line 11, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import startup_script&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "C:\Python27\aci-learning-labs-code-samples\apic_fabric_setup\startup_script.py", line 225, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; md.commit(c)&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "c:\python27\lib\site-packages\acicobra-3.0_1k-py2.7.egg\cobra\mit\access.py", line 63, in commit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return self._accessImpl.post(configObject)&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "c:\python27\lib\site-packages\acicobra-3.0_1k-py2.7.egg\cobra\internal\rest\accessimpl.py", line 176, in post&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return self.__parseError(rsp, CommitError, rsp.status_code)&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "c:\python27\lib\site-packages\acicobra-3.0_1k-py2.7.egg\cobra\internal\rest\accessimpl.py", line 234, in __parseError&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parseXMLError(rsp.text, errorClass, httpCode)&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "c:\python27\lib\site-packages\acicobra-3.0_1k-py2.7.egg\cobra\mit\xmlcodec.py", line 15, in parseXMLError&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise errorClass(int(errorCode), errorStr, httpCode)&lt;/P&gt;&lt;P&gt;cobra.mit.request.CommitError: Validation failed: Validation failed for node: 102Overlapping interfaces. Last examined: uni/infra/accportprof-dci-l3out-104&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what I may have done wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 16:25:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/3443685#M2454</guid>
      <dc:creator>c1sc0d1sc0</dc:creator>
      <dc:date>2018-01-18T16:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: ACI Learning Labs problem</title>
      <link>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/3443686#M2455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are NOT doing anything wrong.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial; font-size: 12px;"&gt;Overlapping interfaces - server has something already configured&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 19:51:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/3443686#M2455</guid>
      <dc:creator>yawming</dc:creator>
      <dc:date>2018-03-07T19:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: ACI Learning Labs problem</title>
      <link>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/3719904#M2456</link>
      <description>&lt;P&gt;Hello all, so what is the fix here?&amp;nbsp; I am running into a similar issue within the 1st page of the&amp;nbsp;&lt;/P&gt;
&lt;H4 class="ng-binding"&gt;Intermediate ACI Programmability module&lt;/H4&gt;
&lt;P&gt;I run the baseline.py script and I get the following , looks like it is not able to import anything in the cobra library:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(venv) C:\Python27\CISCO_DEVNET\aci-learning-labs-code-samples\apic_fabric_setup&amp;gt;python baseline.py&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "baseline.py", line 11, in &amp;lt;module&amp;gt;&lt;BR /&gt; import startup_script&lt;BR /&gt; File "C:\Python27\CISCO_DEVNET\aci-learning-labs-code-samples\apic_fabric_setup\startup_script.py", line 3, in &amp;lt;module&amp;gt;&lt;BR /&gt; import cobra.mit.access&lt;BR /&gt; File "C:\Python27\CISCO_DEVNET\aci-learning-labs-code-samples\venv\lib\site-packages\acicobra-3.2_1m-py2.7.egg\cobra\mit\__init__.py", line 2, in &amp;lt;module&amp;gt;&lt;BR /&gt; from ._mit import Mit&lt;BR /&gt; File "C:\Python27\CISCO_DEVNET\aci-learning-labs-code-samples\venv\lib\site-packages\acicobra-3.2_1m-py2.7.egg\cobra\mit\_mit.py", line 8, in &amp;lt;module&amp;gt;&lt;BR /&gt; topRoot = importlib.import_module('cobra.model.top')&lt;BR /&gt; File "C:\Python27\Lib\importlib\__init__.py", line 37, in import_module&lt;BR /&gt; __import__(name)&lt;BR /&gt;ImportError: No module named model.top&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 12:34:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/3719904#M2456</guid>
      <dc:creator>petersmiddy</dc:creator>
      <dc:date>2018-10-05T12:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: ACI Learning Labs problem</title>
      <link>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/3862405#M2457</link>
      <description>&lt;P&gt;I had same issue with interface profiles- validation failed overlapping interfaces error&lt;/P&gt;&lt;P&gt;the solution was that I was missing the to and from port in the range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"children": [{&lt;BR /&gt;"infraPortBlk": {&lt;BR /&gt;"attributes": {&lt;BR /&gt;"dn": "uni/infra/accportprof-LEAF{{node}}/hports-E{{port}}-typ-range/portblk-block2",&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;"fromPort": "{{port}}",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;"toPort": "{{port}}",&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added those two values and it now works.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 14:51:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/3862405#M2457</guid>
      <dc:creator>ryan.pere</dc:creator>
      <dc:date>2019-05-24T14:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: ACI Learning Labs problem</title>
      <link>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/3862408#M2458</link>
      <description>&lt;P&gt;the APIC API blows.&amp;nbsp; I'm running 4 code and i'm getting the same error from my APIC.&amp;nbsp; I go and delete the interface from the access port selector list and then try to readd it thru API and can't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Their validation is not in sync with is showing up in the APIC GUI.&amp;nbsp; It seems like once you create a policy in the GUI, you can't recreate it in the API if it's ever been created.&amp;nbsp; There must be something somewhere else holding onto the values in the port profile/interface selecctors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you ever get a solution to this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 14:45:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/3862408#M2458</guid>
      <dc:creator>ryan.pere</dc:creator>
      <dc:date>2019-05-24T14:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: ACI Learning Labs problem</title>
      <link>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/4298153#M2459</link>
      <description>&lt;P&gt;Could you resolve the issue?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 05:34:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/4298153#M2459</guid>
      <dc:creator>mmuskan</dc:creator>
      <dc:date>2021-02-26T05:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: ACI Learning Labs problem</title>
      <link>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/4304205#M2460</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Get into the sandbox and delete what ever policy is giving a duplicate, it is just giving you and error because someone else already ran the script on the same sandbox which is causing the duplicate/overlap.&lt;/P&gt;
&lt;P&gt;I did this and it worked fine.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Alejandro Avila Picado .:|:.:|:.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 19:35:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/aci-learning-labs-problem/m-p/4304205#M2460</guid>
      <dc:creator>Alejandro AP .:|:.:|:.</dc:creator>
      <dc:date>2021-03-09T19:35:21Z</dc:date>
    </item>
  </channel>
</rss>

