def pick(d, keys):
    return {key: d[key] for key in keys if key in d}
Update information about offloading modes for the interface.
dataset/ETHPy150Open heiskr/sagefy/server/modules/util.py/pick--crossover with--dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/network_manager/objects/interface.py/NIC.update_offloading_modes