[Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

James purpleidea at gmail.com
Tue Aug 28 15:13:11 UTC 2012


On Tue, 2012-08-28 at 08:46 -0400, Pranith Kumar Karampuri wrote:
> hi Amar,
>      This is the format we considered initially but we did not go with this because it may exceed 80 chars and wrap over for small terminals if we want to add more fields in future.
This actually seems like a fairly reasonable point to me </sysadmin hat>
However, the most important thing to me is that the --xml output stays
stable. </puppet-gluster hat>

Thank you!
James

> 
> Pranith.
> ----- Original Message -----
> From: "Amar Tumballi" <amarts at redhat.com>
> To: "Gluster Devel" <gluster-devel at nongnu.org>, "gluster-users" <gluster-users at gluster.org>
> Sent: Tuesday, August 28, 2012 4:36:07 PM
> Subject: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer	status'
> 
> Hi,
> 
> Wanted to check if any one is using gluster CLI output of 'peer status' 
> in their scripts/programs? If yes, let me know. If not, we are trying to 
> make it more script friendly.
> 
> For example the current output would look something like:
> 
> -----
> Hostname: 10.70.36.7
> Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
> State: Peer in Cluster (Connected)
> 
> Hostname: 10.70.36.6
> Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef
> State: Peer in Cluster (Connected)
> 
> -----
> 
> New changes would make it look like :
> 
> -------
> UUID                                      Hostname       Status
> c7283ee7-0e8d-4cb8-8552-a63ab05deaa7      10.70.36.7     Connected
> 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef      10.70.36.6     Connected
> 
> -------
> 
> If anyone has better format, or want more information, let us know now. 
> I would keep timeout for this mail as 3 more working days, and without 
> any response, we will go ahead with the change.
> 
> Regards,
> Amar
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120828/d331c38e/attachment.sig>


More information about the Gluster-users mailing list