HDFS-4985: Add protocol support for Storage Medium