'This method gets executed before shutting down the cluster'

def on_shutdown(self, nodes, master, user, user_shell, volumes):

    raise NotImplementedError('on_shutdown    method    not    implemented')
