Hello,

I am newbie to openvswitch and would like to find an answer to the
following queuestion....

I am an OpenStack (rocky) user and running network using openstack's ovs
agent. Frequently, when I restart agent, I saw flow's duration is changing
even if its contents stay almost the same, only cookie is different (ovs
agent seems using a random int for cookie every time reboot).

But when I use ovs-ofctl mod-flow, I can see duration does not reset and
cookie changes.

I try to modify this code
https://github.com/openstack/neutron/blob/6d0b8890b96a0522ae3cca59ba4dfe28ba00be1f/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ofswitch.py#L229
and add a command like command=ofp.OFPFC_MODIFY_STRICT but it removes
matching flow

Could any one please give me a hint on the difference between ovs-ofctl
and command=ofp.OFPFC_MODIFY_STRICT? Thank you very much.

-- 

Best Regards,

Jiatong Shen
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to