Database for Faucet to store all the flows pushed to switches.
Prerequisite:
- RYU-Faucet Controller
- CouchDB
Faucet_db helps us in storing installed flows on database so that application can request and get flows data directly from database.
State of currently installed flows can be requested by large number of applications written to a controller. If they would request directly it from controller it would be overloaded and will lead to performance degradation. So we are storing information in a database corresponding to a datapath_id (UID) of the switch, then the database can provide the switch information at that point in time.
We have created a generic database driver(nsodbc) to support document database. we have tested and validated those APIs with couchDB. Using those APIs we can do following operations on database.
- Connect
- Insert
- Update
- Delete
- Get
Real-time database updation is getting supported.