Scripts¶
I will create some other netor-* scripts in order to make it easier to use them. Just as a mask, because at the end you should know how to work directly with them.
Ansible is very easy and straight forward, but Salt is very hard to get use to the sintaxis.
netor-configto configure neto_home_directory.netor-db-customersto operate on customer table.netor-db-devicesto operate on dbdevices.netor-db-exportto import a CSV file to the current DB (same asdblist -e)netor-db-importto import a CSV file to the current DB.netor-db-listto list full BD or to export to .CSV if only the ‘-e’ parameter is used.netor-db-pushto push DB content to Ansible, Salt and bash scripts.netor-db-sitesto operate on dbsites.netor-db-switchto switch DB in use in scripts.netor-pingto resolve name->ip using Ansible hosts inventory file.netor-salt-restartto restart Salt daemons.netor-salt-startto start Salt daemons.netor-salt-stopto stop Salt daemons.netor-tracerouteto resolve name->ip using Ansible hosts inventory file.netor-salt-view-event-busshortcut to execute native salt command to view event bus.