netlab.sync_client

A sync shim for compatiblity with older versions of the Netlab SDK.

Classes

SyncClient([system, config, config_path])

A client instance with which you can use to interact with a remote NETLAB+ system.

class netlab.sync_client.SyncClient(system='default', config=None, config_path=None)

A client instance with which you can use to interact with a remote NETLAB+ system.

Parameters:
  • system (str) – The name to identify a NETLAB+ system. Defaults to ‘default’.

  • config (None | NetlabServerConfig | Dict[str, Any]) – Configuration options. See below for all possible options for the config.

  • config_path (str | None) – File path location of a JSON config file to be used instead of the default location.

disconnect()

Disconnect from NETLAB+.