Git Product home page Git Product logo

cable-notes's Introduction

Cable Notes

This is a concept solution for network administrators to make changes in network cable connection under control. I show you my idea how to use developer tools like Git and VSCode to managing network cable connections, switches, patch panels, and cabinets. Logging changes is simple from today.


Idea

We could use simply text file in Markdown format (for quite nice PDF creation to create report) and observe changes with git. Is it too simple? No. I spent many hours to find a free graphic solution to write down connections and changes in LAN. And one day...

It seems to me that it will meet my expectations.


Environment

I use following set of tools (you can choose yours):

  1. Code editor - Visual Studio Code.
  2. Git
  3. SourceTree

How it works

With a simply text file with Git we have a tool with following features:

  1. History of commits
  2. Preview of markdown file
  3. Export PDF file from markdown
  4. Planning chances in TODO section
  5. Highlighting string - part of selected panel, switch, etc.
  6. Using SourceTree (or similar tool) to see committed changes
  7. Using grep to see device connection in large file.
  8. Preview modification in Code.

OK, but how?

Use a text file

Pure text in markdown format

I put in two sections:

  1. Uplink Direction (to remember always using one direction: from endpoint to the switch)
  2. TODO. For planned changes. To copypastying.

Formatting source

It should be planned for using text tools in the future (like grep for example).

| source                                   ||||| destination |  
| -------------------------------------------------|-|-|-|-|-|
| Room002 | pc-0409 | S3.P7/12 | IP.38/1 |
| Room005 | pc-0406 | S3.P7/14 | IP.38/2 |

Naming conventions

You should have constant naming conventions. Think about the future. Do I have to talk about it?

Socket signing policy

S2.P2/4
||  | |___ port (1,23...)
||  |_____ patchpanel (P2,P10...)
||________ cabinet number (1,2,...)
|_________ server rack cabinet (S)

Step by step

Here you see my file in prenatal state. On the left Uplink direction section, on the right markdown preview (you need a plugin probably) pierwszy

After changes and save file we use built-in Source control in VSCode. We can see our changes and make git commit directly from a little window on the top. drugi

AND HERE is the Main Feature. Preview of changes. Log of commits. Excellent. You see who, when, what. You can simply turn back wrong decisions... trzeci


Links

cable-notes's People

Contributors

loopold avatar

Watchers

James Cloos avatar  avatar

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.