storage.rb: add method 'get_dev_port'
thrift: add method and update thrift