ASGI via Daphne for websockets, WSGI via Gunicorn. Implemented xterm.js for shell proxy to target servers.
This commit is contained in:
1 parent
56caa194ec
commit
3e17d6412c
23 files changed
+836
-68
No files matched your search
@@ -35,6 +35,9 @@ class Server(models.Model):
|
||||
ordering = ["display_name", "hostname", "ipv4", "ipv6"]
|
||||
verbose_name = "Server"
|
||||
verbose_name_plural = "Servers"
|
||||
permissions = [
|
||||
("shell_server", "Can access server shell"),
|
||||
]
|
||||
|
||||
def __str__(self) -> str:
|
||||
primary = self.hostname or self.ipv4 or self.ipv6 or "unassigned"
|
||||
|
||||
Reference in new issue
Block a user