class ONUProfile()
def set_configuration()
Adds profile to OLT config. Can be used to set configuration for an existing profile
def add()
Adds profile to OLT config. Can be used to set configuration for an existing profile
def save()
Adds profile to OLT config. Can be used to set configuration for an existing profile.
def delete()
Removes profile to OLT config
class ONU()
ONU Defintion with configuration
def set_configuration()
Use OLT Client to set ONU configuration
def add()
Adds an onu. Can be used to set configuration for an existing ONU
def save()
Adds an onu. Can be used to set configuration for an existing ONU
def delete()
Use OLT Client to delete ONU configuration
def status()
Use OLT Client to retrieve ONU status
class OLTClient()
Client interface to Ubiquiti UFiber OLT. Host can be a hostname or a IP address
def login()
Login using credentials. Returns True/False
def get_configuration()
Returns OLT general configuration. GPON configuration != here.
def set_configuration(data)
Sets configuration using data dict
def delete_configuration(data)
Deletes configuration using data dict
def get_bulk_onu_status()
Returns list and status of provisioned ONUs
def get_onu_status(serial_number)
Returns status of provisioned ONU
def get_onu(serial_number)
Returns status of provisioned ONU
def get_onu_profiles()
Quickly return onu profiles from configuration
def get_onu_profile(profile_id)
Get ONU profile by id