Check and refactor SeedDB to support consolidated interface table

Registered by Morten Brekkevold

The Seed Database tool must be checked for dependencies to the old swport/gwport tables. Any such dependency must be refactored to support the new interface table, including the notion that modules are a compulsory dependency for an interface.

Blueprint information

Status:
Complete
Approver:
Morten Brekkevold
Priority:
High
Drafter:
Morten Brekkevold
Direction:
Approved
Assignee:
Morten Brekkevold
Definition:
Approved
Series goal:
Accepted for 3.6
Implementation:
Implemented
Milestone target:
milestone icon 3.6.0b1
Started by
Morten Brekkevold
Completed by
Morten Brekkevold

Related branches

Sprints

Whiteboard

A previous, quick code-review of SeedDB suggests that it uses forgetSQL solely for pulling lookup values from the database, not for updates. This could be an excellent opportunity to do a small refactoring to use Django's ORM. This may entirely rid us of the pesky forgetSQL dependency. If not, the forgetSQL models need to be updated as well :P

Other than that, I believe its involvement with the swport table is only related to seeding the cabling and patch tables. It might touch gwport in relation to prefix editing, but I doubt it.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.