summaryrefslogtreecommitdiffstats
path: root/yang-compiler/src/main/resources/yc-build.yang
blob: b8c2929b4274b2d02111554d51b7b09002530a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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;
    }
  }

}