/ 1 min read
VLAN Director - Switch Management Web App
Purpose
This was a webapp used by a configuration center for changing VLANs on a local switch.
Functionality
Techs would sign in using their AD credentials and then change the ports on their configuration bench to match which client they were applying a Windows image for.
The login screen
Once logged in, they had options to configure based on the dropdowns which were loaded with all the clients and corresponding VLAN numbers. There was an audit log history in the UI to see what users were doing to avoid configuring over someone else’s work.
The main dashboard
This app was used by the configuration techs for quite some time.
Tech Used
- At the time this ran on a virtual server on-premise
- Node.js web service using Express, handlebars, EJS
- Active Directory integration for authentication
- SSH2Shell for switch communication
⚠️ Security Note: This early project contained AD service account creds IN the codebase…oopsie. This was a valuable learning experience about proper credential management!
Dependencies Used:
{ "dependencies": { "activedirectory": "^0.7.2", "basic-auth-connect": "^1.0.0", "body-parser": "^1.18.3", "cookie-parser": "^1.4.3", "ejs": "^2.6.1", "express": "^4.16.3", "express-session": "^1.15.6", "passport": "^0.4.0", "passport-ldapauth": "^2.1.0", "ssh2shell": "^1.9.0" }}