code: def _deploy_iapp(self, iapp_name, actions, deploying_device):
          '''Deploy iapp to add trusted device
  
          :param iapp_name: str -- name of iapp
          :param actions: dict -- actions definition of iapp sections
          :param deploying_device: ManagementRoot object -- device where the
                                   iapp will be created
          '''
  
          tmpl = deploying_device.tm.sys.application.templates.template
          serv = deploying_device.tm.sys.application.services.service
          tmpl.create(name=iapp_name, partition=self.partition, actions=actions)
          pollster(deploying_device.tm.sys.application.templates.template.load)(
              name=iapp_name, partition=self.partition
          )
          serv.create(
              name=iapp_name,
              partition=self.partition,
              template='/%s/%s' % (self.partition, iapp_name)
          f _deploy_iapp(self, iapp_name, actions, deploying_device):
          '''Deploy iapp to add trusted device
  
          :param iapp_name: str -- name of iapp
          :param actions: dict -- actions definition of iapp sections
          :param deploying_device: ManagementRoot object -- device where the
                                   iapp will be created
          '''
  
          tmpl = deploying_device.tm.sys.application.templates.template
          serv = deploying_device.tm.sys.application.services.service
          tmpl.create(name=iapp_name, partition=self.partition, actions=actions)
          pollster(deploying_device.tm.sys.application.templates.template.load)(
              name=iapp_name, partition=self.partition
          )
          serv.create(
              name=iapp_name,
              partition=self.partition,
              template='/%s/%s' % (self.partition, iapp_name)
          )
docs: Deploy iapp to add trusted device
  
          :param iapp_name: str -- name of iapp
          :param actions: dict -- actions definition of iapp sections
          :param deploying_device: ManagementRoot object -- device where the
                                   iapp will be created