Robust control of networks under discrete disturbances and controls