Commit 72e13921 authored by Adrian Schollmeyer's avatar Adrian Schollmeyer
Browse files

Adjust scripts to comply to NetBox 3.0 internal API


Signed-off-by: Adrian Schollmeyer's avatarAdrian 'nex' Schollmeyer <adrian.schollmeyer@fem.tu-ilmenau.de>
parent 45fe5bb1
# Changelog
## Upcoming
### Bugfixes
* Adjust scripts to comply with NetBox 3.0 internal API
## Version 2.0.0
**This release removes functionality for some scripts might thus break other scripts using these scripts.**
......
......@@ -27,7 +27,6 @@ class AddArubaAp(Script):
ap_type = ObjectVar(
label = "AP-Typ",
model = DeviceType,
display_field = "model",
query_params = {
"tag": [ "aruba-ap" ]
}
......
......@@ -12,7 +12,6 @@ class AddSwitch(Script):
switch_type = ObjectVar(
label = "Type",
model = DeviceType,
display_field = "model",
query_params = {
"tag": [ "script-creatable-switch" ]
}
......@@ -27,7 +26,6 @@ class AddSwitch(Script):
rack = ObjectVar(
label = "Rack",
model = Rack,
display_field = "name",
query_params = {
"site_id": "$block"
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment