Sample Data Loading
Generates synthetic device inventory and imports it via the /devices/import API endpoint.
Command
bash
cd /workspaces/NetAlertX/.devcontainer/scripts ./load-devices.sh
Environment
- •
CSV_PATH: defaults to/tmp/netalertx-devices.csv
Prerequisites
- •Backend must be running
- •API must be accessible
What It Does
- •Generates synthetic device records (MAC addresses, IPs, names, vendors)
- •Creates CSV file at
$CSV_PATH - •POSTs to
/devices/importendpoint - •Devices appear in database and UI