Added create_vlan code

Change-Id: I1aef9b44190b501dd9a09fb2bac83e8ea590f283
diff --git a/admin.py b/admin.py
index dce7258..c022ad0 100644
--- a/admin.py
+++ b/admin.py
@@ -244,9 +244,17 @@
     print 'Created switch_id %d' % switch_id
 elif opts.create_port is not None:
     port_id = db.create_port(opts.create_port[0],
-                               opts.create_port[1],
-                               False, False, 1, 1)
+                             opts.create_port[1],
+                             False, False, 1, 1)
     print 'Created port_id %d' % port_id
+elif opts.create_vlan is not None:
+    is_base = False
+    if opts.create_vlan[2] in ('1', 'y', 'Y'):
+        is_base = True
+    vlan_id = db.create_vlan(opts.create_vlan[0],
+                             opts.create_vlan[1],
+                             is_base)
+    print 'Created vlan_id %d' % port_id
 else:
     print 'wuh?'