[pve-devel] [PATCH storage 1/2] rbd: add pveceph storage option

Fabian Grünbichler f.gruenbichler at proxmox.com
Fri Aug 25 10:48:03 CEST 2017


to allow differentiating between user-created RBD storage
entries, and those created and managed by pveceph.

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 PVE/Storage/RBDPlugin.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm
index 250ee7c..8eb8d46 100644
--- a/PVE/Storage/RBDPlugin.pm
+++ b/PVE/Storage/RBDPlugin.pm
@@ -277,6 +277,10 @@ sub properties {
 	    description => "Access rbd through krbd kernel module.",
 	    type => 'boolean',
 	},
+	pveceph => {
+	    description => "Storage configuration managed by pveceph.",
+	    type => 'boolean',
+	}
     };
 }
 
@@ -289,6 +293,7 @@ sub options {
 	username => { optional => 1 },
 	content => { optional => 1 },
 	krbd => { optional => 1 },
+	pveceph => { optional => 1 },
     };
 }
 
-- 
2.11.0





More information about the pve-devel mailing list