BIGIQ
Code
- class bigrest.bigiq.BIGIQ(device: str, username: str = None, password: str = None, login_provider: str = 'tmos', request_token: bool = False, token: str = None, refresh_token: str = None, debug: str = None, session_verify: bool = True, timeout: int = 10)
Defines methods to call the iControl REST API that can be used by BIG-IQ.
- Parameters:
device – Name or IP of the device to send the HTTP requests.
username – Username used to login to the device.
password – Password used to login to the device.
login_provider – Login provider used to authenticate the user.
request_token – Indicates if a token should be requested from the device and used for HTTP requests.
token – Token to be used to send HTTP requests to the device.
refresh_token – Refresh token to be used to request new token, the new token will be then used for HTTP requests.
debug – Debug file name to be used to output the debug information.
session_verify – Disables SSL certificate validation if set to False
timeout – Specifies the number of seconds to wait for a response from the device.
- Exceptions:
InvalidOptionError: Raised when invalid options are used as arguments.
Example
device = BIGIQ("192.168.255.1", "admin", "password")