-
Notifications
You must be signed in to change notification settings - Fork 0
146 lines (114 loc) · 3.97 KB
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
module ietf-actn-te-kpi-telemetry {
namespace "urn:ietf:params:xml:ns:yang:ietf-actn-te-kpi-telemetry";
prefix "actn-tel";
import ietf-actn-vn {
prefix "actn-vn";
}
import ietf-te {
prefix "te";
}
import ietf-te-types {
prefix "te-types";
}
import ietf-te-kpi-telemetry {
prefix "te-kpi";
}
organization
"IETF Traffic Engineering Architecture and Signaling (TEAS)
Working Group";
contact
"Editor: Young Lee <[email protected]>
Editor: Dhruv Dhody <[email protected]>
Editor: Ricard Vilalta <[email protected]>
Editor: Satish Karunanithi <[email protected]>";
description
"This module describes telemetry for actn vn model";
revision 2018-05-15 {
description
"Initial revision. This YANG file defines
the ACTN VN telemetry.";
reference
"Derived from earlier versions of base YANG files";
}
/*
* Typedefs
*/
typedef grouping-operation {
type enumeration {
enum MINIMUM { description "Select the minimum param"; }
enum MAXIMUM { description "Select the maximum param"; }
enum MEAN { description "Select the MEAN of the params"; }
enum STD_DEV { description "Select the standard deviation of the monitored params"; }
enum AND { description "Select the AND of the params"; }
enum OR { description "Select the OR of the params"; }
}
description
"Operations to analize list of monitored params";
}
/*
* Groupings
*/
grouping vn-telemetry-param {
description "augment of te-kpi:telemetry-param for VN specific params";
leaf-list te-grouped-params {
type leafref{
path '/te:te/te:tunnels/te:tunnel/'+
'te-kpi:te-telemetry/te-kpi:id';
}
description
"Allows the definition of a vn-telemetry param
as a grouping of underlying TE params";
}
leaf grouping-operation {
type grouping-operation;
description "describes the operation to apply to te-grouped-params";
}
}
/*
* Augments
*/
augment "/actn-vn:actn/actn-vn:vn/actn-vn:vn-list" {
description
"Augmentation parameters for state TE VN topologies.";
container vn-scaling-intent {
description
"scaling intent";
container scale-in-intent{
description
"VN scale-in";
uses te-kpi:scaling-intent;
}
container scale-out-intent{
description
"VN scale-out";
uses te-kpi:scaling-intent;
}
}
container vn-telemetry {
config false;
description
"VN telemetry params";
uses te-types:performance-metric-attributes;
uses te-kpi:bidirectional-telemetry-data;
leaf grouping-operation {
type grouping-operation;
description "describes the operation to apply to the VN-members";
}
}
}
/*
* VN-member augment
*/
augment "/actn-vn:actn/actn-vn:vn/actn-vn:vn-list/actn-vn:vn-member-list" {
description
"Augmentation parameters for state TE vn member topologies.";
container vn-member-telemetry {
config false;
description
"VN member telemetry params";
uses te-types:performance-metric-attributes;
uses te-kpi:bidirectional-telemetry-data;
uses vn-telemetry-param;
}
}
}