storage.rb: change get_dev_port
updated thrift