This library is intended to be your friend and help you import all the device-types defined within the the [NetBox Device Type Library Repository](https://github.com/netbox-community/devicetype-library).
These instructions will get you a copy of the project on your machine to allow you to import the device types you would like without copy and pasting them into the NetBox UI.
### Prerequisites
This script is written in python so this must be installed.
This will pull the device-type library from Gitlab and install it into the `.repo` directory. if this directory is already there it will perform a git pull to update the reposity.
#### Arguments
This script currently accepts vendors so that only a few vendors are imported into your NetBox Environment.
This can be done the following.
```
python nb-dt-import.py --vendors apc
```
`--vendors` also accepts a list of vendors so that multiple vendors could be imported.