mirror of
https://github.com/proxmoxer/proxmoxer.git
synced 2026-04-25 07:06:00 +03:00
[PR #43] [MERGED] Generalize Services and Limit to Supported Configurations #148
Labels
No labels
backend:https
backend:local
backend:openssh
backend:ssh_paramiko
pull-request
status:ansible-issue
status:help-wanted
status:info-needed
status:proxmox-issue
status:review-needed
type:bug 🐞
type:dependency ⛓️
type:docs 📝
type:enhancement ⏫
type:maintenance 🛠️
type:meta
type:question ❓
type:request ✋
type:testing 🧪
version:1.x
version:latest
version:py2
version:py3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmoxer#148
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/proxmoxer/proxmoxer/pull/43
Author: @jhollowe
Created: 12/29/2020
Status: ✅ Merged
Merged: 10/7/2021
Merged by: @jhollowe
Base:
develop← Head:service-generalize📝 Commits (10+)
89f8c09Add basics need to work with PBSb3b2381Start generalizing service sanitization (HTTPS)9649bfeUntested work centralizing sanitation6ae28c6Add last touch-ups to SSH backends802262aMerge branch 'develop' into service-generalize67e68eaFix config_failure not workingd340199Remove f-strings to maintain python 2 support71e64a3Remove previous sanitization functionality233d580Start adding tests for new codeef214faAdd additional test📊 Changes
8 files changed (+83 additions, -39 deletions)
View changed files
📝
.gitignore(+2 -0)📝
proxmoxer/backends/base_ssh.py(+4 -12)📝
proxmoxer/backends/https.py(+15 -13)📝
proxmoxer/backends/openssh.py(+1 -2)📝
proxmoxer/backends/ssh_paramiko.py(+2 -3)📝
proxmoxer/core.py(+18 -4)📝
tests/https_tests.py(+25 -3)📝
tests/paramiko_tests.py(+16 -2)📄 Description
After testing support for PBS and PMG, I realized there needs to be some sanitation of what services, backends, and authentications that are supported.
This PR adds validation of services and what backends/auths are supported for each service. It also automatically changes the default port to be correct for the selected service.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.