Change vendors/ to device-types/

This commit is contained in:
Jeremy Stretch 2019-12-19 13:23:05 -05:00
parent 437866451c
commit 4dcaf14b4e
6 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,8 @@ Each NetBox device type definition exists as a single YAML file, arranged by man
concatenating the definition's model name with a `.yaml` extension. For example:
```no-highlight
vendors/Acme/BFR-1000.yaml
vendors/Acme/BFR-2000.yaml
device-types/Acme/BFR-1000.yaml
device-types/Acme/BFR-2000.yaml
```
When writing new definitions, there are some important guidelines to follow:

View File

@ -10,7 +10,7 @@ def _get_definition_files():
"""
Return a list of all definition files.
"""
return [f for f in glob.glob("vendors/**/*.yaml", recursive=True)]
return [f for f in glob.glob("device-types/**/*.yaml", recursive=True)]
# Initialize schema