Skip to content

YAML and CSV files used to import various object types into NetBox

License

Notifications You must be signed in to change notification settings

mtlnog/netbox-initializers

Repository files navigation

License

netbox-initializers

This repository contains yaml and csv files used to import various object types into NetBox

Building the csv files from the yaml sources

The csv files are built from git hooks but this may be useful for local generation

  1. It is recommended that you setup your own "virtual environment"
  2. Install requirements:
    pip install -r requirements.txt
    
  3. Execute the build process
    venv~> ./build_csv_files.py
    

Pre-commit

Run pre-commit install to install pre-commit into your git hooks. pre-commit will now run on every commit.

If you want to manually run all pre-commit hooks on a repository, run pre-commit run --all-files. To run individual hooks use pre-commit run <hook_id>.

The first time pre-commit runs on a file it will automatically download, install, and run the hook. Note that running a hook for the first time may be slow. For example: If the machine does not have a specific python package installed, pre-commit will download and install it.

About

YAML and CSV files used to import various object types into NetBox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages