def METHOD_NAME(name="all"):
    """
    Using drbdadm to show status of the DRBD devices,
    available in the latest drbd9.
    Support multiple nodes, multiple volumes.
    :type name: str
    :param name:
        Resource name.
    :return: drbd status of resource.
    :rtype: list(dict(res))
    CLI Example:
    .. code-block:: bash
        salt '*' drbd.status
        salt '*' drbd.status name=<resource name>
    """
    # Initialize for multiple times test cases
    global ret
    global resource
    ret = []
    resource = {}
    cmd = ["drbdadm", "status"]
    cmd.append(name)
    # One possible output: (number of resource/node/vol are flexible)
    # resource role:Secondary
    #  volume:0 disk:Inconsistent
    #  volume:1 disk:Inconsistent
    #  drbd-node1 role:Primary
    #    volume:0 replication:SyncTarget peer-disk:UpToDate done:10.17
    #    volume:1 replication:SyncTarget peer-disk:UpToDate done:74.08
    #  drbd-node2 role:Secondary
    #    volume:0 peer-disk:Inconsistent resync-suspended:peer
    #    volume:1 peer-disk:Inconsistent resync-suspended:peer
    for line in __salt__["cmd.run"](cmd).splitlines():
        _line_parser(line)
    if resource:
        ret.append(resource)
    return ret