-
Notifications
You must be signed in to change notification settings - Fork 4
/
netgate-cli-extensions.yang
167 lines (144 loc) · 4.08 KB
/
netgate-cli-extensions.yang
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
module netgate-cli-extensions {
yang-version 1.1;
namespace "urn:netgate:xml:yang:netgate-cli-extensions";
prefix "ngcliext";
organization "Netgate";
contact "Web: <http://www.netgate.com>";
description
"These extensions define attriburtes that may be placed on
nodes within Netgate YANG files as meta-data to help describe
how to convert the data model back into CLI commands.
Copyright 2020 Rubicon Communications, LLC.";
revision 2021-06-15 {
description
"TNSR Release 21.07.";
}
revision 2021-02-15 {
description
"TNSR Release 21.02";
}
extension context {
description
"The processing 'stage', or 'context' during which this node
should be applied. Effectivey, this allows multiple passes
over the data model and XML tree selectively applying some
in each different context. A missing context means it will
apply to any stage context.";
argument context;
}
extension pre-node-op {
description
"The pre-node operation prior to the handling of a node.";
argument pre-node-op;
}
extension pre-node-fmt {
description
"The pre-node format prior to the handling of a node.";
argument pre-node-fmt;
}
extension node-op {
description
"The node operation while processing a node.";
argument node-op;
}
extension node-fmt {
description
"The interpolatable format used when generating the command for
a node.";
argument node-fmt;
}
extension child-op {
description
"A possible child operation while processing a node.";
argument child-op;
}
extension child-fmt {
description
"A possible interpolatable child format used when generating
the command for a node.";
argument child-fmt;
}
extension sibling-op {
description
"A possible sibling operation while processing a node.";
argument sibling-op;
}
extension sibling-fmt {
description
"A possible interpolatable sibling format used when generating
the command for a node.";
argument sibling-fmt;
}
extension parent-op {
description
"A possible parent operation while processing a node.";
argument parent-op;
}
extension parent-fmt {
description
"A possible interpolatable parent format used when generating
the command for a node.";
argument parent-fmt;
}
extension post-node-op {
description
"The post-node operation after the handling of a node.";
argument post-node-op;
}
extension post-node-fmt {
description
"The post-node format after the handling of a node.";
argument post-node-fmt;
}
extension pre-children-op {
description
"The operation prior to the handling of all children of the node.";
argument pre-children-op;
}
extension pre-children-fmt {
description
"The format prior the handling of all children of the node.";
argument pre-children-fmt;
}
extension pre-child-op {
description
"The operation prior to the handling of each child of the node.";
argument pre-child-op;
}
extension pre-child-fmt {
description
"The format prior the handling of each child of the node.";
argument pre-child-fmt;
}
extension children-order {
description
"The complete order in which children should be processed.";
argument children-order;
}
extension children-top-sort {
description
"The name of a specialized topological sort order function
in which children should be processed.";
argument children-top-sort;
}
extension post-child-op {
description
"The operation after the handling of each child of the node.";
argument post-child-op;
}
extension post-child-fmt {
description
"The format after the handling of each child of the node.";
argument post-child-fmt;
}
extension post-children-op {
description
"The operation after to the handling of all children of the node.";
argument post-children-op;
}
extension post-children-fmt {
description
"The format after the handling of all children of the node.";
argument post-children-fmt;
}
}