Cybersecurity company Palo Alto Networks, represented by Sidley Austin, has agreed to buy network services provider CloudGenix Inc. for $420 million, the companies said Tuesday, in an agreement that stands to extend the breadth of the Palo Alto Networks cybersecurity platform.