This paper proposed a design of group-based packet scheduling to maintain virtual network resources such as queue, bandwidth, and process time on routers. We attempt to improve our previous approach, a Packet and Slot Size-based, by creating network slicing and flow priority level done by OpenFlow Protocol to define parameters needed by Genetic Algorithm. We desire to get better results compared to our previous approach that only involved 2 parameters, namely packet size and the number of slots. The problem will arise when the networks connected to other types of networks that do not support packet priority mechanisms. We expect that this problem can be accommodated by using virtual switch that integrated to virtual OpenFlow switch.