[pve-devel] [PATCH 1/4] rbd: add nodes and disable options

Alexandre DERUMIER aderumier at odiso.com
Mon Aug 20 13:29:58 CEST 2012


default pool is "rbd" when we create a rbd cluster.

commandline use "rbd" by default if no pool is specified.
(but we need to remove "-p" option)


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre Derumier" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Lundi 20 Août 2012 13:12:35 
Objet: RE: [pve-devel] [PATCH 1/4] rbd: add nodes and disable options 

applied, thanks. 

Do we really need 'pool' or can we make that optional? 

> -----Original Message----- 
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel- 
> bounces at pve.proxmox.com] On Behalf Of Alexandre Derumier 
> Sent: Freitag, 17. August 2012 15:17 
> To: pve-devel at pve.proxmox.com 
> Subject: [pve-devel] [PATCH 1/4] rbd: add nodes and disable options 
> 
> 
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com> 
> --- 
> PVE/Storage/RBDPlugin.pm | 6 ++++-- 
> 1 files changed, 4 insertions(+), 2 deletions(-) 
> 
> diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm index 
> 2b36cc9..1699dbc 100644 
> --- a/PVE/Storage/RBDPlugin.pm 
> +++ b/PVE/Storage/RBDPlugin.pm 
> @@ -110,10 +110,12 @@ sub properties { 
> 
> sub options { 
> return { 
> + nodes => { optional => 1 }, 
> + disable => { optional => 1 }, 
> monhost => { fixed => 1 }, 
> - pool => { fixed => 1 }, 
> + pool => { fixed => 1 }, 
> username => { fixed => 1 }, 
> - authsupported => { fixed => 1 }, 
> + authsupported => { fixed => 1 }, 
> content => { optional => 1 }, 
> }; 
> } 
> -- 
> 1.7.2.5 
> 
> _______________________________________________ 
> pve-devel mailing list 
> pve-devel at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 





-- 

-- 



	

Alexandre D e rumier 

Ingénieur Systèmes et Réseaux 


Fixe : 03 20 68 88 85 

Fax : 03 20 68 90 88 


45 Bvd du Général Leclerc 59100 Roubaix 
12 rue Marivaux 75002 Paris 




More information about the pve-devel mailing list