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

Signed-off-by: Fabian Grünbichler <f.gruenbich...@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


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to