The Meraki Community
Register or Sign in
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • About Toddomation
Toddomation

Toddomation

New here

Member since Jan 25, 2023

2 weeks ago

Community Record

2
Posts
0
Kudos
0
Solutions
Latest Contributions by Toddomation
  • Topics Toddomation has Participated In
  • Latest Contributions by Toddomation

Re: Device Type by Serial Number

by Toddomation in Developers & APIs
2 weeks ago
2 weeks ago
Sungod,   Thanks for the reply.  The automation I'm working on is when my field services team is installing a new network.  The first part of my code reads an Excel sheet that has all of the Serial Numbers that are going to be applied to the site.  When I create the network, my code needs to know if its for a single product or combined products.  I want to take the Serial Numbers from the spreadsheet and using ReGex determine what products are being installed.  That way when my code creates the site it knows what products should be in the list being passed, eg ['appliance', 'switch', 'wireless']. ... View more

Device Type by Serial Number

by Toddomation in Developers & APIs
2 weeks ago
2 weeks ago
I have written Python code using the "meraki" Python package and it's working great.  I just ran into an issue where my code attempted to add MR devices to a "Switch Only" network.  This got me thinking that along with the serial number format validation regex I'm using,  r ' ( [A-Z0-9] {4} - ) {2} ( [A-Z0-9] {4} )\b ', I'd like to identify the "Device Type" with ReGex as well.  This way if I have a network that's not "Combined" and I try to add a new device I will know prior to getting the reject message.  I've looked on the Cisco DevNet site and API documentation and can't seem to find an official listing of how the first four (4) characters of the serial number Identify the device type.  Someone posted this here, but it's pretty old.   https://community.meraki.com/t5/Security-SD-WAN/Serial-Number-Lookup/m-p/46655#M11682   I would think that Meraki would have a table listed somewhere, but can't seem to find it.   Thanks for any help,   Todd youtube.com/@toddomation ... View more
Powered by Khoros
custom.footer.
  • Community Guidelines
  • Cisco Privacy
  • Khoros Privacy
  • Privacy Settings
  • Terms of Use
© 2023 Meraki