[PR #83] [MERGED] Feat: Create and update zones #82

Closed
opened 2026-02-27 23:18:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sophos/sophos-firewall-sdk/pull/83
Author: @mamullen13316
Created: 9/24/2024
Status: Merged
Merged: 9/24/2024
Merged by: @mamullen13316

Base: mainHead: zone


📝 Commits (2)

  • 56d89fa feat: create and update zone
  • b017dfa version: update to v0.1.54

📊 Changes

5 files changed (+435 additions, -2 deletions)

View changed files

📝 pyproject.toml (+1 -1)
📝 sophosfirewall_python/firewallapi.py (+70 -0)
📝 sophosfirewall_python/network.py (+198 -1)
sophosfirewall_python/templates/createzone.j2 (+82 -0)
sophosfirewall_python/templates/updatezone.j2 (+84 -0)

📄 Description

Added functionality for creating and updating Zones on the firewall:

  • Added create_zone() method
  • Added update_zone() method

🔄 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/sophos/sophos-firewall-sdk/pull/83 **Author:** [@mamullen13316](https://github.com/mamullen13316) **Created:** 9/24/2024 **Status:** ✅ Merged **Merged:** 9/24/2024 **Merged by:** [@mamullen13316](https://github.com/mamullen13316) **Base:** `main` ← **Head:** `zone` --- ### 📝 Commits (2) - [`56d89fa`](https://github.com/sophos/sophos-firewall-sdk/commit/56d89fadaf49100cddf874b701aa3b2773ab1c77) feat: create and update zone - [`b017dfa`](https://github.com/sophos/sophos-firewall-sdk/commit/b017dfa2fbb3fc876c9dfb1d1ce64f3bc663e858) version: update to v0.1.54 ### 📊 Changes **5 files changed** (+435 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `pyproject.toml` (+1 -1) 📝 `sophosfirewall_python/firewallapi.py` (+70 -0) 📝 `sophosfirewall_python/network.py` (+198 -1) ➕ `sophosfirewall_python/templates/createzone.j2` (+82 -0) ➕ `sophosfirewall_python/templates/updatezone.j2` (+84 -0) </details> ### 📄 Description Added functionality for creating and updating Zones on the firewall: - Added `create_zone()` method - Added `update_zone()` method --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 23:18:58 +03:00
Sign in to join this conversation.
No labels
pull-request
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/sophos-firewall-sdk#82
No description provided.