Skip to main content

DB schema and sqlalchemy db models for fibrenest

Project description


This is the DB schema and sqlalchemy db models for fibrenest


You would want to install this module in your project and then import the needed db model.
There is separate model if the backend DB is postgres.

DB Models for OLD Mysql DB are in


pip install fibrenest-db-models

Example import for postgres

from fibrenest_db_models.postgres import *

Example import for all other DBs

from fibrenest_db_models.all import *

Creating the DB and tables

If the DB is not created, then you would need to first create the DB. Use sqlalchemy-utils for this.

After the DB is created, you can connect to this DB and create tables. Detailed instructions here

engine = create_engine('sqlite:///test.db')


  1. ONT: Table for ONTs info
  2. SUBSCRIPTION: Table for Service subscriptions
  3. RADCHECK: Table for radius radcheck
  4. RADUSERGROUP: Table for radius user group
  5. RADACCT: Radius accounting table. Available only for postgres

Project details

Download files

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

Files for fibrenest-db-models, version 20.12.7
Filename, size File type Python version Upload date Hashes
Filename, size fibrenest_db_models-20.12.7-py3-none-any.whl (8.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size fibrenest_db_models-20.12.7.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page