hello,

i want to install a flow table like the following:
But it is not installing  
     for i in range(0,3):
        msg[i] = of.ofp_flow_mod()
        msg[i].idle_timeout = 100
        msg[i].hard_timeout = 120
        msg[i].match.eth_type = packet.IP_TYPE
        msg[i].match.eth_src = packet.src
        msg[i].match.eth_dst = packet.dst
        msg[i].match.ip_dst = dst[i]  # proactive port based ip
        msg[i].actions.append(of.ofp_action_output(port = i+1))
        msgs = str(msg).strip('[]')
        self.connection.send(msgs)

Best regards,

Eng Amer Alghadhban

COE

SANS-GCFW

CEH, SCNP, CCNA
                                          

Reply via email to