def METHOD_NAME(net, net_attr, netinfo_, _routes):
    nics, _, vlan_id, bond = netinfo_.getNicsVlanAndBondingForNetwork(net)
    attributes = {}
    _translate_bridged(attributes, net_attr)
    _translate_mtu(attributes, net_attr)
    _translate_vlan(attributes, vlan_id)
    if bond:
        _translate_bonding(attributes, bond)
    elif nics:
        if len(nics) > 1:
            raise MultipleSouthBoundNicsPerNetworkError(net, nics)
        _translate_nics(attributes, nics)
    attributes['defaultRoute'] = _translate_default_route(net_attr, _routes)
    _translate_ipaddr(attributes, net_attr)
    _translate_hostqos(attributes, net_attr)
    _translate_switch_type(attributes, net_attr)
    _translate_nameservers(attributes, netinfo_)
    return attributes