open-traffic-generator / ixia-c

Ixia-c Traffic Generator
MIT License
191 stars 18 forks source link

Add sidebar advising how to avoid insecure warnings for snappi api() #34

Open ankur-sheth opened 3 years ago

ankur-sheth commented 3 years ago

Reported by @chrispsommers

ankur-sheth commented 3 years ago

[From Chris Sommers] In section https://github.com/open-traffic-generator/athena/blob/dev-mon-ist/docs/hello-snappi.md#instantiate-snappi-api

I'd add a sidebar or note advising how to suppress insecure warnings. Many use-cases will be using localhost connections and the constant warnings are obnoxious.

import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) # Silence insecure warnings