Skip to content

An attempt at a terminal user interface (tui) wrapping Netronome's rtecli. Intended to easily monitor and interact with registers, counters and tables.

License

Notifications You must be signed in to change notification settings

RuiCunhaM/rtecli-tui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtecli-tui

An attempt at a terminal user interface (tui) wrapping Netronome's rtecli. Intended to easily monitor and interact with registers and counters values. Built with FTXUI and nlohmann/json.

Warning

This is an ongoing work quickly putted together as a proof of concept/experiment! Bugs and flaws are expected!


Usage

make configure
make
make run REMOTEHOST=<target host>

Known issues:

  • Program hangs if host/rte service is down

TODO:

  • Improve layout
  • Allow to clear registers/counters
  • Improve error handling
    • Response timeout
  • Support Registers count > 1
  • Support Meters
  • Support Multicast Groups
  • Support Port Information
  • Allow to adjust update interval ?
  • Handle integer registers ? (We can't determine if a register is either an unsigned or an integer, so this would require some type of manual input)
  • Resize tables according to the terminal's size
  • Explicitly show when tables are scrollable

About

An attempt at a terminal user interface (tui) wrapping Netronome's rtecli. Intended to easily monitor and interact with registers, counters and tables.

Topics

Resources

License

Stars

Watchers

Forks