A network scheduler that supports openflow and traffic statistic