-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add in/out interfaces in the metadata of dumped packets #94
Conversation
c6b0f68
to
e5c3da7
Compare
@@ -13,7 +13,7 @@ | |||
namespace show | |||
{ | |||
|
|||
void physicalPort() | |||
inline void physicalPort() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing: Function 'physicalPort' defined in a header file; function definitions in header files can lead to ODR violations
common/icp.h
Outdated
@@ -898,6 +899,12 @@ using response = std::tuple<unsigned int, ///< major | |||
std::string>; ///< custom | |||
} | |||
|
|||
namespace convert | |||
{ | |||
using response = std::map<unsigned int, ///< id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
std::vector<std::tuple<>>
- more effective in this place
cli/show.h
Outdated
@@ -850,4 +850,26 @@ void shm_info() | |||
table.print(); | |||
} | |||
|
|||
namespace convert |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe move to convert.h
or something?
cli/show.h
Outdated
inline void logical_module() | ||
{ | ||
interface::controlPlane controlPlane; | ||
const auto response = controlPlane.convert_logical_module(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe use this signature: controlPlane.convert("logical_module");
?
e5c3da7
to
3729dd3
Compare
3729dd3
to
a062002
Compare
No description provided.