Switch argument order for better logic
Change-Id: I8054e90c2a3f8d46814eb34459d1395341cc3fb7
diff --git a/db/db.py b/db/db.py
index 9754a39..021605d 100644
--- a/db/db.py
+++ b/db/db.py
@@ -69,7 +69,7 @@
# Constraints:
# 1. The switch referred to must already exist
# 2. The VLANs mentioned here must already exist
- def create_port(self, name, switch_id, current_vlan_id, base_vlan_id):
+ def create_port(self, switch_id, name, current_vlan_id, base_vlan_id):
switch = self.get_switch(switch_id)
if switch is None: