This repository has been archived by the owner on Nov 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
controller_odu_datatypes.go
302 lines (219 loc) · 7.79 KB
/
controller_odu_datatypes.go
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
// This module contains a collection of generally useful
// derived YANG data types.
//
// Copyright (c) 2013-2018 by Cisco Systems, Inc.
// All rights reserved.
package controller_odu_datatypes
import (
"fmt"
"github.com/CiscoDevNet/ydk-go/ydk"
)
func init() {
ydk.YLogDebug(fmt.Sprintf("Registering top level entities for package controller_odu_datatypes"))
}
// OtnFlexMapping represents Otn flex mapping
type OtnFlexMapping string
const (
// GFP-FIX Mapping
OtnFlexMapping_gfp_f_fixed OtnFlexMapping = "gfp-f-fixed"
// GFP-Resizable Mapping
OtnFlexMapping_gfp_resizable OtnFlexMapping = "gfp-resizable"
// CBR Mapping
OtnFlexMapping_cbr OtnFlexMapping = "cbr"
)
// OtnChildFlexControllerName represents Otn child flex controller name
type OtnChildFlexControllerName string
const (
// Create lower order odu-flex controller
OtnChildFlexControllerName_odu_flex OtnChildFlexControllerName = "odu-flex"
)
// OtnTermination represents Otn termination
type OtnTermination string
const (
// Termination to ether
OtnTermination_ether OtnTermination = "ether"
)
// OtnMapping represents Otn mapping
type OtnMapping string
const (
// gfp_f for mapping
OtnMapping_gfp_f OtnMapping = "gfp-f"
// bmp for mapping
OtnMapping_bmp OtnMapping = "bmp"
// gmp for mapping
OtnMapping_gmp OtnMapping = "gmp"
// gfp_f_ext for mapping
OtnMapping_gfp_f_ext OtnMapping = "gfp-f-ext"
)
// OtnExpTtiTypeDapi represents Otn exp tti type dapi
type OtnExpTtiTypeDapi string
const (
// Expected TTI DAPI ASCII string
OtnExpTtiTypeDapi_exp_tti_dapi_ascii__FWD_SLASH__dapi_ascii OtnExpTtiTypeDapi = "exp-tti-dapi-ascii/dapi-ascii"
)
// Otntcmca represents Otntcmca
type Otntcmca string
const (
// Consequent(ial) action for Disabled
Otntcmca_disable Otntcmca = "disable"
// consequent(ial) action for Enabled
Otntcmca_enable Otntcmca = "enable"
)
// OtnSendTtiTypeOs represents Otn send tti type os
type OtnSendTtiTypeOs string
const (
// Send TTI OS ASCII string
OtnSendTtiTypeOs_send_tti_os_ascii__FWD_SLASH__os_ascii OtnSendTtiTypeOs = "send-tti-os-ascii/os-ascii"
// Send TTI OS HEX string
OtnSendTtiTypeOs_send_tti_os_hex__FWD_SLASH__os_hex OtnSendTtiTypeOs = "send-tti-os-hex/os-hex"
)
// OtnSendTtiTypeSapi represents Otn send tti type sapi
type OtnSendTtiTypeSapi string
const (
// Send TTI SAPI ASCII string
OtnSendTtiTypeSapi_send_tti_sapi_ascii__FWD_SLASH__sapi_ascii OtnSendTtiTypeSapi = "send-tti-sapi-ascii/sapi-ascii"
)
// OtnPerMon represents Otn per mon
type OtnPerMon string
const (
// Performance Monitoring Disabled
OtnPerMon_disable OtnPerMon = "disable"
// Performance Monitoring Enabled
OtnPerMon_enable OtnPerMon = "enable"
)
// OtnExpTtiTypeOs represents Otn exp tti type os
type OtnExpTtiTypeOs string
const (
// Expected TTI OS ASCII string
OtnExpTtiTypeOs_exp_tti_os_ascii__FWD_SLASH__os_ascii OtnExpTtiTypeOs = "exp-tti-os-ascii/os-ascii"
// Expected TTI OS HEX string
OtnExpTtiTypeOs_exp_tti_os_hex__FWD_SLASH__os_hex OtnExpTtiTypeOs = "exp-tti-os-hex/os-hex"
)
// OtnChildControllerName represents Otn child controller name
type OtnChildControllerName string
const (
// Create lower order odu1 controller
OtnChildControllerName_odu1 OtnChildControllerName = "odu1"
// Create lower order odu2 controller
OtnChildControllerName_odu2 OtnChildControllerName = "odu2"
// Create lower order odu3 controller
OtnChildControllerName_odu3 OtnChildControllerName = "odu3"
// Create lower order odu0 controller
OtnChildControllerName_odu0 OtnChildControllerName = "odu0"
// Create lower order odu2e controller
OtnChildControllerName_odu2e OtnChildControllerName = "odu2e"
// Create lower order odu1e controller
OtnChildControllerName_odu1e OtnChildControllerName = "odu1e"
// Create lower order odu2f controller
OtnChildControllerName_odu2f OtnChildControllerName = "odu2f"
// Create lower order odu3e1 controller
OtnChildControllerName_odu3e1 OtnChildControllerName = "odu3e1"
// Create lower order odu3e2 controller
OtnChildControllerName_odu3e2 OtnChildControllerName = "odu3e2"
)
// Pattern represents Pattern
type Pattern string
const (
// prbs pattern None
Pattern_pattern_none Pattern = "pattern-none"
// Prbs pattern pn31
Pattern_pattern_pn31 Pattern = "pattern-pn31"
// Prbs pattern pn23
Pattern_pattern_pn23 Pattern = "pattern-pn23"
// Prbs pattern pn11
Pattern_pattern_pn11 Pattern = "pattern-pn11"
// Prbs pattern inverted pn31
Pattern_pattern_inverted_pn31 Pattern = "pattern-inverted-pn31"
// Prbs pattern inverted pn11
Pattern_pattern_inverted_pn11 Pattern = "pattern-inverted-pn11"
)
// OtnSendTtiTypeDapi represents Otn send tti type dapi
type OtnSendTtiTypeDapi string
const (
// Send TTI DAPI ASCII string
OtnSendTtiTypeDapi_send_tti_dapi_ascii__FWD_SLASH__dapi_ascii OtnSendTtiTypeDapi = "send-tti-dapi-ascii/dapi-ascii"
)
// OtnExpTtiTypeSapi represents Otn exp tti type sapi
type OtnExpTtiTypeSapi string
const (
// Expected TTI SAPI ASCII string
OtnExpTtiTypeSapi_exp_tti_sapi_ascii__FWD_SLASH__sapi_ascii OtnExpTtiTypeSapi = "exp-tti-sapi-ascii/sapi-ascii"
)
// OtnSecAdminState represents Otn sec admin state
type OtnSecAdminState string
const (
// In normal state
OtnSecAdminState_normal OtnSecAdminState = "normal"
// Under maintenance
OtnSecAdminState_maintenance OtnSecAdminState = "maintenance"
)
// OtnExpTtiTypeFull represents Otn exp tti type full
type OtnExpTtiTypeFull string
const (
// Expected TTI Full ASCII string
OtnExpTtiTypeFull_exp_tti_full_ascii__FWD_SLASH__full_ascii OtnExpTtiTypeFull = "exp-tti-full-ascii/full-ascii"
// Expected TTI hex string
OtnExpTtiTypeFull_exp_tti_hex__FWD_SLASH__hex OtnExpTtiTypeFull = "exp-tti-hex/hex"
)
// OtntcmMode represents Otntcm mode
type OtntcmMode string
const (
// Set TCM Mode as transparent
OtntcmMode_transparent OtntcmMode = "transparent"
// Set TCM Mode as NIM
OtntcmMode_nim OtntcmMode = "nim"
// Set TCM Mode as operational
OtntcmMode_operational OtntcmMode = "operational"
)
// OtnSendTtiTypeFull represents Otn send tti type full
type OtnSendTtiTypeFull string
const (
// Send TTI Full ASCII string
OtnSendTtiTypeFull_send_tti_full_ascii__FWD_SLASH__full_ascii OtnSendTtiTypeFull = "send-tti-full-ascii/full-ascii"
// Send TTI hex string
OtnSendTtiTypeFull_send_tti_hex__FWD_SLASH__hex OtnSendTtiTypeFull = "send-tti-hex/hex"
)
// OtnLoopback represents Otn loopback
type OtnLoopback string
const (
// Line loopback
OtnLoopback_line OtnLoopback = "line"
// Internal loopback
OtnLoopback_internal OtnLoopback = "internal"
)
// OduTimeSlotGranularity represents Odu time slot granularity
type OduTimeSlotGranularity string
const (
// 1.25G time slot granularity
OduTimeSlotGranularity_Y_1__DOT__25g OduTimeSlotGranularity = "1.25g"
// 2.5G time slot granularity
OduTimeSlotGranularity_Y_2__DOT__5g OduTimeSlotGranularity = "2.5g"
)
// Otnpmtimca represents Otnpmtimca
type Otnpmtimca string
const (
// Path layer PM TIM Consequent action Disabled
Otnpmtimca_disable Otnpmtimca = "disable"
// Path layer PM TIM Consequent action Enabled
Otnpmtimca_enable Otnpmtimca = "enable"
)
// OduDelay represents Odu delay
type OduDelay string
const (
// Delay Disable
OduDelay_disable OduDelay = "disable"
// Delay Enable
OduDelay_enable OduDelay = "enable"
)
// Mode represents Mode
type Mode string
const (
// prbs Mode Invalid
Mode_mode_invalid Mode = "mode-invalid"
// Prbs Mode Source
Mode_mode_source Mode = "mode-source"
// Prbs Mode Sink
Mode_mode_sink Mode = "mode-sink"
// Prbs Mode Source_Sink
Mode_mode_source_sink Mode = "mode-source-sink"
)