kytos-ng / flow_manager

Kytos NApp that manages OpenFlow 1.3 entries
https://kytos-ng.github.io/api/flow_manager.html
MIT License
0 stars 7 forks source link

pipeline migration script assumes napps database name and ignore MONGO_DBNAME env var #203

Closed italovalcy closed 1 month ago

italovalcy commented 1 month ago

Hi,

The pipeline_related.py DB migration script, responsible for "Add owner and table_group fields to flows collections" assumes napps as Database name and ignore MONGO_DBNAME environment variable, despite the documentation says differently:

https://github.com/kytos-ng/flow_manager/blob/c791712b50ab76bdabab3fef3366f4eb276d7561/scripts/db/2023.1.0/001_pipeline_related.py#L7