diff --git a/CHANGELOG.md b/CHANGELOG.md index c7086d5..9b4dad0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# 0.4.0 + - Upgraded Bootstrap from version 4 to version 5 + - Converted containers and virtual-machines endpoints to instances endpoint + - Combined containers and virtual-machines pages to instances page + - Datatable errors now display on console.log rather than the default alert + - Handled 404 Error on new virtual machine without logs + # 0.3.0 - Improved Dockerfile for quicker builds - Added version specific flask and werkzeug to requirements due to build error in dependencies diff --git a/lxconsole/api/__init__.py b/lxconsole/api/__init__.py index 3ff4092..a32b3f5 100644 --- a/lxconsole/api/__init__.py +++ b/lxconsole/api/__init__.py @@ -5,8 +5,8 @@ from . import certificates from . import cluster_groups from . import cluster_members from . import images -from . import container -from . import containers +from . import instance +from . import instances from . import network from . import networks from . import network_acl @@ -18,8 +18,6 @@ from . import projects from . import simplestreams from . import storage_pools from . import storage_volumes -from . import virtual_machine -from . import virtual_machines from . import users from . import groups @@ -32,8 +30,8 @@ api = Blueprint('api', __name__, url_prefix='/api') # URLs are prefixed with /api... -api.add_url_rule('/container/', view_func=container.api_container_endpoint, methods=['GET', 'POST']) -api.add_url_rule('/containers/', view_func=containers.api_containers_endpoint, methods=['GET', 'POST']) +api.add_url_rule('/instance/', view_func=instance.api_instance_endpoint, methods=['GET', 'POST']) +api.add_url_rule('/instances/', view_func=instances.api_instances_endpoint, methods=['GET', 'POST']) api.add_url_rule('/servers/', view_func=servers.api_servers_endpoint, methods=['GET', 'POST']) api.add_url_rule('/server/', view_func=server.api_server_endpoint) api.add_url_rule('/certificates/', view_func=certificates.api_certificates_endpoint, methods=['GET', 'POST']) @@ -51,8 +49,6 @@ api.add_url_rule('/projects/', view_func=projects.api_projects_endpoin api.add_url_rule('/simplestreams/', view_func=simplestreams.api_simplestreams_endpoint, methods=['GET', 'POST']) api.add_url_rule('/storage-pools/', view_func=storage_pools.api_storage_pools_endpoint, methods=['GET', 'POST']) api.add_url_rule('/storage-volumes/', view_func=storage_volumes.api_storage_volumes_endpoint, methods=['GET', 'POST']) -api.add_url_rule('/virtual-machine/', view_func=virtual_machine.api_virtual_machine_endpoint, methods=['GET', 'POST']) -api.add_url_rule('/virtual-machines/', view_func=virtual_machines.api_virtual_machines_endpoint, methods=['GET', 'POST']) api.add_url_rule('/users/', view_func=users.api_users_endpoint, methods=['GET', 'POST']) api.add_url_rule('/groups/', view_func=groups.api_groups_endpoint, methods=['GET', 'POST']) diff --git a/lxconsole/api/container.py b/lxconsole/api/container.py deleted file mode 100644 index 60738f9..0000000 --- a/lxconsole/api/container.py +++ /dev/null @@ -1,1156 +0,0 @@ -from flask import jsonify, request -import json -import requests -import os -from lxconsole import db -from lxconsole.models import Server -from datetime import datetime -from flask_login import login_required -from lxconsole.api.access_controls import privilege_check - - -def get_client_crt(): - return 'certs/client.crt' - -def get_client_key(): - return 'certs/client.key' - -@login_required -def api_container_endpoint(endpoint): - - if not privilege_check(endpoint, request.args.get('id')): - return jsonify({'data': [], 'metadata':[], 'error': 'not authorized', 'error_code': 403}) - - - if endpoint == 'add_instance_disk_device': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - # Before applying PATCH, check to make sure device does not already exists so that we do not overwrite an existing device - if request.form.get('name') in instance['metadata']['devices'].keys(): - return jsonify({"type": "error","error": "Unable to add new device. Device name already exists","error_code": 409,"metadata": {"error": "Unable to add new device. Device name already exists"}}) - description = instance['metadata']['description'] - data = {} - device = {} - device.update({'type': 'disk'}) - device.update({'pool': request.form.get('pool')}) if request.form.get('pool') else False - device.update({'source': request.form.get('source')}) if request.form.get('source') else False - device.update({'path': request.form.get('path')}) if request.form.get('path') else False - device.update({'limits_read': request.form.get('limits_read')}) if request.form.get('limits_read') else False - device.update({'limits_write': request.form.get('limits_write')}) if request.form.get('limits_write') else False - device.update({'limits_max': request.form.get('limits_max')}) if request.form.get('limits_max') else False - device.update({'required': request.form.get('required')}) if request.form.get('required') else False - device.update({'read_only': request.form.get('read_only')}) if request.form.get('read_only') else False - device.update({'size': request.form.get('size')}) if request.form.get('size') else False - device.update({'size_state': request.form.get('size_state')}) if request.form.get('size_state') else False - device.update({'recursive': request.form.get('recursive')}) if request.form.get('recursive') else False - device.update({'propagation': request.form.get('propagation')}) if request.form.get('propagation') else False - device.update({'shift': request.form.get('shift')}) if request.form.get('shift') else False - device.update({'raw_mount_options': request.form.get('raw_mount_options')}) if request.form.get('raw_mount_options') else False - device.update({'ceph_user_name': request.form.get('ceph_user_name')}) if request.form.get('ceph_user_name') else False - device.update({'ceph_cluster_name': request.form.get('ceph_cluster_name')}) if request.form.get('ceph_cluster_name') else False - device.update({'boot_priority': request.form.get('boot_priority')}) if request.form.get('boot_priority') else False - - devices = {} - devices.update({request.form.get('name'): device}) - data.update({'description': description}) - data.update({'devices': devices}) - results = requests.patch(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'add_instance_gpu_device': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - # Before applying PATCH, check to make sure device does not already exists so that we do not overwrite an existing device - if request.form.get('name') in instance['metadata']['devices'].keys(): - return jsonify({"type": "error","error": "Unable to add new device. Device name already exists","error_code": 409,"metadata": {"error": "Unable to add new device. Device name already exists"}}) - description = instance['metadata']['description'] - data = {} - device = {} - device.update({'type': 'gpu'}) - device.update({'gputype': request.form.get('gputype')}) if request.form.get('gputype') else False - device.update({'vendorid': request.form.get('vendorid')}) if request.form.get('vendorid') else False - device.update({'productid': request.form.get('productid')}) if request.form.get('productid') else False - device.update({'id': request.form.get('id')}) if request.form.get('id') else False - device.update({'pci': request.form.get('pci')}) if request.form.get('pci') else False - device.update({'uid': request.form.get('uid')}) if request.form.get('uid') else False - device.update({'gid': request.form.get('gid')}) if request.form.get('gid') else False - device.update({'mode': request.form.get('mode')}) if request.form.get('mode') else False - device.update({'mig.ci': request.form.get('mig.ci')}) if request.form.get('mig.ci') else False - device.update({'mig.gi': request.form.get('mig.gi')}) if request.form.get('mig.gi') else False - devices = {} - devices.update({request.form.get('name'): device}) - data.update({'description': description}) - data.update({'devices': devices}) - results = requests.patch(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'add_instance_network_device': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - # Before applying PATCH, check to make sure device does not already exists so that we do not overwrite an existing device - if request.form.get('name') in instance['metadata']['devices'].keys(): - return jsonify({"type": "error","error": "Unable to add new device. Device name already exists","error_code": 409,"metadata": {"error": "Unable to add new device. Device name already exists"}}) - description = instance['metadata']['description'] - data = {} - device = {} - device.update({'type': 'nic'}) - device.update({'nictype': request.form.get('nictype')}) if request.form.get('nictype') else False - device.update({'parent': request.form.get('parent')}) if request.form.get('parent') else False - device.update({'network': request.form.get('network')}) if request.form.get('network') else False - device.update({'interface_name': request.form.get('interface_name')}) if request.form.get('interface_name') else False - device.update({'mtu': request.form.get('mtu')}) if request.form.get('mtu') else False - device.update({'mode': request.form.get('mode')}) if request.form.get('mode') else False - device.update({'hwaddr': request.form.get('hwaddr')}) if request.form.get('hwaddr') else False - device.update({'host_name': request.form.get('host_name')}) if request.form.get('host_name') else False - device.update({'limits_ingress': request.form.get('limits_ingress')}) if request.form.get('limits_ingress') else False - device.update({'limits_egress': request.form.get('limits_egress')}) if request.form.get('limits_egress') else False - device.update({'limits_max': request.form.get('limits_max')}) if request.form.get('limits_max') else False - device.update({'ipv4_address': request.form.get('ipv4_address')}) if request.form.get('ipv4_address') else False - device.update({'ipv4_gateway': request.form.get('ipv4_gateway')}) if request.form.get('ipv4_gateway') else False - device.update({'ipv4_host_table': request.form.get('ipv4_host_table')}) if request.form.get('ipv4_host_table') else False - device.update({'ipv4_host_address': request.form.get('ipv4_host_address')}) if request.form.get('ipv4_host_address') else False - device.update({'ipv4_routes': request.form.get('ipv4_routes')}) if request.form.get('ipv4_routes') else False - device.update({'ipv4_routes_external': request.form.get('ipv4_routes_external')}) if request.form.get('ipv4_routes_external') else False - device.update({'ipv6_address': request.form.get('ipv6_address')}) if request.form.get('ipv6_address') else False - device.update({'ipv6_gateway': request.form.get('ipv6_gateway')}) if request.form.get('ipv6_gateway') else False - device.update({'ipv6_host_table': request.form.get('ipv6_host_table')}) if request.form.get('ipv6_host_table') else False - device.update({'ipv6_host_address': request.form.get('ipv6_host_address')}) if request.form.get('ipv6_host_address') else False - device.update({'ipv6_routes': request.form.get('ipv6_routes')}) if request.form.get('ipv6_routes') else False - device.update({'ipv6_routes_external': request.form.get('ipv6_routes_external')}) if request.form.get('ipv6_routes_external') else False - device.update({'security_mac_filtering': request.form.get('security_mac_filtering')}) if request.form.get('security_mac_filtering') else False - device.update({'security_ipv4_filtering': request.form.get('security_ipv4_filtering')}) if request.form.get('security_ipv4_filtering') else False - device.update({'security_ipv6_filtering': request.form.get('security_ipv6_filtering')}) if request.form.get('security_ipv6_filtering') else False - device.update({'maas_subnet_ipv4': request.form.get('maas_subnet_ipv4')}) if request.form.get('maas_subnet_ipv4') else False - device.update({'maas_subnet_ipv6': request.form.get('maas_subnet_ipv6')}) if request.form.get('maas_subnet_ipv6') else False - device.update({'boot_priority': request.form.get('boot_priority')}) if request.form.get('boot_priority') else False - device.update({'vlan': request.form.get('vlan')}) if request.form.get('vlan') else False - device.update({'vlan_tagged': request.form.get('vlan_tagged')}) if request.form.get('vlan_tagged') else False - device.update({'security_port_isolation': request.form.get('security_port_isolation')}) if request.form.get('security_port_isolation') else False - device.update({'gvrp': request.form.get('gvrp')}) if request.form.get('gvrp') else False - device.update({'security_acls': request.form.get('security_acls')}) if request.form.get('security_acls') else False - device.update({'security_acls_default_ingress_action': request.form.get('security_acls_default_ingress_action')}) if request.form.get('security_acls_default_ingress_action') else False - device.update({'security_acls_default_egress_action': request.form.get('security_acls_default_egress_action')}) if request.form.get('security_acls_default_egress_action') else False - device.update({'security_acls_default_ingress_logged': request.form.get('security_acls_default_ingress_logged')}) if request.form.get('security_acls_default_ingress_logged') else False - device.update({'security_acls_default_egress_logged': request.form.get('security_acls_default_egress_logged')}) if request.form.get('security_acls_default_egress_logged') else False - devices = {} - devices.update({request.form.get('name'): device}) - data.update({'description': description}) - data.update({'devices': devices}) - results = requests.patch(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'add_instance_proxy_device': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - # Before applying PATCH, check to make sure device does not already exists so that we do not overwrite an existing device - if request.form.get('name') in instance['metadata']['devices'].keys(): - return jsonify({"type": "error","error": "Unable to add new device. Device name already exists","error_code": 409,"metadata": {"error": "Unable to add new device. Device name already exists"}}) - description = instance['metadata']['description'] - data = {} - device = {} - device.update({'type': 'proxy'}) - device.update({'listen': request.form.get('listen')}) if request.form.get('listen') else False - device.update({'connect': request.form.get('connect')}) if request.form.get('connect') else False - device.update({'bind': request.form.get('bind')}) if request.form.get('bind') else False - device.update({'uid': request.form.get('uid')}) if request.form.get('uid') else False - device.update({'gid': request.form.get('gid')}) if request.form.get('gid') else False - device.update({'mode': request.form.get('mode')}) if request.form.get('mode') else False - device.update({'nat': request.form.get('nat')}) if request.form.get('nat') else False - device.update({'proxy_protocol': request.form.get('proxy_protocol')}) if request.form.get('proxy_protocol') else False - device.update({'security_uid': request.form.get('security_uid')}) if request.form.get('security_uid') else False - device.update({'security_gid': request.form.get('security_gid')}) if request.form.get('security_gid') else False - devices = {} - devices.update({request.form.get('name'): device}) - data.update({'description': description}) - data.update({'devices': devices}) - results = requests.patch(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'add_instance_unix_device': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - # Before applying PATCH, check to make sure device does not already exists so that we do not overwrite an existing device - if request.form.get('name') in instance['metadata']['devices'].keys(): - return jsonify({"type": "error","error": "Unable to add new device. Device name already exists","error_code": 409,"metadata": {"error": "Unable to add new device. Device name already exists"}}) - description = instance['metadata']['description'] - data = {} - device = {} - device.update({'type': request.form.get('type')}) if request.form.get('type') else False - device.update({'source': request.form.get('source')}) if request.form.get('source') else False - device.update({'path': request.form.get('path')}) if request.form.get('path') else False - device.update({'major': request.form.get('major')}) if request.form.get('major') else False - device.update({'minor': request.form.get('minor')}) if request.form.get('minor') else False - device.update({'uid': request.form.get('uid')}) if request.form.get('uid') else False - device.update({'gid': request.form.get('gid')}) if request.form.get('gid') else False - device.update({'mode': request.form.get('mode')}) if request.form.get('mode') else False - device.update({'required': request.form.get('required')}) if request.form.get('required') else False - devices = {} - devices.update({request.form.get('name'): device}) - data.update({'description': description}) - data.update({'devices': devices}) - results = requests.patch(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'add_instance_usb_device': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - # Before applying PATCH, check to make sure device does not already exists so that we do not overwrite an existing device - if request.form.get('name') in instance['metadata']['devices'].keys(): - return jsonify({"type": "error","error": "Unable to add new device. Device name already exists","error_code": 409,"metadata": {"error": "Unable to add new device. Device name already exists"}}) - description = instance['metadata']['description'] - data = {} - device = {} - device.update({'type': 'usb'}) - device.update({'vendorid': request.form.get('vendorid')}) if request.form.get('vendorid') else False - device.update({'productid': request.form.get('productid')}) if request.form.get('productid') else False - device.update({'uid': request.form.get('uid')}) if request.form.get('uid') else False - device.update({'gid': request.form.get('gid')}) if request.form.get('gid') else False - device.update({'mode': request.form.get('mode')}) if request.form.get('mode') else False - devices = {} - devices.update({request.form.get('name'): device}) - data.update({'description': description}) - data.update({'devices': devices}) - results = requests.patch(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'attach_instance_profile': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - description = instance['metadata']['description'] - data = {} - profiles = instance['metadata']['profiles'] - if request.form.get('name') not in profiles: - profiles.append(request.form.get('name')) - data.update({'description': description}) - data.update({'profiles': profiles}) - results = requests.patch(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'change_instance_state': - id = request.args.get('id') - project = request.args.get('project') - instance = request.form.get('instance') - action = request.form.get('action') - force = request.form.get('force') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '/state?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - if force == 'true': - data = { 'action': action, 'force': True } - else: - data = { 'action': action, 'force': False } - results = requests.put(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'copy_instance': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - location = request.args.get('location') - #Target location is needed for clustered servers and not allowed on non-clustered servers - if location == 'none': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers?project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers?target='+location+'&project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - data = {} - data.update({'name': request.form.get('name')}) - source = {} - source.update({'type': 'copy'}) - source.update({'source': instance }) - source.update({'project': project}) - data.update({'source': source}) - results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'create_instance_backup': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '/backups?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - - # Determine file name - name = request.form.get('name') - if not name: - now = datetime.now() - dt_string = now.strftime("%Y%m%d%H%M%S") - name = instance + '-' + dt_string - - # Determine file extenstion - compression_algorithm = request.form.get('compression_algorithm') - if compression_algorithm == 'bzip2': - extenstion = '.tar.bz2' - elif compression_algorithm == 'gzip': - extenstion = '.tar.gz' - elif compression_algorithm == 'lzma': - extenstion = '.tar.lzma' - elif compression_algorithm == 'xz': - extenstion = '.tar.xz' - elif compression_algorithm == 'zstd': - extenstion = '.tar.zst' - else: - extenstion = '.tar' - - # Append file extension to name - name = name + extenstion - - data = {} - data.update({'name': name}) - data.update({'instance_only': True }) if request.form.get('instance_only') == 'true' else data.update({'instance_only': False }) - data.update({'optimized_storage': True }) if request.form.get('optimized_storage') == 'true' else data.update({'optimized_storage': False }) - data.update({'compression_algorithm': request.form.get('compression_algorithm')}) if request.form.get('compression_algorithm') else False - results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'create_instance_snapshot': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '/snapshots?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - data = {} - data.update({'name': request.form.get('name')}) - if request.form.get('stateful') == 'true': - data.update({'stateful': True}) - else: - data.update({'stateful': False}) - results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'create_instance_snapshot_instance': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - location = request.args.get('location') - #Target location is needed for clustered servers and not allowed on non-clustered servers - if location == 'none': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers?project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers?target='+location+'&project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - data = {} - data.update({'name': request.form.get('name')}) - source = {} - source.update({'type': 'copy'}) - source.update({'instance_only': True}) - source.update({'source': instance + '/' + request.form.get('snapshot')}) - source.update({'project': project}) - data.update({'source': source}) - results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'delete_instance_backup': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - backup = request.args.get('backup') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '/backups/' + backup + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - if os.path.isfile('backups/' + str(server.id) + '/' + project + '/' + instance + '/' + backup): - os.unlink('backups/' + str(server.id) + '/' + project + '/' + instance + '/' + backup) - results = requests.delete(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - return jsonify(results.json()) - - - if endpoint == 'delete_instance_device': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - device = request.args.get('device') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - data = instance['metadata'] - data['devices'].pop(device) - results = requests.put(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'delete_instance': - id = request.args.get('id') - project = request.args.get('project') - instance = request.form.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.delete(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - return jsonify(results.json()) - - - if endpoint == 'delete_instance_log': - id = request.args.get('id') - project = request.args.get('project') - log = request.args.get('log') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + log + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.delete(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - return jsonify(results.json()) - - - if endpoint == 'delete_instance_snapshot': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - snapshot = request.args.get('snapshot') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '/snapshots/' + snapshot + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.delete(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - return jsonify(results.json()) - - - if endpoint == 'detach_instance_profile': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - profile = request.args.get('profile') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - instance = instance['metadata'] - description = instance['description'] - instance_profiles = instance['profiles'] - instance_profiles.remove(profile) - data = {} - data.update({ 'description': description }) - data.update({ 'profiles': instance_profiles}) - results = requests.patch(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'display_instance_log': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - log = request.args.get('log') - url = 'https://' + server.addr + ':' + str(server.port) + log + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - return results.text - - - if endpoint == 'establish_instance_console_websocket': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '/console?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - data = {} - data.update({'type': 'console'}) - data.update({'width': int(request.form.get('width'))}) - data.update({'height': int(request.form.get('height'))}) - results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - results = json.dumps(results.json()) - results = json.loads(results) - - operation = results['operation'] if results['operation'] else '' - secret = str(results['metadata']['metadata']['fds']['0']) if str(results['metadata']['metadata']['fds']['0']) else '' - control = str(results['metadata']['metadata']['fds']['control']) if str(results['metadata']['metadata']['fds']['control']) else '' - - return jsonify({'operation': operation, 'secret': secret, 'control': control}) - - - if endpoint == 'establish_instance_exec_websocket': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '/exec?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - data = {} - if request.form.get('shell') == "sh": - data.update({'command': ["/bin/sh"]}) - else: - data.update({'command': ["/bin/bash"]}) - data.update({'wait-for-websocket':True}) - data.update({'interactive': True}) - data.update({'width': int(request.form.get('width'))}) - data.update({'height': int(request.form.get('height'))}) - environment = {} - environment.update({'HOME': '/root'}) - environment.update({'TERM': 'xterm'}) - environment.update({'USER': 'root'}) - data.update({'environment': environment}) - results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - results = json.dumps(results.json()) - results = json.loads(results) - - operation = results['operation'] if results['operation'] else '' - secret = str(results['metadata']['metadata']['fds']['0']) if str(results['metadata']['metadata']['fds']['0']) else '' - control = str(results['metadata']['metadata']['fds']['control']) if str(results['metadata']['metadata']['fds']['control']) else '' - - return jsonify({'operation': operation, 'secret': secret, 'control': control}) - - - if endpoint == 'export_instance_backup': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - instance = request.args.get('instance') - backup = request.args.get('backup') - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '/backups/' + backup + '/export?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - os.system('mkdir -p backups/' + str(server.id) + '/' + project + '/' + instance) - filename = 'backups/' + str(server.id) + '/' + project + '/' + instance + '/' + backup - with requests.get(url, stream=True, verify=server.ssl_verify, cert=(client_cert, client_key)) as r: - r.raise_for_status() - with open(filename, 'wb') as f: - for chunk in r.iter_content(chunk_size=8192): - f.write(chunk) - return jsonify({"status": "Ok", "status_code": 200, "metadata": "{}"}) - - - if endpoint == 'get_instance_cpu_usage': - - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - name = request.args.get('name') - client_cert = get_client_crt() - client_key = get_client_key() - - #Get instance state to retrieve container cpu usage - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '/state?project=' + project - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - results = json.dumps(results.json()) - results = json.loads(results) - #Get cpu usage - if 'cpu' in results['metadata']: - if 'usage' in results['metadata']['cpu']: - #Usage is reported in nanoseconds - instance_cpu_time = int(results['metadata']['cpu']['usage']) - else: - instance_cpu_time = 0 - else: - instance_cpu_time = 0 - - #Get /proc/stat information - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '/files?project=' + project + '&path=/proc/stat' - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - if 'cpu' in results.text: - results = results.text.split('\n') - for result in results: - stats = result.split() - if stats[0] == 'cpu': - #0 = 'cpu' - #1 = - #2 = - #3 = - #4 = - user_time = int(stats[1]) - system_time= int(stats[3]) - idle_time = int(stats[4]) - host_cpu_time = user_time + system_time + idle_time - - return jsonify({'instance_cpu_time':instance_cpu_time,'host_cpu_time': host_cpu_time}) - - return jsonify({'instance_cpu_time':0,'host_cpu_time': 0}) - - - if endpoint == 'get_instance': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - name = request.args.get('name') - recursion = request.args.get('recursion') - if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?recursion=1&project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - return jsonify(results.json()) - - - if endpoint == 'get_instance_disk_devices': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - name = request.args.get('name') - recursion = request.args.get('recursion') - if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?recursion=1&project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - expanded_devices = instance['metadata']['expanded_devices'] - devices = [] - instance_state_url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '/state?project=' + project - instance_state = requests.get(instance_state_url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance_state = json.dumps(instance_state.json()) - instance_state = json.loads(instance_state) - if expanded_devices: - for expanded_device in expanded_devices: - if expanded_devices[expanded_device]['type'] == 'disk': - device = {} - device.update({ 'device': expanded_device }) - device.update({ 'type': expanded_devices[expanded_device]['type'] }) - if 'path' in expanded_devices[expanded_device]: - device.update({ 'path': expanded_devices[expanded_device]['path'] }) - if 'pool' in expanded_devices[expanded_device]: - device.update({ 'pool': expanded_devices[expanded_device]['pool'] }) - if expanded_device in instance_state['metadata']['disk']: - if 'usage' in instance_state['metadata']['disk'][expanded_device]: - device.update({ 'usage': instance_state['metadata']['disk'][expanded_device]['usage'] }) - - devices.append(device) - return jsonify({ 'data': devices }) - - - if endpoint == 'get_instance_gpu_devices': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - name = request.args.get('name') - recursion = request.args.get('recursion') - if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?recursion=1&project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - expanded_devices = instance['metadata']['expanded_devices'] - devices = [] - if expanded_devices: - for expanded_device in expanded_devices: - if expanded_devices[expanded_device]['type'] == 'gpu': - device = {} - device.update({ 'device': expanded_device }) - device.update({ 'type': expanded_devices[expanded_device]['type'] }) - if 'gputype' in expanded_devices[expanded_device]: - device.update({ 'gputype': expanded_devices[expanded_device]['gputype'] }) - if 'vendorid' in expanded_devices[expanded_device]: - device.update({ 'vendorid': expanded_devices[expanded_device]['vendorid'] }) - if 'productid' in expanded_devices[expanded_device]: - device.update({ 'productid': expanded_devices[expanded_device]['productid'] }) - if 'id' in expanded_devices[expanded_device]: - device.update({ 'id': expanded_devices[expanded_device]['id'] }) - if 'pci' in expanded_devices[expanded_device]: - device.update({ 'pci': expanded_devices[expanded_device]['pci'] }) - if 'uid' in expanded_devices[expanded_device]: - device.update({ 'uid': expanded_devices[expanded_device]['uid'] }) - if 'gid' in expanded_devices[expanded_device]: - device.update({ 'gid': expanded_devices[expanded_device]['gid'] }) - if 'mode' in expanded_devices[expanded_device]: - device.update({ 'mode': expanded_devices[expanded_device]['mode'] }) - if 'mig.ci' in expanded_devices[expanded_device]: - device.update({ 'mig.ci': expanded_devices[expanded_device]['mig.ci'] }) - if 'mig.gi' in expanded_devices[expanded_device]: - device.update({ 'mig.gi': expanded_devices[expanded_device]['mig.gi'] }) - devices.append(device) - return jsonify({ 'data': devices }) - - - if endpoint == 'get_instance_interfaces': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - name = request.args.get('name') - recursion = request.args.get('recursion') - if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '/state?recursion=1&project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '/state?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - networks = instance['metadata']['network'] - interfaces = [] - if networks: - for network in networks: - if network: - interface = {} - interface.update({ 'name': network }) - interface.update({ 'hwaddr': networks[network]['hwaddr'] }) - interface.update({ 'state': networks[network]['state'] }) - addresses = networks[network]['addresses'] - interface.update({ 'ipv4_addresses': [] }) - interface.update({ 'ipv6_addresses': [] }) - for address in addresses: - #if address['family'] == 'inet' and address['scope'] == 'global': - if address['family'] == 'inet': - interface['ipv4_addresses'] += [ address['address'] ] - if address['family'] == 'inet6': - interface['ipv6_addresses'] += [ address['address'] ] - interfaces.append(interface) - return jsonify({ 'data': interfaces }) - - - if endpoint == 'get_instance_network_devices': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - name = request.args.get('name') - recursion = request.args.get('recursion') - if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?recursion=1&project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - expanded_devices = instance['metadata']['expanded_devices'] - devices = [] - if expanded_devices: - for expanded_device in expanded_devices: - if expanded_devices[expanded_device]['type'] == 'nic': - device = {} - device.update({ 'device': expanded_device }) - device.update({ 'type': expanded_devices[expanded_device]['type'] }) - if 'name' in expanded_devices[expanded_device]: - device.update({ 'name': expanded_devices[expanded_device]['name'] }) - if 'network' in expanded_devices[expanded_device]: - device.update({ 'network': expanded_devices[expanded_device]['network'] }) - if 'nictype' in expanded_devices[expanded_device]: - device.update({ 'nictype': expanded_devices[expanded_device]['nictype'] }) - if 'parent' in expanded_devices[expanded_device]: - device.update({ 'parent': expanded_devices[expanded_device]['parent'] }) - devices.append(device) - return jsonify({ 'data': devices }) - - - if endpoint == 'get_instance_proxy_devices': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - name = request.args.get('name') - recursion = request.args.get('recursion') - if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?recursion=1&project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - expanded_devices = instance['metadata']['expanded_devices'] - devices = [] - if expanded_devices: - for expanded_device in expanded_devices: - if expanded_devices[expanded_device]['type'] == 'proxy': - device = {} - device.update({ 'device': expanded_device }) - device.update({ 'type': expanded_devices[expanded_device]['type'] }) - if 'connect' in expanded_devices[expanded_device]: - device.update({ 'connect': expanded_devices[expanded_device]['connect'] }) - if 'listen' in expanded_devices[expanded_device]: - device.update({ 'listen': expanded_devices[expanded_device]['listen'] }) - devices.append(device) - return jsonify({ 'data': devices }) - - - if endpoint == 'get_instance_state': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - name = request.args.get('name') - recursion = request.args.get('recursion') - if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '/state?recursion=1&project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '/state?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - return jsonify(results.json()) - - - if endpoint == 'get_instance_unix_devices': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - name = request.args.get('name') - recursion = request.args.get('recursion') - if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?recursion=1&project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - expanded_devices = instance['metadata']['expanded_devices'] - devices = [] - if expanded_devices: - for expanded_device in expanded_devices: - if expanded_devices[expanded_device]['type'] == 'unix-block' or expanded_devices[expanded_device]['type'] == 'unix-char': - device = {} - device.update({ 'device': expanded_device }) - device.update({ 'type': expanded_devices[expanded_device]['type'] }) - if 'source' in expanded_devices[expanded_device]: - device.update({ 'source': expanded_devices[expanded_device]['source'] }) - if 'path' in expanded_devices[expanded_device]: - device.update({ 'path': expanded_devices[expanded_device]['path'] }) - if 'major' in expanded_devices[expanded_device]: - device.update({ 'major': expanded_devices[expanded_device]['major'] }) - if 'minor' in expanded_devices[expanded_device]: - device.update({ 'minor': expanded_devices[expanded_device]['minor'] }) - if 'uid' in expanded_devices[expanded_device]: - device.update({ 'uid': expanded_devices[expanded_device]['uid'] }) - if 'gid' in expanded_devices[expanded_device]: - device.update({ 'gid': expanded_devices[expanded_device]['gid'] }) - if 'mode' in expanded_devices[expanded_device]: - device.update({ 'mode': expanded_devices[expanded_device]['mode'] }) - if 'required' in expanded_devices[expanded_device]: - device.update({ 'required': expanded_devices[expanded_device]['required'] }) - devices.append(device) - return jsonify({ 'data': devices }) - - - if endpoint == 'get_instance_usb_devices': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - name = request.args.get('name') - recursion = request.args.get('recursion') - if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?recursion=1&project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - expanded_devices = instance['metadata']['expanded_devices'] - devices = [] - if expanded_devices: - for expanded_device in expanded_devices: - if expanded_devices[expanded_device]['type'] == 'usb': - device = {} - device.update({ 'device': expanded_device }) - device.update({ 'type': expanded_devices[expanded_device]['type'] }) - if 'vendorid' in expanded_devices[expanded_device]: - device.update({ 'vendorid': expanded_devices[expanded_device]['vendorid'] }) - if 'productid' in expanded_devices[expanded_device]: - device.update({ 'productid': expanded_devices[expanded_device]['productid'] }) - if 'uid' in expanded_devices[expanded_device]: - device.update({ 'uid': expanded_devices[expanded_device]['uid'] }) - if 'gid' in expanded_devices[expanded_device]: - device.update({ 'gid': expanded_devices[expanded_device]['gid'] }) - if 'mode' in expanded_devices[expanded_device]: - device.update({ 'mode': expanded_devices[expanded_device]['mode'] }) - if 'required' in expanded_devices[expanded_device]: - device.update({ 'required': expanded_devices[expanded_device]['required'] }) - devices.append(device) - return jsonify({ 'data': devices }) - - - if endpoint == 'get_instance_websocket_host': - id = request.args.get('id') - server = Server.query.filter_by(id=id).first() - return jsonify({ 'addr': server.addr, 'port': server.port, 'proxy': server.proxy }) - - - if endpoint == 'list_instance_backups': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - name = request.args.get('name') - recursion = request.args.get('recursion') - if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '/backups?recursion=1&project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '/backups?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - backups = json.dumps(results.json()) - backups = json.loads(backups) - devices = [] - if backups: - for backup in backups['metadata']: - # Check if backup file exists - if os.path.isfile('backups/' + str(server.id) + '/' + project + '/' + name + '/' + backup['name']): - backup.update({'backup_file_exists': True}) - backup.update({'backup_file_size': os.path.getsize('backups/' + str(server.id) + '/' + project + '/' + name + '/' + backup['name'])}) - else: - backup.update({'backup_file_exists': False}) - - return jsonify(backups) - - - if endpoint == 'list_instance_logs': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - name = request.args.get('name') - recursion = request.args.get('recursion') - if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '/logs?recursion=1&project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '/logs?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - return jsonify(results.json()) - - - if endpoint == 'list_instance_snapshots': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - name = request.args.get('name') - recursion = request.args.get('recursion') - if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '/snapshots?recursion=1&project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '/snapshots?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - return jsonify(results.json()) - - - if endpoint == 'migrate_instance': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - location = request.args.get('location') - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?target='+location+'&project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - data = {} - data.update({'name': instance }) - data.update({'migration': True}) - data.update({'live': False}) - results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'publish_instance': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/images?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - data = {} - properties = {} - properties.update({ 'description':request.form.get('description') }) - properties.update({ 'os': request.form.get('os') }) - properties.update({ 'release': request.form.get('release') }) - data.update({ 'properties': properties }) - source = {} - source.update({ 'type': 'instance' }) - source.update({ 'name': instance }) - data.update({ 'source': source }) - if request.form.get('public') == 'true': - data.update({'public': True}) - else: - data.update({'public': False}) - results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'publish_instance_snapshot': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - snapshot = request.args.get('snapshot') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/images?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - data = {} - properties = {} - properties.update({ 'description':request.form.get('description') }) - properties.update({ 'os': request.form.get('os') }) - properties.update({ 'release': request.form.get('release') }) - data.update({ 'properties': properties }) - source = {} - source.update({ 'type': 'snapshot' }) - source.update({ 'name': instance + '/' + snapshot }) - data.update({ 'source': source }) - if request.form.get('public') == 'true': - data.update({'public': True}) - else: - data.update({'public': False}) - results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'rename_instance': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - data = {} - data.update({'name': request.form.get('name')}) - results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'restore_instance_snapshot': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - - data = {} - data.update({'restore': request.form.get('name')}) - results = requests.put(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - - return jsonify(results.json()) - - - if endpoint == 'update_instance': - id = request.args.get('id') - project = request.args.get('project') - instance = request.args.get('instance') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + instance + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - - # If the update was from JSON tab, update it with a PUT request - if request.form.get('json'): - data = request.form.get('json') - results = requests.put(url, verify=server.ssl_verify, cert=(client_cert, client_key), data=data) - return jsonify(results.json()) - - # Get the current config - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instance = json.dumps(results.json()) - instance = json.loads(instance) - existing_config = instance['metadata']['config'] - - # Create a new dict to hold the differences between existing config and form config - updated_config = {} - # Loop through and compare differences between existing config and form config - for key, val in request.form.items(): - # If key is description, continue as it is not part of config - if key == 'description': - continue - # If the key does not exist in existing config, create and set it to empty string so we can compare it to form config - if not key in existing_config: - existing_config.update( { key: '' } ) - # If the post key is different than existing key capture this difference in new dict - if request.form.get(key) != existing_config[key]: - updated_config.update({key: request.form.get(key)}) - - # Send a PATCH request to update only the differences in config - data = {} - data.update({'description': request.form.get('description')}) - data.update({'config' : updated_config }) - results = requests.patch(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) diff --git a/lxconsole/api/virtual_machine.py b/lxconsole/api/instance.py similarity index 88% rename from lxconsole/api/virtual_machine.py rename to lxconsole/api/instance.py index b795a75..e43ee54 100644 --- a/lxconsole/api/virtual_machine.py +++ b/lxconsole/api/instance.py @@ -17,7 +17,7 @@ def get_client_key(): return 'certs/client.key' @login_required -def api_virtual_machine_endpoint(endpoint): +def api_instance_endpoint(endpoint): if not privilege_check(endpoint, request.args.get('id')): return jsonify({'data': [], 'metadata':[], 'error': 'not authorized', 'error_code': 403}) @@ -28,7 +28,7 @@ def api_virtual_machine_endpoint(endpoint): project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -72,7 +72,7 @@ def api_virtual_machine_endpoint(endpoint): project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -108,7 +108,7 @@ def api_virtual_machine_endpoint(endpoint): project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -172,7 +172,7 @@ def api_virtual_machine_endpoint(endpoint): project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -208,7 +208,7 @@ def api_virtual_machine_endpoint(endpoint): project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -235,14 +235,14 @@ def api_virtual_machine_endpoint(endpoint): data.update({'devices': devices}) results = requests.patch(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) return jsonify(results.json()) - + if endpoint == 'add_instance_usb_device': id = request.args.get('id') project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -267,12 +267,13 @@ def api_virtual_machine_endpoint(endpoint): results = requests.patch(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) return jsonify(results.json()) + if endpoint == 'attach_instance_profile': id = request.args.get('id') project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -296,7 +297,7 @@ def api_virtual_machine_endpoint(endpoint): action = request.form.get('action') force = request.form.get('force') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '/state?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '/state?project=' + project client_cert = get_client_crt() client_key = get_client_key() if force == 'true': @@ -315,9 +316,9 @@ def api_virtual_machine_endpoint(endpoint): location = request.args.get('location') #Target location is needed for clustered servers and not allowed on non-clustered servers if location == 'none': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances?project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines?target='+location+'&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances?target='+location+'&project=' + project client_cert = get_client_crt() client_key = get_client_key() data = {} @@ -336,7 +337,7 @@ def api_virtual_machine_endpoint(endpoint): project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '/backups?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '/backups?project=' + project client_cert = get_client_crt() client_key = get_client_key() @@ -372,14 +373,14 @@ def api_virtual_machine_endpoint(endpoint): data.update({'compression_algorithm': request.form.get('compression_algorithm')}) if request.form.get('compression_algorithm') else False results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) return jsonify(results.json()) - + if endpoint == 'create_instance_snapshot': id = request.args.get('id') project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '/snapshots?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '/snapshots?project=' + project client_cert = get_client_crt() client_key = get_client_key() data = {} @@ -400,9 +401,9 @@ def api_virtual_machine_endpoint(endpoint): location = request.args.get('location') #Target location is needed for clustered servers and not allowed on non-clustered servers if location == 'none': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances?project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines?target='+location+'&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances?target='+location+'&project=' + project client_cert = get_client_crt() client_key = get_client_key() data = {} @@ -423,7 +424,7 @@ def api_virtual_machine_endpoint(endpoint): instance = request.args.get('instance') backup = request.args.get('backup') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '/backups/' + backup + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '/backups/' + backup + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() if os.path.isfile('backups/' + str(server.id) + '/' + project + '/' + instance + '/' + backup): @@ -438,7 +439,7 @@ def api_virtual_machine_endpoint(endpoint): instance = request.args.get('instance') device = request.args.get('device') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -455,7 +456,7 @@ def api_virtual_machine_endpoint(endpoint): project = request.args.get('project') instance = request.form.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.delete(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -480,7 +481,7 @@ def api_virtual_machine_endpoint(endpoint): instance = request.args.get('instance') snapshot = request.args.get('snapshot') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '/snapshots/' + snapshot + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '/snapshots/' + snapshot + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.delete(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -493,7 +494,7 @@ def api_virtual_machine_endpoint(endpoint): instance = request.args.get('instance') profile = request.args.get('profile') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -520,14 +521,14 @@ def api_virtual_machine_endpoint(endpoint): client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) return results.text - + if endpoint == 'establish_instance_console_websocket': id = request.args.get('id') project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '/console?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '/console?project=' + project client_cert = get_client_crt() client_key = get_client_key() data = {} @@ -550,7 +551,7 @@ def api_virtual_machine_endpoint(endpoint): project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '/exec?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '/exec?project=' + project client_cert = get_client_crt() client_key = get_client_key() data = {} @@ -576,7 +577,7 @@ def api_virtual_machine_endpoint(endpoint): control = str(results['metadata']['metadata']['fds']['control']) if str(results['metadata']['metadata']['fds']['control']) else '' return jsonify({'operation': operation, 'secret': secret, 'control': control}) - + if endpoint == 'export_instance_backup': id = request.args.get('id') @@ -584,7 +585,7 @@ def api_virtual_machine_endpoint(endpoint): server = Server.query.filter_by(id=id).first() instance = request.args.get('instance') backup = request.args.get('backup') - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '/backups/' + backup + '/export?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '/backups/' + backup + '/export?project=' + project client_cert = get_client_crt() client_key = get_client_key() os.system('mkdir -p backups/' + str(server.id) + '/' + project + '/' + instance) @@ -604,15 +605,15 @@ def api_virtual_machine_endpoint(endpoint): name = request.args.get('name') recursion = request.args.get('recursion') if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?recursion=1&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?recursion=1&project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) return jsonify(results.json()) - - + + # Virtual Machine only if endpoint == 'get_instance_cpu_percentage': id = request.args.get('id') project = request.args.get('project') @@ -629,7 +630,7 @@ def api_virtual_machine_endpoint(endpoint): # Unable to read /proc/stat directly on virtual machines use lxd files api...getting an EOF error # So we will copy /proc/stat to /tmp/stat and then read that file as a work around data = {} - data.update({'command': ['cp', '/proc/stat', '/tmp/stat']}) + data.update({'command': ['cp', '/proc/stat', '/tmp/stat1']}) data.update({'wait-for-websocket': False}) data.update({'interactive': False}) data.update({'width': 80 }) @@ -640,14 +641,14 @@ def api_virtual_machine_endpoint(endpoint): data.update({'record-output': False }) data.update({'environment': {} }) - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/exec?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/exec?project=' + project results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) # Sleep to allow time for copy to complete time.sleep(.5) #Get first /proc/stat information but from /tmp/stat - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/files?project=' + project + '&path=/tmp/stat' + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/files?project=' + project + '&path=/tmp/stat1' results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) if 'cpu' in results.text: results = results.text.split('\n') @@ -665,7 +666,7 @@ def api_virtual_machine_endpoint(endpoint): # Copy /proc/stat to /tmp/stat and then read that file as a work around data = {} - data.update({'command': ['cp', '/proc/stat', '/tmp/stat']}) + data.update({'command': ['cp', '/proc/stat', '/tmp/stat2']}) data.update({'wait-for-websocket': False}) data.update({'interactive': False}) data.update({'width': 80 }) @@ -676,14 +677,14 @@ def api_virtual_machine_endpoint(endpoint): data.update({'record-output': False }) data.update({'environment': {} }) - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/exec?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/exec?project=' + project results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) # Sleep to allow time for copy to complete time.sleep(.5) #Get second /proc/stat information - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/files?project=' + project + '&path=/tmp/stat' + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/files?project=' + project + '&path=/tmp/stat2' results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) if 'cpu' in results.text: results = results.text.split('\n') @@ -703,6 +704,53 @@ def api_virtual_machine_endpoint(endpoint): return jsonify({'percentage': 0, 'cpu1': first_cpu_time, 'cpu2': second_cpu_time, 'idle1': first_idle_time, 'idle2': second_idle_time}) percentage = 100 * (1 - idle_time / total_time) return jsonify({'percentage': percentage, 'cpu1': first_cpu_time, 'cpu2': second_cpu_time, 'idle1': first_idle_time, 'idle2': second_idle_time}) + + + if endpoint == 'get_instance_cpu_usage': + + id = request.args.get('id') + project = request.args.get('project') + server = Server.query.filter_by(id=id).first() + name = request.args.get('name') + client_cert = get_client_crt() + client_key = get_client_key() + + #Get instance state to retrieve instance cpu usage + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/state?project=' + project + results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) + results = json.dumps(results.json()) + results = json.loads(results) + #Get cpu usage + if 'cpu' in results['metadata']: + if 'usage' in results['metadata']['cpu']: + #Usage is reported in nanoseconds + instance_cpu_time = int(results['metadata']['cpu']['usage']) + else: + instance_cpu_time = 0 + else: + instance_cpu_time = 0 + + #Get /proc/stat information + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/files?project=' + project + '&path=/proc/stat' + results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) + if 'cpu' in results.text: + results = results.text.split('\n') + for result in results: + stats = result.split() + if stats[0] == 'cpu': + #0 = 'cpu' + #1 = + #2 = + #3 = + #4 = + user_time = int(stats[1]) + system_time= int(stats[3]) + idle_time = int(stats[4]) + host_cpu_time = user_time + system_time + idle_time + + return jsonify({'instance_cpu_time':instance_cpu_time,'host_cpu_time': host_cpu_time}) + + return jsonify({'instance_cpu_time':0,'host_cpu_time': 0}) if endpoint == 'get_instance_disk_devices': @@ -712,9 +760,9 @@ def api_virtual_machine_endpoint(endpoint): name = request.args.get('name') recursion = request.args.get('recursion') if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?recursion=1&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?recursion=1&project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -722,7 +770,7 @@ def api_virtual_machine_endpoint(endpoint): instance = json.loads(instance) expanded_devices = instance['metadata']['expanded_devices'] devices = [] - instance_state_url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/state?project=' + project + instance_state_url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/state?project=' + project instance_state = requests.get(instance_state_url, verify=server.ssl_verify, cert=(client_cert, client_key)) instance_state = json.dumps(instance_state.json()) instance_state = json.loads(instance_state) @@ -751,9 +799,9 @@ def api_virtual_machine_endpoint(endpoint): name = request.args.get('name') recursion = request.args.get('recursion') if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?recursion=1&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?recursion=1&project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -798,9 +846,9 @@ def api_virtual_machine_endpoint(endpoint): name = request.args.get('name') recursion = request.args.get('recursion') if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/state?recursion=1&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/state?recursion=1&project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/state?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/state?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -827,7 +875,7 @@ def api_virtual_machine_endpoint(endpoint): interfaces.append(interface) return jsonify({ 'data': interfaces }) - + # Virtual Machine only if endpoint == 'get_instance_memory_percentage': id = request.args.get('id') project = request.args.get('project') @@ -854,14 +902,14 @@ def api_virtual_machine_endpoint(endpoint): data.update({'record-output': False }) data.update({'environment': {} }) - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/exec?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/exec?project=' + project results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) # Sleep a second to give time to copy file time.sleep(1) #Get /proc/meminfo information but from /tmp/meminfo - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/files?project=' + project + '&path=/tmp/meminfo' + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/files?project=' + project + '&path=/tmp/meminfo' results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) if 'MemTotal' in results.text: results = results.text.split('\n') @@ -879,9 +927,9 @@ def api_virtual_machine_endpoint(endpoint): name = request.args.get('name') recursion = request.args.get('recursion') if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?recursion=1&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?recursion=1&project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -914,9 +962,9 @@ def api_virtual_machine_endpoint(endpoint): name = request.args.get('name') recursion = request.args.get('recursion') if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?recursion=1&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?recursion=1&project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -945,14 +993,57 @@ def api_virtual_machine_endpoint(endpoint): name = request.args.get('name') recursion = request.args.get('recursion') if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/state?recursion=1&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/state?recursion=1&project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/state?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/state?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) return jsonify(results.json()) + # Container only + if endpoint == 'get_instance_unix_devices': + id = request.args.get('id') + project = request.args.get('project') + server = Server.query.filter_by(id=id).first() + name = request.args.get('name') + recursion = request.args.get('recursion') + if recursion == '1': + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?recursion=1&project=' + project + else: + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?project=' + project + client_cert = get_client_crt() + client_key = get_client_key() + results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) + instance = json.dumps(results.json()) + instance = json.loads(instance) + expanded_devices = instance['metadata']['expanded_devices'] + devices = [] + if expanded_devices: + for expanded_device in expanded_devices: + if expanded_devices[expanded_device]['type'] == 'unix-block' or expanded_devices[expanded_device]['type'] == 'unix-char': + device = {} + device.update({ 'device': expanded_device }) + device.update({ 'type': expanded_devices[expanded_device]['type'] }) + if 'source' in expanded_devices[expanded_device]: + device.update({ 'source': expanded_devices[expanded_device]['source'] }) + if 'path' in expanded_devices[expanded_device]: + device.update({ 'path': expanded_devices[expanded_device]['path'] }) + if 'major' in expanded_devices[expanded_device]: + device.update({ 'major': expanded_devices[expanded_device]['major'] }) + if 'minor' in expanded_devices[expanded_device]: + device.update({ 'minor': expanded_devices[expanded_device]['minor'] }) + if 'uid' in expanded_devices[expanded_device]: + device.update({ 'uid': expanded_devices[expanded_device]['uid'] }) + if 'gid' in expanded_devices[expanded_device]: + device.update({ 'gid': expanded_devices[expanded_device]['gid'] }) + if 'mode' in expanded_devices[expanded_device]: + device.update({ 'mode': expanded_devices[expanded_device]['mode'] }) + if 'required' in expanded_devices[expanded_device]: + device.update({ 'required': expanded_devices[expanded_device]['required'] }) + devices.append(device) + return jsonify({ 'data': devices }) + if endpoint == 'get_instance_usb_devices': id = request.args.get('id') @@ -961,9 +1052,9 @@ def api_virtual_machine_endpoint(endpoint): name = request.args.get('name') recursion = request.args.get('recursion') if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?recursion=1&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?recursion=1&project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -997,7 +1088,7 @@ def api_virtual_machine_endpoint(endpoint): id = request.args.get('id') server = Server.query.filter_by(id=id).first() return jsonify({ 'addr': server.addr, 'port': server.port, 'proxy': server.proxy }) - + if endpoint == 'list_instance_backups': id = request.args.get('id') @@ -1006,9 +1097,9 @@ def api_virtual_machine_endpoint(endpoint): name = request.args.get('name') recursion = request.args.get('recursion') if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/backups?recursion=1&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/backups?recursion=1&project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/backups?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/backups?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -1034,13 +1125,19 @@ def api_virtual_machine_endpoint(endpoint): name = request.args.get('name') recursion = request.args.get('recursion') if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/logs?recursion=1&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/logs?recursion=1&project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/logs?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/logs?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - return jsonify(results.json()) + + # Newly created VMs will not have logs until it starts, causing a 404 error + results = json.dumps(results.json()) + results = json.loads(results) + if results['metadata'] is None: + return jsonify({"metadata":[]}) + return jsonify(results) if endpoint == 'list_instance_snapshots': @@ -1050,14 +1147,14 @@ def api_virtual_machine_endpoint(endpoint): name = request.args.get('name') recursion = request.args.get('recursion') if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/snapshots?recursion=1&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/snapshots?recursion=1&project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '/snapshots?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/snapshots?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) return jsonify(results.json()) - + if endpoint == 'migrate_instance': id = request.args.get('id') @@ -1065,7 +1162,7 @@ def api_virtual_machine_endpoint(endpoint): instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() location = request.args.get('location') - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?target='+location+'&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?target='+location+'&project=' + project client_cert = get_client_crt() client_key = get_client_key() data = {} @@ -1134,7 +1231,7 @@ def api_virtual_machine_endpoint(endpoint): project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() data = {} @@ -1148,7 +1245,7 @@ def api_virtual_machine_endpoint(endpoint): project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() @@ -1164,7 +1261,7 @@ def api_virtual_machine_endpoint(endpoint): project = request.args.get('project') instance = request.args.get('instance') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + instance + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + instance + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() diff --git a/lxconsole/api/containers.py b/lxconsole/api/instances.py similarity index 89% rename from lxconsole/api/containers.py rename to lxconsole/api/instances.py index 8f079ee..2c195a7 100644 --- a/lxconsole/api/containers.py +++ b/lxconsole/api/instances.py @@ -13,7 +13,7 @@ def get_client_key(): return 'certs/client.key' @login_required -def api_containers_endpoint(endpoint): +def api_instances_endpoint(endpoint): if not privilege_check(endpoint, request.args.get('id')): return jsonify({'data': [], 'metadata':[], 'error': 'not authorized', 'error_code': 403}) @@ -25,9 +25,9 @@ def api_containers_endpoint(endpoint): server = Server.query.filter_by(id=id).first() location = request.form.get('location') if location == 'none': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances?project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers?target=' + location + '&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances?target=' + location + '&project=' + project client_cert = get_client_crt() client_key = get_client_key() @@ -40,7 +40,7 @@ def api_containers_endpoint(endpoint): data.update({'name': request.form.get('name')}) data.update({'description': request.form.get('description')}) data.update({'location': request.form.get('location')}) - #data.update({'type': request.form.get('type')}) + data.update({'type': request.form.get('type')}) data.update({'instance_type': request.form.get('instance_type')}) profiles = [] profiles.append(request.form.get('profiles')) @@ -56,48 +56,51 @@ def api_containers_endpoint(endpoint): data.update({'source': source}) config = {} + + #Options shared between containers and virtual machines config.update({'boot.autostart': request.form.get('boot.autostart')}) if request.form.get('boot.autostart') else False config.update({'boot.autostart.delay': request.form.get('boot.autostart.delay')}) if request.form.get('boot.autostart.delay') else False config.update({'boot.autostart.priority': request.form.get('boot.autostart.priority')}) if request.form.get('boot.autostart.priority') else False config.update({'boot.host_shutdown_timeout': request.form.get('boot.host_shutdown_timeout')}) if request.form.get('boot.host_shutdown_timeout') else False config.update({'boot.stop.priority': request.form.get('boot.stop.priority')}) if request.form.get('boot.stop.priority') else False - config.update({'cloud-init.network-config': request.form.get('cloud-init.network-config')}) if request.form.get('cloud-init.network-config') else False config.update({'cloud-init.user-data': request.form.get('cloud-init.user-data')}) if request.form.get('cloud-init.user-data') else False config.update({'cloud-init.vendor-data': request.form.get('cloud-init.vendor-data')}) if request.form.get('cloud-init.vendor-data') else False - + config.update({'cluster.evacuate': request.form.get('cluster.evacuate')}) if request.form.get('cluster.evacuate') else False config.update({'limits.cpu': request.form.get('limits.cpu')}) if request.form.get('limits.cpu') else False + config.update({'limits.disk.priority': request.form.get('limits.disk.priority')}) if request.form.get('limits.disk.priority') else False + config.update({'limits.memory': request.form.get('limits.memory')}) if request.form.get('limits.memory') else False + config.update({'limits.network.priority': request.form.get('limits.network.priority')}) if request.form.get('limits.network.priority') else False + config.update({'raw.apparmor': request.form.get('raw.apparmor')}) if request.form.get('raw.apparmor') else False + config.update({'security.devlxd': request.form.get('security.devlxd')}) if request.form.get('security.devlxd') else False + config.update({'security.protection.shift': request.form.get('security.protection.shift')}) if request.form.get('security.protection.shift') else False + config.update({'snapshots.schedule': request.form.get('snapshots.schedule')}) if request.form.get('snapshots.schedule') else False + config.update({'snapshots.schedule.stopped': request.form.get('snapshots.schedule.stopped')}) if request.form.get('snapshots.schedule.stopped') else False + config.update({'snapshots.pattern': request.form.get('snapshots.pattern')}) if request.form.get('snapshots.pattern') else False + config.update({'snapshots.expiry': request.form.get('snapshots.expiry')}) if request.form.get('snapshots.expiry') else False + + #Container only options config.update({'limits.cpu.allowance': request.form.get('limits.cpu.allowance')}) if request.form.get('limits.cpu.allowance') else False config.update({'limits.cpu.priority': request.form.get('limits.cpu.priority')}) if request.form.get('limits.cpu.priority') else False - config.update({'limits.disk.priority': request.form.get('limits.disk.priority')}) if request.form.get('limits.disk.priority') else False config.update({'limits.hugepages.64KB': request.form.get('limits.hugepages.64KB')}) if request.form.get('limits.hugepages.64KB') else False config.update({'limits.hugepages.1MB': request.form.get('limits.hugepages.1MB')}) if request.form.get('limits.hugepages.1MB') else False config.update({'limits.hugepages.2MB': request.form.get('limits.hugepages.2MB')}) if request.form.get('limits.hugepages.2MB') else False config.update({'limits.hugepages.1GB': request.form.get('limits.hugepages.1GB')}) if request.form.get('limits.hugepages.1GB') else False - config.update({'limits.memory': request.form.get('limits.memory')}) if request.form.get('limits.memory') else False config.update({'limits.memory.enforce': request.form.get('limits.memory.enforce')}) if request.form.get('limits.memory.enforce') else False config.update({'limits.memory.swap.priority': request.form.get('limits.memory.swap.priority')}) if request.form.get('limits.memory.swap.priority') else False config.update({'limits.memory.swap': request.form.get('limits.memory.swap')}) if request.form.get('limits.memory.swap') else False - config.update({'limits.network.priority': request.form.get('limits.network.priority')}) if request.form.get('limits.network.priority') else False config.update({'limits.processes': request.form.get('limits.processes')}) if request.form.get('limits.processes') else False - + config.update({'linux.kernel_modules': request.form.get('linux.kernel_modules')}) if request.form.get('linux.kernel_modules') else False config.update({'migration.incremental.memory': request.form.get('migration.incremental.memory')}) if request.form.get('migration.incremental.memory') else False config.update({'migration.incremental.memory.goal': request.form.get('migration.incremental.memory.goal')}) if request.form.get('migration.incremental.memory.goal') else False config.update({'migration.incremental.memory.iterations': request.form.get('migration.incremental.memory.iterations')}) if request.form.get('migration.incremental.memory.iterations') else False - config.update({'nvidia.driver.capabilities': request.form.get('nvidia.driver.capabilities')}) if request.form.get('nvidia.driver.capabilities') else False config.update({'nvidia.runtime': request.form.get('nvidia.runtime')}) if request.form.get('nvidia.runtime') else False config.update({'nvidia.require.cuda': request.form.get('nvidia.require.cuda')}) if request.form.get('nvidia.require.cuda') else False config.update({'nvidia.require.driver': request.form.get('nvidia.require.driver')}) if request.form.get('nvidia.require.driver') else False - - config.update({'cluster.evacuate': request.form.get('cluster.evacuate')}) if request.form.get('cluster.evacuate') else False - config.update({'linux.kernel_modules': request.form.get('linux.kernel_modules')}) if request.form.get('linux.kernel_modules') else False - - config.update({'raw.apparmor': request.form.get('raw.apparmor')}) if request.form.get('raw.apparmor') else False config.update({'raw.idmap': request.form.get('raw.idmap')}) if request.form.get('raw.idmap') else False config.update({'raw.lxc': request.form.get('raw.lxc')}) if request.form.get('raw.lxc') else False config.update({'raw.seccomp': request.form.get('raw.seccomp')}) if request.form.get('raw.seccomp') else False - config.update({'security.devlxd': request.form.get('security.devlxd')}) if request.form.get('security.devlxd') else False config.update({'security.devlxd.images': request.form.get('security.devlxd.images')}) if request.form.get('security.devlxd.images') else False config.update({'security.idmap.base': request.form.get('security.idmap.base')}) if request.form.get('security.idmap.base') else False @@ -107,7 +110,6 @@ def api_containers_endpoint(endpoint): config.update({'security.privileged': request.form.get('security.privileged')}) if request.form.get('security.privileged') else False config.update({'security.protection.delete': request.form.get('security.protection.delete')}) if request.form.get('security.protection.delete') else False config.update({'security.protection.shift': request.form.get('security.protection.shift')}) if request.form.get('security.protection.shift') else False - config.update({'security.syscalls.allow': request.form.get('security.syscalls.allow')}) if request.form.get('security.syscalls.allow') else False config.update({'security.syscalls.deny': request.form.get('security.syscalls.deny')}) if request.form.get('security.syscalls.deny') else False config.update({'security.syscalls.deny_compat': request.form.get('security.syscalls.deny_compat')}) if request.form.get('security.syscalls.deny_compat') else False @@ -120,12 +122,15 @@ def api_containers_endpoint(endpoint): config.update({'security.syscalls.intercept.mount.fuse': request.form.get('security.syscalls.intercept.mount.fuse')}) if request.form.get('security.syscalls.intercept.mount.fuse') else False config.update({'security.syscalls.intercept.mount.shift': request.form.get('security.syscalls.intercept.mount.shift')}) if request.form.get('security.syscalls.intercept.mount.shift') else False config.update({'security.syscalls.intercept.setxattr': request.form.get('security.syscalls.intercept.setxattr')}) if request.form.get('security.syscalls.intercept.setxattr') else False - - config.update({'snapshots.schedule': request.form.get('snapshots.schedule')}) if request.form.get('snapshots.schedule') else False - config.update({'snapshots.schedule.stopped': request.form.get('snapshots.schedule.stopped')}) if request.form.get('snapshots.schedule.stopped') else False - config.update({'snapshots.pattern': request.form.get('snapshots.pattern')}) if request.form.get('snapshots.pattern') else False - config.update({'snapshots.expiry': request.form.get('snapshots.expiry')}) if request.form.get('snapshots.expiry') else False + #Virtual Machine only options + config.update({'limits.memory.hugepages': request.form.get('limits.memory.hugepages')}) if request.form.get('limits.memory.hugepages') else False + config.update({'migration.stateful': request.form.get('migration.stateful')}) if request.form.get('migration.stateful') else False + config.update({'raw.qemu': request.form.get('raw.qemu')}) if request.form.get('raw.qemu') else False + config.update({'raw.qemu.conf': request.form.get('raw.qemu.conf')}) if request.form.get('raw.qemu.conf') else False + config.update({'security.agent.metrics': request.form.get('security.agent.metrics')}) if request.form.get('security.agent.metrics') else False + config.update({'security.secureboot': request.form.get('security.secureboot')}) if request.form.get('security.secureboot') else False + data.update({'config': config}) results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) @@ -137,7 +142,7 @@ def api_containers_endpoint(endpoint): project = request.args.get('project') name = request.form.get('name') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.delete(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -149,12 +154,20 @@ def api_containers_endpoint(endpoint): project = request.args.get('project') server = Server.query.filter_by(id=id).first() recursion = request.args.get('recursion') + + if request.args.get('filter') == "container": + filter = "type+eq+container" + elif request.args.get('filter') == "virtual-machine": + filter = "type+eq+virtual-machine" + else: + filter = "" + if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers?recursion=1&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances?filter=' + filter + '&recursion=1&project=' + project elif recursion == '2': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers?recursion=2&project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances?filter=' + filter + '&recursion=2&project=' + project else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances?filter=' + filter + '&project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -211,7 +224,7 @@ def api_containers_endpoint(endpoint): project = request.args.get('project') name = request.form.get('name') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) @@ -237,7 +250,7 @@ def api_containers_endpoint(endpoint): project = request.args.get('project') name = request.args.get('name') server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/containers/' + name + '?project=' + project + url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '?project=' + project client_cert = get_client_crt() client_key = get_client_key() diff --git a/lxconsole/api/virtual_machines.py b/lxconsole/api/virtual_machines.py deleted file mode 100644 index 82eae7d..0000000 --- a/lxconsole/api/virtual_machines.py +++ /dev/null @@ -1,217 +0,0 @@ -from flask import jsonify, request -import json -import requests -from lxconsole import db -from lxconsole.models import Server -from flask_login import login_required -from lxconsole.api.access_controls import privilege_check - - -def get_client_crt(): - return 'certs/client.crt' - -def get_client_key(): - return 'certs/client.key' - -@login_required -def api_virtual_machines_endpoint(endpoint): - - if not privilege_check(endpoint, request.args.get('id')): - return jsonify({'data': [], 'metadata':[], 'error': 'not authorized', 'error_code': 403}) - - - if endpoint == 'add_instance': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - location = request.form.get('location') - if location == 'none': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines?project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines?target=' + location + '&project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - - if request.form.get('json'): - data = request.form.get('json') - results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), data=data) - return jsonify(results.json()) - - data = {} - data.update({'name': request.form.get('name')}) - data.update({'description': request.form.get('description')}) - data.update({'location': request.form.get('location')}) - #data.update({'type': request.form.get('type')}) - data.update({'instance_type': request.form.get('instance_type')}) - profiles = [] - profiles.append(request.form.get('profiles')) - data.update({'profiles': profiles}) - - source = {} - if request.form.get('image') == 'none': - source.update({'type': request.form.get('image')}) - data.update({'source': source}) - else: - source.update({'type': 'image'}) - source.update({'fingerprint': request.form.get('image')}) - data.update({'source': source}) - - config = {} - config.update({'boot.autostart': request.form.get('boot.autostart')}) if request.form.get('boot.autostart') else False - config.update({'boot.autostart.delay': request.form.get('boot.autostart.delay')}) if request.form.get('boot.autostart.delay') else False - config.update({'boot.autostart.priority': request.form.get('boot.autostart.priority')}) if request.form.get('boot.autostart.priority') else False - config.update({'boot.host_shutdown_timeout': request.form.get('boot.host_shutdown_timeout')}) if request.form.get('boot.host_shutdown_timeout') else False - config.update({'boot.stop.priority': request.form.get('boot.stop.priority')}) if request.form.get('boot.stop.priority') else False - - config.update({'cloud-init.network-config': request.form.get('cloud-init.network-config')}) if request.form.get('cloud-init.network-config') else False - config.update({'cloud-init.user-data': request.form.get('cloud-init.user-data')}) if request.form.get('cloud-init.user-data') else False - config.update({'cloud-init.vendor-data': request.form.get('cloud-init.vendor-data')}) if request.form.get('cloud-init.vendor-data') else False - - config.update({'limits.cpu': request.form.get('limits.cpu')}) if request.form.get('limits.cpu') else False - config.update({'limits.disk.priority': request.form.get('limits.disk.priority')}) if request.form.get('limits.disk.priority') else False - config.update({'limits.memory': request.form.get('limits.memory')}) if request.form.get('limits.memory') else False - config.update({'limits.memory.hugepages': request.form.get('limits.memory.hugepages')}) if request.form.get('limits.memory.hugepages') else False - config.update({'limits.network.priority': request.form.get('limits.network.priority')}) if request.form.get('limits.network.priority') else False - - config.update({'migration.stateful': request.form.get('migration.stateful')}) if request.form.get('migration.stateful') else False - - config.update({'cluster.evacuate': request.form.get('cluster.evacuate')}) if request.form.get('cluster.evacuate') else False - - config.update({'raw.apparmor': request.form.get('raw.apparmor')}) if request.form.get('raw.apparmor') else False - config.update({'raw.qemu': request.form.get('raw.qemu')}) if request.form.get('raw.qemu') else False - config.update({'raw.qemu.conf': request.form.get('raw.qemu.conf')}) if request.form.get('raw.qemu.conf') else False - - config.update({'security.devlxd': request.form.get('security.devlxd')}) if request.form.get('security.devlxd') else False - config.update({'security.protection.shift': request.form.get('security.protection.shift')}) if request.form.get('security.protection.shift') else False - config.update({'security.agent.metrics': request.form.get('security.agent.metrics')}) if request.form.get('security.agent.metrics') else False - config.update({'security.secureboot': request.form.get('security.secureboot')}) if request.form.get('security.secureboot') else False - - config.update({'snapshots.schedule': request.form.get('snapshots.schedule')}) if request.form.get('snapshots.schedule') else False - config.update({'snapshots.schedule.stopped': request.form.get('snapshots.schedule.stopped')}) if request.form.get('snapshots.schedule.stopped') else False - config.update({'snapshots.pattern': request.form.get('snapshots.pattern')}) if request.form.get('snapshots.pattern') else False - config.update({'snapshots.expiry': request.form.get('snapshots.expiry')}) if request.form.get('snapshots.expiry') else False - - data.update({'config': config}) - results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - - return jsonify(results.json()) - - - if endpoint == 'delete_instance': - id = request.args.get('id') - project = request.args.get('project') - name = request.form.get('name') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.delete(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - return jsonify(results.json()) - - - if endpoint == 'list_instances': - id = request.args.get('id') - project = request.args.get('project') - server = Server.query.filter_by(id=id).first() - recursion = request.args.get('recursion') - if recursion == '1': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines?recursion=1&project=' + project - elif recursion == '2': - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines?recursion=2&project=' + project - else: - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - instances = json.dumps(results.json()) - instances = json.loads(instances) - if recursion == '0' or recursion == '1': - return jsonify(instances) - i = 0 - for instance in instances['metadata']: - instances['metadata'][i]['memory'] = '' - instances['metadata'][i]['disk'] = '' - instances['metadata'][i]['ipv4_addresses'] = [] - instances['metadata'][i]['ipv6_addresses'] = [] - - if 'state' in instance.keys(): - - # Set memory information if exists - if 'memory' in instance['state'].keys(): - if 'usage' in instance['state']['memory'].keys(): - memory = instance['state']['memory']['usage'] - if memory: - instances['metadata'][i]['memory'] = memory - - # Set disk information if exists - if 'disk' in instance['state'].keys(): - if 'root' in instance['state']['disk'].keys(): - if 'usage' in instance['state']['disk']['root'].keys(): - disk = instance['state']['disk']['root']['usage'] - if disk: - instances['metadata'][i]['disk'] = disk - - # Set network information if exists - if 'network' in instance['state'].keys(): - networks = instance['state']['network'] - if networks: - instances['metadata'][i]['ipv4_addresses'] = [] - for network in networks.keys(): - addresses = networks[network]['addresses'] - for address in addresses: - if address['family'] == 'inet' and address['scope'] == 'global': - instances['metadata'][i]['ipv4_addresses'] += [ address['address'] + ' (' + network + ')' ] - instances['metadata'][i]['ipv6_addresses'] = [] - for network in networks.keys(): - addresses = networks[network]['addresses'] - for address in addresses: - if address['family'] == 'inet6' and address['scope'] == 'global': - instances['metadata'][i]['ipv6_addresses'] += [ address['address'] + ' (' + network + ')' ] - i += 1 - return jsonify(instances) - - - if endpoint == 'load_instance': - id = request.args.get('id') - project = request.args.get('project') - name = request.form.get('name') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - results = requests.get(url, verify=server.ssl_verify, cert=(client_cert, client_key)) - return jsonify(results.json()) - - - if endpoint == 'change_instance_state': - id = request.args.get('id') - project = request.args.get('project') - name = request.form.get('name') - action = request.form.get('action') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/instances/' + name + '/state?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - data = { 'action': action } - results = requests.put(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) - - - if endpoint == 'update_instance': - id = request.args.get('id') - project = request.args.get('project') - name = request.args.get('name') - server = Server.query.filter_by(id=id).first() - url = 'https://' + server.addr + ':' + str(server.port) + '/1.0/virtual-machines/' + name + '?project=' + project - client_cert = get_client_crt() - client_key = get_client_key() - - if request.form.get('json'): - data = request.form.get('json') - results = requests.put(url, verify=server.ssl_verify, cert=(client_cert, client_key), data=data) - return jsonify(results.json()) - - data = {} - data.update({'name': request.form.get('name')}) - results = requests.post(url, verify=server.ssl_verify, cert=(client_cert, client_key), json=data) - return jsonify(results.json()) diff --git a/lxconsole/routes.py b/lxconsole/routes.py index 71ca004..16e6265 100644 --- a/lxconsole/routes.py +++ b/lxconsole/routes.py @@ -59,21 +59,16 @@ def cluster_groups(): def cluster_members(): return render_template('cluster-members.html', page_title='Cluster Members', page_user_id=current_user.id, page_username=current_user.username,) -@app.route("/container") -@login_required -def container(): - return render_template('container.html', page_title='Container: ', page_user_id=current_user.id, page_username=current_user.username,) - -@app.route("/containers") -@login_required -def containers(): - return render_template('containers.html', page_title='Containers', page_user_id=current_user.id, page_username=current_user.username,) - @app.route("/images") @login_required def images(): return render_template('images.html', page_title='Images', page_user_id=current_user.id, page_username=current_user.username,) +@app.route("/instance") +@login_required +def instance(): + return render_template('instance.html', page_title='Instance', page_user_id=current_user.id, page_username=current_user.username,) + @app.route("/instances") @login_required def instances(): @@ -144,17 +139,6 @@ def storage_pools(): def storage_volumes(): return render_template('storage-volumes.html', page_title='Storage Volumes', page_user_id=current_user.id, page_username=current_user.username,) -@app.route("/virtual-machine") -@login_required -def virtual_machine(): - return render_template('virtual-machine.html', page_title='Virtual Machine: ', page_user_id=current_user.id, page_username=current_user.username,) - -@app.route("/virtual-machines") -@login_required -def virtual_machines(): - return render_template('virtual-machines.html', page_title='Virtual Machines', page_user_id=current_user.id, page_username=current_user.username,) - - @app.route("/backups////") @login_required def backups(serverId, project, instance, filename): diff --git a/lxconsole/static/css/bootstrap/bootstrap.min.css.map b/lxconsole/static/css/bootstrap/bootstrap.min.css.map new file mode 100644 index 0000000..336fa28 --- /dev/null +++ b/lxconsole/static/css/bootstrap/bootstrap.min.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../scss/mixins/_banner.scss","../../scss/_root.scss","../../scss/vendor/_rfs.scss","../../scss/_reboot.scss","dist/css/bootstrap.css","../../scss/mixins/_border-radius.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/_containers.scss","../../scss/mixins/_container.scss","../../scss/mixins/_breakpoints.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/_tables.scss","../../scss/mixins/_table-variants.scss","../../scss/forms/_labels.scss","../../scss/forms/_form-text.scss","../../scss/forms/_form-control.scss","../../scss/mixins/_transition.scss","../../scss/mixins/_gradients.scss","../../scss/forms/_form-select.scss","../../scss/forms/_form-check.scss","../../scss/forms/_form-range.scss","../../scss/forms/_floating-labels.scss","../../scss/forms/_input-group.scss","../../scss/mixins/_forms.scss","../../scss/_buttons.scss","../../scss/mixins/_buttons.scss","../../scss/_transitions.scss","../../scss/_dropdown.scss","../../scss/mixins/_caret.scss","../../scss/_button-group.scss","../../scss/_nav.scss","../../scss/_navbar.scss","../../scss/_card.scss","../../scss/_accordion.scss","../../scss/_breadcrumb.scss","../../scss/_pagination.scss","../../scss/mixins/_pagination.scss","../../scss/_badge.scss","../../scss/_alert.scss","../../scss/mixins/_alert.scss","../../scss/_progress.scss","../../scss/_list-group.scss","../../scss/mixins/_list-group.scss","../../scss/_close.scss","../../scss/_toasts.scss","../../scss/_modal.scss","../../scss/mixins/_backdrop.scss","../../scss/_tooltip.scss","../../scss/mixins/_reset-text.scss","../../scss/_popover.scss","../../scss/_carousel.scss","../../scss/mixins/_clearfix.scss","../../scss/_spinners.scss","../../scss/_offcanvas.scss","../../scss/_placeholders.scss","../../scss/helpers/_color-bg.scss","../../scss/helpers/_colored-links.scss","../../scss/helpers/_ratio.scss","../../scss/helpers/_position.scss","../../scss/helpers/_stacks.scss","../../scss/helpers/_visually-hidden.scss","../../scss/mixins/_visually-hidden.scss","../../scss/helpers/_stretched-link.scss","../../scss/helpers/_text-truncation.scss","../../scss/mixins/_text-truncate.scss","../../scss/helpers/_vr.scss","../../scss/mixins/_utilities.scss","../../scss/utilities/_api.scss"],"names":[],"mappings":"iBACE;;;;;ACDF,MAQI,UAAA,QAAA,YAAA,QAAA,YAAA,QAAA,UAAA,QAAA,SAAA,QAAA,YAAA,QAAA,YAAA,QAAA,WAAA,QAAA,UAAA,QAAA,UAAA,QAAA,WAAA,KAAA,WAAA,KAAA,UAAA,QAAA,eAAA,QAIA,cAAA,QAAA,cAAA,QAAA,cAAA,QAAA,cAAA,QAAA,cAAA,QAAA,cAAA,QAAA,cAAA,QAAA,cAAA,QAAA,cAAA,QAIA,aAAA,QAAA,eAAA,QAAA,aAAA,QAAA,UAAA,QAAA,aAAA,QAAA,YAAA,QAAA,WAAA,QAAA,UAAA,QAIA,iBAAA,EAAA,CAAA,GAAA,CAAA,IAAA,mBAAA,GAAA,CAAA,GAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,GAAA,CAAA,GAAA,cAAA,EAAA,CAAA,GAAA,CAAA,IAAA,iBAAA,GAAA,CAAA,GAAA,CAAA,EAAA,gBAAA,GAAA,CAAA,EAAA,CAAA,GAAA,eAAA,GAAA,CAAA,GAAA,CAAA,IAAA,cAAA,EAAA,CAAA,EAAA,CAAA,GA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eAPJ,MAOI,UAAA,kBAPJ,MAOI,UAAA,kBCnCZ,aD4BQ,gBAOI,QAAA,iBAPJ,sBAOI,QAAA,uBAPJ,eAOI,QAAA,gBAPJ,cAOI,QAAA,eAPJ,eAOI,QAAA,gBAPJ,mBAOI,QAAA,oBAPJ,oBAOI,QAAA,qBAPJ,cAOI,QAAA,eAPJ,qBAOI,QAAA,sBAPJ,cAOI,QAAA","sourcesContent":["@mixin bsBanner($file) {\n /*!\n * Bootstrap #{$file} v5.2.3 (https://getbootstrap.com/)\n * Copyright 2011-2022 The Bootstrap Authors\n * Copyright 2011-2022 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */\n}\n\n",":root {\n // Note: Custom variable values only support SassScript inside `#{}`.\n\n // Colors\n //\n // Generate palettes for full colors, grays, and theme colors.\n\n @each $color, $value in $colors {\n --#{$prefix}#{$color}: #{$value};\n }\n\n @each $color, $value in $grays {\n --#{$prefix}gray-#{$color}: #{$value};\n }\n\n @each $color, $value in $theme-colors {\n --#{$prefix}#{$color}: #{$value};\n }\n\n @each $color, $value in $theme-colors-rgb {\n --#{$prefix}#{$color}-rgb: #{$value};\n }\n\n --#{$prefix}white-rgb: #{to-rgb($white)};\n --#{$prefix}black-rgb: #{to-rgb($black)};\n --#{$prefix}body-color-rgb: #{to-rgb($body-color)};\n --#{$prefix}body-bg-rgb: #{to-rgb($body-bg)};\n\n // Fonts\n\n // Note: Use `inspect` for lists so that quoted items keep the quotes.\n // See https://github.com/sass/sass/issues/2383#issuecomment-336349172\n --#{$prefix}font-sans-serif: #{inspect($font-family-sans-serif)};\n --#{$prefix}font-monospace: #{inspect($font-family-monospace)};\n --#{$prefix}gradient: #{$gradient};\n\n // Root and body\n // scss-docs-start root-body-variables\n @if $font-size-root != null {\n --#{$prefix}root-font-size: #{$font-size-root};\n }\n --#{$prefix}body-font-family: #{$font-family-base};\n @include rfs($font-size-base, --#{$prefix}body-font-size);\n --#{$prefix}body-font-weight: #{$font-weight-base};\n --#{$prefix}body-line-height: #{$line-height-base};\n --#{$prefix}body-color: #{$body-color};\n @if $body-text-align != null {\n --#{$prefix}body-text-align: #{$body-text-align};\n }\n --#{$prefix}body-bg: #{$body-bg};\n // scss-docs-end root-body-variables\n\n // scss-docs-start root-border-var\n --#{$prefix}border-width: #{$border-width};\n --#{$prefix}border-style: #{$border-style};\n --#{$prefix}border-color: #{$border-color};\n --#{$prefix}border-color-translucent: #{$border-color-translucent};\n\n --#{$prefix}border-radius: #{$border-radius};\n --#{$prefix}border-radius-sm: #{$border-radius-sm};\n --#{$prefix}border-radius-lg: #{$border-radius-lg};\n --#{$prefix}border-radius-xl: #{$border-radius-xl};\n --#{$prefix}border-radius-2xl: #{$border-radius-2xl};\n --#{$prefix}border-radius-pill: #{$border-radius-pill};\n // scss-docs-end root-border-var\n\n --#{$prefix}link-color: #{$link-color};\n --#{$prefix}link-hover-color: #{$link-hover-color};\n\n --#{$prefix}code-color: #{$code-color};\n\n --#{$prefix}highlight-bg: #{$mark-bg};\n}\n","// stylelint-disable property-blacklist, scss/dollar-variable-default\n\n// SCSS RFS mixin\n//\n// Automated responsive values for font sizes, paddings, margins and much more\n//\n// Licensed under MIT (https://github.com/twbs/rfs/blob/main/LICENSE)\n\n// Configuration\n\n// Base value\n$rfs-base-value: 1.25rem !default;\n$rfs-unit: rem !default;\n\n@if $rfs-unit != rem and $rfs-unit != px {\n @error \"`#{$rfs-unit}` is not a valid unit for $rfs-unit. Use `px` or `rem`.\";\n}\n\n// Breakpoint at where values start decreasing if screen width is smaller\n$rfs-breakpoint: 1200px !default;\n$rfs-breakpoint-unit: px !default;\n\n@if $rfs-breakpoint-unit != px and $rfs-breakpoint-unit != em and $rfs-breakpoint-unit != rem {\n @error \"`#{$rfs-breakpoint-unit}` is not a valid unit for $rfs-breakpoint-unit. Use `px`, `em` or `rem`.\";\n}\n\n// Resize values based on screen height and width\n$rfs-two-dimensional: false !default;\n\n// Factor of decrease\n$rfs-factor: 10 !default;\n\n@if type-of($rfs-factor) != number or $rfs-factor <= 1 {\n @error \"`#{$rfs-factor}` is not a valid $rfs-factor, it must be greater than 1.\";\n}\n\n// Mode. Possibilities: \"min-media-query\", \"max-media-query\"\n$rfs-mode: min-media-query !default;\n\n// Generate enable or disable classes. Possibilities: false, \"enable\" or \"disable\"\n$rfs-class: false !default;\n\n// 1 rem = $rfs-rem-value px\n$rfs-rem-value: 16 !default;\n\n// Safari iframe resize bug: https://github.com/twbs/rfs/issues/14\n$rfs-safari-iframe-resize-bug-fix: false !default;\n\n// Disable RFS by setting $enable-rfs to false\n$enable-rfs: true !default;\n\n// Cache $rfs-base-value unit\n$rfs-base-value-unit: unit($rfs-base-value);\n\n@function divide($dividend, $divisor, $precision: 10) {\n $sign: if($dividend > 0 and $divisor > 0 or $dividend < 0 and $divisor < 0, 1, -1);\n $dividend: abs($dividend);\n $divisor: abs($divisor);\n @if $dividend == 0 {\n @return 0;\n }\n @if $divisor == 0 {\n @error \"Cannot divide by 0\";\n }\n $remainder: $dividend;\n $result: 0;\n $factor: 10;\n @while ($remainder > 0 and $precision >= 0) {\n $quotient: 0;\n @while ($remainder >= $divisor) {\n $remainder: $remainder - $divisor;\n $quotient: $quotient + 1;\n }\n $result: $result * 10 + $quotient;\n $factor: $factor * .1;\n $remainder: $remainder * 10;\n $precision: $precision - 1;\n @if ($precision < 0 and $remainder >= $divisor * 5) {\n $result: $result + 1;\n }\n }\n $result: $result * $factor * $sign;\n $dividend-unit: unit($dividend);\n $divisor-unit: unit($divisor);\n $unit-map: (\n \"px\": 1px,\n \"rem\": 1rem,\n \"em\": 1em,\n \"%\": 1%\n );\n @if ($dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit)) {\n $result: $result * map-get($unit-map, $dividend-unit);\n }\n @return $result;\n}\n\n// Remove px-unit from $rfs-base-value for calculations\n@if $rfs-base-value-unit == px {\n $rfs-base-value: divide($rfs-base-value, $rfs-base-value * 0 + 1);\n}\n@else if $rfs-base-value-unit == rem {\n $rfs-base-value: divide($rfs-base-value, divide($rfs-base-value * 0 + 1, $rfs-rem-value));\n}\n\n// Cache $rfs-breakpoint unit to prevent multiple calls\n$rfs-breakpoint-unit-cache: unit($rfs-breakpoint);\n\n// Remove unit from $rfs-breakpoint for calculations\n@if $rfs-breakpoint-unit-cache == px {\n $rfs-breakpoint: divide($rfs-breakpoint, $rfs-breakpoint * 0 + 1);\n}\n@else if $rfs-breakpoint-unit-cache == rem or $rfs-breakpoint-unit-cache == \"em\" {\n $rfs-breakpoint: divide($rfs-breakpoint, divide($rfs-breakpoint * 0 + 1, $rfs-rem-value));\n}\n\n// Calculate the media query value\n$rfs-mq-value: if($rfs-breakpoint-unit == px, #{$rfs-breakpoint}px, #{divide($rfs-breakpoint, $rfs-rem-value)}#{$rfs-breakpoint-unit});\n$rfs-mq-property-width: if($rfs-mode == max-media-query, max-width, min-width);\n$rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height);\n\n// Internal mixin used to determine which media query needs to be used\n@mixin _rfs-media-query {\n @if $rfs-two-dimensional {\n @if $rfs-mode == max-media-query {\n @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}), (#{$rfs-mq-property-height}: #{$rfs-mq-value}) {\n @content;\n }\n }\n @else {\n @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) and (#{$rfs-mq-property-height}: #{$rfs-mq-value}) {\n @content;\n }\n }\n }\n @else {\n @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) {\n @content;\n }\n }\n}\n\n// Internal mixin that adds disable classes to the selector if needed.\n@mixin _rfs-rule {\n @if $rfs-class == disable and $rfs-mode == max-media-query {\n // Adding an extra class increases specificity, which prevents the media query to override the property\n &,\n .disable-rfs &,\n &.disable-rfs {\n @content;\n }\n }\n @else if $rfs-class == enable and $rfs-mode == min-media-query {\n .enable-rfs &,\n &.enable-rfs {\n @content;\n }\n }\n @else {\n @content;\n }\n}\n\n// Internal mixin that adds enable classes to the selector if needed.\n@mixin _rfs-media-query-rule {\n\n @if $rfs-class == enable {\n @if $rfs-mode == min-media-query {\n @content;\n }\n\n @include _rfs-media-query {\n .enable-rfs &,\n &.enable-rfs {\n @content;\n }\n }\n }\n @else {\n @if $rfs-class == disable and $rfs-mode == min-media-query {\n .disable-rfs &,\n &.disable-rfs {\n @content;\n }\n }\n @include _rfs-media-query {\n @content;\n }\n }\n}\n\n// Helper function to get the formatted non-responsive value\n@function rfs-value($values) {\n // Convert to list\n $values: if(type-of($values) != list, ($values,), $values);\n\n $val: '';\n\n // Loop over each value and calculate value\n @each $value in $values {\n @if $value == 0 {\n $val: $val + ' 0';\n }\n @else {\n // Cache $value unit\n $unit: if(type-of($value) == \"number\", unit($value), false);\n\n @if $unit == px {\n // Convert to rem if needed\n $val: $val + ' ' + if($rfs-unit == rem, #{divide($value, $value * 0 + $rfs-rem-value)}rem, $value);\n }\n @else if $unit == rem {\n // Convert to px if needed\n $val: $val + ' ' + if($rfs-unit == px, #{divide($value, $value * 0 + 1) * $rfs-rem-value}px, $value);\n }\n @else {\n // If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value\n $val: $val + ' ' + $value;\n }\n }\n }\n\n // Remove first space\n @return unquote(str-slice($val, 2));\n}\n\n// Helper function to get the responsive value calculated by RFS\n@function rfs-fluid-value($values) {\n // Convert to list\n $values: if(type-of($values) != list, ($values,), $values);\n\n $val: '';\n\n // Loop over each value and calculate value\n @each $value in $values {\n @if $value == 0 {\n $val: $val + ' 0';\n }\n\n @else {\n // Cache $value unit\n $unit: if(type-of($value) == \"number\", unit($value), false);\n\n // If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value\n @if not $unit or $unit != px and $unit != rem {\n $val: $val + ' ' + $value;\n }\n\n @else {\n // Remove unit from $value for calculations\n $value: divide($value, $value * 0 + if($unit == px, 1, divide(1, $rfs-rem-value)));\n\n // Only add the media query if the value is greater than the minimum value\n @if abs($value) <= $rfs-base-value or not $enable-rfs {\n $val: $val + ' ' + if($rfs-unit == rem, #{divide($value, $rfs-rem-value)}rem, #{$value}px);\n }\n @else {\n // Calculate the minimum value\n $value-min: $rfs-base-value + divide(abs($value) - $rfs-base-value, $rfs-factor);\n\n // Calculate difference between $value and the minimum value\n $value-diff: abs($value) - $value-min;\n\n // Base value formatting\n $min-width: if($rfs-unit == rem, #{divide($value-min, $rfs-rem-value)}rem, #{$value-min}px);\n\n // Use negative value if needed\n $min-width: if($value < 0, -$min-width, $min-width);\n\n // Use `vmin` if two-dimensional is enabled\n $variable-unit: if($rfs-two-dimensional, vmin, vw);\n\n // Calculate the variable width between 0 and $rfs-breakpoint\n $variable-width: #{divide($value-diff * 100, $rfs-breakpoint)}#{$variable-unit};\n\n // Return the calculated value\n $val: $val + ' calc(' + $min-width + if($value < 0, ' - ', ' + ') + $variable-width + ')';\n }\n }\n }\n }\n\n // Remove first space\n @return unquote(str-slice($val, 2));\n}\n\n// RFS mixin\n@mixin rfs($values, $property: font-size) {\n @if $values != null {\n $val: rfs-value($values);\n $fluidVal: rfs-fluid-value($values);\n\n // Do not print the media query if responsive & non-responsive values are the same\n @if $val == $fluidVal {\n #{$property}: $val;\n }\n @else {\n @include _rfs-rule {\n #{$property}: if($rfs-mode == max-media-query, $val, $fluidVal);\n\n // Include safari iframe resize fix if needed\n min-width: if($rfs-safari-iframe-resize-bug-fix, (0 * 1vw), null);\n }\n\n @include _rfs-media-query-rule {\n #{$property}: if($rfs-mode == max-media-query, $fluidVal, $val);\n }\n }\n }\n}\n\n// Shorthand helper mixins\n@mixin font-size($value) {\n @include rfs($value);\n}\n\n@mixin padding($value) {\n @include rfs($value, padding);\n}\n\n@mixin padding-top($value) {\n @include rfs($value, padding-top);\n}\n\n@mixin padding-right($value) {\n @include rfs($value, padding-right);\n}\n\n@mixin padding-bottom($value) {\n @include rfs($value, padding-bottom);\n}\n\n@mixin padding-left($value) {\n @include rfs($value, padding-left);\n}\n\n@mixin margin($value) {\n @include rfs($value, margin);\n}\n\n@mixin margin-top($value) {\n @include rfs($value, margin-top);\n}\n\n@mixin margin-right($value) {\n @include rfs($value, margin-right);\n}\n\n@mixin margin-bottom($value) {\n @include rfs($value, margin-bottom);\n}\n\n@mixin margin-left($value) {\n @include rfs($value, margin-left);\n}\n","// stylelint-disable declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix\n\n\n// Reboot\n//\n// Normalization of HTML elements, manually forked from Normalize.css to remove\n// styles targeting irrelevant browsers while applying new styles.\n//\n// Normalize is licensed MIT. https://github.com/necolas/normalize.css\n\n\n// Document\n//\n// Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n\n// Root\n//\n// Ability to the value of the root font sizes, affecting the value of `rem`.\n// null by default, thus nothing is generated.\n\n:root {\n @if $font-size-root != null {\n @include font-size(var(--#{$prefix}root-font-size));\n }\n\n @if $enable-smooth-scroll {\n @media (prefers-reduced-motion: no-preference) {\n scroll-behavior: smooth;\n }\n }\n}\n\n\n// Body\n//\n// 1. Remove the margin in all browsers.\n// 2. As a best practice, apply a default `background-color`.\n// 3. Prevent adjustments of font size after orientation changes in iOS.\n// 4. Change the default tap highlight to be completely transparent in iOS.\n\n// scss-docs-start reboot-body-rules\nbody {\n margin: 0; // 1\n font-family: var(--#{$prefix}body-font-family);\n @include font-size(var(--#{$prefix}body-font-size));\n font-weight: var(--#{$prefix}body-font-weight);\n line-height: var(--#{$prefix}body-line-height);\n color: var(--#{$prefix}body-color);\n text-align: var(--#{$prefix}body-text-align);\n background-color: var(--#{$prefix}body-bg); // 2\n -webkit-text-size-adjust: 100%; // 3\n -webkit-tap-highlight-color: rgba($black, 0); // 4\n}\n// scss-docs-end reboot-body-rules\n\n\n// Content grouping\n//\n// 1. Reset Firefox's gray color\n\nhr {\n margin: $hr-margin-y 0;\n color: $hr-color; // 1\n border: 0;\n border-top: $hr-border-width solid $hr-border-color;\n opacity: $hr-opacity;\n}\n\n\n// Typography\n//\n// 1. Remove top margins from headings\n// By default, `

