aboutsummaryrefslogtreecommitdiffstats
path: root/extras/vom/vom/route_cmds.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'extras/vom/vom/route_cmds.hpp')
-rw-r--r--extras/vom/vom/route_cmds.hpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/extras/vom/vom/route_cmds.hpp b/extras/vom/vom/route_cmds.hpp
index 2e6ce73068c..6db7b5894ef 100644
--- a/extras/vom/vom/route_cmds.hpp
+++ b/extras/vom/vom/route_cmds.hpp
@@ -38,7 +38,7 @@ public:
update_cmd(HW::item<bool>& item,
table_id_t id,
const prefix_t& prefix,
- const path_list_t& paths);
+ const path& path);
/**
* Issue the command to VPP/HW
@@ -58,7 +58,7 @@ public:
private:
route::table_id_t m_id;
prefix_t m_prefix;
- const path_list_t m_paths;
+ const path m_path;
};
/**
@@ -70,7 +70,10 @@ public:
/**
* Constructor
*/
- delete_cmd(HW::item<bool>& item, table_id_t id, const prefix_t& prefix);
+ delete_cmd(HW::item<bool>& item,
+ table_id_t id,
+ const prefix_t& prefix,
+ const path& path);
/**
* Issue the command to VPP/HW
@@ -90,6 +93,7 @@ public:
private:
route::table_id_t m_id;
prefix_t m_prefix;
+ const path m_path;
};
/**