blob: f6e3baf775c5e5b921cab0594933801a42350c44 [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
Chamarty7b759032017-04-03 17:26:43 -040041 rift/mano/sdn/__init__.py
42 rift/mano/sdn/accounts.py
43 rift/mano/sdn/config.py
44 rift/mano/sdn/operdata.py
45 COMPONENT ${PKG_LONG_NAME}
46 PYTHON3_ONLY
47 )
48
49rift_python_install_tree(
50 FILES
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040051 rift/mano/config_agent/operdata.py
52 rift/mano/config_agent/__init__.py
53 rift/mano/config_agent/config.py
54 COMPONENT ${PKG_LONG_NAME}
55 PYTHON3_ONLY
56 )
57
58
velandy6364d012017-01-04 19:25:07 +000059# Subscribers
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040060rift_python_install_tree(
61 FILES
62 rift/mano/dts/__init__.py
63 rift/mano/dts/core.py
64 rift/mano/dts/subscriber/__init__.py
65 rift/mano/dts/subscriber/core.py
66 rift/mano/dts/subscriber/store.py
67 rift/mano/dts/subscriber/ns_subscriber.py
68 rift/mano/dts/subscriber/vnf_subscriber.py
Varun Prasadc020d812016-09-10 06:29:21 -040069 rift/mano/dts/subscriber/ro_account.py
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040070 COMPONENT ${PKG_LONG_NAME}
71 PYTHON3_ONLY
72 )
73
velandy6364d012017-01-04 19:25:07 +000074# RPCs
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040075rift_python_install_tree(
76 FILES
velandy6364d012017-01-04 19:25:07 +000077 rift/mano/dts/rpc/__init__.py
78 rift/mano/dts/rpc/core.py
79 COMPONENT ${PKG_LONG_NAME}
80 PYTHON3_ONLY
81 )
82
83# Downloaders
84rift_python_install_tree(
85 FILES
86 rift/downloader/__init__.py
87 rift/downloader/base.py
Philip Josephf4937572017-03-03 01:55:37 +053088 rift/downloader/local_file.py
velandy6364d012017-01-04 19:25:07 +000089 rift/downloader/url.py
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040090 COMPONENT ${PKG_LONG_NAME}
91 PYTHON3_ONLY
92 )
93
94rift_python_install_tree(
95 FILES
velandy6364d012017-01-04 19:25:07 +000096 rift/mano/config_data/__init__.py
97 rift/mano/config_data/config.py
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040098 COMPONENT ${PKG_LONG_NAME}
99 PYTHON3_ONLY
100 )
101
102rift_python_install_tree(
103 FILES
104 rift/mano/tosca_translator/__init__.py
105 rift/mano/tosca_translator/translator_logging.conf
106 rift/mano/tosca_translator/compare_desc.py
107 rift/mano/tosca_translator/shell.py
108 rift/mano/tosca_translator/rwmano/tosca_translator.py
109 rift/mano/tosca_translator/rwmano/translate_inputs.py
110 rift/mano/tosca_translator/rwmano/__init__.py
111 rift/mano/tosca_translator/rwmano/translate_outputs.py
112 rift/mano/tosca_translator/rwmano/translate_node_templates.py
113 rift/mano/tosca_translator/rwmano/syntax/mano_parameter.py
114 rift/mano/tosca_translator/rwmano/syntax/mano_resource.py
115 rift/mano/tosca_translator/rwmano/syntax/__init__.py
116 rift/mano/tosca_translator/rwmano/syntax/mano_template.py
117 rift/mano/tosca_translator/rwmano/syntax/mano_output.py
118 rift/mano/tosca_translator/rwmano/tosca/tosca_nfv_vnf.py
119 rift/mano/tosca_translator/rwmano/tosca/__init__.py
120 rift/mano/tosca_translator/rwmano/tosca/tosca_config_primitives.py
121 rift/mano/tosca_translator/rwmano/tosca/tosca_network_port.py
122 rift/mano/tosca_translator/rwmano/tosca/tosca_network_network.py
123 rift/mano/tosca_translator/rwmano/tosca/tosca_compute.py
124 rift/mano/tosca_translator/rwmano/tosca/tosca_scaling_group.py
125 rift/mano/tosca_translator/rwmano/tosca/tosca_initial_config.py
Hashir Mohammedd0455082017-03-01 07:42:47 -0500126 rift/mano/tosca_translator/rwmano/tosca/tosca_placement_group.py
127 rift/mano/tosca_translator/rwmano/tosca/tosca_vnf_configuration.py
128 rift/mano/tosca_translator/rwmano/tosca/tosca_forwarding_graph.py
129 rift/mano/tosca_translator/rwmano/tosca/tosca_forwarding_path.py
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -0400130 rift/mano/tosca_translator/common/__init__.py
131 rift/mano/tosca_translator/common/utils.py
132 rift/mano/tosca_translator/common/exception.py
133 rift/mano/tosca_translator/custom/__init__.py
134 rift/mano/tosca_translator/custom/rwmano/__init__.py
135 rift/mano/tosca_translator/conf/translator.conf
136 rift/mano/tosca_translator/conf/__init__.py
137 rift/mano/tosca_translator/conf/config.py
138 COMPONENT ${PKG_LONG_NAME}
139 PYTHON3_ONLY
140 )
141
142rift_python_install_tree(
143 FILES
144 rift/mano/utils/__init.py__
145 rift/mano/utils/compare_desc.py
146 rift/mano/utils/juju_api.py
Philip Joseph0f5e8c02017-03-03 01:54:51 +0530147 rift/mano/utils/project.py
chamartyee71ccf2017-03-13 18:28:18 +0000148 rift/mano/utils/short_name.py
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -0400149 COMPONENT ${PKG_LONG_NAME}
150 PYTHON3_ONLY
151 )
152
153rift_python_install_tree(
154 FILES
155 rift/mano/yang_translator/__init__.py
156 rift/mano/yang_translator/translator_logging.conf
157 rift/mano/yang_translator/shell.py
158 rift/mano/yang_translator/compare_desc.py
159 rift/mano/yang_translator/conf/config.py
160 rift/mano/yang_translator/conf/translator.conf
161 rift/mano/yang_translator/conf/__init__.py
162 rift/mano/yang_translator/rwmano/yang_translator.py
163 rift/mano/yang_translator/rwmano/translate_descriptors.py
164 rift/mano/yang_translator/rwmano/__init__.py
165 rift/mano/yang_translator/rwmano/yang/yang_vld.py
166 rift/mano/yang_translator/rwmano/yang/yang_vdu.py
167 rift/mano/yang_translator/rwmano/yang/yang_vnfd.py
168 rift/mano/yang_translator/rwmano/yang/yang_nsd.py
169 rift/mano/yang_translator/rwmano/yang/__init__.py
170 rift/mano/yang_translator/rwmano/syntax/tosca_template.py
171 rift/mano/yang_translator/rwmano/syntax/tosca_resource.py
172 rift/mano/yang_translator/rwmano/syntax/__init__.py
173 rift/mano/yang_translator/custom/__init__.py
174 rift/mano/yang_translator/custom/rwmano/__init__.py
175 rift/mano/yang_translator/common/utils.py
176 rift/mano/yang_translator/common/exception.py
177 rift/mano/yang_translator/common/__init__.py
178 COMPONENT ${PKG_LONG_NAME}
179 PYTHON3_ONLY
180 )
181
182set(TRANSLATOR_SCRIPTS
183 ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/tosca_translator/tosca-translator
184 ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/yang_translator/yang-translator)
185
186install(
Hashir Mohammedd0455082017-03-01 07:42:47 -0500187 FILES rift/mano/yang_translator/riftiotypes.yaml
188 DESTINATION
189 usr/rift/mano/common
190 COMPONENT ${PKG_LONG_NAME}
191 )
192
193install(
194 FILES rift/mano/tosca_translator/dummy_vnf_node.yaml
195 DESTINATION
196 usr/rift/mano/common
197 COMPONENT ${PKG_LONG_NAME}
198 )
199
200install(
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -0400201 FILES ${TRANSLATOR_SCRIPTS}
202 DESTINATION
203 usr/bin
204 COMPONENT ${PKG_LONG_NAME}
205 )
206
207set(subdirs
208 test
209 )
210
211rift_add_subdirs(SUBDIR_LIST ${subdirs})