diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 78066dc72..54198af38 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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: diff --git a/vendors/Generic/24-port_copper_patch_panel.yaml b/device-types/Generic/24-port_copper_patch_panel.yaml similarity index 100% rename from vendors/Generic/24-port_copper_patch_panel.yaml rename to device-types/Generic/24-port_copper_patch_panel.yaml diff --git a/vendors/Generic/48-port_copper_patch_panel.yaml b/device-types/Generic/48-port_copper_patch_panel.yaml similarity index 100% rename from vendors/Generic/48-port_copper_patch_panel.yaml rename to device-types/Generic/48-port_copper_patch_panel.yaml diff --git a/vendors/Juniper/EX4300-24T.yaml b/device-types/Juniper/EX4300-24T.yaml similarity index 100% rename from vendors/Juniper/EX4300-24T.yaml rename to device-types/Juniper/EX4300-24T.yaml diff --git a/vendors/Testing/Test.yaml b/device-types/Testing/Test.yaml similarity index 100% rename from vendors/Testing/Test.yaml rename to device-types/Testing/Test.yaml diff --git a/tests/test_definitions.py b/tests/test_definitions.py index c227a1ac4..8421079af 100644 --- a/tests/test_definitions.py +++ b/tests/test_definitions.py @@ -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