`-`

` all receive top and bottom margins. We nuke the top\n// margin for easier control within type scales as it avoids margin collapsing.\n\n%heading {\n margin-top: 0; // 1\n margin-bottom: $headings-margin-bottom;\n font-family: $headings-font-family;\n font-style: $headings-font-style;\n font-weight: $headings-font-weight;\n line-height: $headings-line-height;\n color: $headings-color;\n}\n\nh1 {\n @extend %heading;\n @include font-size($h1-font-size);\n}\n\nh2 {\n @extend %heading;\n @include font-size($h2-font-size);\n}\n\nh3 {\n @extend %heading;\n @include font-size($h3-font-size);\n}\n\nh4 {\n @extend %heading;\n @include font-size($h4-font-size);\n}\n\nh5 {\n @extend %heading;\n @include font-size($h5-font-size);\n}\n\nh6 {\n @extend %heading;\n @include font-size($h6-font-size);\n}\n\n\n// Reset margins on paragraphs\n//\n// Similarly, the top margin on `

`s get reset. However, we also reset the\n// bottom margin to use `rem` units instead of `em`.\n\np {\n margin-top: 0;\n margin-bottom: $paragraph-margin-bottom;\n}\n\n\n// Abbreviations\n//\n// 1. Add the correct text decoration in Chrome, Edge, Opera, and Safari.\n// 2. Add explicit cursor to indicate changed behavior.\n// 3. Prevent the text-decoration to be skipped.\n\nabbr[title] {\n text-decoration: underline dotted; // 1\n cursor: help; // 2\n text-decoration-skip-ink: none; // 3\n}\n\n\n// Address\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\n\n// Lists\n\nol,\nul {\n padding-left: 2rem;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: $dt-font-weight;\n}\n\n// 1. Undo browser default\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0; // 1\n}\n\n\n// Blockquote\n\nblockquote {\n margin: 0 0 1rem;\n}\n\n\n// Strong\n//\n// Add the correct font weight in Chrome, Edge, and Safari\n\nb,\nstrong {\n font-weight: $font-weight-bolder;\n}\n\n\n// Small\n//\n// Add the correct font size in all browsers\n\nsmall {\n @include font-size($small-font-size);\n}\n\n\n// Mark\n\nmark {\n padding: $mark-padding;\n background-color: var(--#{$prefix}highlight-bg);\n}\n\n\n// Sub and Sup\n//\n// Prevent `sub` and `sup` elements from affecting the line height in\n// all browsers.\n\nsub,\nsup {\n position: relative;\n @include font-size($sub-sup-font-size);\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub { bottom: -.25em; }\nsup { top: -.5em; }\n\n\n// Links\n\na {\n color: var(--#{$prefix}link-color);\n text-decoration: $link-decoration;\n\n &:hover {\n color: var(--#{$prefix}link-hover-color);\n text-decoration: $link-hover-decoration;\n }\n}\n\n// And undo these styles for placeholder links/named anchors (without href).\n// It would be more straightforward to just use a[href] in previous block, but that\n// causes specificity issues in many other styles that are too complex to fix.\n// See https://github.com/twbs/bootstrap/issues/19402\n\na:not([href]):not([class]) {\n &,\n &:hover {\n color: inherit;\n text-decoration: none;\n }\n}\n\n\n// Code\n\npre,\ncode,\nkbd,\nsamp {\n font-family: $font-family-code;\n @include font-size(1em); // Correct the odd `em` font sizing in all browsers.\n}\n\n// 1. Remove browser default top margin\n// 2. Reset browser default of `1em` to use `rem`s\n// 3. Don't allow content to break outside\n\npre {\n display: block;\n margin-top: 0; // 1\n margin-bottom: 1rem; // 2\n overflow: auto; // 3\n @include font-size($code-font-size);\n color: $pre-color;\n\n // Account for some code outputs that place code tags in pre tags\n code {\n @include font-size(inherit);\n color: inherit;\n word-break: normal;\n }\n}\n\ncode {\n @include font-size($code-font-size);\n color: var(--#{$prefix}code-color);\n word-wrap: break-word;\n\n // Streamline the style when inside anchors to avoid broken underline and more\n a > & {\n color: inherit;\n }\n}\n\nkbd {\n padding: $kbd-padding-y $kbd-padding-x;\n @include font-size($kbd-font-size);\n color: $kbd-color;\n background-color: $kbd-bg;\n @include border-radius($border-radius-sm);\n\n kbd {\n padding: 0;\n @include font-size(1em);\n font-weight: $nested-kbd-font-weight;\n }\n}\n\n\n// Figures\n//\n// Apply a consistent margin strategy (matches our type styles).\n\nfigure {\n margin: 0 0 1rem;\n}\n\n\n// Images and content\n\nimg,\nsvg {\n vertical-align: middle;\n}\n\n\n// Tables\n//\n// Prevent double borders\n\ntable {\n caption-side: bottom;\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: $table-cell-padding-y;\n padding-bottom: $table-cell-padding-y;\n color: $table-caption-color;\n text-align: left;\n}\n\n// 1. Removes font-weight bold by inheriting\n// 2. Matches default `` alignment by inheriting `text-align`.\n// 3. Fix alignment for Safari\n\nth {\n font-weight: $table-th-font-weight; // 1\n text-align: inherit; // 2\n text-align: -webkit-match-parent; // 3\n}\n\nthead,\ntbody,\ntfoot,\ntr,\ntd,\nth {\n border-color: inherit;\n border-style: solid;\n border-width: 0;\n}\n\n\n// Forms\n//\n// 1. Allow labels to use `margin` for spacing.\n\nlabel {\n display: inline-block; // 1\n}\n\n// Remove the default `border-radius` that macOS Chrome adds.\n// See https://github.com/twbs/bootstrap/issues/24093\n\nbutton {\n // stylelint-disable-next-line property-disallowed-list\n border-radius: 0;\n}\n\n// Explicitly remove focus outline in Chromium when it shouldn't be\n// visible (e.g. as result of mouse click or touch tap). It already\n// should be doing this automatically, but seems to currently be\n// confused and applies its very visible two-tone outline anyway.\n\nbutton:focus:not(:focus-visible) {\n outline: 0;\n}\n\n// 1. Remove the margin in Firefox and Safari\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0; // 1\n font-family: inherit;\n @include font-size(inherit);\n line-height: inherit;\n}\n\n// Remove the inheritance of text transform in Firefox\nbutton,\nselect {\n text-transform: none;\n}\n// Set the cursor for non-` {% endblock header %} @@ -59,7 +59,10 @@ url: "../api/access-controls/list_access_controls", dataType: "json", dataSrc: "data", - contentType: "application/json" + contentType: "application/json", + error: function (xhr, error, code) { + console.log(xhr, code); + } }, columns: [ { title: "Id", data: function (row, type, set) { diff --git a/lxconsole/templates/certificates.html b/lxconsole/templates/certificates.html index 55c6141..d318787 100644 --- a/lxconsole/templates/certificates.html +++ b/lxconsole/templates/certificates.html @@ -6,9 +6,9 @@

{{ page_title | safe }}

{% endblock header %} @@ -98,7 +98,10 @@ url: "../api/certificates/list_certificates?id="+serverId+"&project=" + project + "&recursion=1", dataType: "json", dataSrc: "metadata", - contentType: "application/json" + contentType: "application/json", + error: function (xhr, error, code) { + console.log(xhr, code); + } }, columns: [ { title: "Name", data: function (row, type, set) { diff --git a/lxconsole/templates/cluster-groups.html b/lxconsole/templates/cluster-groups.html index 4519ead..fc18089 100644 --- a/lxconsole/templates/cluster-groups.html +++ b/lxconsole/templates/cluster-groups.html @@ -6,9 +6,9 @@

{{ page_title | safe }}

{% endblock header %} @@ -98,7 +98,10 @@ url: "../api/cluster-groups/list_cluster_groups?id="+serverId+"&project=" + project + "&recursion=1", dataType: "json", dataSrc: "metadata", - contentType: "application/json" + contentType: "application/json", + error: function (xhr, error, code) { + console.log(xhr, code); + } }, columns: [ { title: "Name", data: function (row, type, set) { diff --git a/lxconsole/templates/cluster-members.html b/lxconsole/templates/cluster-members.html index 37a3bed..91ae516 100644 --- a/lxconsole/templates/cluster-members.html +++ b/lxconsole/templates/cluster-members.html @@ -7,9 +7,9 @@ @@ -100,7 +100,10 @@ url: "../api/cluster-members/list_cluster_members?id="+serverId+"&project=" + project + "&recursion=1", dataType: "json", dataSrc: "metadata", - contentType: "application/json" + contentType: "application/json", + error: function (xhr, error, code) { + console.log(xhr, code); + } }, columns: [ { title: "Server Name", data: function (row, type, set) { diff --git a/lxconsole/templates/containers.html b/lxconsole/templates/containers.html deleted file mode 100644 index f83fa0b..0000000 --- a/lxconsole/templates/containers.html +++ /dev/null @@ -1,332 +0,0 @@ -{% extends "main.html" %} - -{% block header %} -
-
-

{{ page_title | safe }}

-
- -
-{% endblock header %} - -{% block content %} -
-
-
-

Containers

-
- -
-
-
- -
-
-
-
-{% endblock content %} - -{% block modal %} - {% include 'modals/containers.html' %} -{% endblock modal %} - -{% block script %} - -{% endblock script %} \ No newline at end of file diff --git a/lxconsole/templates/groups.html b/lxconsole/templates/groups.html index b853424..8b188c4 100644 --- a/lxconsole/templates/groups.html +++ b/lxconsole/templates/groups.html @@ -6,9 +6,9 @@

{{ page_title | safe }}

{% endblock header %} @@ -59,7 +59,10 @@ url: "../api/groups/list_groups", dataType: "json", dataSrc: "data", - contentType: "application/json" + contentType: "application/json", + error: function (xhr, error, code) { + console.log(xhr, code); + } }, columns: [ { title: "Name", data: function (row, type, set) { diff --git a/lxconsole/templates/head.html b/lxconsole/templates/head.html index aa922aa..80aee92 100644 --- a/lxconsole/templates/head.html +++ b/lxconsole/templates/head.html @@ -10,10 +10,11 @@ - - - - + + + + + @@ -24,11 +25,6 @@ - - - - - diff --git a/lxconsole/templates/images.html b/lxconsole/templates/images.html index cbf8e2d..cb6cbb1 100644 --- a/lxconsole/templates/images.html +++ b/lxconsole/templates/images.html @@ -6,9 +6,9 @@

{{ page_title | safe }}

{% endblock header %} @@ -98,7 +98,10 @@ url: "../api/images/list_images?id="+serverId + "&project=" + project + "&recursion=1", dataType: "json", dataSrc: "metadata", - contentType: "application/json" + contentType: "application/json", + error: function (xhr, error, code) { + console.log(xhr, code); + } }, columns: [ { title: "Alias", data: function (row, type, set) { diff --git a/lxconsole/templates/container.html b/lxconsole/templates/instance.html similarity index 84% rename from lxconsole/templates/container.html rename to lxconsole/templates/instance.html index 4eeeb62..8047e9b 100644 --- a/lxconsole/templates/container.html +++ b/lxconsole/templates/instance.html @@ -6,10 +6,9 @@

{{ page_title | safe }}

- - @@ -49,11 +48,11 @@
@@ -107,11 +106,11 @@ Backups
@@ -193,19 +192,20 @@
+ + + + + +{% endblock content %} + +{% block modal %} + {% include 'modals/instances.html' %} +{% endblock modal %} + +{% block script %} + +{% endblock script %} \ No newline at end of file diff --git a/lxconsole/templates/logs.html b/lxconsole/templates/logs.html index 0d4e9ac..b021d3a 100644 --- a/lxconsole/templates/logs.html +++ b/lxconsole/templates/logs.html @@ -54,7 +54,10 @@ url: "../api/logs/list_logs", dataType: "json", dataSrc: "data", - contentType: "application/json" + contentType: "application/json", + error: function (xhr, error, code) { + console.log(xhr, code); + } }, columns: [ { title: "Id", data: function (row, type, set) { diff --git a/lxconsole/templates/main.html b/lxconsole/templates/main.html index a79df90..8d756fb 100644 --- a/lxconsole/templates/main.html +++ b/lxconsole/templates/main.html @@ -3,7 +3,7 @@ {% include 'head.html' %} - +
@@ -40,7 +40,7 @@
- Version 0.3.0 + Version 0.4.0
Copyright © 2020-Present Penning Labs. All rights reserved.
@@ -51,20 +51,15 @@ + + + - + - + - - - - - - - - diff --git a/lxconsole/templates/modals/access-controls.html b/lxconsole/templates/modals/access-controls.html index 66b9c21..d4d9b84 100644 --- a/lxconsole/templates/modals/access-controls.html +++ b/lxconsole/templates/modals/access-controls.html @@ -4,7 +4,7 @@
diff --git a/lxconsole/templates/modals/cluster-groups.html b/lxconsole/templates/modals/cluster-groups.html index b2f9638..98369b0 100644 --- a/lxconsole/templates/modals/cluster-groups.html +++ b/lxconsole/templates/modals/cluster-groups.html @@ -4,17 +4,17 @@ @@ -89,17 +89,17 @@
@@ -136,8 +136,8 @@
@@ -152,7 +152,7 @@ diff --git a/lxconsole/templates/modals/cluster-members.html b/lxconsole/templates/modals/cluster-members.html index fd80f59..2180f44 100644 --- a/lxconsole/templates/modals/cluster-members.html +++ b/lxconsole/templates/modals/cluster-members.html @@ -4,17 +4,17 @@ @@ -77,17 +77,17 @@
@@ -125,8 +125,8 @@
@@ -141,7 +141,7 @@ diff --git a/lxconsole/templates/modals/groups.html b/lxconsole/templates/modals/groups.html index dcfee82..f2cef27 100644 --- a/lxconsole/templates/modals/groups.html +++ b/lxconsole/templates/modals/groups.html @@ -4,7 +4,7 @@ @@ -53,7 +53,7 @@ diff --git a/lxconsole/templates/modals/images.html b/lxconsole/templates/modals/images.html index be2411b..ea1b0a4 100644 --- a/lxconsole/templates/modals/images.html +++ b/lxconsole/templates/modals/images.html @@ -4,17 +4,17 @@ @@ -143,7 +143,7 @@ diff --git a/lxconsole/templates/modals/container.html b/lxconsole/templates/modals/instance.html similarity index 84% rename from lxconsole/templates/modals/container.html rename to lxconsole/templates/modals/instance.html index 2a7a33d..8831ef2 100644 --- a/lxconsole/templates/modals/container.html +++ b/lxconsole/templates/modals/instance.html @@ -1,11 +1,10 @@ - @@ -81,7 +80,7 @@ @@ -113,7 +112,7 @@ @@ -144,7 +143,7 @@ @@ -176,7 +175,7 @@ @@ -244,7 +243,7 @@ @@ -372,7 +371,7 @@ @@ -404,7 +403,7 @@