Upload files to "/"
This commit is contained in:
commit
b9794cdf72
|
@ -0,0 +1,3 @@
|
||||||
|
*.egg-info/
|
||||||
|
.vscode/
|
||||||
|
*__pycache__/
|
|
@ -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
|
|
@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"python.autoComplete.extraPaths": [
|
||||||
|
"/opt/netbox/netbox/"
|
||||||
|
],
|
||||||
|
"python.analysis.extraPaths": [
|
||||||
|
"/opt/netbox/netbox/"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue