OpenIxia / IxNetwork

A central location for IxNetwork sample scripts and utilities. Please also visit http://openixia.com
MIT License
50 stars 59 forks source link

RestPy: Cannot choose correct connection scheme (https) #20

Closed iwanb closed 5 years ago

iwanb commented 5 years ago

I connect to an application server running on windows (with ConnectionManager), for some reason the code assumes that linux -> HTTPS and windows -> HTTP, but AFAIK on windows it also uses HTTPS. The TestPlaform and Connection classes should take the scheme as argument instead of inferring it from the platform.

I'm not sure why the platform is even one of the arguments, it seems it's only used to choose the connection scheme. So I will put "linux" now even though it's running windows.

hubertgee commented 5 years ago

Hi iwanb,

This is fixed. Please get updates via pip install or from Github.

Thanks, Hubert

iwanb commented 5 years ago

Thank you!

Iwan