[lxc-devel] [nova-lxd/master] importable Glance metadata definition file

peter-slovak on Github lxc-bot at linuxcontainers.org
Thu May 12 13:14:03 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 570 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160512/11900ead/attachment.bin>
-------------- next part --------------
From 0eed479b9b672c9deba9c0c7d4fc328ebd616e43 Mon Sep 17 00:00:00 2001
From: Peter Slovak <peter.slovak at websupport.sk>
Date: Thu, 12 May 2016 15:10:07 +0200
Subject: [PATCH] importable Glance metadata definition file

---
 contrib/glance_metadefs/compute-lxd-flavor.json | 26 +++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 contrib/glance_metadefs/compute-lxd-flavor.json

diff --git a/contrib/glance_metadefs/compute-lxd-flavor.json b/contrib/glance_metadefs/compute-lxd-flavor.json
new file mode 100644
index 0000000..6171684
--- /dev/null
+++ b/contrib/glance_metadefs/compute-lxd-flavor.json
@@ -0,0 +1,26 @@
+{
+    "namespace": "OS::Nova::LXDFlavor",
+    "display_name": "LXD properties",
+    "description": "You can pass several options to the LXD container hypervisor that will affect the container's capabilities.",
+    "visibility": "public",
+    "protected": false,
+    "resource_type_associations": [
+        {
+            "name": "OS::Nova::Flavor"
+        }
+    ],
+    "properties": {
+        "lxd:nested_allowed": {
+            "title": "Allow nested containers",
+            "description": "Allow or disallow creation of nested containers. If True, you can install and run LXD inside the VM itself and provision another level of containers.",
+            "type": "string",
+            "default": false
+        },
+        "lxd:privileged_allowed": {
+            "title": "Create privileged container",
+            "description": "Containers created as Privileged have elevated powers on the compute host. You should not set this option on containers that you don't fully trust.",
+            "type": "string",
+            "default": false
+        }
+    }
+}


More information about the lxc-devel mailing list