diff options
author | 2015-12-14 16:03:27 +0200 | |
---|---|---|
committer | 2015-12-14 16:03:27 +0200 | |
commit | a3611f0f06cb8fca0692eab5e4aafd5827fb88cc (patch) | |
tree | 3094b889a322dd4655a6b48a4630b92c81809db5 /src/rpc-server/trex_rpc_cmds_table.cpp | |
parent | 4e0f17da4400a9db25a4919242000ec44fa03763 (diff) | |
parent | 3f94a09f66657970636a532aac9411ad6a5290ad (diff) |
merge from master
Diffstat (limited to 'src/rpc-server/trex_rpc_cmds_table.cpp')
-rw-r--r-- | src/rpc-server/trex_rpc_cmds_table.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/rpc-server/trex_rpc_cmds_table.cpp b/src/rpc-server/trex_rpc_cmds_table.cpp index a65bbccf..82c723b7 100644 --- a/src/rpc-server/trex_rpc_cmds_table.cpp +++ b/src/rpc-server/trex_rpc_cmds_table.cpp @@ -41,8 +41,8 @@ TrexRpcCommandsTable::TrexRpcCommandsTable() { register_command(new TrexRpcCmdAcquire()); register_command(new TrexRpcCmdRelease()); register_command(new TrexRpcCmdGetPortStats()); - - register_command(new TrexRpcCmdSyncUser()); + register_command(new TrexRpcCmdGetPortStatus()); + /* stream commands */ register_command(new TrexRpcCmdAddStream()); @@ -57,8 +57,11 @@ TrexRpcCommandsTable::TrexRpcCommandsTable() { register_command(new TrexRpcCmdPauseTraffic()); register_command(new TrexRpcCmdResumeTraffic()); register_command(new TrexRpcCmdUpdateTraffic()); + + register_command(new TrexRpcCmdValidate()); } + TrexRpcCommandsTable::~TrexRpcCommandsTable() { for (auto cmd : m_rpc_cmd_table) { delete cmd.second; |