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
/
ipv6_io_oper.go
639 lines (509 loc) · 31.7 KB
/
ipv6_io_oper.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
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
// This module contains a collection of YANG definitions
// for Cisco IOS-XR ipv6-io package operational data.
//
// This module contains definitions
// for the following management objects:
// ipv6-io: IPv6 IO Operational Data
//
// Copyright (c) 2013-2018 by Cisco Systems, Inc.
// All rights reserved.
package ipv6_io_oper
import (
"fmt"
"github.com/CiscoDevNet/ydk-go/ydk"
"github.com/CiscoDevNet/ydk-go/ydk/types"
"github.com/CiscoDevNet/ydk-go/ydk/types/yfilter"
"github.com/CiscoDevNet/ydk-go/ydk/models/cisco_ios_xr"
"reflect"
)
func init() {
ydk.YLogDebug(fmt.Sprintf("Registering top level entities for package ipv6_io_oper"))
ydk.RegisterEntity("{http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-oper ipv6-io}", reflect.TypeOf(Ipv6Io{}))
ydk.RegisterEntity("Cisco-IOS-XR-ipv6-io-oper:ipv6-io", reflect.TypeOf(Ipv6Io{}))
}
// Ipv6Io
// IPv6 IO Operational Data
type Ipv6Io struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Node-specific IPv6 IO operational data.
Nodes Ipv6Io_Nodes
}
func (ipv6Io *Ipv6Io) GetEntityData() *types.CommonEntityData {
ipv6Io.EntityData.YFilter = ipv6Io.YFilter
ipv6Io.EntityData.YangName = "ipv6-io"
ipv6Io.EntityData.BundleName = "cisco_ios_xr"
ipv6Io.EntityData.ParentYangName = "Cisco-IOS-XR-ipv6-io-oper"
ipv6Io.EntityData.SegmentPath = "Cisco-IOS-XR-ipv6-io-oper:ipv6-io"
ipv6Io.EntityData.AbsolutePath = ipv6Io.EntityData.SegmentPath
ipv6Io.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
ipv6Io.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
ipv6Io.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
ipv6Io.EntityData.Children = types.NewOrderedMap()
ipv6Io.EntityData.Children.Append("nodes", types.YChild{"Nodes", &ipv6Io.Nodes})
ipv6Io.EntityData.Leafs = types.NewOrderedMap()
ipv6Io.EntityData.YListKeys = []string {}
return &(ipv6Io.EntityData)
}
// Ipv6Io_Nodes
// Node-specific IPv6 IO operational data
type Ipv6Io_Nodes struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// IPv6 network operational data for a particular node. The type is slice of
// Ipv6Io_Nodes_Node.
Node []*Ipv6Io_Nodes_Node
}
func (nodes *Ipv6Io_Nodes) GetEntityData() *types.CommonEntityData {
nodes.EntityData.YFilter = nodes.YFilter
nodes.EntityData.YangName = "nodes"
nodes.EntityData.BundleName = "cisco_ios_xr"
nodes.EntityData.ParentYangName = "ipv6-io"
nodes.EntityData.SegmentPath = "nodes"
nodes.EntityData.AbsolutePath = "Cisco-IOS-XR-ipv6-io-oper:ipv6-io/" + nodes.EntityData.SegmentPath
nodes.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
nodes.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
nodes.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
nodes.EntityData.Children = types.NewOrderedMap()
nodes.EntityData.Children.Append("node", types.YChild{"Node", nil})
for i := range nodes.Node {
nodes.EntityData.Children.Append(types.GetSegmentPath(nodes.Node[i]), types.YChild{"Node", nodes.Node[i]})
}
nodes.EntityData.Leafs = types.NewOrderedMap()
nodes.EntityData.YListKeys = []string {}
return &(nodes.EntityData)
}
// Ipv6Io_Nodes_Node
// IPv6 network operational data for a particular
// node
type Ipv6Io_Nodes_Node struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. Node name. The type is string with pattern:
// ([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+).
NodeName interface{}
// Statistical IPv6 network operational data for a node.
Statistics Ipv6Io_Nodes_Node_Statistics
}
func (node *Ipv6Io_Nodes_Node) GetEntityData() *types.CommonEntityData {
node.EntityData.YFilter = node.YFilter
node.EntityData.YangName = "node"
node.EntityData.BundleName = "cisco_ios_xr"
node.EntityData.ParentYangName = "nodes"
node.EntityData.SegmentPath = "node" + types.AddKeyToken(node.NodeName, "node-name")
node.EntityData.AbsolutePath = "Cisco-IOS-XR-ipv6-io-oper:ipv6-io/nodes/" + node.EntityData.SegmentPath
node.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
node.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
node.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
node.EntityData.Children = types.NewOrderedMap()
node.EntityData.Children.Append("statistics", types.YChild{"Statistics", &node.Statistics})
node.EntityData.Leafs = types.NewOrderedMap()
node.EntityData.Leafs.Append("node-name", types.YLeaf{"NodeName", node.NodeName})
node.EntityData.YListKeys = []string {"NodeName"}
return &(node.EntityData)
}
// Ipv6Io_Nodes_Node_Statistics
// Statistical IPv6 network operational data for
// a node
type Ipv6Io_Nodes_Node_Statistics struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Traffic statistics for a node.
Traffic Ipv6Io_Nodes_Node_Statistics_Traffic
}
func (statistics *Ipv6Io_Nodes_Node_Statistics) GetEntityData() *types.CommonEntityData {
statistics.EntityData.YFilter = statistics.YFilter
statistics.EntityData.YangName = "statistics"
statistics.EntityData.BundleName = "cisco_ios_xr"
statistics.EntityData.ParentYangName = "node"
statistics.EntityData.SegmentPath = "statistics"
statistics.EntityData.AbsolutePath = "Cisco-IOS-XR-ipv6-io-oper:ipv6-io/nodes/node/" + statistics.EntityData.SegmentPath
statistics.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
statistics.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
statistics.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
statistics.EntityData.Children = types.NewOrderedMap()
statistics.EntityData.Children.Append("traffic", types.YChild{"Traffic", &statistics.Traffic})
statistics.EntityData.Leafs = types.NewOrderedMap()
statistics.EntityData.YListKeys = []string {}
return &(statistics.EntityData)
}
// Ipv6Io_Nodes_Node_Statistics_Traffic
// Traffic statistics for a node
type Ipv6Io_Nodes_Node_Statistics_Traffic struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// IPv6 Statistics.
Ipv6 Ipv6Io_Nodes_Node_Statistics_Traffic_Ipv6
// ICMP Statistics.
Icmp Ipv6Io_Nodes_Node_Statistics_Traffic_Icmp
// IPv6 Node Discovery Statistics.
Ipv6NodeDiscovery Ipv6Io_Nodes_Node_Statistics_Traffic_Ipv6NodeDiscovery
}
func (traffic *Ipv6Io_Nodes_Node_Statistics_Traffic) GetEntityData() *types.CommonEntityData {
traffic.EntityData.YFilter = traffic.YFilter
traffic.EntityData.YangName = "traffic"
traffic.EntityData.BundleName = "cisco_ios_xr"
traffic.EntityData.ParentYangName = "statistics"
traffic.EntityData.SegmentPath = "traffic"
traffic.EntityData.AbsolutePath = "Cisco-IOS-XR-ipv6-io-oper:ipv6-io/nodes/node/statistics/" + traffic.EntityData.SegmentPath
traffic.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
traffic.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
traffic.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
traffic.EntityData.Children = types.NewOrderedMap()
traffic.EntityData.Children.Append("ipv6", types.YChild{"Ipv6", &traffic.Ipv6})
traffic.EntityData.Children.Append("icmp", types.YChild{"Icmp", &traffic.Icmp})
traffic.EntityData.Children.Append("ipv6-node-discovery", types.YChild{"Ipv6NodeDiscovery", &traffic.Ipv6NodeDiscovery})
traffic.EntityData.Leafs = types.NewOrderedMap()
traffic.EntityData.YListKeys = []string {}
return &(traffic.EntityData)
}
// Ipv6Io_Nodes_Node_Statistics_Traffic_Ipv6
// IPv6 Statistics
type Ipv6Io_Nodes_Node_Statistics_Traffic_Ipv6 struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Total Packets. The type is interface{} with range: 0..4294967295.
TotalPackets interface{}
// Local Destination Packets. The type is interface{} with range:
// 0..4294967295.
LocalDestinationPackets interface{}
// Format Errors. The type is interface{} with range: 0..4294967295.
FormatErrors interface{}
// Truncated Packets. The type is interface{} with range: 0..4294967295.
TruncatedPackets interface{}
// Hop Count Exceeded Packets. The type is interface{} with range:
// 0..4294967295.
HopCountExceededPackets interface{}
// Bad Source Address Packets. The type is interface{} with range:
// 0..4294967295.
BadSourceAddressPackets interface{}
// Bad Header Packets. The type is interface{} with range: 0..4294967295.
BadHeaderPackets interface{}
// Unknown Option Type Packets. The type is interface{} with range:
// 0..4294967295.
UnknownOptionTypePackets interface{}
// Unknown Protocol Packets. The type is interface{} with range:
// 0..4294967295.
UnknownProtocolPackets interface{}
// Fragments. The type is interface{} with range: 0..4294967295.
Fragments interface{}
// Reassembled Packets. The type is interface{} with range: 0..4294967295.
ReassembledPackets interface{}
// Reassembly Timeouts. The type is interface{} with range: 0..4294967295.
ReassemblyTimeouts interface{}
// Reassembly Failures. The type is interface{} with range: 0..4294967295.
ReassemblyFailures interface{}
// Reassembly Reach Maximum Drop. The type is interface{} with range:
// 0..4294967295.
ReassemblyMaximumDrops interface{}
// Packets Output. The type is interface{} with range: 0..4294967295.
GeneratedPackets interface{}
// Packets Forwarded. The type is interface{} with range: 0..4294967295.
ForwardedPackets interface{}
// Packets Source Routed. The type is interface{} with range: 0..4294967295.
SourceRoutedPackets interface{}
// Packets Fragmented. The type is interface{} with range: 0..4294967295.
FragmentedPackets interface{}
// Fragmented Packet Count. The type is interface{} with range: 0..4294967295.
FragmentCount interface{}
// Fragment Failures. The type is interface{} with range: 0..4294967295.
FragmentFailures interface{}
// No Route Packets. The type is interface{} with range: 0..4294967295.
NoRoutePackets interface{}
// Packet Too Big. The type is interface{} with range: 0..4294967295.
TooBigPackets interface{}
// Multicast In. The type is interface{} with range: 0..4294967295.
ReceivedMulticastPackets interface{}
// Multicast Out. The type is interface{} with range: 0..4294967295.
SentMulticastPackets interface{}
// Misc. drops. The type is interface{} with range: 0..4294967295.
MiscellaneousDrops interface{}
// Lisp IPv4 Encapped packets. The type is interface{} with range:
// 0..4294967295.
LispV4EncapPackets interface{}
// Lisp IPv4 Decapped packets. The type is interface{} with range:
// 0..4294967295.
LispV4DecapPackets interface{}
// Lisp IPv6 Encapped packets. The type is interface{} with range:
// 0..4294967295.
LispV6EncapPackets interface{}
// Lisp IPv6 Decapped packets. The type is interface{} with range:
// 0..4294967295.
LispV6DecapPackets interface{}
// Lisp Encap errors. The type is interface{} with range: 0..4294967295.
LispEncapErrors interface{}
// Lisp Decap errors. The type is interface{} with range: 0..4294967295.
LispDecapErrors interface{}
}
func (ipv6 *Ipv6Io_Nodes_Node_Statistics_Traffic_Ipv6) GetEntityData() *types.CommonEntityData {
ipv6.EntityData.YFilter = ipv6.YFilter
ipv6.EntityData.YangName = "ipv6"
ipv6.EntityData.BundleName = "cisco_ios_xr"
ipv6.EntityData.ParentYangName = "traffic"
ipv6.EntityData.SegmentPath = "ipv6"
ipv6.EntityData.AbsolutePath = "Cisco-IOS-XR-ipv6-io-oper:ipv6-io/nodes/node/statistics/traffic/" + ipv6.EntityData.SegmentPath
ipv6.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
ipv6.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
ipv6.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
ipv6.EntityData.Children = types.NewOrderedMap()
ipv6.EntityData.Leafs = types.NewOrderedMap()
ipv6.EntityData.Leafs.Append("total-packets", types.YLeaf{"TotalPackets", ipv6.TotalPackets})
ipv6.EntityData.Leafs.Append("local-destination-packets", types.YLeaf{"LocalDestinationPackets", ipv6.LocalDestinationPackets})
ipv6.EntityData.Leafs.Append("format-errors", types.YLeaf{"FormatErrors", ipv6.FormatErrors})
ipv6.EntityData.Leafs.Append("truncated-packets", types.YLeaf{"TruncatedPackets", ipv6.TruncatedPackets})
ipv6.EntityData.Leafs.Append("hop-count-exceeded-packets", types.YLeaf{"HopCountExceededPackets", ipv6.HopCountExceededPackets})
ipv6.EntityData.Leafs.Append("bad-source-address-packets", types.YLeaf{"BadSourceAddressPackets", ipv6.BadSourceAddressPackets})
ipv6.EntityData.Leafs.Append("bad-header-packets", types.YLeaf{"BadHeaderPackets", ipv6.BadHeaderPackets})
ipv6.EntityData.Leafs.Append("unknown-option-type-packets", types.YLeaf{"UnknownOptionTypePackets", ipv6.UnknownOptionTypePackets})
ipv6.EntityData.Leafs.Append("unknown-protocol-packets", types.YLeaf{"UnknownProtocolPackets", ipv6.UnknownProtocolPackets})
ipv6.EntityData.Leafs.Append("fragments", types.YLeaf{"Fragments", ipv6.Fragments})
ipv6.EntityData.Leafs.Append("reassembled-packets", types.YLeaf{"ReassembledPackets", ipv6.ReassembledPackets})
ipv6.EntityData.Leafs.Append("reassembly-timeouts", types.YLeaf{"ReassemblyTimeouts", ipv6.ReassemblyTimeouts})
ipv6.EntityData.Leafs.Append("reassembly-failures", types.YLeaf{"ReassemblyFailures", ipv6.ReassemblyFailures})
ipv6.EntityData.Leafs.Append("reassembly-maximum-drops", types.YLeaf{"ReassemblyMaximumDrops", ipv6.ReassemblyMaximumDrops})
ipv6.EntityData.Leafs.Append("generated-packets", types.YLeaf{"GeneratedPackets", ipv6.GeneratedPackets})
ipv6.EntityData.Leafs.Append("forwarded-packets", types.YLeaf{"ForwardedPackets", ipv6.ForwardedPackets})
ipv6.EntityData.Leafs.Append("source-routed-packets", types.YLeaf{"SourceRoutedPackets", ipv6.SourceRoutedPackets})
ipv6.EntityData.Leafs.Append("fragmented-packets", types.YLeaf{"FragmentedPackets", ipv6.FragmentedPackets})
ipv6.EntityData.Leafs.Append("fragment-count", types.YLeaf{"FragmentCount", ipv6.FragmentCount})
ipv6.EntityData.Leafs.Append("fragment-failures", types.YLeaf{"FragmentFailures", ipv6.FragmentFailures})
ipv6.EntityData.Leafs.Append("no-route-packets", types.YLeaf{"NoRoutePackets", ipv6.NoRoutePackets})
ipv6.EntityData.Leafs.Append("too-big-packets", types.YLeaf{"TooBigPackets", ipv6.TooBigPackets})
ipv6.EntityData.Leafs.Append("received-multicast-packets", types.YLeaf{"ReceivedMulticastPackets", ipv6.ReceivedMulticastPackets})
ipv6.EntityData.Leafs.Append("sent-multicast-packets", types.YLeaf{"SentMulticastPackets", ipv6.SentMulticastPackets})
ipv6.EntityData.Leafs.Append("miscellaneous-drops", types.YLeaf{"MiscellaneousDrops", ipv6.MiscellaneousDrops})
ipv6.EntityData.Leafs.Append("lisp-v4-encap-packets", types.YLeaf{"LispV4EncapPackets", ipv6.LispV4EncapPackets})
ipv6.EntityData.Leafs.Append("lisp-v4-decap-packets", types.YLeaf{"LispV4DecapPackets", ipv6.LispV4DecapPackets})
ipv6.EntityData.Leafs.Append("lisp-v6-encap-packets", types.YLeaf{"LispV6EncapPackets", ipv6.LispV6EncapPackets})
ipv6.EntityData.Leafs.Append("lisp-v6-decap-packets", types.YLeaf{"LispV6DecapPackets", ipv6.LispV6DecapPackets})
ipv6.EntityData.Leafs.Append("lisp-encap-errors", types.YLeaf{"LispEncapErrors", ipv6.LispEncapErrors})
ipv6.EntityData.Leafs.Append("lisp-decap-errors", types.YLeaf{"LispDecapErrors", ipv6.LispDecapErrors})
ipv6.EntityData.YListKeys = []string {}
return &(ipv6.EntityData)
}
// Ipv6Io_Nodes_Node_Statistics_Traffic_Icmp
// ICMP Statistics
type Ipv6Io_Nodes_Node_Statistics_Traffic_Icmp struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// ICMP Received. The type is interface{} with range: 0..4294967295.
TotalMessages interface{}
// ICMP Too Short Errors. The type is interface{} with range: 0..4294967295.
TooShortErrorMessages interface{}
// ICMP Checksum Errors. The type is interface{} with range: 0..4294967295.
ChecksumErrorMessages interface{}
// ICMP Unknown Error. The type is interface{} with range: 0..4294967295.
UnknownErrorTypeMessages interface{}
// ICMP Transmitted. The type is interface{} with range: 0..4294967295.
OutputMessages interface{}
// ICMP Sent Packets Ratelimited. The type is interface{} with range:
// 0..4294967295.
SentRateLimitedPackets interface{}
// ICMP Route Unreachable Sent. The type is interface{} with range:
// 0..4294967295.
SentUnreachableRoutingMessages interface{}
// ICMP Admin Unreachable Sent. The type is interface{} with range:
// 0..4294967295.
SentUnreachableAdminMessages interface{}
// ICMP Host Unreachable Sent. The type is interface{} with range:
// 0..4294967295.
SentUnreachableNeighborMessages interface{}
// ICMP Addr Unreachable Sent. The type is interface{} with range:
// 0..4294967295.
SentUnreachableAddressMessages interface{}
// ICMP Port Unreachable Sent. The type is interface{} with range:
// 0..4294967295.
SentUnreachablePortMessages interface{}
// ICMP Route Unreachable Received. The type is interface{} with range:
// 0..4294967295.
ReceivedUnreachableRoutingMessages interface{}
// ICMP Admin Unreachable Received. The type is interface{} with range:
// 0..4294967295.
ReceivedUnreachableAdminMessages interface{}
// ICMP Host Unreachable Received. The type is interface{} with range:
// 0..4294967295.
ReceivedUnreachableNeighborMessages interface{}
// ICMP Addr Unreachable Received. The type is interface{} with range:
// 0..4294967295.
ReceivedUnreachableAddressMessages interface{}
// ICMP Port Unreachable Received. The type is interface{} with range:
// 0..4294967295.
ReceivedUnreachablePortMessages interface{}
// ICMP Hop Count Expired Sent. The type is interface{} with range:
// 0..4294967295.
SentHopCountExpiredMessages interface{}
// ICMP Reassembly Timeouts. The type is interface{} with range:
// 0..4294967295.
SentReassemblyTimeouts interface{}
// ICMP Hop Count Expired Received. The type is interface{} with range:
// 0..4294967295.
ReceivedHopCountExpiredMessages interface{}
// ICMP Reassembly Timeouts. The type is interface{} with range:
// 0..4294967295.
ReceivedReassemblyTimeouts interface{}
// ICMP Too Big Messages Sent. The type is interface{} with range:
// 0..4294967295.
SentTooBigMessages interface{}
// ICMP Too Big Messages Received. The type is interface{} with range:
// 0..4294967295.
ReceivedTooBigMessages interface{}
// ICMP Parameter Error Messages Sent. The type is interface{} with range:
// 0..4294967295.
SentParameterErrorMessages interface{}
// ICMP Parameter Next Header Messages Sent. The type is interface{} with
// range: 0..4294967295.
SentParameterHeaderMessages interface{}
// ICMP Parameter Option Messages Sent. The type is interface{} with range:
// 0..4294967295.
SentParameterOptionMessages interface{}
// ICMP Parameter Error Messages Received. The type is interface{} with range:
// 0..4294967295.
ReceivedParameterErrorMessages interface{}
// ICMP Parameter Next Header Messages Received. The type is interface{} with
// range: 0..4294967295.
ReceivedParameterHeaderMessages interface{}
// ICMP Parameter Option Problem Received. The type is interface{} with range:
// 0..4294967295.
ReceivedParameterOptionMessages interface{}
// ICMP Echo Request Sent. The type is interface{} with range: 0..4294967295.
SentEchoRequestMessages interface{}
// ICMP Echo Reply Sent. The type is interface{} with range: 0..4294967295.
SentEchoReplyMessages interface{}
// ICMP Echo Request Received. The type is interface{} with range:
// 0..4294967295.
ReceivedEchoRequestMessages interface{}
// ICMP Echo Reply Received. The type is interface{} with range:
// 0..4294967295.
ReceivedEchoReplyMessages interface{}
// ICMP Unknown Timeout Messages Sent. The type is interface{} with range:
// 0..4294967295.
SentUnknownTimeoutMessages interface{}
// ICMP Unknown Timeout Messages Received. The type is interface{} with range:
// 0..4294967295.
ReceivedUnknownTimeoutMessages interface{}
// ICMP Parameter Unknown Type Messages Sent. The type is interface{} with
// range: 0..4294967295.
SentParameterUnknownTypeMessages interface{}
// ICMP Parameter Unknown Type Messages Received. The type is interface{} with
// range: 0..4294967295.
ReceivedParameterUnknownTypeMessages interface{}
// ICMP Unreachable Unknown Messages Sent. The type is interface{} with range:
// 0..4294967295.
SentUnreachableUnknownTypeMessages interface{}
// ICMP Unreachable Unknown Messages Received. The type is interface{} with
// range: 0..4294967295.
ReceivedUnreachableUnknownTypeMessages interface{}
}
func (icmp *Ipv6Io_Nodes_Node_Statistics_Traffic_Icmp) GetEntityData() *types.CommonEntityData {
icmp.EntityData.YFilter = icmp.YFilter
icmp.EntityData.YangName = "icmp"
icmp.EntityData.BundleName = "cisco_ios_xr"
icmp.EntityData.ParentYangName = "traffic"
icmp.EntityData.SegmentPath = "icmp"
icmp.EntityData.AbsolutePath = "Cisco-IOS-XR-ipv6-io-oper:ipv6-io/nodes/node/statistics/traffic/" + icmp.EntityData.SegmentPath
icmp.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
icmp.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
icmp.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
icmp.EntityData.Children = types.NewOrderedMap()
icmp.EntityData.Leafs = types.NewOrderedMap()
icmp.EntityData.Leafs.Append("total-messages", types.YLeaf{"TotalMessages", icmp.TotalMessages})
icmp.EntityData.Leafs.Append("too-short-error-messages", types.YLeaf{"TooShortErrorMessages", icmp.TooShortErrorMessages})
icmp.EntityData.Leafs.Append("checksum-error-messages", types.YLeaf{"ChecksumErrorMessages", icmp.ChecksumErrorMessages})
icmp.EntityData.Leafs.Append("unknown-error-type-messages", types.YLeaf{"UnknownErrorTypeMessages", icmp.UnknownErrorTypeMessages})
icmp.EntityData.Leafs.Append("output-messages", types.YLeaf{"OutputMessages", icmp.OutputMessages})
icmp.EntityData.Leafs.Append("sent-rate-limited-packets", types.YLeaf{"SentRateLimitedPackets", icmp.SentRateLimitedPackets})
icmp.EntityData.Leafs.Append("sent-unreachable-routing-messages", types.YLeaf{"SentUnreachableRoutingMessages", icmp.SentUnreachableRoutingMessages})
icmp.EntityData.Leafs.Append("sent-unreachable-admin-messages", types.YLeaf{"SentUnreachableAdminMessages", icmp.SentUnreachableAdminMessages})
icmp.EntityData.Leafs.Append("sent-unreachable-neighbor-messages", types.YLeaf{"SentUnreachableNeighborMessages", icmp.SentUnreachableNeighborMessages})
icmp.EntityData.Leafs.Append("sent-unreachable-address-messages", types.YLeaf{"SentUnreachableAddressMessages", icmp.SentUnreachableAddressMessages})
icmp.EntityData.Leafs.Append("sent-unreachable-port-messages", types.YLeaf{"SentUnreachablePortMessages", icmp.SentUnreachablePortMessages})
icmp.EntityData.Leafs.Append("received-unreachable-routing-messages", types.YLeaf{"ReceivedUnreachableRoutingMessages", icmp.ReceivedUnreachableRoutingMessages})
icmp.EntityData.Leafs.Append("received-unreachable-admin-messages", types.YLeaf{"ReceivedUnreachableAdminMessages", icmp.ReceivedUnreachableAdminMessages})
icmp.EntityData.Leafs.Append("received-unreachable-neighbor-messages", types.YLeaf{"ReceivedUnreachableNeighborMessages", icmp.ReceivedUnreachableNeighborMessages})
icmp.EntityData.Leafs.Append("received-unreachable-address-messages", types.YLeaf{"ReceivedUnreachableAddressMessages", icmp.ReceivedUnreachableAddressMessages})
icmp.EntityData.Leafs.Append("received-unreachable-port-messages", types.YLeaf{"ReceivedUnreachablePortMessages", icmp.ReceivedUnreachablePortMessages})
icmp.EntityData.Leafs.Append("sent-hop-count-expired-messages", types.YLeaf{"SentHopCountExpiredMessages", icmp.SentHopCountExpiredMessages})
icmp.EntityData.Leafs.Append("sent-reassembly-timeouts", types.YLeaf{"SentReassemblyTimeouts", icmp.SentReassemblyTimeouts})
icmp.EntityData.Leafs.Append("received-hop-count-expired-messages", types.YLeaf{"ReceivedHopCountExpiredMessages", icmp.ReceivedHopCountExpiredMessages})
icmp.EntityData.Leafs.Append("received-reassembly-timeouts", types.YLeaf{"ReceivedReassemblyTimeouts", icmp.ReceivedReassemblyTimeouts})
icmp.EntityData.Leafs.Append("sent-too-big-messages", types.YLeaf{"SentTooBigMessages", icmp.SentTooBigMessages})
icmp.EntityData.Leafs.Append("received-too-big-messages", types.YLeaf{"ReceivedTooBigMessages", icmp.ReceivedTooBigMessages})
icmp.EntityData.Leafs.Append("sent-parameter-error-messages", types.YLeaf{"SentParameterErrorMessages", icmp.SentParameterErrorMessages})
icmp.EntityData.Leafs.Append("sent-parameter-header-messages", types.YLeaf{"SentParameterHeaderMessages", icmp.SentParameterHeaderMessages})
icmp.EntityData.Leafs.Append("sent-parameter-option-messages", types.YLeaf{"SentParameterOptionMessages", icmp.SentParameterOptionMessages})
icmp.EntityData.Leafs.Append("received-parameter-error-messages", types.YLeaf{"ReceivedParameterErrorMessages", icmp.ReceivedParameterErrorMessages})
icmp.EntityData.Leafs.Append("received-parameter-header-messages", types.YLeaf{"ReceivedParameterHeaderMessages", icmp.ReceivedParameterHeaderMessages})
icmp.EntityData.Leafs.Append("received-parameter-option-messages", types.YLeaf{"ReceivedParameterOptionMessages", icmp.ReceivedParameterOptionMessages})
icmp.EntityData.Leafs.Append("sent-echo-request-messages", types.YLeaf{"SentEchoRequestMessages", icmp.SentEchoRequestMessages})
icmp.EntityData.Leafs.Append("sent-echo-reply-messages", types.YLeaf{"SentEchoReplyMessages", icmp.SentEchoReplyMessages})
icmp.EntityData.Leafs.Append("received-echo-request-messages", types.YLeaf{"ReceivedEchoRequestMessages", icmp.ReceivedEchoRequestMessages})
icmp.EntityData.Leafs.Append("received-echo-reply-messages", types.YLeaf{"ReceivedEchoReplyMessages", icmp.ReceivedEchoReplyMessages})
icmp.EntityData.Leafs.Append("sent-unknown-timeout-messages", types.YLeaf{"SentUnknownTimeoutMessages", icmp.SentUnknownTimeoutMessages})
icmp.EntityData.Leafs.Append("received-unknown-timeout-messages", types.YLeaf{"ReceivedUnknownTimeoutMessages", icmp.ReceivedUnknownTimeoutMessages})
icmp.EntityData.Leafs.Append("sent-parameter-unknown-type-messages", types.YLeaf{"SentParameterUnknownTypeMessages", icmp.SentParameterUnknownTypeMessages})
icmp.EntityData.Leafs.Append("received-parameter-unknown-type-messages", types.YLeaf{"ReceivedParameterUnknownTypeMessages", icmp.ReceivedParameterUnknownTypeMessages})
icmp.EntityData.Leafs.Append("sent-unreachable-unknown-type-messages", types.YLeaf{"SentUnreachableUnknownTypeMessages", icmp.SentUnreachableUnknownTypeMessages})
icmp.EntityData.Leafs.Append("received-unreachable-unknown-type-messages", types.YLeaf{"ReceivedUnreachableUnknownTypeMessages", icmp.ReceivedUnreachableUnknownTypeMessages})
icmp.EntityData.YListKeys = []string {}
return &(icmp.EntityData)
}
// Ipv6Io_Nodes_Node_Statistics_Traffic_Ipv6NodeDiscovery
// IPv6 Node Discovery Statistics
type Ipv6Io_Nodes_Node_Statistics_Traffic_Ipv6NodeDiscovery struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// ICMP Router Solicitations Sent. The type is interface{} with range:
// 0..4294967295.
SentRouterSolicitationMessages interface{}
// ICMP Router Advertisements Sent. The type is interface{} with range:
// 0..4294967295.
SentRouterAdvertisementMessages interface{}
// ICMP Neighbor Solicitations Sent. The type is interface{} with range:
// 0..4294967295.
SentNeighborSolicitationMessages interface{}
// ICMP Neighbor Advertisements Sent. The type is interface{} with range:
// 0..4294967295.
SentNeighborAdvertisementMessages interface{}
// ICMP Redirect Sent. The type is interface{} with range: 0..4294967295.
SentRedirectMessages interface{}
// ICMP Router Solicitations Received. The type is interface{} with range:
// 0..4294967295.
ReceivedRouterSolicitationMessages interface{}
// ICMP Router Advertisements Received. The type is interface{} with range:
// 0..4294967295.
ReceivedRouterAdvertisementMessages interface{}
// ICMP Neighbor Solicitations Received. The type is interface{} with range:
// 0..4294967295.
ReceivedNeighborSolicitationMessages interface{}
// ICMP Neighbor Advertisements Received. The type is interface{} with range:
// 0..4294967295.
ReceivedNeighborAdvertisementMessages interface{}
// ICMP Redirect Received. The type is interface{} with range: 0..4294967295.
ReceivedRedirectMessages interface{}
}
func (ipv6NodeDiscovery *Ipv6Io_Nodes_Node_Statistics_Traffic_Ipv6NodeDiscovery) GetEntityData() *types.CommonEntityData {
ipv6NodeDiscovery.EntityData.YFilter = ipv6NodeDiscovery.YFilter
ipv6NodeDiscovery.EntityData.YangName = "ipv6-node-discovery"
ipv6NodeDiscovery.EntityData.BundleName = "cisco_ios_xr"
ipv6NodeDiscovery.EntityData.ParentYangName = "traffic"
ipv6NodeDiscovery.EntityData.SegmentPath = "ipv6-node-discovery"
ipv6NodeDiscovery.EntityData.AbsolutePath = "Cisco-IOS-XR-ipv6-io-oper:ipv6-io/nodes/node/statistics/traffic/" + ipv6NodeDiscovery.EntityData.SegmentPath
ipv6NodeDiscovery.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
ipv6NodeDiscovery.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
ipv6NodeDiscovery.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
ipv6NodeDiscovery.EntityData.Children = types.NewOrderedMap()
ipv6NodeDiscovery.EntityData.Leafs = types.NewOrderedMap()
ipv6NodeDiscovery.EntityData.Leafs.Append("sent-router-solicitation-messages", types.YLeaf{"SentRouterSolicitationMessages", ipv6NodeDiscovery.SentRouterSolicitationMessages})
ipv6NodeDiscovery.EntityData.Leafs.Append("sent-router-advertisement-messages", types.YLeaf{"SentRouterAdvertisementMessages", ipv6NodeDiscovery.SentRouterAdvertisementMessages})
ipv6NodeDiscovery.EntityData.Leafs.Append("sent-neighbor-solicitation-messages", types.YLeaf{"SentNeighborSolicitationMessages", ipv6NodeDiscovery.SentNeighborSolicitationMessages})
ipv6NodeDiscovery.EntityData.Leafs.Append("sent-neighbor-advertisement-messages", types.YLeaf{"SentNeighborAdvertisementMessages", ipv6NodeDiscovery.SentNeighborAdvertisementMessages})
ipv6NodeDiscovery.EntityData.Leafs.Append("sent-redirect-messages", types.YLeaf{"SentRedirectMessages", ipv6NodeDiscovery.SentRedirectMessages})
ipv6NodeDiscovery.EntityData.Leafs.Append("received-router-solicitation-messages", types.YLeaf{"ReceivedRouterSolicitationMessages", ipv6NodeDiscovery.ReceivedRouterSolicitationMessages})
ipv6NodeDiscovery.EntityData.Leafs.Append("received-router-advertisement-messages", types.YLeaf{"ReceivedRouterAdvertisementMessages", ipv6NodeDiscovery.ReceivedRouterAdvertisementMessages})
ipv6NodeDiscovery.EntityData.Leafs.Append("received-neighbor-solicitation-messages", types.YLeaf{"ReceivedNeighborSolicitationMessages", ipv6NodeDiscovery.ReceivedNeighborSolicitationMessages})
ipv6NodeDiscovery.EntityData.Leafs.Append("received-neighbor-advertisement-messages", types.YLeaf{"ReceivedNeighborAdvertisementMessages", ipv6NodeDiscovery.ReceivedNeighborAdvertisementMessages})
ipv6NodeDiscovery.EntityData.Leafs.Append("received-redirect-messages", types.YLeaf{"ReceivedRedirectMessages", ipv6NodeDiscovery.ReceivedRedirectMessages})
ipv6NodeDiscovery.EntityData.YListKeys = []string {}
return &(ipv6NodeDiscovery.EntityData)
}