sonic-telemetry
sonic-telemetry copied to clipboard
Fix Dial-out Insecure Mode
Adds support for insecure mode for testing and development purposes to telemetry dial-out. Based on the changes authored by @liuqu in PR #14 . Previously -insecure failed to connect to collectors running on windows systems, but this fixes this issue.
Dial-out client: Fixes insecure mode
- Fixes insecure mode
- adds skip_verify flag
what test have been conducted for this change? And does all utest still work?
how to config config DB to enable new flag or the new flag should not be enabled in config DB as all?
The change is to the command line arguments only. The change is not reflected in the CONFIG_DB. See #43 which is a new PR to add documentation for the command line arguments for more information.
what test have been conducted for this change? And does all utest still work?
I was unable to unit tests working with or without this update. I have tested manually.
Manual tests include: Dev VM to C# Collector (Both secure and insecure) Tested as an additional service on real SONiC device to C# Collector (Secure) Dev VM to Golang Dial-out collector (Insecure, Insecure with tls_disable on both sides, Secure)