Rename the mac-binding-aging module to aging to reflect that it will be used for more than single aging mechanism. This is preparation for FDB aging mechainsm.
Signed-off-by: Ales Musil <amu...@redhat.com> --- northd/{mac-binding-aging.c => aging.c} | 2 +- northd/{mac-binding-aging.h => aging.h} | 6 +++--- northd/automake.mk | 4 ++-- northd/inc-proc-northd.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) rename northd/{mac-binding-aging.c => aging.c} (99%) rename northd/{mac-binding-aging.h => aging.h} (92%) diff --git a/northd/mac-binding-aging.c b/northd/aging.c similarity index 99% rename from northd/mac-binding-aging.c rename to northd/aging.c index a01390230..49f60b663 100644 --- a/northd/mac-binding-aging.c +++ b/northd/aging.c @@ -19,7 +19,7 @@ #include "lib/ovn-nb-idl.h" #include "lib/ovn-sb-idl.h" #include "lib/timeval.h" -#include "northd/mac-binding-aging.h" +#include "northd/aging.h" #include "northd/northd.h" #include "openvswitch/hmap.h" #include "openvswitch/poll-loop.h" diff --git a/northd/mac-binding-aging.h b/northd/aging.h similarity index 92% rename from northd/mac-binding-aging.h rename to northd/aging.h index 296a7ab38..129397d7b 100644 --- a/northd/mac-binding-aging.h +++ b/northd/aging.h @@ -13,8 +13,8 @@ * limitations under the License. */ -#ifndef MAC_BINDING_AGING_H -#define MAC_BINDING_AGING_H 1 +#ifndef AGING_H +#define AGING_H 1 #include "lib/inc-proc-eng.h" @@ -30,4 +30,4 @@ void *en_mac_binding_aging_waker_init(struct engine_node *node, struct engine_arg *arg); void en_mac_binding_aging_waker_cleanup(void *data); -#endif /* northd/mac-binding-aging.h */ +#endif /* northd/aging.h */ diff --git a/northd/automake.mk b/northd/automake.mk index 3c3719a24..e5039ee5f 100644 --- a/northd/automake.mk +++ b/northd/automake.mk @@ -1,10 +1,10 @@ # ovn-northd bin_PROGRAMS += northd/ovn-northd northd_ovn_northd_SOURCES = \ + northd/aging.c \ + northd/aging.h \ northd/debug.c \ northd/debug.h \ - northd/mac-binding-aging.c \ - northd/mac-binding-aging.h \ northd/northd.c \ northd/northd.h \ northd/ovn-northd.c \ diff --git a/northd/inc-proc-northd.c b/northd/inc-proc-northd.c index d54aa19c7..63b9650ec 100644 --- a/northd/inc-proc-northd.c +++ b/northd/inc-proc-northd.c @@ -26,7 +26,7 @@ #include "lib/ovn-nb-idl.h" #include "lib/ovn-sb-idl.h" #include "mcast-group-index.h" -#include "northd/mac-binding-aging.h" +#include "northd/aging.h" #include "openvswitch/poll-loop.h" #include "openvswitch/vlog.h" #include "inc-proc-northd.h" -- 2.40.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev