Renamed the admin program from "admin.py" to "vland-admin"

This will make packaging easier

Change-Id: I840aa8e73911bcb4b02903a0202178005e2c58b3
diff --git a/Changelog b/Changelog
index f147d6f..90efbc2 100644
--- a/Changelog
+++ b/Changelog
@@ -1,6 +1,8 @@
 vland 0.7
 
  * Added new driver to support the Mellanox SN2100 switch, using MLNX-OS
+ * Renamed the admin program from "admin.py" to "vland-admin" to make
+   packaging easier
  * Minor changes to the database code:
    + Automatic schema updates at vland startup
    + Add extra lock_reason field in the port table, and code to match
diff --git a/README b/README
index 76f5f13..e7bb828 100644
--- a/README
+++ b/README
@@ -84,9 +84,9 @@
 
 The core VLANd code is simple to configure - see vland.cfg for an
 example config file. Once your copy of VLANd is running, use the
-administration utility admin.py to control what it does. For now, this
-is single-threaded and has *no* security. This *will* change in the
-future, but for very early development has not been a priority.
+administration utility "vland-admin" to control what it does. For now,
+this is single-threaded and has *no* security. This *will* change in
+the future, but for very early development has not been a priority.
 
 The visualisation interface has very few configuration options as
 yet - again, see the default vland.cfg.
diff --git a/test/test-common b/test/test-common
index ddc7986..cdc50d3 100755
--- a/test/test-common
+++ b/test/test-common
@@ -70,7 +70,7 @@
 # Run a vland admin command, and optionally log both the full text of
 # the command and its output
 run_admin_command () {
-    ADMIN="python $TOPDIR/admin.py"
+    ADMIN="python $TOPDIR/vland-admin"
     vlog "Running \"$ADMIN $@\""
     LAST_COMMAND="$@"
     RESULT=$($ADMIN $@)
diff --git a/admin.py b/vland-admin
similarity index 99%
rename from admin.py
rename to vland-admin
index b7ae1b7..96a7cfc 100755
--- a/admin.py
+++ b/vland-admin
@@ -31,7 +31,7 @@
 from config.config import VlanConfig
 from ipc.ipc import VlanIpc
 
-prog = "admin"
+prog = "vland-admin"
 version = "0.7"
 banner = "Linaro VLANd admin interface, version %s" % version
 exitcode = Error.OK
@@ -79,7 +79,7 @@
 def call_vland(msgtype, msg):
     ipc = VlanIpc()
     ipc.client_connect('localhost', config.vland.port)
-    msg['client_name'] = 'admin.py'
+    msg['client_name'] = 'vland-admin'
     msg['type'] = msgtype
     ipc.client_send(msg)
     ret = ipc.client_recv_and_close()
diff --git a/vland.py b/vland.py
index d5ee2ff..633e10f 100755
--- a/vland.py
+++ b/vland.py
@@ -101,7 +101,7 @@
     print 'You have configured access details for %d switch(es), ' % len(state.config.switches)
     print 'but have %d switch(es) registered in your database.' % len(switches)
     print 'You must fix this difference for VLANd to work sensibly.'
-    print 'HINT: Running admin.py auto_import_switch --name <switch_name>'
+    print 'HINT: Running vland-admin auto_import_switch --name <switch_name>'
     print 'for each of your switches may help!'
     print
 
diff --git a/vland.service b/vland.service
index 7609743..83397c9 100644
--- a/vland.service
+++ b/vland.service
@@ -7,7 +7,7 @@
 [Service]
 Type=simple
 ExecStart=/home/vland/vland/vland.py
-ExecStop=/home/vland/vland/admin.py shutdown
+ExecStop=/home/vland/vland/vland-admin shutdown
 WorkingDirectory=/home/vland/vland
 User=vland