def update_scalingip(context, id, content):
LOG.info('<STR_LIT>' %<EOL>(id, context.tenant_id, content))<EOL>requested_ports = content.get('<STR_LIT>', [])<EOL>flip = _update_flip(context, id, ip_types.SCALING, requested_ports)<EOL>return v._make_scaling_ip_dict(flip)<EOL>
Update an existing scaling IP.

    :param context: neutron api request context.
    :param id: id of the scaling ip
    :param content: dictionary with keys indicating fields to update.
        valid keys are those that have a value of True for 'allow_put'
        as listed in the RESOURCE_ATTRIBUTE_MAP object in
        neutron/api/v2/attributes.py.

    :returns: Dictionary containing details for the new scaling IP.  If values
        are declared in the fields parameter, then only those keys will be
        present.