Contrail SD-WAN Deep Dive Part 1: Contrail Service Orchestration and the SRX/NFX CPE Model
The previous post covered why Juniper ended up with two structurally different SD-WAN products. This one and the next two stay with the first: Contrail Service Orchestration, walked as an architecture rather than a history — what it actually provisioned, how traffic actually moved, and what a design engineer working with it in 2018 was actually looking at.
CSO’s job: orchestrate a service lifecycle, not just route packets
Contrail Service Orchestration is billed in Juniper’s own documentation as a platform that “designs, secures, automates, and runs the entire SD-WAN service life cycle” — deliberately broader language than “SD-WAN controller.” That framing is accurate to how it’s built. CSO isn’t a single component; it’s an orchestration layer sitting above the Contrail Networking SDN control plane, coordinating zero-touch provisioning, policy distribution, service chaining, and monitoring across a fleet of CPE devices. It ships in two consumption models: as an on-premises platform an enterprise or service provider runs itself, or as CSO as a Service (CSOaaS), a Juniper-hosted cloud instance that removes the burden of running the orchestration infrastructure.
That NFV-and-orchestration ancestry is the single most important thing to understand about CSO before looking at any config. It was not drafted from a blank sheet for “connect a branch office to the internet and a couple of DCs.” It was drafted to manage the full lifecycle of virtualized network services for a service provider’s multi-tenant infrastructure, and SD-WAN was layered onto that same machinery. Every subsequent architectural choice in this post reads more sensibly once that’s the starting assumption.
Two device families, two philosophies
CSO’s SD-WAN edge ran on two distinct hardware lines, and the choice between them was a real design decision, not a formality.
SRX Series firewalls — the SRX300/SRX1500/SRX4100/SRX4200 range most commonly seen in SD-WAN deployments — were Juniper’s existing, mature next-generation firewall product line, repurposed as SD-WAN CPE. Choosing SRX meant getting a genuinely capable stateful firewall and full Junos routing stack at the edge, at the cost of the device being, first and foremost, a firewall that had SD-WAN capability added to its role — the inverse of a purpose-built SD-WAN edge with security bolted on.
NFX Series devices — the “universal CPE” line — took a different approach: an x86-based branch appliance designed to run multiple virtualized network functions (firewall, WAN optimization, routing) as VNFs on a single box, orchestrated by CSO the same way it would orchestrate VNFs in a data centre. This is where Contrail’s NFV lineage shows up most directly in the hardware story — the NFX wasn’t just a router that happened to run SD-WAN software, it was conceived as a small branch-office NFV host, with SD-WAN as one of the functions it could be told to run.
In practice, most SD-WAN-specific deployments gravitated toward SRX as the CPE of choice, with NFX positioned more for scenarios that wanted the fuller VNF-hosting flexibility. Both device types registered with CSO the same way and were provisioned through the same zero-touch workflow.
Provisioning: zero-touch, but orchestration-heavy
A new site’s SRX or NFX device shipped unconfigured. On first boot, it phoned home to a Juniper redirect service, which pointed it at the correct CSO instance for its tenant. From there, CSO pushed down the full device configuration — WAN interface settings, IPsec parameters for the overlay, routing policy, and firewall policy — based on templates and per-site variables defined centrally. This is standard SD-WAN ZTP mechanics by 2018 standards; where CSO’s orchestration heritage shows through is in how much of that push is modelled as service instantiation (attach this service chain to this tenant at this site) rather than simple templated device configuration.
Topology: dynamic mesh or hub-and-spoke, tenant by tenant
CSO’s SD-WAN solution supported two deployment topologies, selectable per deployment:
- Dynamic mesh — every site’s CPE device builds direct tunnels to every other site it needs to reach, plus a connection to an enterprise hub device that anchors the topology and typically carries internet breakout.
- Hub-and-spoke — spoke CPE devices connect only to one or more provider hub devices; site-to-site traffic, and by default internet-bound traffic too, transits the hub.
The distinction between the two hub roles in that second model — enterprise hub versus provider hub, informally E-Hub and P-Hub — isn’t cosmetic. It reflects two different ownership and multi-tenancy assumptions, and it’s complex enough on its own to deserve its own post: Part 2 of this series goes deep on the routing mechanics, VRF-based tenant separation, and why this model is the piece of Contrail SD-WAN that most exposes its service-provider-first design.
The underlay: still an IPsec overlay like everyone else in this era
Whatever the topology, the data-plane transport itself was conventional for the SD-WAN generation it shipped in: IPsec tunnels built between CPE devices and hubs, with the Contrail control plane distributing the tunnel and routing state needed to keep those tunnels current as underlay circuits changed. This is worth flagging because it’s exactly where Session Smart Routing, five years later, made its most visible architectural break — Secure Vector Routing’s tunnel-free design is a direct answer to the overhead and complexity of maintaining this kind of full-mesh or hub-anchored IPsec fabric, a point the Session Smart deep dive later in this series covers in full.
What this bought a customer in practice
For a managed service provider running CSO multi-tenant, the orchestration depth was a genuine asset — the platform could stand up a new tenant’s entire SD-WAN service, including hub allocation and VRF-based segmentation, largely as a repeatable service-catalogue operation. For a single enterprise self-managing its own WAN, a lot of that same machinery was overhead the deployment never needed: fewer tenants to isolate, less need for service-chaining flexibility, and a control-plane data model built for a more complex problem than the one actually in front of the engineer.
That mismatch — real strength for the audience it was built for, real friction for the audience Cisco, VMware, and Fortinet were signing at the same time — is the throughline for the rest of this Contrail arc. Part 2 goes deep on the E-Hub/P-Hub routing model itself; Part 3 covers what that meant competitively and why Juniper ultimately moved on.