1 submodule tailf-meta-extensions {
2 belongs-to tailf-common {
9 "This submodule defines Tail-f YANG meta extensions statements.";
13 "Released as part of ConfD-5.0.
15 Added tailf:occurrence.";
19 "Released as part of ConfD-3.3.1.
21 Added tailf:snmp-identifier.";
25 "Released as part of ConfD-3.2.";
30 pattern "[A-Za-z_][A-Za-z0-9_-]*";
34 typedef snmp-identifier {
36 pattern "[A-Za-z_][A-Za-z0-9_-]*(:[A-Za-z_][A-Za-z0-9_-]*)*";
42 pattern "(([0-1](\\.[1-3]?[0-9]))|(2.(0|([1-9]\\d*)))|([A-Za-z_][A-Za-z0-9_-]*))?(\\.(0|([1-9]\\d*)))+";
52 tailf:use-in "extension";
55 "Specifies in which statements a particular extension statement can be
59 extension substatement {
65 tailf:use-in "extension";
67 tailf:substatement "tailf:occurence";
69 "Specifies which statements can occur as substatement to the
74 tailf:use-in "argument";
75 tailf:substatement "type" {
78 tailf:substatement "default";
80 "Specifies the type of the argument.";
89 "The extenstion may be given zero or one time.
90 This is the default.";
94 "The extenstion may be given zero or multiple times.";
98 "The extenstion must be given at least once.";
102 "The extenstion must be given exactly once.";
107 tailf:use-in "extension";
109 "Specifices how an extension statement may be used.
111 If this statement is given as a substatement to 'extension',
112 it applies to all 'use-in' statements.
114 If this statement is given as a substatement to 'tailf:substatement',
115 it applies to this substatement.";