commit 7ca49b48c53ae33706e8859930e18e6456de0946
Author: Joseph Vazhappilly <email address hidden>
Date: Wed May 29 01:28:44 2024 -0400
Support verify and cert in cgtsclient upload cmd
Cgtsclient uses post method of request module to upload files and
does not use, verify and cert options of post method. This cause
failure when doing insecure upload like in license-install command.
This change updates cgtsclient to use verify and cert options of
post method, when using upload commands.
Test Plan:
PASS: Verify upload with SessionClient using verify & cert options
PASS: Verify upload with HTTPClient using verify & cert options
PASS: Verify insecure, ca-file, cert-file & key-file in cgtsclient
Closes-Bug: 2067447
Change-Id: Icb9aca3d69ddd2e8b7882f0ce6907f18feccd28e
Signed-off-by: Joseph Vazhappilly <email address hidden>
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/920711 /opendev. org/starlingx/ config/ commit/ 7ca49b48c53ae33 706e8859930e18e 6456de0946
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 7ca49b48c53ae33 706e8859930e18e 6456de0946
Author: Joseph Vazhappilly <email address hidden>
Date: Wed May 29 01:28:44 2024 -0400
Support verify and cert in cgtsclient upload cmd
Cgtsclient uses post method of request module to upload files and
does not use, verify and cert options of post method. This cause
failure when doing insecure upload like in license-install command.
This change updates cgtsclient to use verify and cert options of
post method, when using upload commands.
Test Plan:
PASS: Verify upload with SessionClient using verify & cert options
PASS: Verify upload with HTTPClient using verify & cert options
PASS: Verify insecure, ca-file, cert-file & key-file in cgtsclient
Closes-Bug: 2067447
Change-Id: Icb9aca3d69ddd2 e8b7882f0ce6907 f18feccd28e
Signed-off-by: Joseph Vazhappilly <email address hidden>