blob: 12decafe6e998060d58e41b4d01c8231fe2d61ef [file] [log] [blame]
Thomas Vachuska9c046432018-07-11 09:46:35 -07001COMPILE_DEPS = CORE_DEPS + JACKSON + CLI + ONOS_YANG + [
Ray Milkey6d94e9f2018-07-15 18:04:26 -07002 "//core/common:onos-core-common",
3 "@onos_yang_runtime//jar",
Thomas Vachuska9c046432018-07-11 09:46:35 -07004]
5
6BUNDLES = ONOS_YANG + [
Ray Milkey6d94e9f2018-07-15 18:04:26 -07007 "@onos_yang_runtime//jar",
8 "//apps/yang:onos-apps-yang",
9 "//apps/yang/web:onos-apps-yang-web",
10 "@org_apache_servicemix_bundles_dom4j//jar",
Thomas Vachuska9c046432018-07-11 09:46:35 -070011]
12
13EXCLUDED_BUNDLES = [
14]
15
16osgi_jar_with_tests(
Ray Milkeyd4595f12018-10-10 15:57:09 -070017 karaf_command_packages = ["org.onosproject.yang.impl"],
Ray Milkey6d94e9f2018-07-15 18:04:26 -070018 deps = COMPILE_DEPS,
Thomas Vachuska9c046432018-07-11 09:46:35 -070019)
20
21onos_app(
Ray Milkey6d94e9f2018-07-15 18:04:26 -070022 category = "Utility",
23 description = "Provides ability to register compiled YANG models or even to compile YANG source " +
24 "files on the fly. Registering YANG models allows other ONOS subsystems to interact with " +
25 "orchestrators or individual network devices using XML or JSON data structured in accordance " +
26 "with those models.",
27 excluded_bundles = EXCLUDED_BUNDLES,
28 included_bundles = BUNDLES,
29 title = "YANG Compiler and Runtime",
30 url = "http://onosproject.org",
Thomas Vachuska9c046432018-07-11 09:46:35 -070031)