aboutsummaryrefslogtreecommitdiff
path: root/db
AgeCommit message (Expand)Author
2014-12-02Switch to NamedTuple curson factorySteve McIntyre
2014-12-02Add constraints to delete_switch()Steve McIntyre
2014-12-02Add get_ports_by_switch() helper methodSteve McIntyre
2014-12-02Fix _delete_row() so it actually works!Steve McIntyre
2014-12-02Comment for _get_element()Steve McIntyre
2014-12-02Add _get_multi_elements() helper methodSteve McIntyre
2014-12-02Use rowcount rather than exceptions on fetchone()[]Steve McIntyre
2014-12-02Whitespace tidyingSteve McIntyre
2014-12-02Change API for _get_element to avoid exceptionsSteve McIntyre
2014-12-02Add constraints checking on create_vlanSteve McIntyre
2014-12-02Add comments and constraints checking on create_portSteve McIntyre
2014-12-02Add constraints on create_switchSteve McIntyre
2014-12-02Import the new InputError typeSteve McIntyre
2014-11-28_get_row needs the same psycopg hoop-jumping as _get_elementSteve McIntyre
2014-11-28Comment on vlan_createSteve McIntyre
2014-11-28Add DB function to lock/unlock a port entrySteve McIntyre
2014-11-28Split get_vlan_id into 2 new methodsSteve McIntyre
2014-11-28Start commenting methodsSteve McIntyre
2014-11-28Modify the _get_element() wrapper to work with psycopgSteve McIntyre
2014-11-28Clean up the create_port interface, and document itSteve McIntyre
2014-11-28More DB tweaksSteve McIntyre
2014-11-28Switch creation_time to use the TIMESTAMPTZ typeSteve McIntyre
2014-11-27More DB cleanupsSteve McIntyre
2014-11-27More DB schema tweaksSteve McIntyre
2014-11-27Tweaks to database setupSteve McIntyre
2014-11-27Fix up the dump codeSteve McIntyre
2014-11-27Add quotes around values in INSERT statementsSteve McIntyre
2014-11-27Separate out connection and cursor optionsSteve McIntyre
2014-10-20Fix typo in Dave's email addressSteve McIntyre
2014-09-18Trivial change testDave Pigott
2014-09-18Add vlan set and take downDave Pigott
2014-09-18Add try/except and rollback for all database changesDave Pigott
2014-09-17Add first pass of database apiDave Pigott