erodriguez@lazyk-ranch.com has uploaded this change for review.

View Change

ganeshactl: support FSAL-agnostic stats display in ganesha_stats

DumpFSALStats only rendered the DBus reply when fsal_name was "GPFS".
Ceph and any other FSAL that implements fsal_extract_stats use the same
wire format (status, errmsg, timestamp, name, flat op tuples, message),
so ganesha_stats fsal <name> produced no usable output for those modules
even when the server returned OK stats.

Drop the GPFS-only branch and format from the returned fsal_name and
shared tuple layout. Document that the CLI argument is the registered
FSAL module name (e.g. GPFS, Ceph).

Change-Id: I0b6464c38f8572cdf983155e2940c3e8b34aaa73
Signed-off-by: Edwin Rodriguez <edwin.rodriguez1@ibm.com>
---
M src/scripts/ganeshactl/Ganesha/glib_dbus_stats.py
M src/scripts/ganeshactl/ganesha_stats.py
2 files changed, 26 insertions(+), 22 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/50/1259550/1

To view, visit change 1259550. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I0b6464c38f8572cdf983155e2940c3e8b34aaa73
Gerrit-Change-Number: 1259550
Gerrit-PatchSet: 1
Gerrit-Owner: erodriguez@lazyk-ranch.com