Tags: paname75/nsot
Tags
Merge pull request dropbox#347 from nickpegg/release-v1.4.4 Release v1.4.4
Merge pull request dropbox#333 from nickpegg/release-v1.4.1 Release v1.4.1
Release v1.2.0 (dropbox#293) * Implement natural keys as primary keys for related fields (dropbox#292) Closes dropbox#262 API - Natural keys can now be used any place a primary key could be used for related fields on Interfaces and Circuits. - For Circuits, the default is now to display the A/Z endpoint interfaces by their natural key (e.g. `device_hostname:name` format). - For Interfaces, the Device hostname may now be used to create or retrieve interfaces (no more need to lookup the Device ID first) - Bugfix in `NsotSerializer` when `view` isn't part of the context that caused a crash. - Interface now has a `name_slug` field that can be used for natural key lookups. This is now also officially the natural key field. - Network now has a `cidr` field that can be used for displaying the `network_address/prefix_length` without additional effort - Network now has a `parent` field that can be used for displaying the parent CIDR without an additional lookup - All underlying serializer code has been streamlined to reduce code duplication where possible. - All "update" serializers have been moved to subclasses of "partial update" serializers with extra required fields specified as "extra kwargs" vs. re-defining the fields. - The fields for `site_id` and `attributes` have been moved to the base `ResourceSerializer` since ALL resources inherit these anyways. Util - Util stats functions can now be directly imported from `nsot.util`
PreviousNext