mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-11-01 14:23:47 +00:00
perf: add nec vnc component and endpoint migrations
This commit is contained in:
@@ -35,6 +35,9 @@ class NativeClient(TextChoices):
|
||||
# Razor
|
||||
mstsc = 'mstsc', _('Remote Desktop')
|
||||
rdp_guide = 'rdp_guide', _('RDP Guide')
|
||||
# NEC
|
||||
vnc_client = 'vnc_client', _('VNC Client')
|
||||
vnc_guide = 'vnc_guide', _('VNC Guide')
|
||||
|
||||
@classmethod
|
||||
def get_native_clients(cls):
|
||||
@@ -51,6 +54,7 @@ class NativeClient(TextChoices):
|
||||
Protocol.oracle: [cls.db_client, cls.db_guide],
|
||||
Protocol.postgresql: [cls.db_client, cls.db_guide],
|
||||
Protocol.sqlserver: [cls.db_client, cls.db_guide],
|
||||
Protocol.vnc: [cls.vnc_guide,]
|
||||
}
|
||||
return clients
|
||||
|
||||
@@ -201,6 +205,12 @@ class ConnectMethodUtil:
|
||||
'listen': [Protocol.http],
|
||||
'support': [Protocol.chatgpt],
|
||||
'match': 'm2m'
|
||||
},
|
||||
TerminalType.nec: {
|
||||
'web_methods': [],
|
||||
'listen': [Protocol.vnc],
|
||||
'support': [Protocol.vnc],
|
||||
'match': 'map'
|
||||
}
|
||||
}
|
||||
return protocols
|
||||
|
||||
Reference in New Issue
Block a user