parameters: (self, name)
docstring: Return the instance addr as a string, like "[10.214.133.138:6807 10.214.133.138:6808]"
docstring_summary: Return the instance addr as a string, like "[10.214.133.138:6807 10.214.133.138:6808]"
docstring_tokens: Return the instance addr as a string like [ 10 . 214 . 133 . 138 : 6807 10 . 214 . 133 . 138 : 6808 ]
function: def get_mds_addrs(self, name):
          """
          Return the instance addr as a string, like "[10.214.133.138:6807 10.214.133.138:6808]"
          """
          info = self.get_mds(name)
          if info:
              return [e['addr'] for e in info['addrs']['addrvec']]
          else:
              log.warn(json.dumps(list(self.get_all()), indent=2))  # dump for debugging
              raise RuntimeError("MDS id '{0}' not found in map".format(name))
function_tokens: def get_mds_addrs ( self , name ) : info = self . get_mds ( name ) if info : return [ e [ 'addr' ] for e in info [ 'addrs' ] [ 'addrvec' ] ] else : log . warn ( json . dumps ( list ( self . get_all ( ) ) , indent = 2 ) ) # dump for debugging raise RuntimeError ( "MDS id '{0}' not found in map" . format ( name ) )