@classmethod
    def transform_vips_for_net_groups_70(cls, vips):
        rename_vip_rules = {
            "management": {
                "haproxy": "management",
                "vrouter": "vrouter",
            },
            "public": {
                "haproxy": "public",
                "vrouter": "vrouter_pub",
            },
        }
        renamed_vips = collections.defaultdict(dict)
        for ng_name, vips in six.iteritems(vips):
            ng_vip_rules = rename_vip_rules[ng_name]
            for vip_name, vip_addr in six.iteritems(vips):
                if vip_name not in ng_vip_rules:
                    continue
                new_vip_name = ng_vip_rules[vip_name]
                renamed_vips[ng_name][new_vip_name] = vip_addr
        return renamed_vips
:type str: str
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/cluster_upgrade/upgrade.py/UpgradeHelper.transform_vips_for_net_groups_70--crossover with--dataset/ETHPy150Open kamyu104/LeetCode/Python/string-to-integer-atoi.py/Solution.myAtoi