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
/
types.go
457 lines (261 loc) · 10 KB
/
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
// Cisco XE Native Common Type Definitions
// Copyright (c) 2016-2018 by Cisco Systems, Inc.
// All rights reserved.
package types
import (
"fmt"
"github.com/CiscoDevNet/ydk-go/ydk"
)
func init() {
ydk.YLogDebug(fmt.Sprintf("Registering top level entities for package types"))
}
// CosValueType
type CosValueType string
const (
CosValueType_cos CosValueType = "cos"
CosValueType_dscp CosValueType = "dscp"
CosValueType_exp CosValueType = "exp"
CosValueType_precedence CosValueType = "precedence"
)
// ExpValueType
type ExpValueType string
const (
ExpValueType_cos ExpValueType = "cos"
ExpValueType_dscp ExpValueType = "dscp"
ExpValueType_exp ExpValueType = "exp"
ExpValueType_precedence ExpValueType = "precedence"
)
// InterfaceType
type InterfaceType string
const (
InterfaceType_BDI InterfaceType = "BDI"
InterfaceType_FastEthernet InterfaceType = "FastEthernet"
InterfaceType_GigabitEthernet InterfaceType = "GigabitEthernet"
InterfaceType_Loopback InterfaceType = "Loopback"
InterfaceType_Port_channel InterfaceType = "Port-channel"
InterfaceType_Serial InterfaceType = "Serial"
InterfaceType_TenGigabitEthernet InterfaceType = "TenGigabitEthernet"
InterfaceType_Vlan InterfaceType = "Vlan"
InterfaceType_FiveGigabitEthernet InterfaceType = "FiveGigabitEthernet"
InterfaceType_TwentyFiveGigE InterfaceType = "TwentyFiveGigE"
InterfaceType_TwoGigabitEthernet InterfaceType = "TwoGigabitEthernet"
)
// PrecedenceType
type PrecedenceType string
const (
PrecedenceType_critical PrecedenceType = "critical"
PrecedenceType_flash PrecedenceType = "flash"
PrecedenceType_flash_override PrecedenceType = "flash-override"
PrecedenceType_immediate PrecedenceType = "immediate"
PrecedenceType_internet PrecedenceType = "internet"
PrecedenceType_network PrecedenceType = "network"
PrecedenceType_priority PrecedenceType = "priority"
PrecedenceType_routine PrecedenceType = "routine"
)
// QosValueType
type QosValueType string
const (
QosValueType_cos QosValueType = "cos"
QosValueType_dscp QosValueType = "dscp"
QosValueType_exp QosValueType = "exp"
QosValueType_precedence QosValueType = "precedence"
)
// BgpIpv4AfType
type BgpIpv4AfType string
const (
BgpIpv4AfType_unicast BgpIpv4AfType = "unicast"
BgpIpv4AfType_multicast BgpIpv4AfType = "multicast"
BgpIpv4AfType_mdt BgpIpv4AfType = "mdt"
BgpIpv4AfType_tunnel BgpIpv4AfType = "tunnel"
BgpIpv4AfType_labeled_unicast BgpIpv4AfType = "labeled-unicast"
BgpIpv4AfType_flowspec BgpIpv4AfType = "flowspec"
BgpIpv4AfType_mvpn BgpIpv4AfType = "mvpn"
)
// DscpType
type DscpType string
const (
DscpType_af11 DscpType = "af11"
DscpType_af12 DscpType = "af12"
DscpType_af13 DscpType = "af13"
DscpType_af21 DscpType = "af21"
DscpType_af22 DscpType = "af22"
DscpType_af23 DscpType = "af23"
DscpType_af31 DscpType = "af31"
DscpType_af32 DscpType = "af32"
DscpType_af33 DscpType = "af33"
DscpType_af41 DscpType = "af41"
DscpType_af42 DscpType = "af42"
DscpType_af43 DscpType = "af43"
DscpType_cs1 DscpType = "cs1"
DscpType_cs2 DscpType = "cs2"
DscpType_cs3 DscpType = "cs3"
DscpType_cs4 DscpType = "cs4"
DscpType_cs5 DscpType = "cs5"
DscpType_cs6 DscpType = "cs6"
DscpType_cs7 DscpType = "cs7"
DscpType_default_ DscpType = "default"
DscpType_dscp DscpType = "dscp"
DscpType_ef DscpType = "ef"
DscpType_precedence DscpType = "precedence"
)
// AclTcpPortType
type AclTcpPortType string
const (
AclTcpPortType_bgp AclTcpPortType = "bgp"
AclTcpPortType_chargen AclTcpPortType = "chargen"
AclTcpPortType_cmd AclTcpPortType = "cmd"
AclTcpPortType_daytime AclTcpPortType = "daytime"
AclTcpPortType_discard AclTcpPortType = "discard"
AclTcpPortType_domain AclTcpPortType = "domain"
AclTcpPortType_echo AclTcpPortType = "echo"
AclTcpPortType_exec AclTcpPortType = "exec"
AclTcpPortType_finger AclTcpPortType = "finger"
AclTcpPortType_ftp AclTcpPortType = "ftp"
AclTcpPortType_ftp_data AclTcpPortType = "ftp-data"
AclTcpPortType_gopher AclTcpPortType = "gopher"
AclTcpPortType_hostname AclTcpPortType = "hostname"
AclTcpPortType_ident AclTcpPortType = "ident"
AclTcpPortType_irc AclTcpPortType = "irc"
AclTcpPortType_klogin AclTcpPortType = "klogin"
AclTcpPortType_kshell AclTcpPortType = "kshell"
AclTcpPortType_login AclTcpPortType = "login"
AclTcpPortType_lpd AclTcpPortType = "lpd"
AclTcpPortType_msrpc AclTcpPortType = "msrpc"
AclTcpPortType_nntp AclTcpPortType = "nntp"
AclTcpPortType_pim_auto_rp AclTcpPortType = "pim-auto-rp"
AclTcpPortType_pop2 AclTcpPortType = "pop2"
AclTcpPortType_pop3 AclTcpPortType = "pop3"
AclTcpPortType_smtp AclTcpPortType = "smtp"
AclTcpPortType_sunrpc AclTcpPortType = "sunrpc"
AclTcpPortType_tacacs AclTcpPortType = "tacacs"
AclTcpPortType_talk AclTcpPortType = "talk"
AclTcpPortType_telnet AclTcpPortType = "telnet"
AclTcpPortType_time AclTcpPortType = "time"
AclTcpPortType_uucp AclTcpPortType = "uucp"
AclTcpPortType_whois AclTcpPortType = "whois"
AclTcpPortType_www AclTcpPortType = "www"
)
// MonthType
type MonthType string
const (
MonthType_Jan MonthType = "Jan"
MonthType_Feb MonthType = "Feb"
MonthType_Mar MonthType = "Mar"
MonthType_Apr MonthType = "Apr"
MonthType_May MonthType = "May"
MonthType_Jun MonthType = "Jun"
MonthType_Jul MonthType = "Jul"
MonthType_Aug MonthType = "Aug"
MonthType_Sep MonthType = "Sep"
MonthType_Oct MonthType = "Oct"
MonthType_Nov MonthType = "Nov"
MonthType_Dec MonthType = "Dec"
)
// PrecValueType
type PrecValueType string
const (
PrecValueType_cos PrecValueType = "cos"
PrecValueType_dscp PrecValueType = "dscp"
PrecValueType_exp PrecValueType = "exp"
PrecValueType_precedence PrecValueType = "precedence"
)
// MobilityType
type MobilityType string
const (
MobilityType_bind_acknowledgement MobilityType = "bind-acknowledgement"
MobilityType_bind_error MobilityType = "bind-error"
MobilityType_bind_refresh MobilityType = "bind-refresh"
MobilityType_bind_update MobilityType = "bind-update"
MobilityType_cot MobilityType = "cot"
MobilityType_coti MobilityType = "coti"
MobilityType_hot MobilityType = "hot"
MobilityType_hoti MobilityType = "hoti"
)
// BgpIpv6AfType
type BgpIpv6AfType string
const (
BgpIpv6AfType_unicast BgpIpv6AfType = "unicast"
BgpIpv6AfType_multicast BgpIpv6AfType = "multicast"
BgpIpv6AfType_mdt BgpIpv6AfType = "mdt"
BgpIpv6AfType_flowspec BgpIpv6AfType = "flowspec"
BgpIpv6AfType_mvpn BgpIpv6AfType = "mvpn"
)
// RedistOspfExternalType
type RedistOspfExternalType string
const (
RedistOspfExternalType_Y_1 RedistOspfExternalType = "1"
RedistOspfExternalType_Y_2 RedistOspfExternalType = "2"
)
// LimitDcNonDcType
type LimitDcNonDcType string
const (
LimitDcNonDcType_disable LimitDcNonDcType = "disable"
)
// WeekdayType
type WeekdayType string
const (
WeekdayType_Mon WeekdayType = "Mon"
WeekdayType_Tue WeekdayType = "Tue"
WeekdayType_Wed WeekdayType = "Wed"
WeekdayType_Thu WeekdayType = "Thu"
WeekdayType_Fri WeekdayType = "Fri"
WeekdayType_Sat WeekdayType = "Sat"
WeekdayType_Sun WeekdayType = "Sun"
)
// CommunityWellKnownAddType
type CommunityWellKnownAddType string
const (
CommunityWellKnownAddType_gshut CommunityWellKnownAddType = "gshut"
CommunityWellKnownAddType_internet CommunityWellKnownAddType = "internet"
CommunityWellKnownAddType_local_AS CommunityWellKnownAddType = "local-AS"
CommunityWellKnownAddType_no_advertise CommunityWellKnownAddType = "no-advertise"
CommunityWellKnownAddType_no_export CommunityWellKnownAddType = "no-export"
CommunityWellKnownAddType_additive CommunityWellKnownAddType = "additive"
)
// AccessListInOutType
type AccessListInOutType string
const (
AccessListInOutType_in AccessListInOutType = "in"
AccessListInOutType_out AccessListInOutType = "out"
)
// AclUdpPortType
type AclUdpPortType string
const (
AclUdpPortType_biff AclUdpPortType = "biff"
AclUdpPortType_bootpc AclUdpPortType = "bootpc"
AclUdpPortType_bootps AclUdpPortType = "bootps"
AclUdpPortType_discard AclUdpPortType = "discard"
AclUdpPortType_dnsix AclUdpPortType = "dnsix"
AclUdpPortType_domain AclUdpPortType = "domain"
AclUdpPortType_echo AclUdpPortType = "echo"
AclUdpPortType_isakmp AclUdpPortType = "isakmp"
AclUdpPortType_mobile_ip AclUdpPortType = "mobile-ip"
AclUdpPortType_nameserver AclUdpPortType = "nameserver"
AclUdpPortType_netbios_dgm AclUdpPortType = "netbios-dgm"
AclUdpPortType_netbios_ns AclUdpPortType = "netbios-ns"
AclUdpPortType_netbios_ss AclUdpPortType = "netbios-ss"
AclUdpPortType_non500_isakmp AclUdpPortType = "non500-isakmp"
AclUdpPortType_ntp AclUdpPortType = "ntp"
AclUdpPortType_pim_auto_rp AclUdpPortType = "pim-auto-rp"
AclUdpPortType_rip AclUdpPortType = "rip"
AclUdpPortType_ripv6 AclUdpPortType = "ripv6"
AclUdpPortType_snmp AclUdpPortType = "snmp"
AclUdpPortType_snmptrap AclUdpPortType = "snmptrap"
AclUdpPortType_sunrpc AclUdpPortType = "sunrpc"
AclUdpPortType_syslog AclUdpPortType = "syslog"
AclUdpPortType_tacacs AclUdpPortType = "tacacs"
AclUdpPortType_talk AclUdpPortType = "talk"
AclUdpPortType_tftp AclUdpPortType = "tftp"
AclUdpPortType_time AclUdpPortType = "time"
AclUdpPortType_who AclUdpPortType = "who"
AclUdpPortType_xdmcp AclUdpPortType = "xdmcp"
)
// CommunityWellKnownType
type CommunityWellKnownType string
const (
CommunityWellKnownType_gshut CommunityWellKnownType = "gshut"
CommunityWellKnownType_internet CommunityWellKnownType = "internet"
CommunityWellKnownType_local_AS CommunityWellKnownType = "local-AS"
CommunityWellKnownType_no_advertise CommunityWellKnownType = "no-advertise"
CommunityWellKnownType_no_export CommunityWellKnownType = "no-export"
)