Page MenuHomeVyOS Platform

Convert 'show system' operations from vyatta-op to python/xml syntax
Closed, ResolvedPublic

Description

There are few easy to port operations in vyatta-op, which can be moved to vyos-1x:

  • show system connections
  • show system memory
  • show system processes
  • show system storage
  • show system uptime
  • show system login users
  • show system boot-messages
  • show system kernel-messages

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close

Event Timeline

alkersan triaged this task as Normal priority.Aug 16 2019, 3:07 PM
alkersan created this task.
alkersan created this object in space S1 VyOS Public.
alkersan changed the task status from Open to In progress.Aug 16 2019, 3:12 PM

A pair of PRs were made in vyos-1x and vyatta-op.
Thought they would get linked to this task by phabricator automatically, but that didn't happen.

@alkersan Looks good, thanks!

It's probably a good idea to make the group check and sudo wrapper a library function. There may be more scripts that can benefit from it, even some conf mode scripts now use a custom check.

@dmbaturin ok, will address that in the next rewrite