Dockerfile for IM-stage_2, including License and Copyright notice
[osm/IM.git] / models / yang / CMakeLists.txt
1
2 #   Copyright 2016 RIFT.IO Inc
3 #
4 #   Licensed under the Apache License, Version 2.0 (the "License");
5 #   you may not use this file except in compliance with the License.
6 #   You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #   Unless required by applicable law or agreed to in writing, software
11 #   distributed under the License is distributed on an "AS IS" BASIS,
12 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #   See the License for the specific language governing permissions and
14 #   limitations under the License.
15 #
16 # Author(s): Anil Gunturu
17 # Creation Date: 10/15/2014
18
19
20 # NOTE: These files will be used by the new MANO subsystem
21 set(source_yang_files
22   ietf-l2-topology.yang
23   ietf-network-topology.yang
24   ietf-network.yang
25   nsd.yang rw-nsd.yang
26   nsr.yang rw-nsr.yang
27   pnfd.yang
28   rw-topology.yang
29   vlr.yang rw-vlr.yang
30   vnfd.yang rw-vnfd.yang
31   vnfr.yang rw-vnfr.yang
32   )
33
34 rift_add_yang_target(
35   TARGET mano-types_yang
36   YANG_FILES
37     mano-types.yang
38   COMPONENT ${PKG_LONG_NAME}
39   )
40
41 rift_add_yang_target(
42   TARGET mano_yang
43   YANG_FILES ${source_yang_files}
44   GIR_PATHS ${CMAKE_CURRENT_BINARY_DIR}
45   COMPONENT ${PKG_LONG_NAME}
46   LIBRARIES
47     rwmanifest_yang_gen
48     rwschema_yang_gen
49     rwcloud_yang_gen
50     rwconfig_agent_yang_gen
51     mano-types_yang_gen
52   DEPENDS
53     rwcloud_yang
54     rwconfig_agent_yang
55   )