def update_dvs(dvs_ref, dvs_config_spec):
    '''
    Updates a distributed virtual switch with the config_spec.

    dvs_ref