Giter Site home page Giter Site logo

ruicunham / rtecli-tui Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 65 KB

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

License: GNU General Public License v3.0

CMake 5.06% C++ 93.59% Makefile 1.35%
netronome p4 p4lang p4language smart-nic

rtecli-tui's Introduction

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

rtecli-tui's People

Contributors

ruicunham avatar lumafepe avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

lumafepe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.