dropbox / dropbox/nsot

Allow Interfaces to be created with null description, speed, or type using defaults

Open
#194 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
407
Forks
61
PR merge metrics
No merged PRs in 30d

Description

For these `Interface` fields:
- description
- speed
- type

If these fields are presented as `null` or `None` values on incoming payloads on create (`POST`), then the NSoT default value should be used.

This is to simplify client code for fields that cannot have null values, but which _do_ have defaults on the backend. (Currently there is a workaround for this in pynsot CLI util, but we shouldn't need to do that.)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.