<?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: Bulk AP Naming from CSV or other source in Cloud Networking Platform</title>
    <link>https://community.cisco.com/t5/cloud-networking-platform/bulk-ap-naming-from-csv-or-other-source/m-p/5413337#M4653</link>
    <description>&lt;P&gt;Perhaps give this option a look &lt;A href="https://netprepare.com/blog/automate-meraki-device-renaming/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://netprepare.com/blog/automate-meraki-device-renaming/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2024 14:27:05 GMT</pubDate>
    <dc:creator>Ryan_Miles</dc:creator>
    <dc:date>2024-04-26T14:27:05Z</dc:date>
    <item>
      <title>Bulk AP Naming from CSV or other source</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/bulk-ap-naming-from-csv-or-other-source/m-p/5413336#M4652</link>
      <description>&lt;P&gt;I have a bunch of sites that I have configured manually, which is OK up to about 100 APs then the time and effort to configure each AP gets a bit excessive. I now have to build a site with 350 APs and I don't want to use my time doing that many APs manually.&lt;/P&gt;&lt;P&gt;Is there a way to use a CSV file or similar,to input things like AP name, address, tags, etc, etc.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Roo&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 12:50:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/bulk-ap-naming-from-csv-or-other-source/m-p/5413336#M4652</guid>
      <dc:creator>roo54</dc:creator>
      <dc:date>2024-04-26T12:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk AP Naming from CSV or other source</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/bulk-ap-naming-from-csv-or-other-source/m-p/5413337#M4653</link>
      <description>&lt;P&gt;Perhaps give this option a look &lt;A href="https://netprepare.com/blog/automate-meraki-device-renaming/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://netprepare.com/blog/automate-meraki-device-renaming/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 14:27:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/bulk-ap-naming-from-csv-or-other-source/m-p/5413337#M4653</guid>
      <dc:creator>Ryan_Miles</dc:creator>
      <dc:date>2024-04-26T14:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk AP Naming from CSV or other source</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/bulk-ap-naming-from-csv-or-other-source/m-p/5413338#M4654</link>
      <description>&lt;P&gt;With a file named "name.csv", that contains the following,&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;name,serial
ap1,xxx
ap2,yyy
ap3,zzz&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You can use the following&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;#! /usr/bin/env python3

import meraki
import csv

def main():
    dashboard = meraki.DashboardAPI(suppress_logging=True)

    with open("name.csv") as csvfile:
        ap = csv.DictReader(csvfile, delimiter=',')
        for row in ap:
            # print(row['name'],row['serial'])
            print("Updating:",row['serial'])
            response = dashboard.devices.updateDevice(
                row['serial'], 
                name=row['name'], 
            )
            if response['name'] is row['name']:
                print("Success!")

if __name__ == "__main__":
    main()&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Apr 2024 18:48:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/bulk-ap-naming-from-csv-or-other-source/m-p/5413338#M4654</guid>
      <dc:creator>Rasmus Hoffmann Birkelund</dc:creator>
      <dc:date>2024-04-26T18:48:56Z</dc:date>
    </item>
  </channel>
</rss>

