3
from twisted.internet.defer import inlineCallbacks
4
from aiki.cli import make_arg_parser, setup_logging, run_command
5
from juju.state.base import StateBase
9
parser = make_arg_parser()
10
options = parser.parse_args()
11
setup_logging(options)
12
print "options", options
13
run_command(topodump, options)
17
def topodump(result, client, options):
18
Dumper = TopoDump(client)
22
class TopoDump(StateBase):
26
topology = yield self._read_topology()
30
if __name__ == '__main__':