[telemetry] add telemetry certs on DUT#1716
Conversation
jleveque
left a comment
There was a problem hiding this comment.
As comments. Also, the PR title is confusing. Why is this PR tagged with "[show]"?
|
can you paste the results on the ptf docker? |
|
also, let's not do screenshot. it is hard to search. use markdown format https://www.markdownguide.org/basic-syntax#code-blocks |
Currently, it doesn't run any tasks under -hosts :[ptf] so do not see any error/results |
Updated. Let me know your feedback. Thanks! |
Yes. Thanks! |
It gives no hosts matched PLAY [ptf] ******************************************************************************************************************************************************************************************************** |
| - name: read server cer | ||
| set_fact: | ||
| server_cer: "{{ telemetry_certs['server_cer'] }}" | ||
| when: telemetry_certs['server_cer'] is defined |
Description of PR
Adding server and dsmsroot certs to start telemetry in auth mode
Summary:
Fixes # (issue)
Type of change
Approach
How did you do it?
How did you verify/test it?
using deploy-mg on virtual test bed
Certs copied on SONiC DUT as shown below:
admin@vlab-01:/etc/sonic/telemetry$ ls -l
total 12
-rw-r--r-- 1 root root 1679 Jun 1 05:35 dsmsroot.key
-rw-r--r-- 1 root root 944 Jun 1 05:35 streamingtelemetryserver.cer
-rw-r--r-- 1 root root 1675 May 30 02:08 streamingtelemetryserver.key
admin@vlab-01:/etc/sonic/telemetry$
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation