[ovs-build] Fixed: vasu-dasari/ovs#72 (static-mac - ed9647d)

Travis CI builds at travis-ci.org
Fri May 7 13:10:00 UTC 2021


Build Update for vasu-dasari/ovs
-------------------------------------

Build: #72
Status: Fixed

Duration: 11 mins and 48 secs
Commit: ed9647d (static-mac)
Author: Vasu Dasari
Message: ofproto-dpif: APIs and CLI option to add/delete static fdb entry

Currently there is an option to add/flush/show ARP/ND neighbor. This covers L3
side.  For L2 side, there is only fdb show command. This patch gives an option
to add/del an fdb entry via CLI.

CLI command looks like:

To add:
    ovs-appctl fdb/add <bridge> <port> <vlan> <Mac>
    ovs-appctl fdb/add br0 p1 0 50:54:00:00:00:05

To del:
    ovs-appctl fdb/del <bridge> <port> <vlan> <Mac>
    ovs-appctl fdb/del br0 p1 0 50:54:00:00:00:05

Static entry should not age. To indicate that entry being programmed is a static entry,
'expires' field in 'struct mac_entry' will be set to a INT_MAX. A check for this value
is made while deleting mac entry as part of regular aging process. Another check as part
of mac-update process, when a packet with same source mac as this entry arrives on the
configured port will not modify the expires field

Added two new APIs to provide convinient interfacde to add and delete static-macs
void xlate_add_static_mac_entry(const struct ofproto_dpif *, ofp_port_t in_port,
                               struct eth_addr dl_src, int vlan);
void xlate_delete_static_mac_entry(const struct ofproto_dpif *,
                                  struct eth_addr dl_src, int vlan);

Signed-off-by: Vasu Dasari <vdasari at gmail.com>

View the changeset: https://github.com/vasu-dasari/ovs/compare/6dce88025fb8...ed9647d7f3f0

View the full build log and details: https://travis-ci.org/github/vasu-dasari/ovs/builds/769896254?utm_medium=notification&utm_source=email


--

You can unsubscribe from build emails from the vasu-dasari/ovs repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=25058263&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20210507/c599a605/attachment.html>


More information about the build mailing list