def outputs_format(self):
        return [

            Service.OutputItem(name='job_instance_id', key='job_instance_id', type='int'),
            Service.OutputItem(name='result_message', key='result_message', type='str'),
            Service.OutputItem(name='target_ips', key='target_ips', type='list')
        ]
Beispiel #2
0
 def inputs_format(self):
     return [
         Service.InputItem(name='dict action_info',
                           key='act_info',
                           type='dict',
                           required=True),
         Service.InputItem(name='role',
                           key='role',
                           type='string',
                           required=True),
     ]
Beispiel #3
0
 def inputs_format(self):
     return [
         Service.InputItem(name='dict action_info',
                           key='act_info',
                           type='dict',
                           required=True),
         Service.InputItem(name='target_ips',
                           key='target_ips',
                           type='list',
                           required=True),
     ]