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

2012-08-28 Thread Amar Tumballi

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@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


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

2012-08-28 Thread Washer, Bryan
htmlbodyI would love thisand would be more than happy to change my 
current parsing...this would make it A LOT easier to parseas well as easier 
to see all information on a disconnected peer as the information will be in a 
single line.

Bryan Washer

-Original Message-
From: gluster-users-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] On Behalf Of Amar Tumballi
Sent: Tuesday, August 28, 2012 6:06 AM
To: Gluster Devel; gluster-users
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@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


NOTICE: This email and any attachments may contain confidential and proprietary 
information of NetSuite Inc. and is for the sole use of the intended recipient 
for the stated purpose. Any improper use or distribution is prohibited. If you 
are not the intended recipient, please notify the sender; do not review, copy 
or distribute; and promptly delete or destroy all transmitted information. 
Please note that all communications and information transmitted through this 
email system may be monitored by NetSuite or its agents and that all incoming 
email is automatically scanned by a third party spam and filtering service

/body/html___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


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

2012-08-28 Thread Pranith Kumar Karampuri
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.

Pranith.
- Original Message -
From: Amar Tumballi ama...@redhat.com
To: Gluster Devel gluster-de...@nongnu.org, gluster-users 
gluster-users@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@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


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

2012-08-28 Thread Pranith Kumar Karampuri
Bryan,
   Why not use --xml at the end of the command? That will print the output in 
xml format. Would that make it easy to parse?.

Pranith.
- Original Message -
From: Bryan Washer bwas...@netsuite.com
To: Amar Tumballi ama...@redhat.com, Gluster Devel 
gluster-de...@nongnu.org, gluster-users gluster-users@gluster.org
Sent: Tuesday, August 28, 2012 5:40:16 PM
Subject: Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 
'peerstatus'




I would love thisand would be more than happy to change my current 
parsing...this would make it A LOT easier to parseas well as easier to see 
all information on a disconnected peer as the information will be in a single 
line. 

Bryan Washer 

-Original Message- 
From: gluster-users-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] On Behalf Of Amar Tumballi 
Sent: Tuesday, August 28, 2012 6:06 AM 
To: Gluster Devel; gluster-users 
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@gluster.org 
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users 


NOTICE: This email and any attachments may contain confidential and proprietary 
information of NetSuite Inc. and is for the sole use of the intended recipient 
for the stated purpose. Any improper use or distribution is prohibited. If you 
are not the intended recipient, please notify the sender; do not review, copy 
or distribute; and promptly delete or destroy all transmitted information. 
Please note that all communications and information transmitted through this 
email system may be monitored by NetSuite or its agents and that all incoming 
email is automatically scanned by a third party spam and filtering service. 
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


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

2012-08-28 Thread Marcelo Roccasalva
On Tue, Aug 28, 2012 at 9:46 AM, Pranith Kumar Karampuri 
pkara...@redhat.com 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.


It would be good to provide a switch for the new format while preserving
the default...



 Pranith.
 - Original Message -
 From: Amar Tumballi ama...@redhat.com
 To: Gluster Devel gluster-de...@nongnu.org, gluster-users 
 gluster-users@gluster.org
 Sent: Tuesday, August 28, 2012 4:36:07 PM
 Subject: [Gluster-users] FeedBack Requested : Changes to CLI output of
 'peerstatus'

 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@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users




-- 
Marcelo

¿No será acaso que esta vida moderna está teniendo más de moderna que de
vida? (Mafalda)
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


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

2012-08-28 Thread Washer, Bryan
htmlbodyIf this is the case...why not add a flag for the more verbose 
information ...and let the default provide just the basics with output very 
easy to parse like this...

Bryan Washer

-Original Message-
From: gluster-users-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] On Behalf Of Pranith Kumar Karampuri
Sent: Tuesday, August 28, 2012 7:46 AM
To: Amar Tumballi
Cc: gluster-users; Gluster Devel
Subject: Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 
'peer status'

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.

Pranith.
- Original Message -
From: Amar Tumballi ama...@redhat.com
To: Gluster Devel gluster-de...@nongnu.org, gluster-users 
gluster-users@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@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


NOTICE: This email and any attachments may contain confidential and proprietary 
information of NetSuite Inc. and is for the sole use of the intended recipient 
for the stated purpose. Any improper use or distribution is prohibited. If you 
are not the intended recipient, please notify the sender; do not review, copy 
or distribute; and promptly delete or destroy all transmitted information. 
Please note that all communications and information transmitted through this 
email system may be monitored by NetSuite or its agents and that all incoming 
email is automatically scanned by a third party spam and filtering service

/body/html___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


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

2012-08-28 Thread Washer, Bryan
htmlbodyPranith,

  I will look at it...Thanks.

Bryan

-Original Message-
From: Pranith Kumar Karampuri [mailto:pkara...@redhat.com] 
Sent: Tuesday, August 28, 2012 7:51 AM
To: Washer, Bryan
Cc: Amar Tumballi; Gluster Devel; gluster-users
Subject: Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 
'peer status'

Bryan,
   Why not use --xml at the end of the command? That will print the output in 
xml format. Would that make it easy to parse?.

