VMAPS: a Versatile Medium Access Control and Processing System for an Optical WDM Metro Ring Network