E2E TS: Mass device install
Prerequisities
- Installed Dwarfguard 1.0.0+ with CLI root access
- At least 4 devices where agent can be installed
- Out of that, at least two accessible using ssh password
- Out of that, at least one accessible using ssh key
- Out of that, at least one is Advantech router
- Out of that, at least one is Teltonika router
- Out of that, at least one is OpenWRT device
- Out of that, at least one is Linux box
Steps
- Access CLI as root
- Switch to the agents/aad directory under the install root (use
dwarfg_home under 2.0.0+)
- Execute
./push_agent.py to see the format for the device spec file
- Prepare the file for the devices
test.txt, using
- at least 1 with direct password authentication (password directly in the spec file)
- at least 1 with indirect password authentication (password in a separate file)
- at least 1 with key-based authentication
- Execute
push_agent_py --jobs 2 test.txt
- confirm agent is installed on all the devices
- confirm the push tool is handing two devices in parallel