Skip to content

About

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

Resources

Stars

2 stars

Watchers

2 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

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

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages