From 3489a20e46c601cc3fbb7ede8333b7d8eec4b048 Mon Sep 17 00:00:00 2001 From: matthewalanpenning Date: Sat, 31 Jul 2021 15:44:58 -0400 Subject: [PATCH] v2.1.0 --- CHANGELOG.md | 8 + README.md | 4 +- lxd-dashboard/about.html | 31 +- lxd-dashboard/images.html | 8 +- lxd-dashboard/instances-single.html | 2234 ++++++++++++++++++-- lxd-dashboard/instances.html | 47 +- lxd-dashboard/network-acls-egress.html | 569 +++++ lxd-dashboard/network-acls-ingress.html | 569 +++++ lxd-dashboard/network-acls.html | 18 +- lxd-dashboard/networks.html | 989 ++++++++- lxd-dashboard/php/aaa/authorization.php | 57 +- lxd-dashboard/php/lxd/instances-single.php | 588 +++++- lxd-dashboard/php/lxd/instances.php | 4 - lxd-dashboard/php/lxd/network-acls.php | 283 ++- lxd-dashboard/php/lxd/networks.php | 173 +- lxd-dashboard/php/lxd/operations.php | 2 +- lxd-dashboard/php/lxd/storage-pools.php | 20 + lxd-dashboard/php/lxd/storage-volumes.php | 18 + lxd-dashboard/profiles.html | 13 +- lxd-dashboard/projects.html | 12 +- lxd-dashboard/remotes.html | 10 +- lxd-dashboard/settings.html | 55 +- lxd-dashboard/sidebar.html | 2 +- lxd-dashboard/simplestreams.html | 18 +- lxd-dashboard/storage-pools.html | 20 +- lxd-dashboard/storage-volumes.html | 13 +- 26 files changed, 5469 insertions(+), 296 deletions(-) create mode 100644 lxd-dashboard/network-acls-egress.html create mode 100644 lxd-dashboard/network-acls-ingress.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c900bfdd8c09db20b523ffcc4bd6f9f6cc131e4..c669e721bd83eeffecf6f23ee33a03866ef82ab3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# v2.1.0 +- Feature: Users can now add network, disk, and proxy devices directly to an instance from a form +- Feature: Users can now remove network, disk, and proxy devices from an instance using the dashboard +- Feature: Additional configuration properties have been added to the web form for creating Networks +- Feature: Users can add/remove Network ACL egress/ingress rules using the dashboard +- Feature: The Exec terminal experience has been added to instances +- Feature: Users can click on the "Check for updates" button in the About modal to get a version status + # v2.0.3 - Bug Fix: Continuing the bug fix from previous version, used float type casting for memory variables on remote-single page rather than letting PHP automatically deciding on variable type. diff --git a/README.md b/README.md index ff1487f4611acdfec55e1fa4b311d97b18ae19df..5e801f9b5afbe6332eac317fc1e54409c18e9d21 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # lxd-dashboard -LXDWARE is an open source LXD dashboard that provides a web-based user interface for controlling the entire LXD-based virtual infrastructure. Some of the features include: +This open source LXD dashboard is developed by LXDWARE and provides a web-based user interface capable of managing multiple LXD servers from a single location. Some of the features include: - Connect and manage multiple LXD servers - Create LXD container and virtual machine instances from either a form or JSON input @@ -12,7 +12,7 @@ LXDWARE is an open source LXD dashboard that provides a web-based user interface - Create, edit, apply, and remove LXD profiles - Create, edit, and delete networks, storage pools, storage volumes, and projects - Switch between projects on an LXD host -- Interact with instances using web-based terminal console +- Interact with instances using web-based terminal - Create and download backups of LXD instance to your local computer - Create local users and groups - Apply role based access control diff --git a/lxd-dashboard/about.html b/lxd-dashboard/about.html index fb48bfeb608b5c736672c59111554c674c439b9f..f28aa46553f666973735852fae24e7f7a0808c6d 100644 --- a/lxd-dashboard/about.html +++ b/lxd-dashboard/about.html @@ -19,9 +19,32 @@ along with this program. If not, see . -

About: LXDWARE is an open source LXD dashboard that provides a web-based user interface for controlling the entire LXD-based virtual infrastructure.

-

Version: 2.0.3

-

License: AGPL-3.0

-

URL: https://lxdware.com

+

This open source LXD dashboard is developed by LXDWARE and provides a web-based user interface capable of managing multiple LXD servers from a single location.

+

+ Version: v2.1.0
+ License: AGPL-3.0
+ URL: https://lxdware.com
+

+ +
+

+ +
+ + \ No newline at end of file diff --git a/lxd-dashboard/images.html b/lxd-dashboard/images.html index 5f0a83c84a070d29f4078fa22be4c68f31e06d02..77334a786968335e99643095f455b39c29338982 100644 --- a/lxd-dashboard/images.html +++ b/lxd-dashboard/images.html @@ -229,7 +229,7 @@ along with this program. If not, see .
- +
@@ -239,6 +239,9 @@ along with this program. If not, see . +
+ +
@@ -249,6 +252,9 @@ along with this program. If not, see .
+
+ +
diff --git a/lxd-dashboard/instances-single.html b/lxd-dashboard/instances-single.html index decb4b387213e511d7e72df769600c5d0e8d43a2..ae7ad3e9e6510163f5ca34aff1ace8033dc1111e 100644 --- a/lxd-dashboard/instances-single.html +++ b/lxd-dashboard/instances-single.html @@ -197,12 +197,14 @@ along with this program. If not, see . General Snapshots Profiles + Interfaces Network Devices Disk Devices Proxy Devices Backups Logs Console + Exec @@ -405,7 +407,7 @@ along with this program. If not, see .
Snapshots
@@ -426,7 +428,7 @@ along with this program. If not, see .
Profiles
@@ -439,12 +441,35 @@ along with this program. If not, see . +
+ +
+ +
+
Interfaces
+ +
+ +
+
+ +
+
+
+
+ +
Network Devices
+
@@ -462,6 +487,10 @@ along with this program. If not, see .
Disk Devices
+
@@ -479,6 +508,10 @@ along with this program. If not, see .
Proxy Devices
+
@@ -498,7 +531,7 @@ along with this program. If not, see .
Backups
@@ -546,6 +579,28 @@ along with this program. If not, see .
+
+ +
+ +
+
Exec
+ +
+ +
+
+
+
+ +
@@ -593,16 +648,19 @@ along with this program. If not, see . @@ -632,17 +693,20 @@ along with this program. If not, see . @@ -660,18 +724,21 @@ along with this program. If not, see . @@ -689,17 +756,20 @@ along with this program. If not, see . @@ -717,18 +787,21 @@ along with this program. If not, see . @@ -747,31 +820,40 @@ along with this program. If not, see . @@ -285,11 +285,11 @@ along with this program. If not, see .

               

Import the certificate file on your remote LXD server by running the command:
- lxc config trust add lxdware.crt + lxc config trust add lxdware.crt

For LXD hosts that are not part of a cluster, use the following command to listen for incoming connections:
- lxc config set core.https_address [::] + lxc config set core.https_address [::]

diff --git a/lxd-dashboard/settings.html b/lxd-dashboard/settings.html index cde7c64f2375e86927f673f72e327bc307e0b7b6..47f3184398c4492bad6a85fe96199abf48bc453d 100644 --- a/lxd-dashboard/settings.html +++ b/lxd-dashboard/settings.html @@ -246,47 +246,62 @@ along with this program. If not, see .
-
+
+
+ +
-
+
+
+ +
-
+
+
+ +
-
+
+
+ +
-
+
+
+ +
@@ -312,12 +327,15 @@ along with this program. If not, see .
-
+
+
+ +
@@ -345,12 +363,15 @@ along with this program. If not, see .
-
+
+
+ +
@@ -398,20 +419,26 @@ along with this program. If not, see .
-
+
+
+ +
-
+
+
+ +
@@ -437,12 +464,15 @@ along with this program. If not, see .
-
+
+
+ +
@@ -470,12 +500,15 @@ along with this program. If not, see .
-
+
+
+ +
diff --git a/lxd-dashboard/sidebar.html b/lxd-dashboard/sidebar.html index d1a1211196fc24a135a0a848bb64444d32a64e2b..4a66083a7cc4dc216f2e2b2ed9ae18dd9b320414 100644 --- a/lxd-dashboard/sidebar.html +++ b/lxd-dashboard/sidebar.html @@ -185,7 +185,7 @@ along with this program. If not, see . $('#projectsIcon').css('color','#fff'); } - if (location.pathname == "/network-acls.html"){ + if (location.pathname == "/network-acls.html" || location.pathname == "/network-acls-egress.html" || location.pathname == "/network-acls-ingress.html"){ $('#networkAclsSpan').css('color','#fff'); $('#networkAclsIcon').css('color','#fff'); } diff --git a/lxd-dashboard/simplestreams.html b/lxd-dashboard/simplestreams.html index b53c3d7be2770f04b848d937555480b8ee65e92f..a4399cb0137bd833072ddb895bd3c0b4baa914b6 100644 --- a/lxd-dashboard/simplestreams.html +++ b/lxd-dashboard/simplestreams.html @@ -221,21 +221,27 @@ along with this program. If not, see .