aboutsummaryrefslogtreecommitdiff
path: root/db
AgeCommit message (Expand)Author
2018-02-07Plumbed through the get_port_mode() API callSteve McIntyre
2018-02-07More database fixes for the RealDict database changesSteve McIntyre
2018-02-02Switch to using a different db cursor type for full-row lookupsSteve McIntyre
2018-02-01Add support for storing and using lock_reasonSteve McIntyre
2018-01-31setup_db.py is only for bootstrap - upgrade at runtimeSteve McIntyre
2018-01-31Store and use DATABASE_SCHEMA_VERSION in setup_db.py tooSteve McIntyre
2018-01-31In _init_state, track and deal with needed database schema upgradesSteve McIntyre
2018-01-31Update the setup_db code to create version-1 databaseSteve McIntyre
2016-08-25Catch more errors in case we're fed garbage through API callsSteve McIntyre
2016-03-24Release version 0.6v0.6Steve McIntyre
2016-03-22Add better distinction of error casesSteve McIntyre
2015-10-23Fix up the db.get_last_modified_time() outputSteve McIntyre
2015-10-23Add a database last-modified-timeSteve McIntyre
2015-09-25In database multi-element calls, sort the output for consistencyv0.4Steve McIntyre
2015-09-25Preparing the v0.4 releaseSteve McIntyre
2015-09-23Add an option of sort order to the dump_table() methodSteve McIntyre
2015-09-07Make the core scripts executableSteve McIntyre
2015-08-07Fix incomplete commentSteve McIntyre
2015-08-07Add trunks, simple containers to track inter-switch connectionsSteve McIntyre
2015-08-06Fix typo in commentSteve McIntyre
2015-08-05Add new methods to lookup ports by switch and port numberSteve McIntyre
2015-08-05Add the new number field in the ports tableSteve McIntyre
2015-08-03Add find_lowest_unused_vlan_tag() database APISteve McIntyre
2015-07-14Lots and lots of pylint warning fixesSteve McIntyre
2015-04-01Fix up huge numbers of pylint warningsSteve McIntyre
2015-02-12Debug cleanupsSteve McIntyre
2015-01-23Liberally add int() to force arguments to be intsSteve McIntyre
2014-12-23Bugfix: use the right field name for lookupSteve McIntyre
2014-12-22Remove un-needed restore_base_vlan() methodSteve McIntyre
2014-12-21Add get_vlan_tag_by_id()Steve McIntyre
2014-12-18Trivial changes suggested by pylintSteve McIntyre
2014-12-18Typo fixSteve McIntyre
2014-12-17Add _get_multi_elements2() and get_trunk_port_names_by_switch()Steve McIntyre
2014-12-16Lose the timestamp in the database, easier not to have itSteve McIntyre
2014-12-10Added trivial self-test if run directlySteve McIntyre
2014-12-10Added trivial __init__Steve McIntyre
2014-12-08Add length-checking on VLAN namesSteve McIntyre
2014-12-08Complete commenting for database methodsSteve McIntyre
2014-12-08Remove unused methodsSteve McIntyre
2014-12-08Validate VLAN tags on VLAN creationSteve McIntyre
2014-12-05Add helpers for get/set of base/current vlan on portsSteve McIntyre
2014-12-05s/set_vlan/set_current_vlan/Steve McIntyre
2014-12-05Fix syntax for is_trunk and is_lockedSteve McIntyre
2014-12-05More consistemcy updates to the database layerSteve McIntyre
2014-12-05psycopg2 doesn't like us specifying %d, so revertSteve McIntyre
2014-12-05Misc consistency updatesSteve McIntyre
2014-12-05More consistency in input validationSteve McIntyre
2014-12-05Add set_port_modeSteve McIntyre
2014-12-05Check the port exists in set_port_is_lockedSteve McIntyre
2014-12-05Make the DB APi function names clearerSteve McIntyre