SDN and PCE implementations for segment routing