Zhuo adapted code to OpenStack, (VM doesn't know about its own global IP)
Main file and scripts for Indexer.