X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=examples%2Fping_pong_ns%2FCMakeLists.txt;h=6919dd7cb446471a1aa892f905818f3ceae31de9;hb=4870d0ee29789b859931e4e2c73e13dcb29537d5;hp=9667465c5a8c0ed045c706754c7faa9f02d48b7f;hpb=6f07e6f33f751ab4ffe624f6037f887b243bece2;p=osm%2FSO.git diff --git a/examples/ping_pong_ns/CMakeLists.txt b/examples/ping_pong_ns/CMakeLists.txt index 9667465c..6919dd7c 100644 --- a/examples/ping_pong_ns/CMakeLists.txt +++ b/examples/ping_pong_ns/CMakeLists.txt @@ -15,7 +15,7 @@ # # Author(s): Anil Gunturu # Creation Date: 03/26/2014 -# + cmake_minimum_required(VERSION 2.8) @@ -34,47 +34,76 @@ set(PACKAGE_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/pong_vnfd_aws.tar.gz ${CMAKE_CURRENT_BINARY_DIR}/ping_pong_nsd_with_epa.tar.gz ${CMAKE_CURRENT_BINARY_DIR}/ping_vnfd_with_epa.tar.gz - ${CMAKE_CURRENT_BINARY_DIR}/pong_vnfd_with_epa.tar.gz) + ${CMAKE_CURRENT_BINARY_DIR}/ping_vnfd_with_vca.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/pong_vnfd_with_vca.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/ping_pong_nsd_with_vca.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/pong_vnfd_with_epa.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/ping_vnfd_with_vip.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/pong_vnfd_with_vip.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/ping_pong_nsd_with_vip.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/ping_vnfd_with_image.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/pong_vnfd_with_image.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/ping_vnfd_with_vca.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/pong_vnfd_with_vca.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/ping_pong_nsd_with_vca.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/ping_vnfd_with_image.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/pong_vnfd_with_image.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/ping_vnfd_with_vnf_input_parameters.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/pong_vnfd_with_vnf_input_parameters.tar.gz + ${CMAKE_CURRENT_BINARY_DIR}/ping_pong_nsd_with_vnf_input_parameters.tar.gz) add_custom_command( OUTPUT ${PACKAGE_OUTPUT} COMMAND ${CMAKE_CURRENT_BINARY_DIR}/generate_packages.sh - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ping_pong_nsd.py + DEPENDS + mano_yang + rwcloud_yang + ${CMAKE_CURRENT_SOURCE_DIR}/ping_pong_nsd.py + ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/examples/ping_setup.py + ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/examples/ping_rate.py + ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/examples/ping_start_stop.py + ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/examples/pong_setup.py + ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/examples/pong_start_stop.py + ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/examples/ping_initial_config.py + ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/examples/pong_initial_config.py + ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/examples/start_traffic.py + ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/examples/stop_traffic.py + ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/examples/primitive_test.py ) add_custom_target(ping_pong_pkg_gen ALL - DEPENDS mano_yang ${PACKAGE_OUTPUT} + DEPENDS mano_yang rwcloud_yang ${PACKAGE_OUTPUT} ) install( FILES ${PACKAGE_OUTPUT} DESTINATION usr/rift/mano/examples/ping_pong_ns - COMPONENT ${PKG_LONG_NAME} - ) - -install( - FILES - ${CMAKE_CURRENT_BINARY_DIR}/ping_vnfd_with_image.tar.gz - ${CMAKE_CURRENT_BINARY_DIR}/pong_vnfd_with_image.tar.gz - DESTINATION - usr/rift/mano/examples/ping_pong_ns - COMPONENT ${PKG_LONG_NAME} - OPTIONAL + COMPONENT ${INSTALL_COMPONENT} ) rift_python_install_tree( - COMPONENT ${PKG_LONG_NAME} + COMPONENT ${INSTALL_COMPONENT} FILES rift/mano/examples/ping_pong_nsd.py + rift/mano/examples/ping_setup.py + rift/mano/examples/ping_start_stop.py + rift/mano/examples/pong_setup.py + rift/mano/examples/pong_start_stop.py rift/mano/examples/start_traffic.py + rift/mano/examples/ping_set_rate.py + rift/mano/examples/stop_traffic.py + rift/mano/examples/ping_initial_config.py + rift/mano/examples/pong_initial_config.py + rift/mano/examples/ping_set_rate.py + rift/mano/examples/primitive_test.py ) install( PROGRAMS - rift/mano/examples/ping_config.py + rift/mano/examples/ping_scale.py stand_up_ping_pong DESTINATION usr/bin - COMPONENT ${PKG_LONG_NAME} + COMPONENT ${INSTALL_COMPONENT} )