summaryrefslogtreecommitdiffstats
path: root/yang-compiler/src/main/resources/yc-build.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-build.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-build.yang')
-rw-r--r--yang-compiler/src/main/resources/yc-build.yang54
1 files changed, 54 insertions, 0 deletions
diff --git a/yang-compiler/src/main/resources/yc-build.yang b/yang-compiler/src/main/resources/yc-build.yang
new file mode 100644
index 0000000..b8c2929
--- /dev/null
+++ b/yang-compiler/src/main/resources/yc-build.yang
@@ -0,0 +1,54 @@
+module yc-build {
+ namespace "urn:yangcentral:yang:yang-compiler-settings";
+ prefix "ycs";
+ yang-version "1.1";
+ import ietf-inet {
+ prefix inet;
+ }
+ description "The definition about yang compiler settings.";
+
+ revision 2022-09-02 {
+ description "init version.";
+ }
+ container yang {
+ leaf-list dir {
+ type string;
+ }
+ leaf-list file {
+ type string;
+ }
+ list module {
+ key "name revision";
+ leaf name {
+ type string;
+ }
+ leaf revision {
+ type string;
+ }
+ leaf organization {
+ type string;
+ }
+ leaf schema {
+ type inet:uri;
+ }
+ }
+ }
+ leaf settings {
+ type string;
+ description "the path of settings file.";
+ }
+ list plugin {
+ key name;
+ leaf name {
+ type string;
+ }
+ list parameter {
+ key name;
+ leaf name {
+ type string;
+ }
+ anydata value;
+ }
+ }
+
+} \ No newline at end of file