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()
Metadata
Release files for fn-ont-expunge 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fn_ont_expunge-0.2.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fn_ont_expunge-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / fn_ont_expunge-0.2.tar.gz
| Download URL | fn_ont_expunge-0.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da1c69793b6623617534ef476484f45fa40b902ee911516486477e796daea9f3
|
|
BLAKE2b-256 checksum How to use checksums |
ef41bfd3a7f5dd131d877268348f7b03781de5118fd3272bd30bce4b886c9c3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / fn_ont_expunge-0.2-py3-none-any.whl
| Download URL | fn_ont_expunge-0.2-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14868588608c602fafa318428b09f8aab6ae2e70b476ef3d42c553f7b9c67351
|
|
BLAKE2b-256 checksum How to use checksums |
8f4ae5883387468765b5398f95da6360f0d3144b5d207722ed13e3d1a9658339
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|