Closed pvshalini closed 3 years ago
I don't know if what you're doing and how you're planning to do it is reasonable, but the immediate problem is just that OFPP_CONTROLLER is defined in libopenflow_01, which is imported as "of". You need to qualify your reference to it, as is done with OFPP_NONE elsewhere in the original l3_learning.py file. That is, you want to say of.OFPP_CONTROLLER
.
Thank you sir
The error is resolved by making OFPP_CONTROLLER as of.OFPP_CONTROLLER,
sir, I am a research scholar working in SDN. I create a network topology using mininet. using xterm opened two hosts terminals, in host 1 terminal I created a webserver, in host 2 terminal I gave a command curl "http://host1 ipaddress : port number".
I want to trace final ACK packets of curl command at the controller, for this I modified l3_learning program by adding
(1) "msg.actions.append(of.ofp_action_output(port=of.OFPP_CONTROLLER))" in
elif isinstance(packet.next, arp): block in else part
(2) msg.actions.append(of.ofp_action_output(port=of.OFPP_CONTROLLER)) is added to all flow rule installations
The problem is I am getting multiple copies of ACK packet, please suggest how to resolve this
Thank you sir
Thanks sir
sir I am using mininet with pox controller. when a packet_in message arrives at a controller, I want a copy of subsequent packets from the source to be sent to the controller as well as destination. I called function self._send_lost_buffers(dpid, packet.next.srcip, packet.src, OFPP_CONTROLLER) Kindly see the error message in the screenshot. Please advice how to get two actions for the flow rule (1) to send copy to destination and (2) to send another copy to the controller. Thank you sir