aboutsummaryrefslogtreecommitdiff
path: root/util.py
AgeCommit message (Expand)Author
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
2014-12-23Call the new probe_switches() methodSteve McIntyre
2014-12-23Convert get_all_switches() into a new daemon query probe_switches()Steve McIntyre
2014-12-23s/enablepassword/enable_password/gSteve McIntyre
2014-12-22Fix up some pylint errors and warningsSteve McIntyre
2014-12-22Big raft of changes for util code:Steve McIntyre
2014-12-22Bugfix - default_vlan_id is part of state, not state.configSteve McIntyre
2014-12-22s/id/ID/ in messagesSteve McIntyre
2014-12-19Implemented the backend for delete_vlan()Steve McIntyre
2014-12-19Fix syntax errorSteve McIntyre
2014-12-19Clarify commentsSteve McIntyre
2014-12-19Add error-handling to create_vlanSteve McIntyre
2014-12-19Add the backend for the create_vlan() APISteve McIntyre
2014-12-17Fix indenting after uncommenting. Ugh, python...Steve McIntyre
2014-12-17Add perform_vlan_update()Steve McIntyre
2014-12-17Clarify error messages and commentsSteve McIntyre
2014-12-17Move debug code from vland to a helper function hereSteve McIntyre
2014-12-17Add the perform_db_update helper functionSteve McIntyre