Skip to content

A Terminal User Interface (TUI) for few networking tasks.

Notifications You must be signed in to change notification settings

sohanrai09/net_tui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Goal of this little project was me to explore the amazing Textual library. In this project, I'm building an app in the terminal using Textual to perform some basic networking related tasks. I've used Nornir to do the underlying networking tasks.

As of now, net_tui has the functions.

  1. To build a Dashboard with some system and routing protocol information.
  2. To look up a card in a given list of devices.
  3. To look up any pattern of configuration in a list of devices.
  4. To fetch the output of any command across a list of devices.
  5. To generate CLI commands as per the current running configuration on the device, with an option of terse and verbose levels.

For now, list of cards and commands used in function 2 and 4 respectively have been defined manually. May be in the future I can think of making this a bit more dynamic.

Note: This only works on Juniper devices.

net_tui in action

net_tui.mp4

Reference

  • net-textorial by Danny Wade. Danny talks about his project on his Youtube Channel, highly recommend following him.

  • Textual has a very robust documentation, and they are always adding things to it to make it easier to explore.

About

A Terminal User Interface (TUI) for few networking tasks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published