Hi all, I'm trying to register for a error event handler in the following way:
---- def install(self): self.register_for_error(self.error_callback) ---- I wrote the following handler for error events: ---- def error_callback(self, dpid, type, code, data, xid): log.debug("Error callback!") ---- When I check the communication between my switch (Pronto 3290) and my NOX controller with Wireshark I see that my switch sends a vendor error message to the controller but some how the handler code in the handler does not get executed. Below you will find the vendor package send by the controller to the switch and the error package the switch sends back from the switch to the controller: ---- No. Time Source Destination Protocol Length Info 1705 16.976819 145.100.37.182 145.100.37.175 OFP 90 Vendor (SM) (24B) Frame 1705: 90 bytes on wire (720 bits), 90 bytes captured (720 bits) Ethernet II, Src: Apple_33:7f:43 (c8:2a:14:33:7f:43), Dst: QuantaCo_91:af:4c (e8:9a:8f:91:af:4c) Internet Protocol Version 4, Src: 145.100.37.182 (145.100.37.182), Dst: 145.100.37.175 (145.100.37.175) Transmission Control Protocol, Src Port: 6633 (6633), Dst Port: 45070 (45070), Seq: 29, Ack: 2585, Len: 24 OpenFlow Protocol Header Version: 0x01 Type: Vendor (SM) (4) Length: 24 Transaction ID: 50397184 Vendor Message Body: 00002320000000080000000000000000 No. Time Source Destination Protocol Length Info 1709 16.977475 145.100.37.175 145.100.37.182 OFP 102 Error (SM) (36B) Frame 1709: 102 bytes on wire (816 bits), 102 bytes captured (816 bits) Ethernet II, Src: QuantaCo_91:af:4c (e8:9a:8f:91:af:4c), Dst: Apple_33:7f:43 (c8:2a:14:33:7f:43) Internet Protocol Version 4, Src: 145.100.37.175 (145.100.37.175), Dst: 145.100.37.182 (145.100.37.182) Transmission Control Protocol, Src Port: 45070 (45070), Dst Port: 6633 (6633), Seq: 2585, Ack: 53, Len: 36 OpenFlow Protocol Header Version: 0x01 Type: Error (SM) (1) Length: 36 Transaction ID: 50397184 Error Message Type: Request was not understood (1) Code: Vendor not supported (in ofp_vendor or ofp_stats_request or ofp_stats_reply) (3) Data: 010400180301000000002320000000080000000000000000 OpenFlow Protocol Header Version: 0x01 Type: Vendor (SM) (4) Length: 24 Transaction ID: 50397184 Vendor Message Body: 00002320000000080000000000000000 ---- Does anybody got a idea what is going wrong or have a idea how I can traceback why the error callback does not get's executed? I'm happy to provide more details if necessary. Regards, Maikel
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev