A control plane is a key enabling technique for dynamic and intelligent end-to-end path provisioning in optical networks. In this paper, we present an OpenFlow-based control plane for spectrum sliced elastic optical path networks, called OpenSlice, for dynamic end-to-end path provisioning and IP traffic offloading. Experimental demonstration and numerical evaluation show its overall feasibility and efficiency.