You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usage: device-discovery [-h] [-V] [-s HOST] [-p PORT] -t DIODE_TARGET -k DIODE_API_KEY
Orb Device Discovery Backend
options:
-h, --help show this help message and exit
-V, --version Display Device Discovery, NAPALM and Diode SDK versions
-s HOST, --host HOST Server host
-p PORT, --port PORT Server port
-t DIODE_TARGET, --diode-target DIODE_TARGET
Diode target
-k DIODE_API_KEY, --diode-api-key DIODE_API_KEY
Diode API key. Environment variables can be used by wrapping them in${} (e.g.
${MY_API_KEY})
-a DIODE_APP_NAME_PREFIX, --diode-app-name-prefix DIODE_APP_NAME_PREFIX
Diode producer_app_name prefix
Policy RFC
policies:
discovery_1:
config:
schedule: "* * * * *"#Cron expressiondefaults:
site: New York NYscope:
- hostname: 192.168.0.32username: ${USER}password: admin
- driver: eoshostname: 127.0.0.1username: adminpassword: ${ARISTA_PASSWORD}optional_args:
enable_password: ${ARISTA_PASSWORD}discover_once: # will run only oncescope:
- hostname: 192.168.0.34username: ${USER}password: ${PASSWORD}
Run device-discovery
device-discovery can be run by installing it with pip