[PR #497] Support ipprefix via argument #520

Open
opened 2026-02-26 10:31:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nsupdate-info/nsupdate.info/pull/497
Author: @the-nic
Created: 7/18/2022
Status: 🔄 Open

Base: masterHead: support-ipv6prefix


📝 Commits (1)

  • b212395 Support ipprefix via argument

📊 Changes

4 files changed (+48 additions, -10 deletions)

View changed files

📝 CHANGES.rst (+2 -1)
📝 src/nsupdate/api/_tests/test_api.py (+24 -0)
📝 src/nsupdate/api/views.py (+21 -8)
📝 src/nsupdate/main/templates/main/includes/tabbed_router_configuration.html (+1 -1)

📄 Description

Allow an extra argument ipprefix for both ipv4 and ipv6 to pass a separate prefix, like often for IPv6 connections where one gets a main ipv6 for the router and a subnet for the internal network.

Passing the ipprefix will also override the default netmask from the config.

Fixes #353


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nsupdate-info/nsupdate.info/pull/497 **Author:** [@the-nic](https://github.com/the-nic) **Created:** 7/18/2022 **Status:** 🔄 Open **Base:** `master` ← **Head:** `support-ipv6prefix` --- ### 📝 Commits (1) - [`b212395`](https://github.com/nsupdate-info/nsupdate.info/commit/b212395ed10272a4cb69daf50df2eae10b9cdf97) Support ipprefix via argument ### 📊 Changes **4 files changed** (+48 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `CHANGES.rst` (+2 -1) 📝 `src/nsupdate/api/_tests/test_api.py` (+24 -0) 📝 `src/nsupdate/api/views.py` (+21 -8) 📝 `src/nsupdate/main/templates/main/includes/tabbed_router_configuration.html` (+1 -1) </details> ### 📄 Description Allow an extra argument `ipprefix` for both ipv4 and ipv6 to pass a separate prefix, like often for IPv6 connections where one gets a main ipv6 for the router and a subnet for the internal network. Passing the ipprefix will also override the default netmask from the config. Fixes #353 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsupdate.info-nsupdate-info#520
No description provided.