SDN programming assignment 6