Simple Ceph admin command wrapper around run_cluster_cmd.
(self, cmd, **kwargs)
| 1658 | log.info("config epoch is %d", self.ctx.conf_epoch) |
| 1659 | |
| 1660 | def ceph(self, cmd, **kwargs): |
| 1661 | """ |
| 1662 | Simple Ceph admin command wrapper around run_cluster_cmd. |
| 1663 | """ |
| 1664 | |
| 1665 | kwargs.pop('args', None) |
| 1666 | args = shlex.split(cmd) |
| 1667 | stdout = kwargs.pop('stdout', StringIO()) |
| 1668 | stderr = kwargs.pop('stderr', StringIO()) |
| 1669 | return self.run_cluster_cmd(args=args, stdout=stdout, stderr=stderr, **kwargs) |
| 1670 | |
| 1671 | def run_cluster_cmd(self, **kwargs): |
| 1672 | """ |