ProductType = switch_meraki

Techniche
Here to help

ProductType = switch_meraki

Has anyone else noticed that the early API access has Meraki switches defined as a productType of switch_meraki ?

 

I assume this is to get ready for Cisco switches coming into the dashboard, so they can be referenced as a productType of switch_cisco

 

It would be good to know if this is the case so if anyone is using the productTypes as a means to filter data when collecting it from the API.

 

Cheers

9 Replies 9
daniel_abbatt
Getting noticed

Did you happen to notice if this was in addition to a product type 'switch' or whether it was instead of. Otherwise yes this would mean quite a few script changes for people I imagine.

Techniche
Here to help

This seemed to be a replacement not an addition and I have not seen any info about it. I have logged a call with Meraki support to see where that goes.

 

We are looking at this aspect of the API GET /organizations/{organizationId}/devices 

 

Example:

 

 

 "productType": "switch_meraki",
    "model": "MS225-48",

 

 

Techniche
Here to help

We opted out of the earlly API access for the ORG and it has now reverted the productType back to just switch.

John_on_API
Meraki Employee All-Star Meraki Employee All-Star
Meraki Employee All-Star

This does not seem to be an intentional change. Thank you for bringing it to my attention.

daniel_abbatt
Getting noticed

Phew good to hear! Thanks for the quick responses.

John_on_API
Meraki Employee All-Star Meraki Employee All-Star
Meraki Employee All-Star

This should no longer be occurring. If you have a chance to confirm, I'd appreciate it.

david_n_m_bond
Building a reputation

Thanks @John_on_API - this would have resulted in a lot of regressions!

 

However, what do the C9300's appear as?  "switch_cisco" or "switch" ?

Author, https://www.nuget.org/packages/Meraki.Api/
John_on_API
Meraki Employee All-Star Meraki Employee All-Star
Meraki Employee All-Star

They should appear as "switch" wherever productType is referenced.

For the purposes of firmware upgrades, Catalyst switches are referred to as "switchCatalyst", but that is not a part of the productType enum.

Techniche
Here to help

It's not occuring any more as requested to confirm 😉

Get notified when there are additional replies to this discussion.