Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- grep -r DeviceIndex ec2.py
- return {'DeviceIndex': interface['DeviceIndex'],
- for k in ('DeviceIndex', 'AssociatePublicIpAddress', 'NetworkInterfaceId'):
- eni_id, interface['DeviceIndex']
- return {'DeviceIndex': interface['DeviceIndex'],
- if 'DeviceIndex' in interface:
- if interface['DeviceIndex'] in config_enis:
- 'Duplicate DeviceIndex in profile. Cannot update ENIs.'
- config_enis[str(interface['DeviceIndex'])] = interface
- ... {'DeviceIndex': 0, 'SubnetId': 'subid0',
- ... {'DeviceIndex': 1,
- ... 'NetworkInterface.0.DeviceIndex': 0,
- ... 'NetworkInterface.1.DeviceIndex': 1}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement