def transform_options(self, options):
        if '<device_name>' in options and len(options['<device_name>']) > 0:
            options['<device_name>'] = options['<device_name>'][0]
Activate takes only one caption and device, get only one element
dataset/ETHPy150Open openlmi/openlmi-scripts/commands/networking/lmi/scripts/networking/cmd.py/Enslave.transform_options