'Prepares body for PUT /v2.0/trunks/TRUNK_ID/add_subports.'

@staticmethod
def prepare_trunk_add_subports_body(subports):

    return {'sub_ports': [{'port_id': sp['port'], 'segmentation_type': sp['segmentation_type'], 'segmentation_id': sp['segmentation_id']} for sp in subports]}
