1
0
Fork 0

Upload files to "/"

This commit is contained in:
Justin Parsell 2024-02-15 17:47:01 +00:00
commit b9794cdf72
5 changed files with 61 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.egg-info/
.vscode/
*__pycache__/

20
README.md Normal file
View File

@ -0,0 +1,20 @@
# Introduction
This plugin builds out a integration with DNAC into NetBox, allowing DNAC to fill in information for NetBox so that a user won't manually have to add it in
# Getting Started
TODO: Publish and list steps to install
# Build and Test
To develop for this plugin, you need to have the following installed
1. DNAC Instance with data populated
2. Bare-metal NetBox installation working
From there, clone this repo and do the following steps
1. Create a v-env
1. Be sure to include the netbox v-env
2. Run 'python setup.py develop'
3. Include 'dnac_integration' in NetBox's plugin configuration
4. Migrate the NetBox database utilizing the built-in features
You should be good to begin developing from there

19
launch.json Normal file
View File

@ -0,0 +1,19 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "runserver",
"type": "python",
"request": "launch",
"program": "/opt/netbox/netbox/manage.py",
"console": "integratedTerminal",
"justMyCode": true,
"args": [
"runserver", "0.0.0.0:8000"
]
}
]
}

8
settings.json Normal file
View File

@ -0,0 +1,8 @@
{
"python.autoComplete.extraPaths": [
"/opt/netbox/netbox/"
],
"python.analysis.extraPaths": [
"/opt/netbox/netbox/"
]
}

11
setup.py Normal file
View File

@ -0,0 +1,11 @@
from setuptools import find_packages, setup
setup(
name='dnac_integration',
version='0.1',
description='Allows DNAC to import devices into Netbox',
install_requires=[],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
)