<?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: Create new external epg with static ip in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/create-new-external-epg-with-static-ip/m-p/3445109#M241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;from &lt;/SPAN&gt;acitoolkit &lt;SPAN style="color: #000080; font-weight: bold;"&gt;import &lt;/SPAN&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #008000; font-size: 13.3333330154419px; font-weight: bold;"&gt;# Create the config&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;tenant = Tenant(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #008000; font-weight: bold;"&gt;'coke'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;l3out = OutsideL3(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;'L3-OUT1'&lt;/SPAN&gt;, tenant)&lt;/P&gt;&lt;P&gt;out_epg = OutsideEPG(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;'eepg2'&lt;/SPAN&gt;, l3out)&lt;/P&gt;&lt;P&gt;net = OutsideNetwork(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;'12.1.1.1/32'&lt;/SPAN&gt;, out_epg)&lt;/P&gt;&lt;P&gt;net.ip = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;'12.1.1.1/32'&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;# Print the config&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;print &lt;/SPAN&gt;tenant.get_json()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 13.3333330154419px; font-weight: bold;"&gt;# Push the config to the APIC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my_apic = Session('&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://1.2.3.4" rel="nofollow" target="_blank"&gt;http://1.2.3.4&lt;/A&gt;&lt;SPAN&gt;", 'admin', 'password')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;my_apic.login()&lt;/P&gt;&lt;P&gt;tenant.push_to_apic(my_apic)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2015 23:07:32 GMT</pubDate>
    <dc:creator>michsmit</dc:creator>
    <dc:date>2015-08-11T23:07:32Z</dc:date>
    <item>
      <title>Create new external epg with static ip</title>
      <link>https://community.cisco.com/t5/controllers/create-new-external-epg-with-static-ip/m-p/3445108#M240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any example of how to create external epg with static ip/subnet ?&lt;/P&gt;&lt;P&gt;All the example that I saw use with ospf pr bgp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the xml that I want to post -&lt;/P&gt;&lt;P&gt;I already define the tenant coke and L3-OUT1 , I just want to add new external epg called eepg2 with ip 12.1.1.1/32 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;fvTenant name="coke"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;l3extOut name="L3-OUT1"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;l3extInstP name="eepg2"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;l3extSubnet descr="" ip="12.1.1.1/32" name=""/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;fvRsCustQosPol tnQosCustomPolName=""/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/l3extInstP&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/l3extOut&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/fvTenant&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 09:49:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/create-new-external-epg-with-static-ip/m-p/3445108#M240</guid>
      <dc:creator>zelbaz</dc:creator>
      <dc:date>2015-07-14T09:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create new external epg with static ip</title>
      <link>https://community.cisco.com/t5/controllers/create-new-external-epg-with-static-ip/m-p/3445109#M241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;from &lt;/SPAN&gt;acitoolkit &lt;SPAN style="color: #000080; font-weight: bold;"&gt;import &lt;/SPAN&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #008000; font-size: 13.3333330154419px; font-weight: bold;"&gt;# Create the config&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;tenant = Tenant(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #008000; font-weight: bold;"&gt;'coke'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;l3out = OutsideL3(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;'L3-OUT1'&lt;/SPAN&gt;, tenant)&lt;/P&gt;&lt;P&gt;out_epg = OutsideEPG(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;'eepg2'&lt;/SPAN&gt;, l3out)&lt;/P&gt;&lt;P&gt;net = OutsideNetwork(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;'12.1.1.1/32'&lt;/SPAN&gt;, out_epg)&lt;/P&gt;&lt;P&gt;net.ip = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;'12.1.1.1/32'&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;# Print the config&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;print &lt;/SPAN&gt;tenant.get_json()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 13.3333330154419px; font-weight: bold;"&gt;# Push the config to the APIC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my_apic = Session('&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://1.2.3.4" rel="nofollow" target="_blank"&gt;http://1.2.3.4&lt;/A&gt;&lt;SPAN&gt;", 'admin', 'password')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;my_apic.login()&lt;/P&gt;&lt;P&gt;tenant.push_to_apic(my_apic)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 23:07:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/create-new-external-epg-with-static-ip/m-p/3445109#M241</guid>
      <dc:creator>michsmit</dc:creator>
      <dc:date>2015-08-11T23:07:32Z</dc:date>
    </item>
  </channel>
</rss>

