Use a thread safe counter for a shared object
Merge branch 'n1k-plugin' of https://github.com/CiscoSystems/quantum into n1k-plugin