def create_default_vips(network):
    if "assign_vip" in network:
        if network["assign_vip"]:
            network["vips"] = [consts.NETWORK_VIP_NAMES_V6_1.haproxy]

        del network["assign_vip"]

    return network
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/utils/migration.py/create_default_vips/original