| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 1 | # Creation Date: 2016/1/12 |
| velandy | 9bfb024 | 2017-01-06 20:26:14 +0000 | [diff] [blame] | 2 | # |
| 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 Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 17 | |
| 18 | cmake_minimum_required(VERSION 2.8) |
| 19 | |
| 20 | |
| 21 | rift_python_install_tree( |
| 22 | FILES |
| 23 | rift/mano/__init__.py |
| 24 | rift/mano/ncclient.py |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 25 | COMPONENT ${INSTALL_COMPONENT} |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 26 | PYTHON3_ONLY |
| 27 | ) |
| 28 | |
| 29 | rift_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 |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 35 | COMPONENT ${INSTALL_COMPONENT} |
| 36 | PYTHON3_ONLY |
| 37 | ) |
| 38 | |
| 39 | rift_python_install_tree( |
| 40 | FILES |
| 41 | rift/mano/ro_account/__init__.py |
| 42 | rift/mano/ro_account/accounts.py |
| 43 | rift/mano/ro_account/config.py |
| 44 | rift/mano/ro_account/operdata.py |
| 45 | COMPONENT ${INSTALL_COMPONENT} |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 46 | PYTHON3_ONLY |
| 47 | ) |
| 48 | |
| 49 | rift_python_install_tree( |
| 50 | FILES |
| Chamarty | 4bd9025 | 2017-04-03 17:26:43 -0400 | [diff] [blame] | 51 | rift/mano/sdn/__init__.py |
| 52 | rift/mano/sdn/accounts.py |
| 53 | rift/mano/sdn/config.py |
| 54 | rift/mano/sdn/operdata.py |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 55 | COMPONENT ${INSTALL_COMPONENT} |
| Chamarty | 4bd9025 | 2017-04-03 17:26:43 -0400 | [diff] [blame] | 56 | PYTHON3_ONLY |
| 57 | ) |
| 58 | |
| 59 | rift_python_install_tree( |
| 60 | FILES |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 61 | rift/mano/config_agent/operdata.py |
| 62 | rift/mano/config_agent/__init__.py |
| 63 | rift/mano/config_agent/config.py |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 64 | COMPONENT ${INSTALL_COMPONENT} |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 65 | PYTHON3_ONLY |
| 66 | ) |
| 67 | |
| 68 | |
| velandy | 6364d01 | 2017-01-04 19:25:07 +0000 | [diff] [blame] | 69 | # Subscribers |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 70 | rift_python_install_tree( |
| 71 | FILES |
| 72 | rift/mano/dts/__init__.py |
| 73 | rift/mano/dts/core.py |
| 74 | rift/mano/dts/subscriber/__init__.py |
| 75 | rift/mano/dts/subscriber/core.py |
| 76 | rift/mano/dts/subscriber/store.py |
| 77 | rift/mano/dts/subscriber/ns_subscriber.py |
| 78 | rift/mano/dts/subscriber/vnf_subscriber.py |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 79 | COMPONENT ${INSTALL_COMPONENT} |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 80 | PYTHON3_ONLY |
| 81 | ) |
| 82 | |
| velandy | 6364d01 | 2017-01-04 19:25:07 +0000 | [diff] [blame] | 83 | # RPCs |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 84 | rift_python_install_tree( |
| 85 | FILES |
| velandy | 6364d01 | 2017-01-04 19:25:07 +0000 | [diff] [blame] | 86 | rift/mano/dts/rpc/__init__.py |
| 87 | rift/mano/dts/rpc/core.py |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 88 | COMPONENT ${INSTALL_COMPONENT} |
| velandy | 6364d01 | 2017-01-04 19:25:07 +0000 | [diff] [blame] | 89 | PYTHON3_ONLY |
| 90 | ) |
| 91 | |
| 92 | # Downloaders |
| 93 | rift_python_install_tree( |
| 94 | FILES |
| 95 | rift/downloader/__init__.py |
| 96 | rift/downloader/base.py |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 97 | rift/downloader/local_file.py |
| velandy | 6364d01 | 2017-01-04 19:25:07 +0000 | [diff] [blame] | 98 | rift/downloader/url.py |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 99 | COMPONENT ${INSTALL_COMPONENT} |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 100 | PYTHON3_ONLY |
| 101 | ) |
| 102 | |
| 103 | rift_python_install_tree( |
| 104 | FILES |
| velandy | 6364d01 | 2017-01-04 19:25:07 +0000 | [diff] [blame] | 105 | rift/mano/config_data/__init__.py |
| 106 | rift/mano/config_data/config.py |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 107 | COMPONENT ${INSTALL_COMPONENT} |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 108 | PYTHON3_ONLY |
| 109 | ) |
| 110 | |
| 111 | rift_python_install_tree( |
| 112 | FILES |
| 113 | rift/mano/tosca_translator/__init__.py |
| 114 | rift/mano/tosca_translator/translator_logging.conf |
| 115 | rift/mano/tosca_translator/compare_desc.py |
| 116 | rift/mano/tosca_translator/shell.py |
| 117 | rift/mano/tosca_translator/rwmano/tosca_translator.py |
| 118 | rift/mano/tosca_translator/rwmano/translate_inputs.py |
| 119 | rift/mano/tosca_translator/rwmano/__init__.py |
| 120 | rift/mano/tosca_translator/rwmano/translate_outputs.py |
| 121 | rift/mano/tosca_translator/rwmano/translate_node_templates.py |
| 122 | rift/mano/tosca_translator/rwmano/syntax/mano_parameter.py |
| 123 | rift/mano/tosca_translator/rwmano/syntax/mano_resource.py |
| 124 | rift/mano/tosca_translator/rwmano/syntax/__init__.py |
| 125 | rift/mano/tosca_translator/rwmano/syntax/mano_template.py |
| 126 | rift/mano/tosca_translator/rwmano/syntax/mano_output.py |
| 127 | rift/mano/tosca_translator/rwmano/tosca/tosca_nfv_vnf.py |
| 128 | rift/mano/tosca_translator/rwmano/tosca/__init__.py |
| 129 | rift/mano/tosca_translator/rwmano/tosca/tosca_config_primitives.py |
| 130 | rift/mano/tosca_translator/rwmano/tosca/tosca_network_port.py |
| 131 | rift/mano/tosca_translator/rwmano/tosca/tosca_network_network.py |
| 132 | rift/mano/tosca_translator/rwmano/tosca/tosca_compute.py |
| 133 | rift/mano/tosca_translator/rwmano/tosca/tosca_scaling_group.py |
| 134 | rift/mano/tosca_translator/rwmano/tosca/tosca_initial_config.py |
| Hashir Mohammed | 93f10aa | 2017-03-01 07:42:47 -0500 | [diff] [blame] | 135 | rift/mano/tosca_translator/rwmano/tosca/tosca_placement_group.py |
| 136 | rift/mano/tosca_translator/rwmano/tosca/tosca_vnf_configuration.py |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 137 | rift/mano/tosca_translator/rwmano/tosca/tosca_vnf_ns_service_primitive.py |
| Hashir Mohammed | 93f10aa | 2017-03-01 07:42:47 -0500 | [diff] [blame] | 138 | rift/mano/tosca_translator/rwmano/tosca/tosca_forwarding_graph.py |
| 139 | rift/mano/tosca_translator/rwmano/tosca/tosca_forwarding_path.py |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 140 | rift/mano/tosca_translator/common/__init__.py |
| 141 | rift/mano/tosca_translator/common/utils.py |
| 142 | rift/mano/tosca_translator/common/exception.py |
| 143 | rift/mano/tosca_translator/custom/__init__.py |
| 144 | rift/mano/tosca_translator/custom/rwmano/__init__.py |
| 145 | rift/mano/tosca_translator/conf/translator.conf |
| 146 | rift/mano/tosca_translator/conf/__init__.py |
| 147 | rift/mano/tosca_translator/conf/config.py |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 148 | COMPONENT ${INSTALL_COMPONENT} |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 149 | PYTHON3_ONLY |
| 150 | ) |
| 151 | |
| 152 | rift_python_install_tree( |
| 153 | FILES |
| 154 | rift/mano/utils/__init.py__ |
| 155 | rift/mano/utils/compare_desc.py |
| 156 | rift/mano/utils/juju_api.py |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 157 | rift/mano/utils/ssh_keys.py |
| 158 | rift/mano/utils/project.py |
| chamarty | 52558f6 | 2017-03-13 18:28:18 +0000 | [diff] [blame] | 159 | rift/mano/utils/short_name.py |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 160 | COMPONENT ${INSTALL_COMPONENT} |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 161 | PYTHON3_ONLY |
| 162 | ) |
| 163 | |
| 164 | rift_python_install_tree( |
| 165 | FILES |
| 166 | rift/mano/yang_translator/__init__.py |
| 167 | rift/mano/yang_translator/translator_logging.conf |
| 168 | rift/mano/yang_translator/shell.py |
| 169 | rift/mano/yang_translator/compare_desc.py |
| 170 | rift/mano/yang_translator/conf/config.py |
| 171 | rift/mano/yang_translator/conf/translator.conf |
| 172 | rift/mano/yang_translator/conf/__init__.py |
| 173 | rift/mano/yang_translator/rwmano/yang_translator.py |
| 174 | rift/mano/yang_translator/rwmano/translate_descriptors.py |
| 175 | rift/mano/yang_translator/rwmano/__init__.py |
| 176 | rift/mano/yang_translator/rwmano/yang/yang_vld.py |
| 177 | rift/mano/yang_translator/rwmano/yang/yang_vdu.py |
| 178 | rift/mano/yang_translator/rwmano/yang/yang_vnfd.py |
| 179 | rift/mano/yang_translator/rwmano/yang/yang_nsd.py |
| 180 | rift/mano/yang_translator/rwmano/yang/__init__.py |
| 181 | rift/mano/yang_translator/rwmano/syntax/tosca_template.py |
| 182 | rift/mano/yang_translator/rwmano/syntax/tosca_resource.py |
| 183 | rift/mano/yang_translator/rwmano/syntax/__init__.py |
| 184 | rift/mano/yang_translator/custom/__init__.py |
| 185 | rift/mano/yang_translator/custom/rwmano/__init__.py |
| 186 | rift/mano/yang_translator/common/utils.py |
| 187 | rift/mano/yang_translator/common/exception.py |
| 188 | rift/mano/yang_translator/common/__init__.py |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 189 | COMPONENT ${INSTALL_COMPONENT} |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 190 | PYTHON3_ONLY |
| 191 | ) |
| 192 | |
| 193 | set(TRANSLATOR_SCRIPTS |
| 194 | ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/tosca_translator/tosca-translator |
| 195 | ${CMAKE_CURRENT_SOURCE_DIR}/rift/mano/yang_translator/yang-translator) |
| 196 | |
| 197 | install( |
| Hashir Mohammed | 93f10aa | 2017-03-01 07:42:47 -0500 | [diff] [blame] | 198 | FILES rift/mano/yang_translator/riftiotypes.yaml |
| 199 | DESTINATION |
| 200 | usr/rift/mano/common |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 201 | COMPONENT ${INSTALL_COMPONENT} |
| Hashir Mohammed | 93f10aa | 2017-03-01 07:42:47 -0500 | [diff] [blame] | 202 | ) |
| 203 | |
| 204 | install( |
| 205 | FILES rift/mano/tosca_translator/dummy_vnf_node.yaml |
| 206 | DESTINATION |
| 207 | usr/rift/mano/common |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 208 | COMPONENT ${INSTALL_COMPONENT} |
| Hashir Mohammed | 93f10aa | 2017-03-01 07:42:47 -0500 | [diff] [blame] | 209 | ) |
| 210 | |
| 211 | install( |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 212 | FILES ${TRANSLATOR_SCRIPTS} |
| 213 | DESTINATION |
| 214 | usr/bin |
| Jeremy Mordkoff | 4870d0e | 2017-09-30 20:28:33 -0400 | [diff] [blame^] | 215 | COMPONENT ${INSTALL_COMPONENT} |
| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 216 | ) |
| 217 | |
| 218 | set(subdirs |
| 219 | test |
| 220 | ) |
| 221 | |
| 222 | rift_add_subdirs(SUBDIR_LIST ${subdirs}) |