Are network IDs globally unique?

SOLVED
PhilipDAth
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

Accepted Solutions
DexterLaBora
Meraki Employee

Re: Are network IDs globally unique?

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

Re: Are network IDs globally unique?

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

Edgar-VO
Building a reputation

Re: Are network IDs globally unique?

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

Re: Are network IDs globally unique?

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

Re: Are network IDs globally unique?

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

Re: Are network IDs globally unique?

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

Edgar-VO
Building a reputation

Re: Are network IDs globally unique?

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

Re: Are network IDs globally unique?

"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.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.