We consider a stochastic single server fluid network with both a discounted reward and a cost structure. It can be shown that the optimal policy is a priority index policy. The indices coincide with the optimal indices in a Semi-Markovian Klimov problem. Several special cases like single server re-entrant fluid lines are considered. The approach we use is based on sample path arguments and Pontryagins maximum principle.