소스 검색

Add klish extension yang file

Serj Kalichev 1 년 전
부모
커밋
cdd3eb51a7
2개의 변경된 파일12개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      Makefile.am
  2. 10 0
      yang/klish.yang

+ 2 - 4
Makefile.am

@@ -24,10 +24,8 @@ EXTRA_DIST = \
 	src/Makefile.am \
 	LICENCE \
 	README.md \
-	xml
+	xml \
+	yang
 
 include $(top_srcdir)/bin/Makefile.am
 include $(top_srcdir)/src/Makefile.am
-
-#xmldir = $(sysconfdir)/klish
-#dist_xml_DATA = xml/sysrepo.xml

+ 10 - 0
yang/klish.yang

@@ -0,0 +1,10 @@
+module klish {
+  namespace "http://klish.libcode.org/yang/klish";
+  prefix "klish";
+  description "Klish extensions. The klish-plugin-sysrepo can use it.";
+
+  extension completion {
+    argument "xpath";
+    description "XPath for autocompletion.";
+  }
+}