diff options
author | Neale Ranns <nranns@cisco.com> | 2019-01-10 08:56:38 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-01-10 21:01:43 +0000 |
commit | 6ad7231c00287b7c1241c6e1dbbfda86f15798b4 (patch) | |
tree | 84f38e8c6e870c66e3398972b165779f7ef5d366 /extras/vom/vom/route_cmds.hpp | |
parent | 1bcad5cdb78fb04d41f97603312161b2bc2e7bae (diff) |
VOM: IP route ECMP support
Change-Id: Iede0c30aacfe7289f428062bb9540410097c40e2
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'extras/vom/vom/route_cmds.hpp')
-rw-r--r-- | extras/vom/vom/route_cmds.hpp | 10 |
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; }; /** |