

def _add_subnet_connection_to_vpn_connection_item(context, vpn_connection, subnet_id, os_connection_id):
    vpn_connection['os_ipsec_site_connections'][subnet_id] = os_connection_id
    db_api.update_item(context, vpn_connection)

dataset/ETHPy150Open openstack/ec2-api/ec2api/api/vpn_connection.py _add_subnet_connection_to_vpn_connection_item/original