X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Fneighbour_cmds.hpp;h=ac1523d863d304ed29a718f115888cbad2508d71;hb=097fa66b986f06281f603767d321ab13ab6c88c3;hp=d43a6fe8f3b4329346e73331d4d261cb241425e3;hpb=39baa32186fd3e4b20d9f58afbbfe7b8daebed62;p=vpp.git diff --git a/extras/vom/vom/neighbour_cmds.hpp b/extras/vom/vom/neighbour_cmds.hpp index d43a6fe8f3b..ac1523d863d 100644 --- a/extras/vom/vom/neighbour_cmds.hpp +++ b/extras/vom/vom/neighbour_cmds.hpp @@ -17,6 +17,7 @@ #define __VOM_NEIGHBOUR_CMDS_H__ #include "vom/dump_cmd.hpp" +#include "vom/srpc_cmd.hpp" #include "neighbour.hpp" #include @@ -27,14 +28,13 @@ namespace neighbour_cmds { /** * A command class that creates or updates the bridge domain ARP Entry */ -class create_cmd : public rpc_cmd, - vapi::Ip_neighbor_add_del> +class create_cmd : public srpc_cmd { public: /** * Constructor */ - create_cmd(HW::item& item, + create_cmd(HW::item& item, handle_t itf, const mac_address_t& mac, const boost::asio::ip::address& ip_addr, @@ -65,14 +65,13 @@ private: /** * A cmd class that deletes a bridge domain ARP entry */ -class delete_cmd : public rpc_cmd, - vapi::Ip_neighbor_add_del> +class delete_cmd : public srpc_cmd { public: /** * Constructor */ - delete_cmd(HW::item& item, + delete_cmd(HW::item& item, handle_t itf, const mac_address_t& mac, const boost::asio::ip::address& ip_addr,