perf: add nec vnc component and endpoint migrations

This commit is contained in:
Eric
2024-11-11 15:59:28 +08:00
committed by 老广
parent 5724912480
commit b660bfb7ff
6 changed files with 36 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ class EndpointSerializer(BulkModelSerializer):
fields_mini = ['id', 'name']
fields_small = [
'host', 'https_port', 'http_port', 'ssh_port', 'rdp_port',
'mysql_port', 'mariadb_port', 'postgresql_port', 'redis_port',
'mysql_port', 'mariadb_port', 'postgresql_port', 'redis_port','vnc_port',
'oracle_port_range', 'oracle_port', 'sqlserver_port', 'is_active'
]
fields = fields_mini + fields_small + [