Skip to main content

FN ONT expunge

Project description

fn_ont_expunge

Performs ONTs expunge from OLT and DB

Usage

from fn_ont_expunge import ONTExpunge
with ONTExpunge(
        ont_sn='ont_sn',
        ontid=1,
        portid=0,
        slotid=1,
        frameid=0,
        olt_device_details={'host': 'some_host', 'password': 'password'},
        logger=logger, # logging.Logger object
        old_db_session=db_session # sqlachemy.orm.Session object
) as expunge:
    expunge.expunge_ont()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fn_ont_expunge-0.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

fn_ont_expunge-0.2-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page