mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-11-24 17:34:17 +01:00
Change vendors/ to device-types/
This commit is contained in:
parent
437866451c
commit
4dcaf14b4e
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user