Pranith.
- Original Message -
From: Bryan Washer bwas...@netsuite.com
To: Amar Tumballi ama...@redhat.com, Gluster Devel 
gluster-de...@nongnu.org, gluster-users gluster-users@gluster.org
Sent: Tuesday, August 28, 2012 5:40:16 PM
Subject: Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 
'peerstatus'




I would love thisand would be more than happy to change my current 
parsing...this would make it A LOT easier to parseas well as easier to see 
all information on a disconnected peer as the information will be in a single 
line. 

Bryan Washer 

-Original Message- 
From: gluster-users-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] On Behalf Of Amar Tumballi 
Sent: Tuesday, August 28, 2012 6:06 AM 
To: Gluster Devel; gluster-users 
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@gluster.org 
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users 


NOTICE: This email and any attachments may contain confidential and proprietary 
information of NetSuite Inc. and is for the sole use of the intended recipient 
for the stated purpose. Any improper use or distribution is prohibited. If you 
are not the intended recipient, please notify the sender; do not review, copy 
or distribute; and promptly delete or destroy all transmitted information. 
Please note that all communications and information transmitted through this 
email system may be monitored by NetSuite or its agents and that all incoming 
email is automatically scanned by a third party spam and filtering service. 
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


NOTICE: This email and any attachments may contain confidential and proprietary 
information of NetSuite Inc. and is for the sole use of the intended recipient 
for the stated purpose. Any improper use or distribution is prohibited. If you 
are not the intended recipient, please notify the sender; do not review, copy 
or distribute; and promptly delete or destroy all transmitted information. 
Please note that all communications and information transmitted through this 
email system may be monitored by NetSuite or its agents and that all incoming 
email is automatically scanned by a third party spam and filtering service

/body/html
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


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

2012-08-28 Thread James
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 ama...@redhat.com
 To: Gluster Devel gluster-de...@nongnu.org, gluster-users 
 gluster-users@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@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users



signature.asc
Description: This is a digitally signed message part
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


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

2012-08-28 Thread Joe Topjian
Hi Pranith,

On Tue, Aug 28, 2012 at 6:51 AM, Pranith Kumar Karampuri 
pkara...@redhat.com wrote:

Why not use --xml at the end of the command? That will print the output
 in xml format. Would that make it easy to parse?.


IMO, I can see --xml being useful for more sophisticated scripts that
utilize Perl, Python, or Ruby, however, for quick shell scripting, I can
see this being very difficult if not unusable.

Having the output print in set columns, though might wrap when printed on
=80 char terminals, would make it very easy to parse with awk.

Thanks,
Joe
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


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

2012-08-28 Thread James
On Tue, 2012-08-28 at 12:51 -0600, Joe Topjian wrote:
 Hi Pranith,
 
 On Tue, Aug 28, 2012 at 6:51 AM, Pranith Kumar Karampuri
 pkara...@redhat.com wrote:
Why not use --xml at the end of the command? That will
 print the output in xml format. Would that make it easy to
 parse?.
 
 
 IMO, I can see --xml being useful for more sophisticated scripts
 that utilize Perl, Python, or Ruby, however, for quick shell
 scripting, I can see this being very difficult if not unusable.
FWIW: I tend to agree on this point. The other question that comes to
mind is what quick bash scripts are you writing for managing gluster?

Get curious,
James
 
 
 Having the output print in set columns, though might wrap when printed
 on =80 char terminals, would make it very easy to parse with awk.
 
 
 Thanks,
 Joe
 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users



signature.asc
Description: This is a digitally signed message part
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


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

2012-08-28 Thread Joe Topjian
Hi James,

FWIW: I tend to agree on this point. The other question that comes to
 mind is what quick bash scripts are you writing for managing gluster?


quick might not have been the best word to use -- maybe small would
have been better.

For example, peer status + columns + grep + awk could be used for a small
Nagios check command.

Thanks,
Joe
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


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

2012-08-28 Thread James
On Tue, 2012-08-28 at 13:02 -0600, Joe Topjian wrote:
 Hi James,
 
 FWIW: I tend to agree on this point. The other question that
 comes to
 mind is what quick bash scripts are you writing for managing
 gluster?
 
 
 quick might not have been the best word to use -- maybe small
 would have been better. 
 
 
 For example, peer status + columns + grep + awk could be used for a
 small Nagios check command.
Gotcha...

As an aside,

If it's at all helpful to you, I've needed to parse some gluster --xml
and I've made this:
https://github.com/purpleidea/puppet-gluster/blob/master/files/xml.py
which I call from within bash (puppet) basically.

I'm hoping that it remains stable and I don't need to add versions
checks everywhere. It might be a good idea for nagios stuff too.

HTH,
James
 
 
 Thanks,
 Joe 



signature.asc
Description: This is a digitally signed message part
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


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

2012-08-28 Thread Anand Avati
On Tue, Aug 28, 2012 at 4:06 AM, Amar Tumballi ama...@redhat.com wrote:

 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.


I suggest we retain the current output of 'gluster peer status' as-is and
implement the above proposed format in the output of 'gluster --mode=script
peer status' (perhaps make it even more script friendly?). Since
--mode=script is already a support cli switch it would be ideal to include
this change under that itself. Handling of --xml would be independent issue.

If there are suggestions to the desired output format of 'gluster
--mode=script peer status' from the users, it would be good to bring it up
now.

Avati
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users