Are network IDs globally unique?

Solved
PhilipDAth
Kind of a big deal
Kind of a big deal

Are network IDs globally unique?

Are network IDs globally unique, or only guaranteed to be unique to an organisation?

1 Accepted Solution
DexterLaBora
Meraki Employee
Meraki Employee

The following IDs are always globally unique within the Meraki cloud, and allow for scoped resources. 

organizationId

networkId

serial

 

Side note,

The fact that some endpoints required both is something we are removing in v1

 

v0
/network/:networkId/devices/:serial/fooBar

 

v1

/devices/:serial/fooBar

 

View solution in original post

7 Replies 7
DexterLaBora
Meraki Employee
Meraki Employee

The following IDs are always globally unique within the Meraki cloud, and allow for scoped resources. 

organizationId

networkId

serial

 

Side note,

The fact that some endpoints required both is something we are removing in v1

 

v0
/network/:networkId/devices/:serial/fooBar

 

v1

/devices/:serial/fooBar

 

Edgar-VO
Building a reputation

This if you are making use of the REST API, but what if you are using the meraki module in github.

I assume (hope) there nothing will change regarding the calls of specific 

 

 

DexterLaBora
Meraki Employee
Meraki Employee

The Meraki Python module is based off of our OpenAPI spec. It is essentially a different view of our REST API, so all types, operations, etc should be consistent.

 

 

PhilipDAth
Kind of a big deal
Kind of a big deal

That is going to save me a heap of API calls.

 

Hopefully you can add mac addreess as being globally unique as well... 

PhilipDAth
Kind of a big deal
Kind of a big deal

What is the maximum length of a networkId string?  I've currently defined it as a varchar(16) ...

Edgar-VO
Building a reputation

Good Morning,

 

I was always under the impression that MAC Addresses were unique.... 

 

I know you can change MAC addresses on some devices (VMWare, etc) but generally speaking they are unique

 

Ed.

 

DexterLaBora
Meraki Employee
Meraki Employee

"I know you can change MAC addresses on some devices (VMWare, etc)" is the exact reason why they are not globally unique.

In addition, the current "clientId" is only unique to the network (for similar reasons). This is something we are still thinking about.
Get notified when there are additional replies to this discussion.