X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=common%2Fpython%2FCMakeLists.txt;h=50ed1de784fe639768fcbdb711d22f5b3f676707;hb=93f10aabdba5a1c745d002654c0bb6345a682a47;hp=85ead68db8e77457a87a95e46f7179da87d3be2f;hpb=b772750d2ec5a19ee261bd11f2c74b7eae9d26f5;p=osm%2FSO.git diff --git a/common/python/CMakeLists.txt b/common/python/CMakeLists.txt index 85ead68d..50ed1de7 100644 --- a/common/python/CMakeLists.txt +++ b/common/python/CMakeLists.txt @@ -1,5 +1,19 @@ # Creation Date: 2016/1/12 -# RIFT_IO_STANDARD_CMAKE_COPYRIGHT_HEADER(END) +# +# Copyright 2016 RIFT.IO Inc +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# cmake_minimum_required(VERSION 2.8) @@ -32,6 +46,7 @@ rift_python_install_tree( ) +# Subscribers rift_python_install_tree( FILES rift/mano/dts/__init__.py @@ -46,23 +61,29 @@ rift_python_install_tree( PYTHON3_ONLY ) +# RPCs rift_python_install_tree( FILES - rift/mano/config_data/__init__.py - rift/mano/config_data/config.py + rift/mano/dts/rpc/__init__.py + rift/mano/dts/rpc/core.py COMPONENT ${PKG_LONG_NAME} PYTHON3_ONLY ) +# Downloaders rift_python_install_tree( FILES - rift/mano/dts/__init__.py - rift/mano/dts/core.py - rift/mano/dts/subscriber/__init__.py - rift/mano/dts/subscriber/core.py - rift/mano/dts/subscriber/store.py - rift/mano/dts/subscriber/ns_subscriber.py - rift/mano/dts/subscriber/vnf_subscriber.py + rift/downloader/__init__.py + rift/downloader/base.py + rift/downloader/url.py + COMPONENT ${PKG_LONG_NAME} + PYTHON3_ONLY + ) + +rift_python_install_tree( + FILES + rift/mano/config_data/__init__.py + rift/mano/config_data/config.py COMPONENT ${PKG_LONG_NAME} PYTHON3_ONLY ) @@ -91,6 +112,10 @@ rift_python_install_tree( rift/mano/tosca_translator/rwmano/tosca/tosca_compute.py rift/mano/tosca_translator/rwmano/tosca/tosca_scaling_group.py rift/mano/tosca_translator/rwmano/tosca/tosca_initial_config.py + rift/mano/tosca_translator/rwmano/tosca/tosca_placement_group.py + rift/mano/tosca_translator/rwmano/tosca/tosca_vnf_configuration.py + rift/mano/tosca_translator/rwmano/tosca/tosca_forwarding_graph.py + rift/mano/tosca_translator/rwmano/tosca/tosca_forwarding_path.py rift/mano/tosca_translator/common/__init__.py rift/mano/tosca_translator/common/utils.py rift/mano/tosca_translator/common/exception.py @@ -108,6 +133,7 @@ rift_python_install_tree( rift/mano/utils/__init.py__ rift/mano/utils/compare_desc.py rift/mano/utils/juju_api.py + rift/mano/utils/short_name.py COMPONENT ${PKG_LONG_NAME} PYTHON3_ONLY ) @@ -145,6 +171,20 @@ set(TRANSLATOR_SCRIPTS ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/tosca_translator/tosca-translator ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/yang_translator/yang-translator) +install( + FILES rift/mano/yang_translator/riftiotypes.yaml + DESTINATION + usr/rift/mano/common + COMPONENT ${PKG_LONG_NAME} + ) + +install( + FILES rift/mano/tosca_translator/dummy_vnf_node.yaml + DESTINATION + usr/rift/mano/common + COMPONENT ${PKG_LONG_NAME} + ) + install( FILES ${TRANSLATOR_SCRIPTS} DESTINATION