Oclaro, which develops thin-film filters in Santa Rosa, announced a deal Monday to acquire Opnext, a Fremont company that also makes optical components.

The all-stock deal is worth about $177 million.

Oclaro, which is headquartered in San Jose, will control 58 percent of the company and Oclaro CEO Alain Couder will be the chief executive.

The combined company is targeting the market for optical communications equipment, where growth is being driven by wireless traffic, cloud computing and other Internet applications.

Oclaro was was formed in 2009 with the merger of Bookham Inc. and Avanex Corp. Bookham acquired the Santa Rosa unit in 2003 from local startup Cierra Photonics for about $3.7 million in stock.

Oclaro has other U.S. facilities in Arizona, Massachusetts, New Jersey and New York. It also has locations in Canada, Europe and Asia.