text: from ncs.dp import Action
  
  
  class DMVPNAction(Action):
      @Action.action
      def cb_action(self, uinfo, name, kp, input, output):
          self.log.info('action name: ', name)
          self.log.info('action input.number: ', input.number)
  
          # Updating the output data structure will result in a response
          # being returned to the caller.
          output.result = input.number * 2
  