forked from CiscoDevNet/ydk-go
/
sysadmin_ethsw_esdma_types.go
485 lines (287 loc) · 12.3 KB
/
sysadmin_ethsw_esdma_types.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
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
// This module contains definitions
// for the Calvados model objects.
//
// This module contains the YANG enumerated type
// definitions used by the Cisco IOS-XR SysAdmin
// Control Ethernet commands.
//
// Copyright(c) 2011-2017 by Cisco Systems, Inc.
// All rights reserved.
//
// Copyright (c) 2012-2018 by Cisco Systems, Inc.
// All rights reserved.
package sysadmin_ethsw_esdma_types
import (
"fmt"
"github.com/CiscoDevNet/ydk-go/ydk"
)
func init() {
ydk.YLogDebug(fmt.Sprintf("Registering top level entities for package sysadmin_ethsw_esdma_types"))
}
// MlapProtocolEnum represents The types of MLAP protocol
type MlapProtocolEnum string
const (
MlapProtocolEnum_Internal MlapProtocolEnum = "Internal"
MlapProtocolEnum_External MlapProtocolEnum = "External"
)
// EsdmaQsfpTransceiverEnum
type EsdmaQsfpTransceiverEnum string
const (
EsdmaQsfpTransceiverEnum_QSFP_40G_LR4 EsdmaQsfpTransceiverEnum = "QSFP-40G-LR4"
EsdmaQsfpTransceiverEnum_QSFP_40G_SR4 EsdmaQsfpTransceiverEnum = "QSFP-40G-SR4"
EsdmaQsfpTransceiverEnum_QSFP_40G_CR4_Active EsdmaQsfpTransceiverEnum = "QSFP-40G-CR4-Active"
EsdmaQsfpTransceiverEnum_QSFP_40G_CR4_Passive EsdmaQsfpTransceiverEnum = "QSFP-40G-CR4-Passive"
EsdmaQsfpTransceiverEnum_Unknown EsdmaQsfpTransceiverEnum = "Unknown"
)
// EsdmaCpu represents The set of CPU enumerations that have control plane Ethernet switches or run the MLAP protocol.
type EsdmaCpu string
const (
EsdmaCpu_Unknown EsdmaCpu = "Unknown"
EsdmaCpu_RP0 EsdmaCpu = "RP0"
EsdmaCpu_RP1 EsdmaCpu = "RP1"
EsdmaCpu_SC0 EsdmaCpu = "SC0"
EsdmaCpu_SC1 EsdmaCpu = "SC1"
EsdmaCpu_LC0 EsdmaCpu = "LC0"
EsdmaCpu_LC1 EsdmaCpu = "LC1"
EsdmaCpu_LC2 EsdmaCpu = "LC2"
EsdmaCpu_LC3 EsdmaCpu = "LC3"
EsdmaCpu_LC4 EsdmaCpu = "LC4"
EsdmaCpu_LC5 EsdmaCpu = "LC5"
EsdmaCpu_LC6 EsdmaCpu = "LC6"
EsdmaCpu_LC7 EsdmaCpu = "LC7"
EsdmaCpu_LC8 EsdmaCpu = "LC8"
EsdmaCpu_LC9 EsdmaCpu = "LC9"
EsdmaCpu_LC10 EsdmaCpu = "LC10"
EsdmaCpu_LC11 EsdmaCpu = "LC11"
EsdmaCpu_LC12 EsdmaCpu = "LC12"
EsdmaCpu_LC13 EsdmaCpu = "LC13"
EsdmaCpu_LC14 EsdmaCpu = "LC14"
EsdmaCpu_LC15 EsdmaCpu = "LC15"
EsdmaCpu_LC16 EsdmaCpu = "LC16"
EsdmaCpu_LC17 EsdmaCpu = "LC17"
EsdmaCpu_LC18 EsdmaCpu = "LC18"
EsdmaCpu_LC19 EsdmaCpu = "LC19"
EsdmaCpu_FC0 EsdmaCpu = "FC0"
EsdmaCpu_FC1 EsdmaCpu = "FC1"
EsdmaCpu_FC2 EsdmaCpu = "FC2"
EsdmaCpu_FC3 EsdmaCpu = "FC3"
EsdmaCpu_FC4 EsdmaCpu = "FC4"
EsdmaCpu_FC5 EsdmaCpu = "FC5"
EsdmaCpu_CB0 EsdmaCpu = "CB0"
)
// EsdmaSwitchYesNoEnum
type EsdmaSwitchYesNoEnum string
const (
EsdmaSwitchYesNoEnum_Yes EsdmaSwitchYesNoEnum = "Yes"
EsdmaSwitchYesNoEnum_No EsdmaSwitchYesNoEnum = "No"
)
// EsdmaSwitchSfpControllerEnum
type EsdmaSwitchSfpControllerEnum string
const (
EsdmaSwitchSfpControllerEnum_Unknown EsdmaSwitchSfpControllerEnum = "Unknown"
EsdmaSwitchSfpControllerEnum_Switch EsdmaSwitchSfpControllerEnum = "Switch"
EsdmaSwitchSfpControllerEnum_PHY EsdmaSwitchSfpControllerEnum = "PHY"
)
// EsdmaSwitchTypeEnum represents The list of Ethernet switch types
type EsdmaSwitchTypeEnum string
const (
EsdmaSwitchTypeEnum_RP_SW EsdmaSwitchTypeEnum = "RP-SW"
EsdmaSwitchTypeEnum_SC_SW EsdmaSwitchTypeEnum = "SC-SW"
EsdmaSwitchTypeEnum_LC_SW EsdmaSwitchTypeEnum = "LC-SW"
EsdmaSwitchTypeEnum_F_SW0 EsdmaSwitchTypeEnum = "F-SW0"
EsdmaSwitchTypeEnum_F_SW1 EsdmaSwitchTypeEnum = "F-SW1"
EsdmaSwitchTypeEnum_FC_SW EsdmaSwitchTypeEnum = "FC-SW"
EsdmaSwitchTypeEnum_EOBC_SW EsdmaSwitchTypeEnum = "EOBC-SW"
EsdmaSwitchTypeEnum_EPC_SW EsdmaSwitchTypeEnum = "EPC-SW"
EsdmaSwitchTypeEnum_CB_SW EsdmaSwitchTypeEnum = "CB-SW"
EsdmaSwitchTypeEnum_Unknown EsdmaSwitchTypeEnum = "Unknown"
EsdmaSwitchTypeEnum_RP_SW1 EsdmaSwitchTypeEnum = "RP-SW1"
)
// EsdmaSwitchSfpTranceiverTypeEnum
type EsdmaSwitchSfpTranceiverTypeEnum string
const (
EsdmaSwitchSfpTranceiverTypeEnum_Unspecified EsdmaSwitchSfpTranceiverTypeEnum = "Unspecified"
EsdmaSwitchSfpTranceiverTypeEnum_SFP EsdmaSwitchSfpTranceiverTypeEnum = "SFP"
EsdmaSwitchSfpTranceiverTypeEnum_QSFP EsdmaSwitchSfpTranceiverTypeEnum = "QSFP"
EsdmaSwitchSfpTranceiverTypeEnum_Unknown EsdmaSwitchSfpTranceiverTypeEnum = "Unknown"
)
// MlapTraceVerbosity
type MlapTraceVerbosity string
const (
MlapTraceVerbosity_Off MlapTraceVerbosity = "Off"
MlapTraceVerbosity_Low MlapTraceVerbosity = "Low"
MlapTraceVerbosity_Medium MlapTraceVerbosity = "Medium"
MlapTraceVerbosity_High MlapTraceVerbosity = "High"
)
// SwitchActionTypeEnum
type SwitchActionTypeEnum string
const (
SwitchActionTypeEnum_Y_ SwitchActionTypeEnum = "-"
SwitchActionTypeEnum_Translate SwitchActionTypeEnum = "Translate"
SwitchActionTypeEnum_Remove_Outer SwitchActionTypeEnum = "Remove Outer"
SwitchActionTypeEnum_Add_Outer SwitchActionTypeEnum = "Add Outer"
SwitchActionTypeEnum_Drop SwitchActionTypeEnum = "Drop"
SwitchActionTypeEnum_Forward SwitchActionTypeEnum = "Forward"
SwitchActionTypeEnum_Unknown SwitchActionTypeEnum = "Unknown"
)
// EsdCirEirType
type EsdCirEirType string
const (
EsdCirEirType_CIR EsdCirEirType = "CIR"
EsdCirEirType_PIR EsdCirEirType = "PIR"
)
// MlapEpType
type MlapEpType string
const (
MlapEpType_Unknown MlapEpType = "Unknown"
MlapEpType_RP MlapEpType = "RP"
MlapEpType_SC MlapEpType = "SC"
MlapEpType_FC MlapEpType = "FC"
MlapEpType_LC MlapEpType = "LC"
MlapEpType_F_SW MlapEpType = "F-SW"
MlapEpType_CB MlapEpType = "CB"
)
// EsdmaSwitchSfpInsertedEnum
type EsdmaSwitchSfpInsertedEnum string
const (
EsdmaSwitchSfpInsertedEnum_Unknown EsdmaSwitchSfpInsertedEnum = "Unknown"
EsdmaSwitchSfpInsertedEnum_Yes EsdmaSwitchSfpInsertedEnum = "Yes"
EsdmaSwitchSfpInsertedEnum_No EsdmaSwitchSfpInsertedEnum = "No"
EsdmaSwitchSfpInsertedEnum_Failed EsdmaSwitchSfpInsertedEnum = "Failed"
)
// EsdmaRackNumEnum represents The valid rack numbers supported in Sysadmin.
type EsdmaRackNumEnum string
const (
EsdmaRackNumEnum_Y_0 EsdmaRackNumEnum = "0"
EsdmaRackNumEnum_Y_1 EsdmaRackNumEnum = "1"
EsdmaRackNumEnum_Y_2 EsdmaRackNumEnum = "2"
EsdmaRackNumEnum_Y_3 EsdmaRackNumEnum = "3"
EsdmaRackNumEnum_Y_4 EsdmaRackNumEnum = "4"
EsdmaRackNumEnum_Y_5 EsdmaRackNumEnum = "5"
EsdmaRackNumEnum_Y_6 EsdmaRackNumEnum = "6"
EsdmaRackNumEnum_Y_7 EsdmaRackNumEnum = "7"
EsdmaRackNumEnum_Y_8 EsdmaRackNumEnum = "8"
EsdmaRackNumEnum_Y_9 EsdmaRackNumEnum = "9"
EsdmaRackNumEnum_Y_10 EsdmaRackNumEnum = "10"
EsdmaRackNumEnum_Y_11 EsdmaRackNumEnum = "11"
EsdmaRackNumEnum_Y_12 EsdmaRackNumEnum = "12"
EsdmaRackNumEnum_Y_13 EsdmaRackNumEnum = "13"
EsdmaRackNumEnum_Y_14 EsdmaRackNumEnum = "14"
EsdmaRackNumEnum_Y_15 EsdmaRackNumEnum = "15"
EsdmaRackNumEnum_F0 EsdmaRackNumEnum = "F0"
EsdmaRackNumEnum_F1 EsdmaRackNumEnum = "F1"
EsdmaRackNumEnum_F2 EsdmaRackNumEnum = "F2"
EsdmaRackNumEnum_F3 EsdmaRackNumEnum = "F3"
EsdmaRackNumEnum_B0 EsdmaRackNumEnum = "B0"
EsdmaRackNumEnum_B1 EsdmaRackNumEnum = "B1"
)
// EsdmaRackTypeEnum represents The valid chassis types supported supported in Sysadmin.
type EsdmaRackTypeEnum string
const (
EsdmaRackTypeEnum_Unknown EsdmaRackTypeEnum = "Unknown"
EsdmaRackTypeEnum_FCC EsdmaRackTypeEnum = "FCC"
EsdmaRackTypeEnum_LCC EsdmaRackTypeEnum = "LCC"
EsdmaRackTypeEnum_BSC EsdmaRackTypeEnum = "BSC"
EsdmaRackTypeEnum_COMPUTE EsdmaRackTypeEnum = "COMPUTE"
)
// EsdmaTrunkMemberStatus
type EsdmaTrunkMemberStatus string
const (
EsdmaTrunkMemberStatus_Disabled EsdmaTrunkMemberStatus = "Disabled"
EsdmaTrunkMemberStatus_Enabled EsdmaTrunkMemberStatus = "Enabled"
EsdmaTrunkMemberStatus_Y_ EsdmaTrunkMemberStatus = "-"
)
// SwitchMatchTypeEnum
type SwitchMatchTypeEnum string
const (
SwitchMatchTypeEnum_Y_ SwitchMatchTypeEnum = "-"
SwitchMatchTypeEnum_Any SwitchMatchTypeEnum = "Any"
SwitchMatchTypeEnum_Tagged SwitchMatchTypeEnum = "Tagged"
SwitchMatchTypeEnum_Untagged SwitchMatchTypeEnum = "Untagged"
SwitchMatchTypeEnum_Unknown SwitchMatchTypeEnum = "Unknown"
)
// EsdmaSwitchPortState represents The switch port up and down states
type EsdmaSwitchPortState string
const (
EsdmaSwitchPortState_Unknown EsdmaSwitchPortState = "Unknown"
EsdmaSwitchPortState_Test EsdmaSwitchPortState = "Test"
EsdmaSwitchPortState_Down EsdmaSwitchPortState = "Down"
EsdmaSwitchPortState_Up EsdmaSwitchPortState = "Up"
)
// EsdmaSwitchSfpTypeEnum
type EsdmaSwitchSfpTypeEnum string
const (
EsdmaSwitchSfpTypeEnum_None EsdmaSwitchSfpTypeEnum = "None"
EsdmaSwitchSfpTypeEnum_SFP_10G_SR EsdmaSwitchSfpTypeEnum = "SFP-10G-SR"
EsdmaSwitchSfpTypeEnum_SFP_10G_LR EsdmaSwitchSfpTypeEnum = "SFP-10G-LR"
EsdmaSwitchSfpTypeEnum_SFP_10G_LRM EsdmaSwitchSfpTypeEnum = "SFP-10G-LRM"
EsdmaSwitchSfpTypeEnum_SFP_1G_SX EsdmaSwitchSfpTypeEnum = "SFP-1G-SX"
EsdmaSwitchSfpTypeEnum_SFP_1G_LX EsdmaSwitchSfpTypeEnum = "SFP-1G-LX"
EsdmaSwitchSfpTypeEnum_SFP_1000Base_T EsdmaSwitchSfpTypeEnum = "SFP-1000Base-T"
EsdmaSwitchSfpTypeEnum_SFP_40G_SR4 EsdmaSwitchSfpTypeEnum = "SFP-40G-SR4"
EsdmaSwitchSfpTypeEnum_SFP_40G_LR4 EsdmaSwitchSfpTypeEnum = "SFP-40G-LR4"
EsdmaSwitchSfpTypeEnum_Unsupported EsdmaSwitchSfpTypeEnum = "Unsupported"
)
// EsdmaSfpEncodingEnum
type EsdmaSfpEncodingEnum string
const (
EsdmaSfpEncodingEnum_Unspecified EsdmaSfpEncodingEnum = "Unspecified"
EsdmaSfpEncodingEnum_Y_8B__FWD_SLASH__10B EsdmaSfpEncodingEnum = "8B/10B"
EsdmaSfpEncodingEnum_Y_4B__FWD_SLASH__5B EsdmaSfpEncodingEnum = "4B/5B"
EsdmaSfpEncodingEnum_NRZ EsdmaSfpEncodingEnum = "NRZ"
EsdmaSfpEncodingEnum_Manchester EsdmaSfpEncodingEnum = "Manchester"
EsdmaSfpEncodingEnum_SONET_Scrambled EsdmaSfpEncodingEnum = "SONET Scrambled"
EsdmaSfpEncodingEnum_Y_64B__FWD_SLASH__66B EsdmaSfpEncodingEnum = "64B/66B"
EsdmaSfpEncodingEnum_Unknown EsdmaSfpEncodingEnum = "Unknown"
)
// EsdmaSdrTrafficType
type EsdmaSdrTrafficType string
const (
EsdmaSdrTrafficType_Unknown EsdmaSdrTrafficType = "Unknown"
EsdmaSdrTrafficType_IPC EsdmaSdrTrafficType = "IPC"
EsdmaSdrTrafficType_MgmtEth EsdmaSdrTrafficType = "MgmtEth"
EsdmaSdrTrafficType_All EsdmaSdrTrafficType = "All"
EsdmaSdrTrafficType_Invalid EsdmaSdrTrafficType = "Invalid"
)
// SwitchDataDirectionEnum represents Switch data direction
type SwitchDataDirectionEnum string
const (
SwitchDataDirectionEnum_Y_ SwitchDataDirectionEnum = "-"
SwitchDataDirectionEnum_Both SwitchDataDirectionEnum = "Both"
SwitchDataDirectionEnum_Rx SwitchDataDirectionEnum = "Rx"
SwitchDataDirectionEnum_Tx SwitchDataDirectionEnum = "Tx"
SwitchDataDirectionEnum_Unknown SwitchDataDirectionEnum = "Unknown"
SwitchDataDirectionEnum_Invalid SwitchDataDirectionEnum = "Invalid"
)
// SwitchTableTypeEnum
type SwitchTableTypeEnum string
const (
SwitchTableTypeEnum_Y_ SwitchTableTypeEnum = "-"
SwitchTableTypeEnum_Port SwitchTableTypeEnum = "Port"
SwitchTableTypeEnum_VLAN SwitchTableTypeEnum = "VLAN"
SwitchTableTypeEnum_TCAM SwitchTableTypeEnum = "TCAM"
SwitchTableTypeEnum_Unknown SwitchTableTypeEnum = "Unknown"
)
// MlapStateEnum represents The set of enumerated values that MLAP uses to manage a port's protocol state
type MlapStateEnum string
const (
MlapStateEnum_Y_ MlapStateEnum = "-"
MlapStateEnum_Down MlapStateEnum = "Down"
MlapStateEnum_Up MlapStateEnum = "Up"
MlapStateEnum_Admin_Down MlapStateEnum = "Admin Down"
MlapStateEnum_Do_Not_Use MlapStateEnum = "Do Not Use"
MlapStateEnum_Invalid MlapStateEnum = "Invalid"
MlapStateEnum_Active MlapStateEnum = "Active"
MlapStateEnum_Standby MlapStateEnum = "Standby"
MlapStateEnum_Rem_Managed MlapStateEnum = "Rem Managed"
)
// SwitchForwardingState represents The set of switch port forwarding states
type SwitchForwardingState string
const (
SwitchForwardingState_Unknown SwitchForwardingState = "Unknown"
SwitchForwardingState_Y_ SwitchForwardingState = "-"
SwitchForwardingState_Disabled SwitchForwardingState = "Disabled"
SwitchForwardingState_Blocking SwitchForwardingState = "Blocking"
SwitchForwardingState_Learning SwitchForwardingState = "Learning"
SwitchForwardingState_Forwarding SwitchForwardingState = "Forwarding"
)