net_info.sh should be keyed by node hostname rather than flat list of magic-named variables
This would allow rewriting other scripts to avoid duplicated code:
- create_ospf_conf.sh, create_zebra_conf.sh, enable_sr_flags.sh could be rewritten to not be a monster switch statements
- Either rewrite as-is or convert to functions which accept parameters as the interfaces to configure
- get_info.sh would be simlified and able to turn into a loop instead of generating per-node special variables