Skip to content

'Message of the day' generator for network devices

Notifications You must be signed in to change notification settings

DavidTWynn/motd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                 )  (
    )         ( /(  )\ )
   (      (   )\())(()/(
   )\  '  )\ (_))/  ((_))
 _((_))  ((_)| |_   _| |
| '  \()/ _ \|  _|/ _` |
|_|_|_| \___/ \__|\__,_|

motd

GitHub last commit commits Python version Coding style

Collaboration project to create a network device 'message of the day' generator web app.

Plan:

  • React front-end to easily create motd templates for applying them to a device
  • Python backend with RestAPI for creating templates with desired inputs
  • Jinja2 template engine for generating the text config
  • Learn from this project as a foundation for other collaboration projects with Python and React

Examples

Setup Python Backend

Requirements

  • Python 3.10
  • Jinja2
git clone https://github.com/DavidTWynn/motd
cd motd
python -m pip install -r requirements.txt

Run Python Backend

> python .\motd_backend\motd\motd.py

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                  Welcome to                  %
%           9516 Snow Heights Cir NE           %
%                 Albuquerque                  %
%                   NM 87112                   %
%                                              %
%             Model: Cisco IOSvL2              %
% Uptime: 2 weeks, 2 days, 5 hours, 23 minutes %
%  Last change: 23:43:51 UTC Wed Sep 21 2022   %
%  CPU five seconds: 25%/0%; one minute: 15%   %
%                 Memory: 15%                  %
%            Uplink utilization: 5%            %
%                                              %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

About

'Message of the day' generator for network devices

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published