Use ovs_port_updated event to update ofport and mac
Currently, df apps use ovs idl to query the mac of ovs Interface.
ovs_port_updated event was introduced in [1]. And there is already an
ovs Interface object in the event. So, df apps can just get mac address
from that event. This can save a query from ovs db, and also stop abuse
of ovs idl.
Reviewed: https:/ /review. openstack. org/373591 /git.openstack. org/cgit/ openstack/ dragonflow/ commit/ ?id=6c328c76144 7e754b7b080d0e1 cb2c0020d1446a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6c328c761447e75 4b7b080d0e1cb2c 0020d1446a
Author: Hong Hui Xiao <email address hidden>
Date: Wed Sep 21 06:02:56 2016 +0800
Use ovs_port_updated event to update ofport and mac
Currently, df apps use ovs idl to query the mac of ovs Interface. port_updated event was introduced in [1]. And there is already an
ovs_
ovs Interface object in the event. So, df apps can just get mac address
from that event. This can save a query from ovs db, and also stop abuse
of ovs idl.
[1] 19232467d6ee047 c482d384b5c685a d5141184ad
Change-Id: I31d86ce224d43d 61cb88619076082 48647f10015
Related-Bug: #1622879