Skip to content

Commit

Permalink
Merge pull request #3103 from clercrobin/add_decommissioning
Browse files Browse the repository at this point in the history
Fixes : #3070 Add the decommissioning status for devices
  • Loading branch information
jeremystretch authored Apr 26, 2019
2 parents d8c9b1a + f463653 commit bd4086c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions netbox/dcim/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,15 @@
DEVICE_STATUS_STAGED = 3
DEVICE_STATUS_FAILED = 4
DEVICE_STATUS_INVENTORY = 5
DEVICE_STATUS_DECOMMISSIONING = 6
DEVICE_STATUS_CHOICES = [
[DEVICE_STATUS_ACTIVE, 'Active'],
[DEVICE_STATUS_OFFLINE, 'Offline'],
[DEVICE_STATUS_PLANNED, 'Planned'],
[DEVICE_STATUS_STAGED, 'Staged'],
[DEVICE_STATUS_FAILED, 'Failed'],
[DEVICE_STATUS_INVENTORY, 'Inventory'],
[DEVICE_STATUS_DECOMMISSIONING, 'Decommissioning'],
]

# Site statuses
Expand Down

0 comments on commit bd4086c

Please sign in to comment.