def assoc(d, key, value, factory=dict):
    d2 = factory()
    d2[key] = value
    return merge(d, d2, factory=factory)
Activate the IP address of the master daemon.
dataset/ETHPy150Open pytoolz/toolz/toolz/dicttoolz.py/assoc--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/ActivateMasterIp