thrift: add new method 'dev_port'