GSTPy.get_gst3_connection — GSTPy documentation

# GSTPy.get_gst3_connection

`GSTPy.``get_gst3_connection`((str)user, (str)password, (str)host, (int)port[, (str)client_cert='']) → NetworkInterface :

  Establish a connection to the gst3 backend interface.

  Parameters

    - user (str) – The username of the gst3 user.

    - password (str) – The password of the gst3 user.

    - host (str) – The hostname or ip of the gst3 instance.

    - port (int) – The port of the gst3 instance.

    - client_cert (str) – The file path to the PEM encoded client SSL certificate. Optional. If not provided, it uses the system certificate chain.

  Returns

    The network interface.

  Return type

    NetworkInterface