code: def rollback(self):
          
          commands = []
          commands.append('configure replace flash:rollback-0')
          commands.append('write memory')
          self.device.run_commands(commands)
docs: Implementation of NAPALM method rollback.