Hello Reddit.
So now we're all SDN'ing, creating scripts and writing spaghetti code which apply changes to a ton of devices instantly. With this increased productivity we now also have the possibility to screw up much more efficiently than ever before.
Does anyone know of any frameworks which structures the code in a way that helps preventing us in messing up a ton of things and making the code easier to maintain? I'm thinking of a framework which assists in structuring the code and/or forcing one to also verify that the change was correctly implemented and everything is working before continuing.
When doing web devolopment the code is often structured using a framework like Laravel which will split the code into Model View Control (MVC) where the models will communicate with the database, the view will only handle what the users see's and the controller will do all the logic. This really helps forcing the coder to write better code and ensures a lot less bugs.
There's also test-driven development (like Jasmin.js), where you write a test first and then write the code to pass the test. Has anyone tried using something like that for SDN? I imagine it could work rather well for SDN as one could write a bunch of connectivity tests which are run after each change to the network.
Also are there any good libraries out there? :)
No comments:
Post a Comment