[Ryu-devel] ovs bridge get_controller API

2018-07-13 Thread knet solutions
Hi, ovs_bridge.get_controller() API returns only the first controller. The respective code , https://github.com/osrg/ryu/blob/b9909d06862454d4907c29b0688788ab80406f9b/ryu/lib/ovs/bridge.py#L174 In the code, the return is only first element from the list. I think, it should return the complet

[Ryu-devel] Extracting the dst_mac and out_pot from flowstats

2018-07-13 Thread knet solutions
Hi, >From the EventOFPFlowStatsReply, I am trying to extract the dst_mac and out_port. The complete stat record is below, [OFPInstructionActions(actions=[OFPActionOutput(len=16,max_len=65509,port=2,type=0)],len=24,type=4)],length=104,match=OFPMatch(oxm_fields={'eth_src': '00:00:00:00:00:01', 'e