Thanks Fabian. Sounds like a good plan indeed. I am giving this a shot, let's see how that goes.
On Wed, Nov 18, 2020 at 9:16 PM Fabian Mauchle fabian.mauchle@switch.ch wrote:
On 17.11.20, 15:06, "Imtiyaz Mohammad" imtiyaz@arista.com wrote:
One more thing, I would really appreciate if you can share any
thoughts around the code restructuring you have mentioned in your earlier reply. If that’s something that’s not going to take in a lot of your time.
The structure I once imagined was to modularize the code (maybe roughly along the config blocks), and separate it from the config interpreter. Then have a central core configuring multiple instances of each module and stitching them together. This should also simplify unit testing for each module.
BR, Fabian
-- SWITCH Fabian Mauchle, Network Engineer Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland Phone +41 44 268 15 30, direct +41 44 268 15 39