Hi, > How could i append, ABW variable to mylist in the _handle_PacketIn > function?could you please give me advice
That's a python language/oop issue. Just add "mylist" as your class attribute within its constructor (like: self.mylist = []) and then append ABW to it in _handle_portstats_received() method (like: self.mylist.append(ABW) ). -- Att Lucas Brasilino MSc Student @ Federal University of Pernambuco (UFPE) / Brazil twitter: @lucas_brasilino