aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2020-02-06 08:22:09 +0000
committerGerrit Code Review <gerrit@fd.io>2020-02-06 08:22:09 +0000
commit8dbcb75d20ca33bf495bcd68e8ca0dd1fe228703 (patch)
treeeb40b577179ec5fb30a756e1ba0f77ced899c7c4
parent2f6e378577c7976aeb4d0b054a15aa3964a2c9de (diff)
parent39de2261effa781dc3d0f1edde1148afc9456d27 (diff)
Merge "[HICN-504] Added hicn yang model to the hicn-sysrepo-plugin package"
-rw-r--r--ctrl/sysrepo-plugins/CMakeLists.txt9
-rw-r--r--ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt2
2 files changed, 10 insertions, 1 deletions
diff --git a/ctrl/sysrepo-plugins/CMakeLists.txt b/ctrl/sysrepo-plugins/CMakeLists.txt
index 8c1278c1c..f1e1553dc 100644
--- a/ctrl/sysrepo-plugins/CMakeLists.txt
+++ b/ctrl/sysrepo-plugins/CMakeLists.txt
@@ -53,6 +53,15 @@ endif()
add_subdirectory(hicn-plugin)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/yang/hicn/hicn.yang
+ ${CMAKE_CURRENT_SOURCE_DIR}/yang/ietf/iana-if-type@2014-05-08.yang
+ ${CMAKE_CURRENT_SOURCE_DIR}/yang/ietf/ietf-interfaces.yang
+ ${CMAKE_CURRENT_SOURCE_DIR}/yang/ietf/ietf-ip@2014-06-16.yang
+ ${CMAKE_CURRENT_SOURCE_DIR}/yang/ietf/ietf-yang-types@2013-07-15.yang
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/modules_yang/
+ COMPONENT hicn-sysrepo-plugin)
+
+
include(Packaging)
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
include(Packager)
diff --git a/ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt b/ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt
index d5b15f21a..705bd3cee 100644
--- a/ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt
+++ b/ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt
@@ -46,4 +46,4 @@ build_library(sysrepohicn
INCLUDE_DIRS ${SYSREPO_PLUGIN_INCLUDE_DIRS}
INSTALL_FULL_PATH_DIR ${SRPD_PLUGINS_PATH}
DEFINITIONS ${COMPILER_DEFINITIONS}
-)
+) \ No newline at end of file