dropbox / dropbox/pynsot

Add "dead" network resource states to API models

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

Description

`pynsot.models.Network` sets `state: assigned` for host addresses and `state: allocated` otherwise. Don't personally have a use-case for setting to `oraphaned` or `reserved` (NSoT docs also don't delve into states much), but we should add this in for parity.

Implementation could be an `.archive()` method or just `.orphan()` and `.reserve()`.

Not critical, but wanted it to be documented.

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.