-
-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update VLAN Initializer for Netbox 2.7
The VLAN database model has changed in Netbox 2.7. Therefore the initializer code, that was used before, broke. As a user, you will need to update your vlans.yml file as follows: - Make sure the status is spelled lowercase. See the diff of this commit for further information how this is meant.
- Loading branch information
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
## Possible Choices: | ||
## status: | ||
## - active | ||
## - reserved | ||
## - deprecated | ||
## | ||
## Examples: | ||
|
||
# - name: vlan1 | ||
# site: AMS 1 | ||
# status: Active | ||
# status: active | ||
# vid: 5 | ||
# role: Main Management | ||
# description: VLAN 5 for MGMT | ||
# - group: VLAN group 2 | ||
# name: vlan2 | ||
# site: AMS 1 | ||
# status: Active | ||
# status: active | ||
# vid: 1300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters