#49084 Improvements to dsadm and dsconf
Closed: wontfix None Opened 7 years ago by firstyear.

We are starting to develop our new admin tools dsadm and dsconf.

In order to improve the user experience, rather than just relying on argparse and manual ordering, I would like to try configshell.

This is used by the iscsi utilities, notably targetcli. The upstream of this is: https://github.com/Datera/configshell.

It can be used both interactively, and scripted.

Here is an example of it in use.

# dsadm   
/> ls
o- / ......................................................................................................................... [...]
  o- localhost ............................................................................................................... [...]
/> cd localhost 
/localhost> ls
o- localhost ................................................................................................................. [...]
/localhost> help

AVAILABLE COMMANDS
==================
The following commands are available in the
current path:

  - bookmarks action [bookmark] 
  - cd [path] 
  - exit 
  - get [group] [parameter...] 
  - help [topic] 
  - ls [path] [depth] 
  - pwd 
  - restart 
  - set [group] [parameter=value...] 
  - start 
  - status 
  - stop

/localhost> status
Instance is running
/localhost> restart
ERROR:lib389:NOTICE: Starting instance with ASAN options
ERROR:lib389:This is probably not what you want. Please contact support.
ERROR:lib389:ASAN options will be copied from your environment
/localhost> status
Instance is running
/localhost>

I like the dragon, + to karma :)

For now, the interest is not here. Will revisit this later.

Metadata Update from @pj101:
- Issue assigned to firstyear
- Issue set to the milestone: 389-admin,console FUTURE

7 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/2143

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Invalid)

3 years ago

Login to comment on this ticket.

Metadata