dropbox / nsot

Network Source of Truth is an open source IPAM and network inventory database
https://nsot.readthedocs.io
Other
399 stars 66 forks source link

Implement natural keys as primary keys for related fields #262

Closed jathanism closed 7 years ago

jathanism commented 7 years ago

This is so that any objects that support natural keys can also use these values as primary keys in the API when creating/updating related fields. For example:

This will facilitate more user-friendly object payloads as well as allowing the CLI interaction by humans to be much more intuitive and not rely so heavily upon numeric object IDs.

yeled commented 7 years ago

This would be amazing, and allow much easier integration with scripts etc.