aboutsummaryrefslogtreecommitdiff
path: root/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'util.py')
-rw-r--r--util.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.py b/util.py
index 59f11ea..738eb00 100644
--- a/util.py
+++ b/util.py
@@ -101,6 +101,8 @@ class VlanUtil:
ret = db.get_ports_by_current_vlan(data['vlan_id'])
elif command == 'db.get_ports_by_base_vlan':
ret = db.get_ports_by_base_vlan(data['vlan_id'])
+ elif command == 'db.get_port_mode':
+ ret = db.get_port_mode(data['port_id'])
elif command == 'db.get_ports_by_trunk':
ret = db.get_ports_by_trunk(data['trunk_id'])
elif command == 'db.get_vlan_by_id':