Remove trailing whitespace in all files
[integration/test.git] / csit / variables / gbp / ios-xe-schemas / tailf-meta-extensions@2013-11-07.yang
1 submodule tailf-meta-extensions {
2   belongs-to tailf-common {
3     prefix tailf;
4   }
5
6   organization
7     "Tail-f Systems";
8   description
9     "This submodule defines Tail-f YANG meta extensions statements.";
10
11   revision 2013-11-07 {
12     description
13       "Released as part of ConfD-5.0.
14
15        Added tailf:occurrence.";
16   }
17   revision 2010-08-19 {
18     description
19       "Released as part of ConfD-3.3.1.
20
21        Added tailf:snmp-identifier.";
22   }
23   revision 2010-03-18 {
24     description
25       "Released as part of ConfD-3.2.";
26   }
27
28   typedef identifier {
29     type string {
30       pattern "[A-Za-z_][A-Za-z0-9_-]*";
31     }
32   }
33
34   typedef snmp-identifier {
35     type string {
36       pattern "[A-Za-z_][A-Za-z0-9_-]*(:[A-Za-z_][A-Za-z0-9_-]*)*";
37     }
38   }
39
40   typedef tailf-oid {
41     type string {
42       pattern "(([0-1](\\.[1-3]?[0-9]))|(2.(0|([1-9]\\d*)))|([A-Za-z_][A-Za-z0-9_-]*))?(\\.(0|([1-9]\\d*)))+";
43     }
44   }
45
46   extension use-in {
47     argument name {
48       tailf:arg-type {
49         type string;
50       }
51     }
52     tailf:use-in "extension";
53     tailf:occurence "*";
54     description
55       "Specifies in which statements a particular extension statement can be
56        used.";
57   }
58
59   extension substatement {
60     argument name {
61       tailf:arg-type {
62         type string;
63       }
64     }
65     tailf:use-in "extension";
66     tailf:occurence "*";
67     tailf:substatement "tailf:occurence";
68     description
69       "Specifies which statements can occur as substatement to the
70        given statement.";
71   }
72
73   extension arg-type {
74     tailf:use-in "argument";
75     tailf:substatement "type" {
76       tailf:occurence "1";
77     }
78     tailf:substatement "default";
79     description
80       "Specifies the type of the argument.";
81   }
82
83   extension occurence {
84     argument value {
85       tailf:arg-type {
86         type enumeration {
87           enum "?" {
88             description
89               "The extenstion may be given zero or one time.
90                This is the default.";
91           }
92           enum "*" {
93             description
94               "The extenstion may be given zero or multiple times.";
95           }
96           enum "+" {
97             description
98               "The extenstion must be given at least once.";
99           }
100           enum "1" {
101             description
102               "The extenstion must be given exactly once.";
103           }
104         }
105       }
106     }
107     tailf:use-in "extension";
108     description
109       "Specifices how an extension statement may be used.
110
111        If this statement is given as a substatement to 'extension',
112        it applies to all 'use-in' statements.
113
114        If this statement is given as a substatement to 'tailf:substatement',
115        it applies to this substatement.";
116   }
117 }