summaryrefslogtreecommitdiffstats
path: root/yang-compiler/src/main/resources/yc-yang-compiler-settings.yang
diff options
context:
space:
mode:
authorfrank feng <frank.fengchong@huawei.com>2023-09-06 14:24:11 +0800
committerfrank feng <frank.fengchong@huawei.com>2023-09-06 14:39:30 +0800
commit47ef15fef5cdd02f99ce1546c557fe8c74591d46 (patch)
tree7ad1d9ef275a3c04a3dfdb036fef20d68df4adab /yang-compiler/src/main/resources/yc-yang-compiler-settings.yang
parent1e401fb559a1d7cdf9e9210123969ddb884f8e67 (diff)
fix bug for yang comparator and refactor yang compiler
Issue-ID: MODELING-680 Change-Id: I3a04b24d6b02aff2a376c95d6f7508294b65aa57 Signed-off-by: frank feng <frank.fengchong@huawei.com>
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";
+ }
+ }
+}