Skip to main content

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()

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file fn_ont_expunge-0.2.tar.gz.

File metadata

  • Download URL: fn_ont_expunge-0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for fn_ont_expunge-0.2.tar.gz
Algorithm Hash digest
SHA256 da1c69793b6623617534ef476484f45fa40b902ee911516486477e796daea9f3
MD5 eb15ae345192e794f74fede928f1bf96
BLAKE2b-256 ef41bfd3a7f5dd131d877268348f7b03781de5118fd3272bd30bce4b886c9c3a

See more details on using hashes here.

File details

Details for the file fn_ont_expunge-0.2-py3-none-any.whl.

File metadata

  • Download URL: fn_ont_expunge-0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for fn_ont_expunge-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 14868588608c602fafa318428b09f8aab6ae2e70b476ef3d42c553f7b9c67351
MD5 b840a7a2cb3a78071c311d5af00b5ee6
BLAKE2b-256 8f4ae5883387468765b5398f95da6360f0d3144b5d207722ed13e3d1a9658339

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2 This release

2 files

0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page