Multi-granular traffic scheduling in hybrid optical interconnection