cmd: str,
inbuf: bytes,
timeout: int = 0,
- target: Optional[Union[str, int]] = None) -> Tuple[int, str, bytes]:
+ target: Optional[Union[str, int]] = None) -> Tuple[int, bytes, str]:
"""
Send a command to the mon.
osdid: int,
cmd: str,
inbuf: bytes,
- timeout: int = 0) -> Tuple[int, str, bytes]:
+ timeout: int = 0) -> Tuple[int, bytes, str]:
"""
osd_command(osdid, cmd, inbuf, outbuf, outbuflen, outs, outslen)
pgid: str,
cmd: str,
inbuf: bytes,
- timeout: int = 0) -> Tuple[int, str, bytes]:
+ timeout: int = 0) -> Tuple[int, bytes, str]:
"""
pg_command(pgid, cmd, inbuf, outbuf, outbuflen, outs, outslen)