Update to use http port from discovery if present

This commit is contained in:
Steven B
2025-01-21 13:49:23 +00:00
parent e163f5f61e
commit 305e732238
12 changed files with 62 additions and 23 deletions

View File

@@ -300,7 +300,9 @@ async def cli(
connection_type = DeviceConnectionParameters.from_values(
dr.device_type,
dr.mgt_encrypt_schm.encrypt_type,
dr.mgt_encrypt_schm.lv,
login_version=dr.mgt_encrypt_schm.lv,
https=dr.mgt_encrypt_schm.is_support_https,
http_port=dr.mgt_encrypt_schm.http_port,
)
dc = DeviceConfig(
host=host,