gs_archive_server: add bind option to the gs_archive_server command

Currently the service by default runs on when started. When
the service is containerized, it needs to be run on so that
the service is accessible from outside of the container (host). Add a
flag '-b'/'bind' so that a different address can be supplied to
the service via the command line and then update the cherrypy global
configs accordingly.

TEST=Start the service by passing the -b flag and verify if it runs on
the correct address.

Change-Id: I359156c58f059c70e2e3190fd4d1f01a23ddc0fa
Tested-by: Sanika Kulkarni <>
Reviewed-by: Allen Li <>
Reviewed-by: Congbin Guo <>
Commit-Queue: Sanika Kulkarni <>
Auto-Submit: Sanika Kulkarni <>
1 file changed