summaryrefslogtreecommitdiffstats
path: root/yang-compiler/src/main/resources/yc-yang-compiler-settings.yang
diff options
context:
space:
mode:
Diffstat (limited to 'yang-compiler/src/main/resources/yc-yang-compiler-settings.yang')
-rw-r--r--yang-compiler/src/main/resources/yc-yang-compiler-settings.yang20
1 files changed, 20 insertions, 0 deletions
diff --git a/yang-compiler/src/main/resources/yc-yang-compiler-settings.yang b/yang-compiler/src/main/resources/yc-yang-compiler-settings.yang
new file mode 100644
index 0000000..7fb3910
--- /dev/null
+++ b/yang-compiler/src/main/resources/yc-yang-compiler-settings.yang
@@ -0,0 +1,20 @@
+module yc-yang-compiler-settings {
+ namespace "urn:yangcentral:yang:yang-compiler-settings";
+ prefix "ycs";
+ import ietf-inet {
+ prefix inet;
+ }
+ description "The definition about yang compiler settings.";
+
+ revision 2022-09-02 {
+ description "init version.";
+ }
+
+ container settings {
+ leaf local-repository {
+ type string;
+ description "The definition of local repository. It should be a local directory.
+ if not present, the default is ${user.home}/.yang";
+ }
+ }
+}