Bug 771692 - RFE: Matahari Shell for sysadmin and scripting usage
Summary: RFE: Matahari Shell for sysadmin and scripting usage
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Matahari
Classification: Retired
Component: matahari
Version: 0.7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Zane Bitter
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On: 723077 723078
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-04 16:27 UTC by Perry Myers
Modified: 2016-04-26 19:40 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 723078
Environment:
Last Closed: 2012-07-17 12:30:09 UTC


Attachments (Terms of Use)

Description Perry Myers 2012-01-04 16:27:07 UTC
+++ This bug was initially created as a clone of Bug #723078 +++

+++ This bug was initially created as a clone of Bug #723077 +++

Description of problem:
To use matahari agents/apis you need to presently either:
* Write your own QMFv2 Console
* Use qmf-tool

It would be more user friendly if we developed a shell tool (mataharish or mhsh) that provides easily scriptable and interactive access to the mh APIs and agents available on the QMF bus.

This shell could be written utilizing the python QMFv2 console classes.  While we want the agents to be as low level as we can (C++ impementations on C libraries mostly), writing the shell in python would be quicker and easier to extend dynamically.

Comment 1 Perry Myers 2012-01-04 16:29:04 UTC
This bug is to track the completion of the Shell, which was started in the 0.6 release.

The list of specific things that need to be completed for the enhancement are on the wiki here:

https://github.com/matahari/matahari/wiki/Matahari-Shell

* Asynchronous property/statistic reads
* CLI option parsing
* Scripting
* Handle spaces in arguments surrounded by "", [] &c.
* Config file handling
* Logging
* Saved history
* Event notifications
* Special-case RPC plugins
* Paged output
* ? Help
* Named arguments to methods
* Autogenerate documentation


Note You need to log in before you can comment on or make changes to this bug.