SET(TYPE "DEBIAN")
SET(GENERATOR "DEB")
SET(CPACK_PACKAGE_FILE_NAME "${PACKAGE_NAME}_${PACKAGE_VERSION}_${ARCHITECTURE}")
- SET(CPACK_${TYPE}_PACKAGE_DEPENDS "vpp (>> 17.01), vpp-lib (>> 17.01)")
+ SET(CPACK_${TYPE}_PACKAGE_DEPENDS "vpp (>= 17.04), vpp (< 17.07), vpp-lib (>= 17.04), vpp-lib (< 17.07), vpp-plugins (>= 17.04), vpp-plugins (< 17.07)")
elseif (RPM_PACKAGE)
SET(TYPE "RPM")
SET(GENERATOR "RPM")
SET(CPACK_PACKAGE_FILE_NAME "${PACKAGE_NAME}-${PACKAGE_VERSION}.${ARCHITECTURE}")
SET(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/etc" "/usr/lib/python2.7" "/usr/lib/python2.7/site-packages")
- SET(CPACK_${TYPE}_PACKAGE_REQUIRES "vpp > 17.01, vpp-lib > 17.01")
+ SET(CPACK_${TYPE}_PACKAGE_REQUIRES "vpp >= 17.04, vpp < 17.07, vpp-lib >= 17.04, vpp-lib < 17.07, vpp-plugins >= 17.04, vpp-plugins < 17.07")
else ()
RETURN()
endif ()
*/
VLIB_REGISTER_NODE (icnfwd_node) =
{
- .function = icnfwd_node_fn,.name = "icnfwd",.vector_size =
- sizeof (u32),.runtime_data_bytes =
- sizeof (icnfwd_runtime_t),.format_trace = icnfwd_format_trace,.type =
- VLIB_NODE_TYPE_INTERNAL,.n_errors =
- ARRAY_LEN (icnfwd_error_strings),.error_strings =
- icnfwd_error_strings,.n_next_nodes = ICNFWD_N_NEXT,
- /* edit / add dispositions here */
- .next_nodes =
- {
- [ICNFWD_NEXT_LOOKUP] = "ip4-lookup",
- [ICNFWD_NEXT_ERROR_DROP] = "error-drop",}
+ .function = icnfwd_node_fn,
+ .name = "icnfwd",
+ .vector_size = sizeof (u32),
+ .runtime_data_bytes = sizeof (icnfwd_runtime_t),
+ .format_trace = icnfwd_format_trace,
+ .type = VLIB_NODE_TYPE_INTERNAL,
+ .n_errors = ARRAY_LEN (icnfwd_error_strings),
+ .error_strings = icnfwd_error_strings,
+ .n_next_nodes = ICNFWD_N_NEXT,
+ .next_nodes = {
+ [ICNFWD_NEXT_LOOKUP] = "ip4-lookup",
+ [ICNFWD_NEXT_ERROR_DROP] = "error-drop",
+ }
,};
/*
*/
VLIB_REGISTER_NODE (icndist_node) =
{
- .function = icndist_node_fn,.name = "icndist",.vector_size =
- sizeof (u32),.runtime_data_bytes =
- sizeof (icndist_runtime_t),.format_trace = icndist_format_trace,.type =
- VLIB_NODE_TYPE_INTERNAL,.n_errors =
- ARRAY_LEN (icndist_error_strings),.error_strings =
- icndist_error_strings,.n_next_nodes = ICNDIST_N_NEXT,
- /* edit / add dispositions here */
- .next_nodes =
- {
- [ICNDIST_NEXT_FWD] = "icnfwd",[ICNDIST_NEXT_ERROR_DROP] = "error-drop",}
+ .function = icndist_node_fn,
+ .name = "icndist",
+ .vector_size = sizeof (u32),
+ .runtime_data_bytes = sizeof (icndist_runtime_t),
+ .format_trace = icndist_format_trace,
+ .type = VLIB_NODE_TYPE_INTERNAL,
+ .n_errors = ARRAY_LEN (icndist_error_strings),
+ .error_strings = icndist_error_strings,
+ .n_next_nodes = ICNDIST_N_NEXT,
+ .next_nodes = {
+ [ICNDIST_NEXT_FWD] = "icnfwd",
+ [ICNDIST_NEXT_ERROR_DROP] = "error-drop",
+ }
,};
#endif // CICN_FEATURE_MULTITHREAD