summaryrefslogtreecommitdiffstats
path: root/yang-compiler/src/main/resources/yc-build.yang
diff options
context:
space:
mode:
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