Example #1
0
    def delete(self, args, config, connection):
        forest = Forest(args['name'], args['forest_host'], connection=connection)
        if not forest.exists():
            return

        level = args['level']
        replicas = args['replicas']

        print("Delete forest {0}...".format(args['name']))
        forest.delete(level,replicas,connection)
Example #2
0
    def delete(self, args, config, connection):
        forest = Forest(args['name'],
                        args['forest_host'],
                        connection=connection)
        if not forest.exists():
            return

        level = args['level']
        replicas = args['replicas']

        print("Delete forest {0}...".format(args['name']))
        forest.delete(level, replicas, connection)