Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fib: fib api updates
[vpp.git]
/
extras
/
vom
/
vom
/
neighbour_cmds.hpp
diff --git
a/extras/vom/vom/neighbour_cmds.hpp
b/extras/vom/vom/neighbour_cmds.hpp
index
d43a6fe
..
ac1523d
100644
(file)
--- 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"
#define __VOM_NEIGHBOUR_CMDS_H__
#include "vom/dump_cmd.hpp"
+#include "vom/srpc_cmd.hpp"
#include "neighbour.hpp"
#include <vapi/ip.api.vapi.hpp>
#include "neighbour.hpp"
#include <vapi/ip.api.vapi.hpp>
@@
-27,14
+28,13
@@
namespace neighbour_cmds {
/**
* A command class that creates or updates the bridge domain ARP Entry
*/
/**
* A command class that creates or updates the bridge domain ARP Entry
*/
-class create_cmd : public rpc_cmd<HW::item<bool>,
- vapi::Ip_neighbor_add_del>
+class create_cmd : public srpc_cmd<vapi::Ip_neighbor_add_del>
{
public:
/**
* Constructor
*/
{
public:
/**
* Constructor
*/
- create_cmd(HW::item<
bool
>& item,
+ create_cmd(HW::item<
handle_t
>& item,
handle_t itf,
const mac_address_t& mac,
const boost::asio::ip::address& ip_addr,
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
*/
/**
* A cmd class that deletes a bridge domain ARP entry
*/
-class delete_cmd : public rpc_cmd<HW::item<bool>,
- vapi::Ip_neighbor_add_del>
+class delete_cmd : public srpc_cmd<vapi::Ip_neighbor_add_del>
{
public:
/**
* Constructor
*/
{
public:
/**
* Constructor
*/
- delete_cmd(HW::item<
bool
>& item,
+ delete_cmd(HW::item<
handle_t
>& item,
handle_t itf,
const mac_address_t& mac,
const boost::asio::ip::address& ip_addr,
handle_t itf,
const mac_address_t& mac,
const boost::asio::ip::address& ip_addr,