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

View Change

ganeshactl: add JSON fill_report for FSAL stats

ganesha_stats listed "fsal" in json_not_available, so json fsal always
exited early. DumpFSALStats also lacked fill_report, so even after
unblocking the command there was no structured JSON payload for
scripted consumers.

Implement fill_report to map the shared DBus wire format into fsal,
message, and per-op total/avg_ms/min_ms/max_ms, and drop "fsal" from
json_not_available so json fsal works like other report commands.

Change-Id: I87be6c01ef1c3381fe2d716ba166191debf6a5f1
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, 23 insertions(+), 1 deletion(-)

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

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

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