Hi,
Earlier, I was working with the Open vSwitch. I was using Port_Status message, sent by the Open vSwitch to the NOX for indication of link failure. NOX was receiving correct port status message from openvswitch and it was working fine. However, now I switched to reference implementation of openflow. But now I do not receive the port status message correctly. I did following testing for debugging the issue. I did "ifconfig eth5 down" where eth5 is the one the datapath port of the OpenFlow switch. I received following messages at openflow switch. The messages say that it did not send any message to the controller for port status change. This is true. I do not see port status message at NOX. :32:56|00167|poll_loop|DBG|[POLLIN] on fd 7: 0x805ea0b 0x8055967 0xb7732c76 Oct 25 17:32:56|00168|netlink|DBG|nl_sock_recv (Success): nl(len:236, type=16(family-defined), flags=0, seq=0, pid=0(0:0)) Oct 25 17:32:56|00009|netdev|WARN|error receiving Ethernet packet on Network is down: eth5 Oct 25 17:32:56|00010|datapath|ERR|error receiving data from eth5: Network is down then I did "ifconfig eth5 up". I received correct port status message at NOX with state as 0 . Following logs appeared at the OpenFlow switch. 45|netlink|DBG|nl_sock_recv (Success): nl(len:236, type=16(family-defined), flags=0, seq=0, pid=0(0:0)) Oct 25 17:34:26|00246|vconn|DBG|tcp:172.168.10.1:6633: sent (Success): port_status (xid=0x1fec41f): MOD: 2(eth5): addr:00:15:17:1b:b3:32, config: 0x1, state:0 When I did "sudo ifconfig eth5 down" again. I found that it has now sent the port status message to the controller but with a wrong information i.e. state 0 which should be 1 (means port is down). Following logs appeared at the OpenFlow switch. Oct 25 17:35:17|00282|poll_loop|DBG|[POLLIN] on fd 7: 0x805ea0b 0x8055967 0xb7732c76 Oct 25 17:35:17|00283|netlink|DBG|nl_sock_recv (Success): nl(len:236, type=16(family-defined), flags=0, seq=0, pid=0(0:0)) Oct 25 17:35:17|00284|vconn|DBG|tcp:172.168.10.1:6633: sent (Success): port_status (xid=0xf5617355): MOD: 2(eth5): addr:00:15:17:1b:b3:32, config: 0, state:0 Now every time, I do up or down of the interface, I receive the same information as above i.e. if I do down then wrong information, but if I do up then correct information. This issue is every time reproducible. Any Idea why it is happening? Thanks & Regards, Sachin
_______________________________________________ openflow-discuss mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
