<?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 Creating IP Pools in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/creating-ip-pools/m-p/4188245#M9092</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I see from the API docs for DNAC how you would create a global IP pool.&lt;/P&gt;&lt;P&gt;But how do you create/reserve a 'child' IP pool lower down in the hierarchy?&lt;/P&gt;&lt;P&gt;I need to create about 50-100 IP pools. Not a huge number but I would prefer to read a file and POST the new IP pool via API rather than create them manually.&lt;/P&gt;&lt;P&gt;Anybody know how to achieve this?&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Matt.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2020 17:47:31 GMT</pubDate>
    <dc:creator>matty-boy</dc:creator>
    <dc:date>2020-11-24T17:47:31Z</dc:date>
    <item>
      <title>Creating IP Pools</title>
      <link>https://community.cisco.com/t5/network-platform-api/creating-ip-pools/m-p/4188245#M9092</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I see from the API docs for DNAC how you would create a global IP pool.&lt;/P&gt;&lt;P&gt;But how do you create/reserve a 'child' IP pool lower down in the hierarchy?&lt;/P&gt;&lt;P&gt;I need to create about 50-100 IP pools. Not a huge number but I would prefer to read a file and POST the new IP pool via API rather than create them manually.&lt;/P&gt;&lt;P&gt;Anybody know how to achieve this?&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Matt.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 17:47:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/creating-ip-pools/m-p/4188245#M9092</guid>
      <dc:creator>matty-boy</dc:creator>
      <dc:date>2020-11-24T17:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating IP Pools</title>
      <link>https://community.cisco.com/t5/network-platform-api/creating-ip-pools/m-p/4260536#M9093</link>
      <description>&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not write the whole code, so I could not provide you the whole python code. But here is what you will need to provide through API:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;POST&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;&lt;A href="https://{DNAC-IP}/api/v2/ippool/group" target="_blank"&gt;https://{DNAC-IP}/api/v2/ippool/group&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Body should be as follows (I just copied mine for you as a sample):-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"groupName": "POOL_NAME",&lt;BR /&gt;"groupOwner": "DNAC",&lt;BR /&gt;"type": "generic",&lt;BR /&gt;"siteId": "d4e85192-8f75-4aa4-a2eb-a48c5d102349",&lt;BR /&gt;"ipPools": [&lt;BR /&gt;{&lt;BR /&gt;"parentUuid": "fbc94e31-3a4b-438f-823e-b73fa1df7cf",&lt;BR /&gt;"dhcpServerIps": [&lt;BR /&gt;"192.168.1.1"&lt;BR /&gt;],&lt;BR /&gt;"dnsServerIps": [&lt;BR /&gt;"8.8.8.8"&lt;BR /&gt;],&lt;BR /&gt;"ipPoolOwner": "DNAC",&lt;BR /&gt;"shared": true,&lt;BR /&gt;"gateways": [&lt;BR /&gt;"172.16.100.1"&lt;BR /&gt;],&lt;BR /&gt;"ipPoolCidr": "172.16.100.0/24"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 06:26:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/creating-ip-pools/m-p/4260536#M9093</guid>
      <dc:creator>Meheretab Mengistu</dc:creator>
      <dc:date>2020-12-18T06:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating IP Pools</title>
      <link>https://community.cisco.com/t5/network-platform-api/creating-ip-pools/m-p/4268338#M9094</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/345758"&gt;@Meheretab Mengistu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hey .. how did you get this endpoint -&amp;nbsp;&lt;A href="https://%7Bdnac-ip%7D/api/v2/ippool/group" target="_blank" rel="nofollow noopener noreferrer"&gt;https://{DNAC-IP}/api/v2/ippool/group&lt;/A&gt;&lt;/P&gt;&lt;P&gt;its not documented for i cant find it .. can you please share a link to docs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 10:59:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/creating-ip-pools/m-p/4268338#M9094</guid>
      <dc:creator>omz</dc:creator>
      <dc:date>2021-01-07T10:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating IP Pools</title>
      <link>https://community.cisco.com/t5/network-platform-api/creating-ip-pools/m-p/4270376#M9095</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/513338"&gt;@omz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I could not find it on the documentation. I captured it using &lt;A href="https://www.postman.com/" target="_self"&gt;Postman&lt;/A&gt;. I run &lt;STRONG&gt;Postman Interceptor&lt;/STRONG&gt; chrome extension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 20:45:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/creating-ip-pools/m-p/4270376#M9095</guid>
      <dc:creator>Meheretab Mengistu</dc:creator>
      <dc:date>2021-01-11T20:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating IP Pools</title>
      <link>https://community.cisco.com/t5/network-platform-api/creating-ip-pools/m-p/4270616#M9096</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/345758"&gt;@Meheretab Mengistu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;That is AWESOME! Thank you so much for your initial reply (sorry for not replying sooner - I was also trying to find the docs and how you knew to use that API endpoint).&lt;/P&gt;&lt;P&gt;And thank you for showing how you found it using Postman Interceptor. I've literally just added a new IP Pool in the DNAC UI with interceptor running and all the info is there in glorious detail!!&lt;/P&gt;&lt;P&gt;Thank you so much!!&lt;/P&gt;&lt;P&gt;Matt.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 07:37:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/creating-ip-pools/m-p/4270616#M9096</guid>
      <dc:creator>matty-boy</dc:creator>
      <dc:date>2021-01-12T07:37:28Z</dc:date>
    </item>
  </channel>
</rss>

