Add NetworkConfig app for RESTCONF and NETCONF device management#146
Open
bernarmn-mnb wants to merge 1 commit intoelastic:mainfrom
Open
Add NetworkConfig app for RESTCONF and NETCONF device management#146bernarmn-mnb wants to merge 1 commit intoelastic:mainfrom
bernarmn-mnb wants to merge 1 commit intoelastic:mainfrom
Conversation
Scaffolds a new Django app providing a UI tab for managing network devices via RESTful/RESTCONF APIs and NETCONF (ncclient), following the same patterns as the existing SNMP module. - Models: Device, Credential (Fernet-encrypted secrets), Profile - Full CRUD API (netconfig_crud.py) with pagination, search, and sort - TestDeviceConnection endpoint: live RESTCONF GET or NETCONF hello - Templates: Devices, Credentials, Profiles pages with slide-in modals - JS: table with status badges, test button, action menus - Sidebar navigation entry between SNMP and Utilities - Initial migration applied (0001_initial) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
❌ Author of the following commits did not sign a Contributor Agreement: Please, read and sign the above mentioned agreement if you want to contribute to this project |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NetworkConfigDjango app providing a sidebar tab for managing network devices via RESTCONF and NETCONF, following the same patterns as the existing SNMP moduleDevice,Credential(Fernet-encrypted secrets), andProfilemodels with full CRUDDetails
Device(vendor, hostname, REST/NETCONF ports, last status),Credential(Basic, Bearer Token, API Key — secrets encrypted at rest),Profile(JSON blob of YANG paths / REST endpoints)GetDeviceswith search/sort/filter, full CRUD for all three models,TestDeviceConnectionsupporting RESTCONF and NETCONF0001_initialincludedTest plan
python manage.py migrate— should applyNetworkConfig.0001_initialcleanly/NetworkConfig/Devices/— empty state shown, "Add Device" opens modalDependencies
To enable NETCONF testing, add to
requirements.txt:RESTCONF testing works out of the box via the existing
requestslibrary.🤖 Generated with Claude Code