-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from netboxlabs/develop
🚚 release
- Loading branch information
Showing
16 changed files
with
660 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: NetBox plugin manifest modified | ||
|
||
on: | ||
push: | ||
branches: [ develop ] | ||
paths: | ||
- netbox-plugin.yaml | ||
|
||
concurrency: | ||
group: ${{ github.workflow }} | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
manifest-modified: | ||
uses: netboxlabs/public-workflows/.github/workflows/reusable-plugin-manifest-modified.yml@release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,6 @@ | |
|
||
PLUGINS_CONFIG = { | ||
"netbox_diode_plugin": { | ||
"enable_ingestion_logs": True, | ||
"auto_provision_users": True, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version: 0.1 | ||
package_name: netboxlabs-diode-netbox-plugin | ||
compatibility: | ||
- release: 0.5.1 | ||
netbox_min: 4.1.0 | ||
netbox_max: 4.1.3 | ||
- release: 0.5.0 | ||
netbox_min: 4.1.0 | ||
netbox_max: 4.1.3 | ||
- release: 0.3.0 | ||
netbox_min: 4.0.8 | ||
netbox_max: 4.0.9 | ||
- release: 0.2.1 | ||
netbox_min: 3.7.2 | ||
netbox_max: 4.0.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{% extends 'generic/_base.html' %} | ||
{% load i18n %} | ||
|
||
{% block title %}{% trans "Setup" %}{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<div class="alert alert-warning mt-3" role="alert"> | ||
<h4 class="alert-heading">{% trans "Important" %}</h4> | ||
<p>{% trans "Diode is not currently configured and requires a set of users and API keys to be created before using Diode. If fields in this form are read-only, they have been pre-populated based on application settings that cannot be overwritten." %}</p> | ||
<p>{% trans "Click the \"Create\" button to create the required Diode users and API keys and proceed." %}</p> | ||
</div> | ||
|
||
<div class="tab-pane show active" id="setup-form" role="tabpanel" aria-labelledby="setup-tab"> | ||
<form action="" method="post" enctype="multipart/form-data" class="object-edit mt-5"> | ||
{% csrf_token %} | ||
|
||
<div class="row"> | ||
<h2 class="col-9 offset-3">{% trans "Diode users and API Keys" %}</h2> | ||
</div> | ||
|
||
<div id="form_fields" hx-disinherit="hx-select hx-swap"> | ||
{% block form %} | ||
{% include 'htmx/form.html' %} | ||
{% endblock form %} | ||
</div> | ||
|
||
<div class="text-end my-3"> | ||
{% block buttons %} | ||
<button type="submit" name="_update" class="btn btn-primary"> | ||
{% trans "Create" %} | ||
</button> | ||
{% endblock buttons %} | ||
</div> | ||
</form> | ||
</div> | ||
{% endblock content %} | ||
|
Oops, something went wrong.