blob: 285123b45ed1e51b476ac74c8d5fb8cad3f74fe2 [file] [log] [blame]
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -04001# Creation Date: 2016/1/12
velandy9bfb0242017-01-06 20:26:14 +00002#
3# Copyright 2016 RIFT.IO Inc
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040017
18cmake_minimum_required(VERSION 2.8)
19
20
21rift_python_install_tree(
22 FILES
23 rift/mano/__init__.py
24 rift/mano/ncclient.py
25 COMPONENT ${PKG_LONG_NAME}
26 PYTHON3_ONLY
27 )
28
29rift_python_install_tree(
30 FILES
31 rift/mano/cloud/__init__.py
32 rift/mano/cloud/accounts.py
33 rift/mano/cloud/config.py
34 rift/mano/cloud/operdata.py
35 COMPONENT ${PKG_LONG_NAME}
36 PYTHON3_ONLY
37 )
38
39rift_python_install_tree(
40 FILES
41 rift/mano/config_agent/operdata.py
42 rift/mano/config_agent/__init__.py
43 rift/mano/config_agent/config.py
44 COMPONENT ${PKG_LONG_NAME}
45 PYTHON3_ONLY
46 )
47
48
velandy6364d012017-01-04 19:25:07 +000049# Subscribers
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040050rift_python_install_tree(
51 FILES
52 rift/mano/dts/__init__.py
53 rift/mano/dts/core.py
54 rift/mano/dts/subscriber/__init__.py
55 rift/mano/dts/subscriber/core.py
56 rift/mano/dts/subscriber/store.py
57 rift/mano/dts/subscriber/ns_subscriber.py
58 rift/mano/dts/subscriber/vnf_subscriber.py
Varun Prasadc020d812016-09-10 06:29:21 -040059 rift/mano/dts/subscriber/ro_account.py
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040060 COMPONENT ${PKG_LONG_NAME}
61 PYTHON3_ONLY
62 )
63
velandy6364d012017-01-04 19:25:07 +000064# RPCs
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040065rift_python_install_tree(
66 FILES
velandy6364d012017-01-04 19:25:07 +000067 rift/mano/dts/rpc/__init__.py
68 rift/mano/dts/rpc/core.py
69 COMPONENT ${PKG_LONG_NAME}
70 PYTHON3_ONLY
71 )
72
73# Downloaders
74rift_python_install_tree(
75 FILES
76 rift/downloader/__init__.py
77 rift/downloader/base.py
Philip Josephf4937572017-03-03 01:55:37 +053078 rift/downloader/local_file.py
velandy6364d012017-01-04 19:25:07 +000079 rift/downloader/url.py
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040080 COMPONENT ${PKG_LONG_NAME}
81 PYTHON3_ONLY
82 )
83
84rift_python_install_tree(
85 FILES
velandy6364d012017-01-04 19:25:07 +000086 rift/mano/config_data/__init__.py
87 rift/mano/config_data/config.py
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040088 COMPONENT ${PKG_LONG_NAME}
89 PYTHON3_ONLY
90 )
91
92rift_python_install_tree(
93 FILES
94 rift/mano/tosca_translator/__init__.py
95 rift/mano/tosca_translator/translator_logging.conf
96 rift/mano/tosca_translator/compare_desc.py
97 rift/mano/tosca_translator/shell.py
98 rift/mano/tosca_translator/rwmano/tosca_translator.py
99 rift/mano/tosca_translator/rwmano/translate_inputs.py
100 rift/mano/tosca_translator/rwmano/__init__.py
101 rift/mano/tosca_translator/rwmano/translate_outputs.py
102 rift/mano/tosca_translator/rwmano/translate_node_templates.py
103 rift/mano/tosca_translator/rwmano/syntax/mano_parameter.py
104 rift/mano/tosca_translator/rwmano/syntax/mano_resource.py
105 rift/mano/tosca_translator/rwmano/syntax/__init__.py
106 rift/mano/tosca_translator/rwmano/syntax/mano_template.py
107 rift/mano/tosca_translator/rwmano/syntax/mano_output.py
108 rift/mano/tosca_translator/rwmano/tosca/tosca_nfv_vnf.py
109 rift/mano/tosca_translator/rwmano/tosca/__init__.py
110 rift/mano/tosca_translator/rwmano/tosca/tosca_config_primitives.py
111 rift/mano/tosca_translator/rwmano/tosca/tosca_network_port.py
112 rift/mano/tosca_translator/rwmano/tosca/tosca_network_network.py
113 rift/mano/tosca_translator/rwmano/tosca/tosca_compute.py
114 rift/mano/tosca_translator/rwmano/tosca/tosca_scaling_group.py
115 rift/mano/tosca_translator/rwmano/tosca/tosca_initial_config.py
Hashir Mohammedd0455082017-03-01 07:42:47 -0500116 rift/mano/tosca_translator/rwmano/tosca/tosca_placement_group.py
117 rift/mano/tosca_translator/rwmano/tosca/tosca_vnf_configuration.py
118 rift/mano/tosca_translator/rwmano/tosca/tosca_forwarding_graph.py
119 rift/mano/tosca_translator/rwmano/tosca/tosca_forwarding_path.py
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -0400120 rift/mano/tosca_translator/common/__init__.py
121 rift/mano/tosca_translator/common/utils.py
122 rift/mano/tosca_translator/common/exception.py
123 rift/mano/tosca_translator/custom/__init__.py
124 rift/mano/tosca_translator/custom/rwmano/__init__.py
125 rift/mano/tosca_translator/conf/translator.conf
126 rift/mano/tosca_translator/conf/__init__.py
127 rift/mano/tosca_translator/conf/config.py
128 COMPONENT ${PKG_LONG_NAME}
129 PYTHON3_ONLY
130 )
131
132rift_python_install_tree(
133 FILES
134 rift/mano/utils/__init.py__
135 rift/mano/utils/compare_desc.py
136 rift/mano/utils/juju_api.py
Philip Joseph0f5e8c02017-03-03 01:54:51 +0530137 rift/mano/utils/project.py
chamartyee71ccf2017-03-13 18:28:18 +0000138 rift/mano/utils/short_name.py
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -0400139 COMPONENT ${PKG_LONG_NAME}
140 PYTHON3_ONLY
141 )
142
143rift_python_install_tree(
144 FILES
145 rift/mano/yang_translator/__init__.py
146 rift/mano/yang_translator/translator_logging.conf
147 rift/mano/yang_translator/shell.py
148 rift/mano/yang_translator/compare_desc.py
149 rift/mano/yang_translator/conf/config.py
150 rift/mano/yang_translator/conf/translator.conf
151 rift/mano/yang_translator/conf/__init__.py
152 rift/mano/yang_translator/rwmano/yang_translator.py
153 rift/mano/yang_translator/rwmano/translate_descriptors.py
154 rift/mano/yang_translator/rwmano/__init__.py
155 rift/mano/yang_translator/rwmano/yang/yang_vld.py
156 rift/mano/yang_translator/rwmano/yang/yang_vdu.py
157 rift/mano/yang_translator/rwmano/yang/yang_vnfd.py
158 rift/mano/yang_translator/rwmano/yang/yang_nsd.py
159 rift/mano/yang_translator/rwmano/yang/__init__.py
160 rift/mano/yang_translator/rwmano/syntax/tosca_template.py
161 rift/mano/yang_translator/rwmano/syntax/tosca_resource.py
162 rift/mano/yang_translator/rwmano/syntax/__init__.py
163 rift/mano/yang_translator/custom/__init__.py
164 rift/mano/yang_translator/custom/rwmano/__init__.py
165 rift/mano/yang_translator/common/utils.py
166 rift/mano/yang_translator/common/exception.py
167 rift/mano/yang_translator/common/__init__.py
168 COMPONENT ${PKG_LONG_NAME}
169 PYTHON3_ONLY
170 )
171
172set(TRANSLATOR_SCRIPTS
173 ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/tosca_translator/tosca-translator
174 ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/yang_translator/yang-translator)
175
176install(
Hashir Mohammedd0455082017-03-01 07:42:47 -0500177 FILES rift/mano/yang_translator/riftiotypes.yaml
178 DESTINATION
179 usr/rift/mano/common
180 COMPONENT ${PKG_LONG_NAME}
181 )
182
183install(
184 FILES rift/mano/tosca_translator/dummy_vnf_node.yaml
185 DESTINATION
186 usr/rift/mano/common
187 COMPONENT ${PKG_LONG_NAME}
188 )
189
190install(
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -0400191 FILES ${TRANSLATOR_SCRIPTS}
192 DESTINATION
193 usr/bin
194 COMPONENT ${PKG_LONG_NAME}
195 )
196
197set(subdirs
198 test
199 )
200
201rift_add_subdirs(SUBDIR_LIST ${subdirs})