[pve-devel] [v2 storage 1/4] rbd: add pveceph storage option

Fabian Gr├╝nbichler f.gruenbichler at proxmox.com
Tue Aug 29 13:04:23 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>
---
changes since v1:
- make parameter fixed
- adapted description for new behaviour

 PVE/Storage/RBDPlugin.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm
index 250ee7c..c5590c4 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 (using /etc/pve/ceph.conf).",
+	    type => 'boolean',
+	}
     };
 }
 
@@ -289,6 +293,7 @@ sub options {
 	username => { optional => 1 },
 	content => { optional => 1 },
 	krbd => { optional => 1 },
+	pveceph => { optional => 1, fixed => 1 },
     };
 }
 
-- 
2.11.0




More information about the pve-devel mailing list