On Mar 1, 2016, at 6:55 PM, Alexander Turner <[email protected]> wrote:
> Looking into starting a feature that prevents commands from being executed 
> until a 'commit' command is issued in vtysh. Looking through the source code 
> it would seem as if each daemon doesn't exactly facilitate this easily though 
> I'm curious if this can be done through vtysh.
> 
> As in, when each command is entered into vtysh, vtysh checks that it's a 
> valid command (syntactically), stores it in an array and executes the list 
> (and clearing said array) when the commit command is issued. Writes would 
> still be the same. 
> 
> What's the consensus amongst the community? Has anyone tried this or spoken 
> about this previously?
> 
> Interested to hear thoughts and get a discussion going...

This has already been done, as part of a much much larger project, by Vyatta 
(now VyOS). I haven't looked at the code but it's possible you might be able to 
use some of it- at least the back-end half of it.

/a
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to