I wanted to write "that maybe port 4 becomes port 3". Sorry.

On 22 April 2015 at 18:03, Clément Rault <[email protected]> wrote:
> Hi,
>
> In my setup I am putting a link down (for example the link between s2
> between 5) and I am seeing those messages.
>
> EVENT ofp_event->dpset EventOFPPortStatus
> DPSET: A port was modified.(datapath id = 0000000000000005, port number = 1)
> EVENT ofp_event->dpset EventOFPPortStatus
> DPSET: A port was modified.(datapath id = 0000000000000002, port number = 4)
> EVENT ofp_event->dpset EventOFPPortStatus
> DPSET: A port was modified.(datapath id = 0000000000000005, port number = 1)
>
> What I am wondering is what happens if I am using port number 4 as an
> outport in s5 in one of my tables? (since port 1 is down I was
> thinking that maybe port 4 becomes port 4 but it wouldn't make much
> sense...).
>
> I am assuming that something is going wrong because I see many packets
> disappearing when traversing s5 (I track it with wireshark).
>
> Best,
> Clément
>
> PS : Here are my flow tables and group tables in s5:
>
> $ curl -X GET http://localhost:8080/stats/groupdesc/5
> {"5": [{"buckets": [{"actions": ["DEC_NW_TTL", "OUTPUT:1"],
> "watch_group": 4294967295, "weight": 1, "watch_port": 2}, {"actions":
> ["DEC_NW_TTL", "OUTPUT:2"], "watch_group": 4294967295, "weight": 1,
> "watch_port": 3}, {"actions": ["DEC_NW_TTL", "OUTPUT:3"],
> "watch_group": 4294967295, "weight": 1, "watch_port": 4}], "group_id":
> 6, "type": "SELECT"}, {"buckets": [{"actions": ["DEC_NW_TTL",
> "OUTPUT:1"], "watch_group": 4294967295, "weight": 1, "watch_port": 2},
> {"actions": ["DEC_NW_TTL", "OUTPUT:3"], "watch_group": 4294967295,
> "weight": 1, "watch_port": 3}, {"actions": ["DEC_NW_TTL", "OUTPUT:4"],
> "watch_group": 4294967295, "weight": 1, "watch_port": 4}], "group_id":
> 4, "type": "SELECT"}, {"buckets": [{"actions": ["DEC_NW_TTL",
> "OUTPUT:1"], "watch_group": 4294967295, "weight": 1000, "watch_port":
> 1}, {"actions": ["PUSH_VLAN:33024", "SET_FIELD: {vlan_vid:4097}",
> "DEC_NW_TTL", "OUTPUT:2"], "watch_group": 4294967295, "weight": 1,
> "watch_port": 2}, {"actions": ["PUSH_VLAN:33024", "SET_FIELD:
> {vlan_vid:4097}", "DEC_NW_TTL", "OUTPUT:3"], "watch_group":
> 4294967295, "weight": 1, "watch_port": 3}], "group_id": 1, "type":
> "SELECT"}, {"buckets": [{"actions": ["DEC_NW_TTL", "OUTPUT:1"],
> "watch_group": 4294967295, "weight": 1, "watch_port": 2}, {"actions":
> ["DEC_NW_TTL", "OUTPUT:2"], "watch_group": 4294967295, "weight": 1,
> "watch_port": 3}, {"actions": ["DEC_NW_TTL", "OUTPUT:4"],
> "watch_group": 4294967295, "weight": 1, "watch_port": 4}], "group_id":
> 5, "type": "SELECT"}, {"buckets": [{"actions": ["OUTPUT:4"],
> "watch_group": 4294967295, "weight": 1000, "watch_port": 4},
> {"actions": ["PUSH_VLAN:33024", "SET_FIELD: {vlan_vid:4097}",
> "DEC_NW_TTL", "OUTPUT:2"], "watch_group": 4294967295, "weight": 1,
> "watch_port": 2}, {"actions": ["PUSH_VLAN:33024", "SET_FIELD:
> {vlan_vid:4097}", "DEC_NW_TTL", "OUTPUT:3"], "watch_group":
> 4294967295, "weight": 1, "watch_port": 3}], "group_id": 2, "type":
> "SELECT"}, {"buckets": [{"actions": ["DEC_NW_TTL", "OUTPUT:2"],
> "watch_group": 4294967295, "weight": 1, "watch_port": 2}, {"actions":
> ["DEC_NW_TTL", "OUTPUT:3"], "watch_group": 4294967295, "weight": 1,
> "watch_port": 3}, {"actions": ["DEC_NW_TTL", "OUTPUT:4"],
> "watch_group": 4294967295, "weight": 1, "watch_port": 4}], "group_id":
> 3, "type": "SELECT"}]}
>
> $ curl -X GET http://localhost:8080/stats/flow/5
> {"5": [{"actions": ["GROUP:1"], "idle_timeout": 0, "cookie": 1,
> "packet_count": 28, "hard_timeout": 0, "byte_count": 2744, "length":
> 88, "duration_nsec": 430000000, "priority": 1, "duration_sec": 1747,
> "table_id": 0, "flags": 1, "match": {"dl_type": 2048, "nw_dst":
> "11.0.0.1"}}, {"actions": ["GROUP:2"], "idle_timeout": 0, "cookie": 1,
> "packet_count": 10, "hard_timeout": 0, "byte_count": 980, "length":
> 88, "duration_nsec": 424000000, "priority": 2, "duration_sec": 1747,
> "table_id": 0, "flags": 1, "match": {"dl_type": 2048, "nw_dst":
> "11.0.0.2"}}, {"actions": ["GROUP:6"], "idle_timeout": 0, "cookie": 1,
> "packet_count": 4, "hard_timeout": 0, "byte_count": 404, "length": 96,
> "duration_nsec": 374000000, "priority": 9, "duration_sec": 1747,
> "table_id": 0, "flags": 1, "match": {"dl_type": 2048, "dl_vlan": "1",
> "in_port": 4, "nw_dst": "11.0.0.1"}}, {"actions": ["GROUP:3"],
> "idle_timeout": 0, "cookie": 1, "packet_count": 0, "hard_timeout": 0,
> "byte_count": 0, "length": 96, "duration_nsec": 419000000, "priority":
> 3, "duration_sec": 1747, "table_id": 0, "flags": 1, "match":
> {"dl_type": 2048, "dl_vlan": "1", "in_port": 1, "nw_dst":
> "11.0.0.1"}}, {"actions": ["GROUP:5"], "idle_timeout": 0, "cookie": 1,
> "packet_count": 7, "hard_timeout": 0, "byte_count": 714, "length": 96,
> "duration_nsec": 386000000, "priority": 7, "duration_sec": 1747,
> "table_id": 0, "flags": 1, "match": {"dl_type": 2048, "dl_vlan": "1",
> "in_port": 3, "nw_dst": "11.0.0.1"}}, {"actions": ["GROUP:4"],
> "idle_timeout": 0, "cookie": 1, "packet_count": 16, "hard_timeout": 0,
> "byte_count": 1628, "length": 96, "duration_nsec": 393000000,
> "priority": 6, "duration_sec": 1747, "table_id": 0, "flags": 1,
> "match": {"dl_type": 2048, "dl_vlan": "1", "in_port": 2, "nw_dst":
> "11.0.0.2"}}, {"actions": ["GROUP:4"], "idle_timeout": 0, "cookie": 1,
> "packet_count": 4, "hard_timeout": 0, "byte_count": 404, "length": 96,
> "duration_nsec": 410000000, "priority": 5, "duration_sec": 1747,
> "table_id": 0, "flags": 1, "match": {"dl_type": 2048, "dl_vlan": "1",
> "in_port": 2, "nw_dst": "11.0.0.1"}}, {"actions": ["GROUP:5"],
> "idle_timeout": 0, "cookie": 1, "packet_count": 8, "hard_timeout": 0,
> "byte_count": 812, "length": 96, "duration_nsec": 380000000,
> "priority": 8, "duration_sec": 1747, "table_id": 0, "flags": 1,
> "match": {"dl_type": 2048, "dl_vlan": "1", "in_port": 3, "nw_dst":
> "11.0.0.2"}}, {"actions": ["GROUP:6"], "idle_timeout": 0, "cookie": 1,
> "packet_count": 0, "hard_timeout": 0, "byte_count": 0, "length": 96,
> "duration_nsec": 368000000, "priority": 10, "duration_sec": 1747,
> "table_id": 0, "flags": 1, "match": {"dl_type": 2048, "dl_vlan": "1",
> "in_port": 4, "nw_dst": "11.0.0.2"}}, {"actions": ["GROUP:3"],
> "idle_timeout": 0, "cookie": 1, "packet_count": 0, "hard_timeout": 0,
> "byte_count": 0, "length": 96, "duration_nsec": 414000000, "priority":
> 4, "duration_sec": 1747, "table_id": 0, "flags": 1, "match":
> {"dl_type": 2048, "dl_vlan": "1", "in_port": 1, "nw_dst":
> "11.0.0.2"}}]}ubuntu@sdnhubvm:~[07:14]

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to