aboutsummaryrefslogtreecommitdiff
path: root/util.py
AgeCommit message (Expand)Author
2016-03-22Add better distinction of error casesSteve McIntyre
2016-03-12Bugfix: s/if/elif/ typo in the middle of the db_update API handlerSteve McIntyre
2016-03-12Start 0.6 development, and update boilerplateSteve McIntyre
2015-10-23Add a database last-modified-timeSteve McIntyre
2015-10-19Update config handling for logging level, and add testSteve McIntyre
2015-10-09More robust error handling and loggingSteve McIntyre
2015-09-23Move common loglevel code into a new utility function set_logging_level()Steve McIntyre
2015-09-18Fix format string errorSteve McIntyre
2015-09-04Log when creating a VLAN failed, displaying the switch's errorSteve McIntyre
2015-09-04Correct log message when adding trunk ports to a new VLANSteve McIntyre
2015-09-03Compare the default_vlan_tag to vlan.tagSteve McIntyre
2015-09-03Bug fix when changing ports from access to trunk modeSteve McIntyre
2015-08-07Add trunks, simple containers to track inter-switch connectionsSteve McIntyre
2015-08-06In the backend for create_port, only allow numbersSteve 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-03If we're passed a VLAN tag of -1, find and allocate the first unusedSteve McIntyre
2015-07-27Misc small fixes after pylint checkingSteve McIntyre
2015-07-24When importing a switch, handle extra port modes gracefullySteve McIntyre
2015-07-24More "is not" --> != fixesSteve McIntyre
2015-07-21Fix syntax for a del() callSteve McIntyre
2015-07-21Add logging in major failure paths in API callsSteve McIntyre
2015-07-17Fix daft logic bug with use of "is not"Steve McIntyre
2015-07-14Pass through the switch debug setting when starting up a switch driverSteve McIntyre
2015-07-09Fix major bug in util.set_port_mode()Steve McIntyre
2015-04-01Fix up huge numbers of pylint warningsSteve McIntyre
2015-02-13Add missing string parameters in error messageSteve McIntyre
2015-02-13Check locking first on set_current_vlanSteve McIntyre
2015-02-13Check for locking on set_port_modeSteve McIntyre
2015-02-12Debug cleanupsSteve McIntyre
2015-02-11Tweak debug outputSteve McIntyre
2015-02-11Bugfix - track the right list of VLANs for the switchSteve McIntyre
2015-02-11Don't re-add VLANs to trunksSteve McIntyre
2015-02-11Remove debug messageSteve McIntyre
2015-02-09Add VLANs to new switches as needed on importSteve McIntyre
2015-02-09Bugfix: don't add a trunk port to a VLAN just before changing modeSteve McIntyre
2015-01-23Always set the correct mode on ports during switch importSteve McIntyre
2015-01-23Don't attempt to remove the default VLAN from a trunk portSteve McIntyre
2015-01-23Fix string comparisons on port modeSteve McIntyre
2015-01-23Expose db.get_vlan_id_by_tag and db.get_vlan_tag_by_id()Steve McIntyre
2015-01-23Add support for a shutdown call from the admin interfaceSteve McIntyre
2014-12-24Make sure we use vlan_ids, not tags, when adding new portsSteve McIntyre
2014-12-23Add port names to probe_switches() outputSteve McIntyre
2014-12-23Don't catch all the exceptions for now - debugging...Steve McIntyre
2014-12-23More tweaks to auto_import_switch() after testing:Steve McIntyre
2014-12-23The detault VLAN will already exist, and will have a different nameSteve McIntyre
2014-12-23And return the probed dataSteve McIntyre
2014-12-23Fix probe_switches()Steve McIntyre
2014-12-23Use the right variable name for switch_nameSteve McIntyre
2014-12-23Make probe_switches() less verboseSteve McIntyre