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
/
interfaces_oper.go
4329 lines (3308 loc) · 227 KB
/
interfaces_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
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// This module contains a collection of YANG definitions for
// monitoring the interfaces in a Network Element.
// Copyright (c) 2016-2018 by Cisco Systems, Inc.
// All rights reserved.
package interfaces_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_xe"
"reflect"
)
func init() {
ydk.YLogDebug(fmt.Sprintf("Registering top level entities for package interfaces_oper"))
ydk.RegisterEntity("{http://cisco.com/ns/yang/Cisco-IOS-XE-interfaces-oper interfaces}", reflect.TypeOf(Interfaces{}))
ydk.RegisterEntity("Cisco-IOS-XE-interfaces-oper:interfaces", reflect.TypeOf(Interfaces{}))
}
// QosMatchType represents QOS match type
type QosMatchType string
const (
QosMatchType_qos_match_dscp QosMatchType = "qos-match-dscp"
QosMatchType_qos_match_src_ip QosMatchType = "qos-match-src-ip"
QosMatchType_qos_match_dst_ip QosMatchType = "qos-match-dst-ip"
QosMatchType_qos_match_src_port QosMatchType = "qos-match-src-port"
QosMatchType_qos_match_dst_port QosMatchType = "qos-match-dst-port"
QosMatchType_qos_match_proto QosMatchType = "qos-match-proto"
)
// EtherDuplex represents The duplex setting of the interface
type EtherDuplex string
const (
EtherDuplex_full_duplex EtherDuplex = "full-duplex"
EtherDuplex_half_duplex EtherDuplex = "half-duplex"
EtherDuplex_auto_duplex EtherDuplex = "auto-duplex"
EtherDuplex_unknown_duplex EtherDuplex = "unknown-duplex"
)
// SerialCrc represents The Cyclic Redundancy Code type
type SerialCrc string
const (
// 32-bit Cyclic Redundancy Code
SerialCrc_serial_crc32 SerialCrc = "serial-crc32"
// 16 bit Cyclic Redundancy Code
SerialCrc_serial_crc16 SerialCrc = "serial-crc16"
)
// ThreshUnit represents Units of threshold
type ThreshUnit string
const (
ThreshUnit_thresh_units_default ThreshUnit = "thresh-units-default"
ThreshUnit_thresh_units_bytes ThreshUnit = "thresh-units-bytes"
ThreshUnit_thresh_units_sec ThreshUnit = "thresh-units-sec"
ThreshUnit_thresh_units_packets ThreshUnit = "thresh-units-packets"
ThreshUnit_thresh_units_cells ThreshUnit = "thresh-units-cells"
ThreshUnit_thresh_units_percent ThreshUnit = "thresh-units-percent"
)
// T1e1LoopbackMode represents Loopback mode type
type T1e1LoopbackMode string
const (
// No loopback mode
T1e1LoopbackMode_t1e1_no_loopback T1e1LoopbackMode = "t1e1-no-loopback"
// Command line interface enforced local loopback
T1e1LoopbackMode_t1e1_cli_local_loopback T1e1LoopbackMode = "t1e1-cli-local-loopback"
// Command line interface enforced line local loopback
T1e1LoopbackMode_t1e1_line_cli_local_loopback T1e1LoopbackMode = "t1e1-line-cli-local-loopback"
// Command line interface enforced payload local loopback
T1e1LoopbackMode_t1e1_payload_cli_local_loopback T1e1LoopbackMode = "t1e1-payload-cli-local-loopback"
// Local line loopback
T1e1LoopbackMode_t1e1_local_line_loopback T1e1LoopbackMode = "t1e1-local-line-loopback"
// Local payload loopback
T1e1LoopbackMode_t1e1_local_payload_loopback T1e1LoopbackMode = "t1e1-local-payload-loopback"
// Line ANSI FDL remote loopback
T1e1LoopbackMode_t1e1_local_ansi_fdl_remote_loopback T1e1LoopbackMode = "t1e1-local-ansi-fdl-remote-loopback"
// Line ATT FDL remote loopback
T1e1LoopbackMode_t1e1_line_att_fdl_remote_loopback T1e1LoopbackMode = "t1e1-line-att-fdl-remote-loopback"
// Payload ANSI FDL remote loopback
T1e1LoopbackMode_t1e1_payload_ansi_fdl_remote_loopback T1e1LoopbackMode = "t1e1-payload-ansi-fdl-remote-loopback"
// Payload ATT FDL remote loopback
T1e1LoopbackMode_t1e1_payload_att_fdl_remote_loopback T1e1LoopbackMode = "t1e1-payload-att-fdl-remote-loopback"
// Line IBOC remote loopback
T1e1LoopbackMode_t1e1_line_iboc_remote_loopback T1e1LoopbackMode = "t1e1-line-iboc-remote-loopback"
// Line ANSI FDL local loopback
T1e1LoopbackMode_t1e1_line_ansi_fdl_local_loopback T1e1LoopbackMode = "t1e1-line-ansi-fdl-local-loopback"
// Line ATT FDL local loopback
T1e1LoopbackMode_t1e1_line_att_fdl_local_loopback T1e1LoopbackMode = "t1e1-line-att-fdl-local-loopback"
// Payload ANSI FDL local loopback
T1e1LoopbackMode_t1e1_payload_ansi_fdl_local_loopback T1e1LoopbackMode = "t1e1-payload-ansi-fdl-local-loopback"
// Payload ATT FDL local loopback
T1e1LoopbackMode_t1e1_payload_att_fdl_local_loopback T1e1LoopbackMode = "t1e1-payload-att-fdl-local-loopback"
// Line IBOC local loopback
T1e1LoopbackMode_t1e1_line_iboc_local_loopback T1e1LoopbackMode = "t1e1-line-iboc-local-loopback"
)
// IntfState represents RFC 2863: The Interfaces Group MIB - ifAdminStatus
type IntfState string
const (
IntfState_if_state_unknown IntfState = "if-state-unknown"
IntfState_if_state_up IntfState = "if-state-up"
IntfState_if_state_down IntfState = "if-state-down"
IntfState_if_state_test IntfState = "if-state-test"
)
// OperState represents RFC 2863: The Interfaces Group MIB - ifOperStatus
type OperState string
const (
OperState_if_oper_state_invalid OperState = "if-oper-state-invalid"
OperState_if_oper_state_ready OperState = "if-oper-state-ready"
OperState_if_oper_state_no_pass OperState = "if-oper-state-no-pass"
OperState_if_oper_state_test OperState = "if-oper-state-test"
OperState_if_oper_state_unknown OperState = "if-oper-state-unknown"
OperState_if_oper_state_dormant OperState = "if-oper-state-dormant"
OperState_if_oper_state_not_present OperState = "if-oper-state-not-present"
OperState_if_oper_state_lower_layer_down OperState = "if-oper-state-lower-layer-down"
)
// AggregationType represents defined and managed
type AggregationType string
const (
// LAG mode is off
AggregationType_lag_off AggregationType = "lag-off"
// LAG mode is auto
AggregationType_lag_auto AggregationType = "lag-auto"
// LAG mode is active
AggregationType_lag_active AggregationType = "lag-active"
// LAG mode is passive
AggregationType_lag_passive AggregationType = "lag-passive"
)
// SubrateSpeed represents The subrate on a serial interface
type SubrateSpeed string
const (
// 56 kilobits per second subrate
SubrateSpeed_dsx1_subrate_56kbps SubrateSpeed = "dsx1-subrate-56kbps"
// 64 kilobits per second subrate
SubrateSpeed_dsx1_subrate_64kbps SubrateSpeed = "dsx1-subrate-64kbps"
)
// IetfIntfType represents object in the (updated) definition of MIB-II's ifTable
type IetfIntfType string
const (
IetfIntfType_iana_iftype_other IetfIntfType = "iana-iftype-other"
IetfIntfType_iana_iftype_regular1822 IetfIntfType = "iana-iftype-regular1822"
IetfIntfType_iana_iftype_hdh1822 IetfIntfType = "iana-iftype-hdh1822"
IetfIntfType_iana_iftype_ddnx25 IetfIntfType = "iana-iftype-ddnx25"
IetfIntfType_iana_iftype_rfc877x25 IetfIntfType = "iana-iftype-rfc877x25"
IetfIntfType_iana_iftype_ethernet_csmacd IetfIntfType = "iana-iftype-ethernet-csmacd"
IetfIntfType_iana_iftype_iso88023_csmacd IetfIntfType = "iana-iftype-iso88023-csmacd"
IetfIntfType_iana_iftype_iso88024_tokenbus IetfIntfType = "iana-iftype-iso88024-tokenbus"
IetfIntfType_iana_iftype_iso88025_tokenring IetfIntfType = "iana-iftype-iso88025-tokenring"
IetfIntfType_iana_iftype_iso88026_man IetfIntfType = "iana-iftype-iso88026-man"
IetfIntfType_iana_iftype_starlan IetfIntfType = "iana-iftype-starlan"
IetfIntfType_iana_iftype_proteon10mbit IetfIntfType = "iana-iftype-proteon10mbit"
IetfIntfType_iana_iftype_proteon80mbit IetfIntfType = "iana-iftype-proteon80mbit"
IetfIntfType_iana_iftype_hyperchannel IetfIntfType = "iana-iftype-hyperchannel"
IetfIntfType_iana_iftype_fddi IetfIntfType = "iana-iftype-fddi"
IetfIntfType_iana_iftype_lapb IetfIntfType = "iana-iftype-lapb"
IetfIntfType_iana_iftype_sdlc IetfIntfType = "iana-iftype-sdlc"
IetfIntfType_iana_iftype_ds1 IetfIntfType = "iana-iftype-ds1"
IetfIntfType_iana_iftype_e1 IetfIntfType = "iana-iftype-e1"
IetfIntfType_iana_iftype_basicisdn IetfIntfType = "iana-iftype-basicisdn"
IetfIntfType_iana_iftype_primaryisdn IetfIntfType = "iana-iftype-primaryisdn"
IetfIntfType_iana_iftype_prop_p2p_serial IetfIntfType = "iana-iftype-prop-p2p-serial"
IetfIntfType_iana_iftype_ppp IetfIntfType = "iana-iftype-ppp"
IetfIntfType_iana_iftype_sw_loopback IetfIntfType = "iana-iftype-sw-loopback"
IetfIntfType_iana_iftype_eon IetfIntfType = "iana-iftype-eon"
IetfIntfType_iana_iftype_ethernet3mbit IetfIntfType = "iana-iftype-ethernet3mbit"
IetfIntfType_iana_iftype_nsip IetfIntfType = "iana-iftype-nsip"
IetfIntfType_iana_iftype_slip IetfIntfType = "iana-iftype-slip"
IetfIntfType_iana_iftype_ultra IetfIntfType = "iana-iftype-ultra"
IetfIntfType_iana_iftype_ds3 IetfIntfType = "iana-iftype-ds3"
IetfIntfType_iana_iftype_sip IetfIntfType = "iana-iftype-sip"
IetfIntfType_iana_iftype_framerelay IetfIntfType = "iana-iftype-framerelay"
IetfIntfType_iana_iftype_rs232 IetfIntfType = "iana-iftype-rs232"
IetfIntfType_iana_iftype_para IetfIntfType = "iana-iftype-para"
IetfIntfType_iana_iftype_arcnet IetfIntfType = "iana-iftype-arcnet"
IetfIntfType_iana_iftype_arcnetplus IetfIntfType = "iana-iftype-arcnetplus"
IetfIntfType_iana_iftype_atm IetfIntfType = "iana-iftype-atm"
IetfIntfType_iana_iftype_miox25 IetfIntfType = "iana-iftype-miox25"
IetfIntfType_iana_iftype_sonet IetfIntfType = "iana-iftype-sonet"
IetfIntfType_iana_iftype_x25ple IetfIntfType = "iana-iftype-x25ple"
IetfIntfType_iana_iftype_iso88022_llc IetfIntfType = "iana-iftype-iso88022-llc"
IetfIntfType_iana_iftype_localtalk IetfIntfType = "iana-iftype-localtalk"
IetfIntfType_iana_iftype_smdsdxi IetfIntfType = "iana-iftype-smdsdxi"
IetfIntfType_iana_iftype_framerelay_service IetfIntfType = "iana-iftype-framerelay-service"
IetfIntfType_iana_iftype_v35 IetfIntfType = "iana-iftype-v35"
IetfIntfType_iana_iftype_hssi IetfIntfType = "iana-iftype-hssi"
IetfIntfType_iana_iftype_hippi IetfIntfType = "iana-iftype-hippi"
IetfIntfType_iana_iftype_modem IetfIntfType = "iana-iftype-modem"
IetfIntfType_iana_iftype_aal5 IetfIntfType = "iana-iftype-aal5"
IetfIntfType_iana_iftype_sonetpath IetfIntfType = "iana-iftype-sonetpath"
IetfIntfType_iana_iftype_sonetvt IetfIntfType = "iana-iftype-sonetvt"
IetfIntfType_iana_iftype_smdsicip IetfIntfType = "iana-iftype-smdsicip"
IetfIntfType_iana_iftype_propvirtual IetfIntfType = "iana-iftype-propvirtual"
IetfIntfType_iana_iftype_propmultiplexor IetfIntfType = "iana-iftype-propmultiplexor"
IetfIntfType_iana_iftype_ieee80212 IetfIntfType = "iana-iftype-ieee80212"
IetfIntfType_iana_iftype_fiberchannel IetfIntfType = "iana-iftype-fiberchannel"
IetfIntfType_iana_iftype_hippi_interface IetfIntfType = "iana-iftype-hippi-interface"
IetfIntfType_iana_iftype_framerelay_interconnect IetfIntfType = "iana-iftype-framerelay-interconnect"
IetfIntfType_iana_iftype_aflane8023 IetfIntfType = "iana-iftype-aflane8023"
IetfIntfType_iana_iftype_aflane8025 IetfIntfType = "iana-iftype-aflane8025"
IetfIntfType_iana_iftype_cctemul IetfIntfType = "iana-iftype-cctemul"
IetfIntfType_iana_iftype_fastether IetfIntfType = "iana-iftype-fastether"
IetfIntfType_iana_iftype_isdn IetfIntfType = "iana-iftype-isdn"
IetfIntfType_iana_iftype_v11 IetfIntfType = "iana-iftype-v11"
IetfIntfType_iana_iftype_v36 IetfIntfType = "iana-iftype-v36"
IetfIntfType_iana_iftype_g703at64k IetfIntfType = "iana-iftype-g703at64k"
IetfIntfType_iana_iftype_g703at2mb IetfIntfType = "iana-iftype-g703at2mb"
IetfIntfType_iana_iftype_qllc IetfIntfType = "iana-iftype-qllc"
IetfIntfType_iana_iftype_fastetherfx IetfIntfType = "iana-iftype-fastetherfx"
IetfIntfType_iana_iftype_channel IetfIntfType = "iana-iftype-channel"
IetfIntfType_iana_iftype_ieee80211 IetfIntfType = "iana-iftype-ieee80211"
IetfIntfType_iana_iftype_ibm370parchan IetfIntfType = "iana-iftype-ibm370parchan"
IetfIntfType_iana_iftype_escon IetfIntfType = "iana-iftype-escon"
IetfIntfType_iana_iftype_dlsw IetfIntfType = "iana-iftype-dlsw"
IetfIntfType_iana_iftype_isdns IetfIntfType = "iana-iftype-isdns"
IetfIntfType_iana_iftype_isdnu IetfIntfType = "iana-iftype-isdnu"
IetfIntfType_iana_iftype_lapd IetfIntfType = "iana-iftype-lapd"
IetfIntfType_iana_iftype_ipswitch IetfIntfType = "iana-iftype-ipswitch"
IetfIntfType_iana_iftype_rsrb IetfIntfType = "iana-iftype-rsrb"
IetfIntfType_iana_iftype_atmlogical IetfIntfType = "iana-iftype-atmlogical"
IetfIntfType_iana_iftype_ds0 IetfIntfType = "iana-iftype-ds0"
IetfIntfType_iana_iftype_ds0bundle IetfIntfType = "iana-iftype-ds0bundle"
IetfIntfType_iana_iftype_bsc IetfIntfType = "iana-iftype-bsc"
IetfIntfType_iana_iftype_async IetfIntfType = "iana-iftype-async"
IetfIntfType_iana_iftype_cnr IetfIntfType = "iana-iftype-cnr"
IetfIntfType_iana_iftype_iso88025_dtr IetfIntfType = "iana-iftype-iso88025-dtr"
IetfIntfType_iana_iftype_eplrs IetfIntfType = "iana-iftype-eplrs"
IetfIntfType_iana_iftype_arap IetfIntfType = "iana-iftype-arap"
IetfIntfType_iana_iftype_propcnls IetfIntfType = "iana-iftype-propcnls"
IetfIntfType_iana_iftype_hostpad IetfIntfType = "iana-iftype-hostpad"
IetfIntfType_iana_iftype_termpad IetfIntfType = "iana-iftype-termpad"
IetfIntfType_iana_iftype_framerelay_mpi IetfIntfType = "iana-iftype-framerelay-mpi"
IetfIntfType_iana_iftype_x213 IetfIntfType = "iana-iftype-x213"
IetfIntfType_iana_iftype_adsl IetfIntfType = "iana-iftype-adsl"
IetfIntfType_iana_iftype_radsl IetfIntfType = "iana-iftype-radsl"
IetfIntfType_iana_iftype_sdsl IetfIntfType = "iana-iftype-sdsl"
IetfIntfType_iana_iftype_vdsl IetfIntfType = "iana-iftype-vdsl"
IetfIntfType_iana_iftype_iso88025_crfpint IetfIntfType = "iana-iftype-iso88025-crfpint"
IetfIntfType_iana_iftype_myrinet IetfIntfType = "iana-iftype-myrinet"
IetfIntfType_iana_iftype_voiceem IetfIntfType = "iana-iftype-voiceem"
IetfIntfType_iana_iftype_voicefxo IetfIntfType = "iana-iftype-voicefxo"
IetfIntfType_iana_iftype_voicefxs IetfIntfType = "iana-iftype-voicefxs"
IetfIntfType_iana_iftype_voiceencap IetfIntfType = "iana-iftype-voiceencap"
IetfIntfType_iana_iftype_voip IetfIntfType = "iana-iftype-voip"
IetfIntfType_iana_iftype_atmdxi IetfIntfType = "iana-iftype-atmdxi"
IetfIntfType_iana_iftype_atmfuni IetfIntfType = "iana-iftype-atmfuni"
IetfIntfType_iana_iftype_atmima IetfIntfType = "iana-iftype-atmima"
IetfIntfType_iana_iftype_ppp_multilinkbundle IetfIntfType = "iana-iftype-ppp-multilinkbundle"
IetfIntfType_iana_iftype_ipovercdlc IetfIntfType = "iana-iftype-ipovercdlc"
IetfIntfType_iana_iftype_ipoverclaw IetfIntfType = "iana-iftype-ipoverclaw"
IetfIntfType_iana_iftype_stack2stack IetfIntfType = "iana-iftype-stack2stack"
IetfIntfType_iana_iftype_virtualipaddress IetfIntfType = "iana-iftype-virtualipaddress"
IetfIntfType_iana_iftype_mpc IetfIntfType = "iana-iftype-mpc"
IetfIntfType_iana_iftype_ipoveratm IetfIntfType = "iana-iftype-ipoveratm"
IetfIntfType_iana_iftype_iso88025_fiber IetfIntfType = "iana-iftype-iso88025-fiber"
IetfIntfType_iana_iftype_tdlc IetfIntfType = "iana-iftype-tdlc"
IetfIntfType_iana_iftype_gige IetfIntfType = "iana-iftype-gige"
IetfIntfType_iana_iftype_hdlc IetfIntfType = "iana-iftype-hdlc"
IetfIntfType_iana_iftype_lapf IetfIntfType = "iana-iftype-lapf"
IetfIntfType_iana_iftype_v37 IetfIntfType = "iana-iftype-v37"
IetfIntfType_iana_iftype_x25mlp IetfIntfType = "iana-iftype-x25mlp"
IetfIntfType_iana_iftype_x25huntgroup IetfIntfType = "iana-iftype-x25huntgroup"
IetfIntfType_iana_iftype_transphdlc IetfIntfType = "iana-iftype-transphdlc"
IetfIntfType_iana_iftype_interleave IetfIntfType = "iana-iftype-interleave"
IetfIntfType_iana_iftype_fast IetfIntfType = "iana-iftype-fast"
IetfIntfType_iana_iftype_ip IetfIntfType = "iana-iftype-ip"
IetfIntfType_iana_iftype_docs_cable_maclayer IetfIntfType = "iana-iftype-docs-cable-maclayer"
IetfIntfType_iana_iftype_docs_cable_downstream IetfIntfType = "iana-iftype-docs-cable-downstream"
IetfIntfType_iana_iftype_docs_cable_upstream IetfIntfType = "iana-iftype-docs-cable-upstream"
IetfIntfType_iana_iftype_a12mppswitch IetfIntfType = "iana-iftype-a12mppswitch"
IetfIntfType_iana_iftype_tunnel IetfIntfType = "iana-iftype-tunnel"
IetfIntfType_iana_iftype_coffee IetfIntfType = "iana-iftype-coffee"
IetfIntfType_iana_iftype_ces IetfIntfType = "iana-iftype-ces"
IetfIntfType_iana_iftype_atmsubinterface IetfIntfType = "iana-iftype-atmsubinterface"
IetfIntfType_iana_iftype_l2vlan IetfIntfType = "iana-iftype-l2vlan"
IetfIntfType_iana_iftype_l3ipvlan IetfIntfType = "iana-iftype-l3ipvlan"
IetfIntfType_iana_iftype_l3ipxvlan IetfIntfType = "iana-iftype-l3ipxvlan"
IetfIntfType_iana_iftype_digital_powerline IetfIntfType = "iana-iftype-digital-powerline"
IetfIntfType_iana_iftype_media_mailoverip IetfIntfType = "iana-iftype-media-mailoverip"
IetfIntfType_iana_iftype_dtm IetfIntfType = "iana-iftype-dtm"
IetfIntfType_iana_iftype_dcn IetfIntfType = "iana-iftype-dcn"
IetfIntfType_iana_iftype_ipforward IetfIntfType = "iana-iftype-ipforward"
IetfIntfType_iana_iftype_msdsl IetfIntfType = "iana-iftype-msdsl"
IetfIntfType_iana_iftype_ieee1394 IetfIntfType = "iana-iftype-ieee1394"
IetfIntfType_iana_iftype_gsn IetfIntfType = "iana-iftype-gsn"
IetfIntfType_iana_iftype_dvbrcc_maclayer IetfIntfType = "iana-iftype-dvbrcc-maclayer"
IetfIntfType_iana_iftype_dvbrcc_downstream IetfIntfType = "iana-iftype-dvbrcc-downstream"
IetfIntfType_iana_iftype_dvbrcc_upstream IetfIntfType = "iana-iftype-dvbrcc-upstream"
IetfIntfType_iana_iftype_atmvirtual IetfIntfType = "iana-iftype-atmvirtual"
IetfIntfType_iana_iftype_mplstunnel IetfIntfType = "iana-iftype-mplstunnel"
IetfIntfType_iana_iftype_srp IetfIntfType = "iana-iftype-srp"
IetfIntfType_iana_iftype_voiceoveratm IetfIntfType = "iana-iftype-voiceoveratm"
IetfIntfType_iana_iftype_voiceoverframerelay IetfIntfType = "iana-iftype-voiceoverframerelay"
IetfIntfType_iana_iftype_idsl IetfIntfType = "iana-iftype-idsl"
IetfIntfType_iana_iftype_compositelink IetfIntfType = "iana-iftype-compositelink"
IetfIntfType_iana_iftype_ss7siglink IetfIntfType = "iana-iftype-ss7siglink"
IetfIntfType_iana_iftype_propwireless_p2p IetfIntfType = "iana-iftype-propwireless-p2p"
IetfIntfType_iana_iftype_frforward IetfIntfType = "iana-iftype-frforward"
IetfIntfType_iana_iftype_rfc1483 IetfIntfType = "iana-iftype-rfc1483"
IetfIntfType_iana_iftype_usb IetfIntfType = "iana-iftype-usb"
IetfIntfType_iana_iftype_ieee8023_adlag IetfIntfType = "iana-iftype-ieee8023-adlag"
IetfIntfType_iana_iftype_bgppolicy_accounting IetfIntfType = "iana-iftype-bgppolicy-accounting"
IetfIntfType_iana_iftype_frf16mfrbundle IetfIntfType = "iana-iftype-frf16mfrbundle"
IetfIntfType_iana_iftype_h323gatekeeper IetfIntfType = "iana-iftype-h323gatekeeper"
IetfIntfType_iana_iftype_h323proxy IetfIntfType = "iana-iftype-h323proxy"
IetfIntfType_iana_iftype_mpls IetfIntfType = "iana-iftype-mpls"
IetfIntfType_iana_iftype_mfsiglink IetfIntfType = "iana-iftype-mfsiglink"
IetfIntfType_iana_iftype_hdsl2 IetfIntfType = "iana-iftype-hdsl2"
IetfIntfType_iana_iftype_shdsl IetfIntfType = "iana-iftype-shdsl"
IetfIntfType_iana_iftype_ds1fdl IetfIntfType = "iana-iftype-ds1fdl"
IetfIntfType_iana_iftype_pos IetfIntfType = "iana-iftype-pos"
IetfIntfType_iana_iftype_dvbasiin IetfIntfType = "iana-iftype-dvbasiin"
IetfIntfType_iana_iftype_dvbasiout IetfIntfType = "iana-iftype-dvbasiout"
IetfIntfType_iana_iftype_plc IetfIntfType = "iana-iftype-plc"
IetfIntfType_iana_iftype_nfas IetfIntfType = "iana-iftype-nfas"
IetfIntfType_iana_iftype_tr008 IetfIntfType = "iana-iftype-tr008"
IetfIntfType_iana_iftype_gr303rdt IetfIntfType = "iana-iftype-gr303rdt"
IetfIntfType_iana_iftype_gr303idt IetfIntfType = "iana-iftype-gr303idt"
IetfIntfType_iana_iftype_isup IetfIntfType = "iana-iftype-isup"
IetfIntfType_iana_iftype_prop_docs_wireless_maclayer IetfIntfType = "iana-iftype-prop-docs-wireless-maclayer"
IetfIntfType_iana_iftype_prop_docs_wireless_downstream IetfIntfType = "iana-iftype-prop-docs-wireless-downstream"
IetfIntfType_iana_iftype_prop_docs_wireless_upstream IetfIntfType = "iana-iftype-prop-docs-wireless-upstream"
IetfIntfType_iana_iftype_hiperlan2 IetfIntfType = "iana-iftype-hiperlan2"
IetfIntfType_iana_iftype_prop_bwap2mp IetfIntfType = "iana-iftype-prop-bwap2mp"
IetfIntfType_iana_iftype_sonetoverheadchannel IetfIntfType = "iana-iftype-sonetoverheadchannel"
IetfIntfType_iana_iftype_digital_wrapperoverheadchannel IetfIntfType = "iana-iftype-digital-wrapperoverheadchannel"
IetfIntfType_iana_iftype_aal2 IetfIntfType = "iana-iftype-aal2"
IetfIntfType_iana_iftype_radiomac IetfIntfType = "iana-iftype-radiomac"
IetfIntfType_iana_iftype_atmradio IetfIntfType = "iana-iftype-atmradio"
IetfIntfType_iana_iftype_imt IetfIntfType = "iana-iftype-imt"
IetfIntfType_iana_iftype_mvl IetfIntfType = "iana-iftype-mvl"
IetfIntfType_iana_iftype_reachhdsl IetfIntfType = "iana-iftype-reachhdsl"
IetfIntfType_iana_iftype_frdlciendpt IetfIntfType = "iana-iftype-frdlciendpt"
IetfIntfType_iana_iftype_atmvciendpt IetfIntfType = "iana-iftype-atmvciendpt"
IetfIntfType_iana_iftype_opticalchannel IetfIntfType = "iana-iftype-opticalchannel"
IetfIntfType_iana_iftype_opticaltransport IetfIntfType = "iana-iftype-opticaltransport"
IetfIntfType_iana_iftype_propatm IetfIntfType = "iana-iftype-propatm"
IetfIntfType_iana_iftype_voiceovercable IetfIntfType = "iana-iftype-voiceovercable"
IetfIntfType_iana_iftype_infiniband IetfIntfType = "iana-iftype-infiniband"
IetfIntfType_iana_iftype_telink IetfIntfType = "iana-iftype-telink"
IetfIntfType_iana_iftype_q2931 IetfIntfType = "iana-iftype-q2931"
IetfIntfType_iana_iftype_virtualatg IetfIntfType = "iana-iftype-virtualatg"
IetfIntfType_iana_iftype_siptg IetfIntfType = "iana-iftype-siptg"
IetfIntfType_iana_iftype_sipsig IetfIntfType = "iana-iftype-sipsig"
IetfIntfType_iana_iftype_docs_cable_upstreamchannel IetfIntfType = "iana-iftype-docs-cable-upstreamchannel"
IetfIntfType_iana_iftype_econet IetfIntfType = "iana-iftype-econet"
IetfIntfType_iana_iftype_pon155 IetfIntfType = "iana-iftype-pon155"
IetfIntfType_iana_iftype_pon622 IetfIntfType = "iana-iftype-pon622"
IetfIntfType_iana_iftype_bridge_if IetfIntfType = "iana-iftype-bridge-if"
IetfIntfType_iana_iftype_linegroup IetfIntfType = "iana-iftype-linegroup"
IetfIntfType_iana_iftype_voiceemfgd IetfIntfType = "iana-iftype-voiceemfgd"
IetfIntfType_iana_iftype_voiceefgdeana IetfIntfType = "iana-iftype-voiceefgdeana"
IetfIntfType_iana_iftype_voicedid IetfIntfType = "iana-iftype-voicedid"
IetfIntfType_iana_iftype_mpegtransport IetfIntfType = "iana-iftype-mpegtransport"
IetfIntfType_iana_iftype_sixtofour IetfIntfType = "iana-iftype-sixtofour"
IetfIntfType_iana_iftype_gtp IetfIntfType = "iana-iftype-gtp"
IetfIntfType_iana_iftype_pdnetherloop1 IetfIntfType = "iana-iftype-pdnetherloop1"
IetfIntfType_iana_iftype_pdnetherloop2 IetfIntfType = "iana-iftype-pdnetherloop2"
IetfIntfType_iana_iftype_opticalchannel_group IetfIntfType = "iana-iftype-opticalchannel-group"
IetfIntfType_iana_iftype_homepna IetfIntfType = "iana-iftype-homepna"
IetfIntfType_iana_iftype_gfp IetfIntfType = "iana-iftype-gfp"
IetfIntfType_iana_iftype_ciscoislvlan IetfIntfType = "iana-iftype-ciscoislvlan"
IetfIntfType_iana_iftype_actelismetaloop IetfIntfType = "iana-iftype-actelismetaloop"
IetfIntfType_iana_iftype_fciplink IetfIntfType = "iana-iftype-fciplink"
IetfIntfType_iana_iftype_rpr IetfIntfType = "iana-iftype-rpr"
IetfIntfType_iana_iftype_qam IetfIntfType = "iana-iftype-qam"
IetfIntfType_iana_iftype_lmp IetfIntfType = "iana-iftype-lmp"
IetfIntfType_iana_iftype_cblvectastar IetfIntfType = "iana-iftype-cblvectastar"
IetfIntfType_iana_iftype_docs_cable_mcmts_downtream IetfIntfType = "iana-iftype-docs-cable-mcmts-downtream"
IetfIntfType_iana_iftype_adsl2 IetfIntfType = "iana-iftype-adsl2"
IetfIntfType_iana_iftype_macseccontrolledif IetfIntfType = "iana-iftype-macseccontrolledif"
IetfIntfType_iana_iftype_macsecuncontrolledif IetfIntfType = "iana-iftype-macsecuncontrolledif"
IetfIntfType_iana_iftype_aviciopticalether IetfIntfType = "iana-iftype-aviciopticalether"
IetfIntfType_iana_iftype_atmbond IetfIntfType = "iana-iftype-atmbond"
IetfIntfType_iana_iftype_voicefgdos IetfIntfType = "iana-iftype-voicefgdos"
IetfIntfType_iana_iftype_mocaversion1 IetfIntfType = "iana-iftype-mocaversion1"
IetfIntfType_iana_iftype_ieee80216_wman IetfIntfType = "iana-iftype-ieee80216-wman"
IetfIntfType_iana_iftype_adsl2plus IetfIntfType = "iana-iftype-adsl2plus"
IetfIntfType_iana_iftype_dvbrcsmaclayer IetfIntfType = "iana-iftype-dvbrcsmaclayer"
IetfIntfType_iana_iftype_dvbtdm IetfIntfType = "iana-iftype-dvbtdm"
IetfIntfType_iana_iftype_dvbrcstdma IetfIntfType = "iana-iftype-dvbrcstdma"
IetfIntfType_iana_iftype_x86laps IetfIntfType = "iana-iftype-x86laps"
IetfIntfType_iana_iftype_wwanpp IetfIntfType = "iana-iftype-wwanpp"
IetfIntfType_iana_iftype_wwanpp2 IetfIntfType = "iana-iftype-wwanpp2"
IetfIntfType_iana_iftype_voiceebs IetfIntfType = "iana-iftype-voiceebs"
IetfIntfType_iana_iftype_ifpwtype IetfIntfType = "iana-iftype-ifpwtype"
IetfIntfType_iana_iftype_ilan IetfIntfType = "iana-iftype-ilan"
IetfIntfType_iana_iftype_pip IetfIntfType = "iana-iftype-pip"
IetfIntfType_iana_iftype_aluelp IetfIntfType = "iana-iftype-aluelp"
IetfIntfType_iana_iftype_gpon IetfIntfType = "iana-iftype-gpon"
IetfIntfType_iana_iftype_vdsl2 IetfIntfType = "iana-iftype-vdsl2"
IetfIntfType_iana_iftype_capwapdot11_profile IetfIntfType = "iana-iftype-capwapdot11-profile"
IetfIntfType_iana_iftype_capwapdot11_bss IetfIntfType = "iana-iftype-capwapdot11-bss"
IetfIntfType_iana_iftype_capwapwtp_virtualradio IetfIntfType = "iana-iftype-capwapwtp-virtualradio"
IetfIntfType_iana_iftype_bits IetfIntfType = "iana-iftype-bits"
IetfIntfType_iana_iftype_docs_cable_upstreamrfport IetfIntfType = "iana-iftype-docs-cable-upstreamrfport"
IetfIntfType_iana_iftype_cable_downstreamrfport IetfIntfType = "iana-iftype-cable-downstreamrfport"
IetfIntfType_iana_iftype_vmware_virtualnic IetfIntfType = "iana-iftype-vmware-virtualnic"
IetfIntfType_iana_iftype_ieee802154 IetfIntfType = "iana-iftype-ieee802154"
IetfIntfType_iana_iftype_otnodu IetfIntfType = "iana-iftype-otnodu"
IetfIntfType_iana_iftype_otnotu IetfIntfType = "iana-iftype-otnotu"
IetfIntfType_iana_iftype_ifvfitype IetfIntfType = "iana-iftype-ifvfitype"
IetfIntfType_iana_iftype_g9981 IetfIntfType = "iana-iftype-g9981"
IetfIntfType_iana_iftype_g9982 IetfIntfType = "iana-iftype-g9982"
IetfIntfType_iana_iftype_g9983 IetfIntfType = "iana-iftype-g9983"
IetfIntfType_iana_iftype_aluepon IetfIntfType = "iana-iftype-aluepon"
IetfIntfType_iana_iftype_aluepon_onu IetfIntfType = "iana-iftype-aluepon-onu"
IetfIntfType_iana_iftype_aluepon_physicaluni IetfIntfType = "iana-iftype-aluepon-physicaluni"
IetfIntfType_iana_iftype_aluepon_logicalink IetfIntfType = "iana-iftype-aluepon-logicalink"
IetfIntfType_iana_iftype_alugpon_onu IetfIntfType = "iana-iftype-alugpon-onu"
IetfIntfType_iana_iftype_alugpon_physicaluni IetfIntfType = "iana-iftype-alugpon-physicaluni"
IetfIntfType_iana_iftype_vmwarenicteam IetfIntfType = "iana-iftype-vmwarenicteam"
IetfIntfType_iana_iftype_docs_ofdm_downstream IetfIntfType = "iana-iftype-docs-ofdm-downstream"
IetfIntfType_iana_iftype_docs_ofdma_upstream IetfIntfType = "iana-iftype-docs-ofdma-upstream"
IetfIntfType_iana_iftype_gfast IetfIntfType = "iana-iftype-gfast"
IetfIntfType_iana_iftype_sdci IetfIntfType = "iana-iftype-sdci"
IetfIntfType_iana_iftype_xbox_wireless IetfIntfType = "iana-iftype-xbox-wireless"
IetfIntfType_iana_iftype_fastdsl IetfIntfType = "iana-iftype-fastdsl"
)
// QosDirection represents QoS direction indication
type QosDirection string
const (
// Direction of traffic coming into the network entry
QosDirection_qos_inbound QosDirection = "qos-inbound"
// Direction of traffic going out of the network entry
QosDirection_qos_outbound QosDirection = "qos-outbound"
)
// EtherSpeed represents The speed setting of the interface
type EtherSpeed string
const (
EtherSpeed_speed_10mb EtherSpeed = "speed-10mb"
EtherSpeed_speed_100mb EtherSpeed = "speed-100mb"
EtherSpeed_speed_1gb EtherSpeed = "speed-1gb"
EtherSpeed_speed_10gb EtherSpeed = "speed-10gb"
EtherSpeed_speed_25gb EtherSpeed = "speed-25gb"
EtherSpeed_speed_40gb EtherSpeed = "speed-40gb"
EtherSpeed_speed_50gb EtherSpeed = "speed-50gb"
EtherSpeed_speed_100gb EtherSpeed = "speed-100gb"
EtherSpeed_speed_unknown EtherSpeed = "speed-unknown"
EtherSpeed_speed_auto EtherSpeed = "speed-auto"
)
// Interfaces
// Operational state of interfaces
type Interfaces struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// List of interfaces. The type is slice of Interfaces_Interface.
Interface []*Interfaces_Interface
}
func (interfaces *Interfaces) GetEntityData() *types.CommonEntityData {
interfaces.EntityData.YFilter = interfaces.YFilter
interfaces.EntityData.YangName = "interfaces"
interfaces.EntityData.BundleName = "cisco_ios_xe"
interfaces.EntityData.ParentYangName = "Cisco-IOS-XE-interfaces-oper"
interfaces.EntityData.SegmentPath = "Cisco-IOS-XE-interfaces-oper:interfaces"
interfaces.EntityData.AbsolutePath = interfaces.EntityData.SegmentPath
interfaces.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
interfaces.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
interfaces.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
interfaces.EntityData.Children = types.NewOrderedMap()
interfaces.EntityData.Children.Append("interface", types.YChild{"Interface", nil})
for i := range interfaces.Interface {
interfaces.EntityData.Children.Append(types.GetSegmentPath(interfaces.Interface[i]), types.YChild{"Interface", interfaces.Interface[i]})
}
interfaces.EntityData.Leafs = types.NewOrderedMap()
interfaces.EntityData.YListKeys = []string {}
return &(interfaces.EntityData)
}
// Interfaces_Interface
// List of interfaces
type Interfaces_Interface struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The name of the interface. A server implementation
// MAY map this leaf to the ifName MIB object. Such an implementation needs
// to use some mechanism to handle the differences in size and characters
// allowed between this leaf and ifName. The definition of such a mechanism
// is outside the scope of this document. The type is string.
Name interface{}
// When an interface entry is created, a server MAY initialize the type leaf
// with a valid value, e.g., if it is possible to derive the type from the
// name of the interface. If a client tries to set the type of an interface to
// a value that can never be used by the system, e.g., if the type is not
// supported or if the type does not match the name of the interface, the
// server MUST reject the request. A NETCONF server MUST reply with an
// rpc-error with the error-tag 'invalid-value' in this case. The type is
// IetfIntfType.
InterfaceType interface{}
// The desired state of the interface. This leaf has the same read semantics
// as ifAdminStatus. The type is IntfState.
AdminStatus interface{}
// The current operational state of the interface. This leaf has the same
// semantics as ifOperStatus. The type is OperState.
OperStatus interface{}
// The time the interface entered its current operational state. If the
// current state was entered prior to the last re-initialization of the local
// network management subsystem, then this node is not present. The type is
// string with pattern:
// \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2}).
LastChange interface{}
// The ifIndex value for the ifEntry represented by this interface. The type
// is interface{} with range: -2147483648..2147483647.
IfIndex interface{}
// The interface's address at its protocol sub-layer. For example, for an
// 802.x interface, this object normally contains a Media Access Control (MAC)
// address. The interface's media-specific modules must define the bit and
// byte ordering and the format of the value of this object. For interfaces
// that do not have such an address (e.g., a serial line), this node is not
// present. The type is string with pattern:
// [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}.
PhysAddress interface{}
// A list of references to interfaces layered on top of this interface. The
// type is slice of string.
HigherLayerIf []interface{}
// A list of references to interfaces layered underneath this interface. The
// type is slice of string.
LowerLayerIf []interface{}
// An estimate of the interface's current bandwidth in bits per second. For
// interfaces that do not vary in bandwidth or for those where no accurate
// estimation can be made, this node should contain the nominal bandwidth. For
// interfaces that have no concept of bandwidth, this node is not present. The
// type is interface{} with range: 0..18446744073709551615.
Speed interface{}
// VRF to which this interface belongs to. If the interface is not in a VRF
// then it is 'Global'. The type is string.
Vrf interface{}
// IPv4 address configured on interface. The type is one of the following
// types: string with pattern:
// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?,
// or string with pattern:
// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
Ipv4 interface{}
// IPv4 Subnet Mask. The type is one of the following types: string with
// pattern:
// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?,
// or string with pattern:
// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
Ipv4SubnetMask interface{}
// Interface description. The type is string.
Description interface{}
// Maximum transmission unit. The type is interface{} with range:
// 0..4294967295.
Mtu interface{}
// Input Security ACL. The type is string.
InputSecurityAcl interface{}
// Output Security ACL. The type is string.
OutputSecurityAcl interface{}
// The burnt-in mac address that was associated with this interface from
// manufacturing. This is only relevant for interfaces that have the concept
// of burnt in ethernet addresses, otherwise it is zero. The type is string
// with pattern: [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}.
BiaAddress interface{}
// A list of the IPv6 addresses associated with the interface. This conatins
// all the IPv6 addresses, including the link local addresses, assigned to the
// interface. The type is one of the following types: slice of string with
// pattern:
// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?,
// or slice of string with pattern:
// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
Ipv6Addrs []interface{}
// When ip tcp adjust-mss is configured, this vlaue shows the tcp mss, or the
// value is zero. The type is interface{} with range: 0..65535.
Ipv4TcpAdjustMss interface{}
// When ipv6 tcp adjust-mss is configured, this value shows the tcp mss, or
// the value is zero. The type is interface{} with range: 0..65535.
Ipv6TcpAdjustMss interface{}
// No specific interface class information. The type is bool.
IntfClassUnspecified interface{}
// A collection of interface-related statistics objects.
Statistics Interfaces_Interface_Statistics
// diffserv related details. The type is slice of
// Interfaces_Interface_DiffservInfo.
DiffservInfo []*Interfaces_Interface_DiffservInfo
// IPv4 traffic statistics for this interface.
V4ProtocolStats Interfaces_Interface_V4ProtocolStats
// IPv6 traffic statistics for this interface.
V6ProtocolStats Interfaces_Interface_V6ProtocolStats
// Operational state variables for logical aggregate / LAG interfaces. The
// type is slice of Interfaces_Interface_LagAggregateState.
LagAggregateState []*Interfaces_Interface_LagAggregateState
// The Ethernet state information.
EtherState Interfaces_Interface_EtherState
// The Ethernet statistics.
EtherStats Interfaces_Interface_EtherStats
// The T1E1 serial state information.
SerialState Interfaces_Interface_SerialState
// The T1E1 statistics.
SerialStats Interfaces_Interface_SerialStats
}
func (self *Interfaces_Interface) GetEntityData() *types.CommonEntityData {
self.EntityData.YFilter = self.YFilter
self.EntityData.YangName = "interface"
self.EntityData.BundleName = "cisco_ios_xe"
self.EntityData.ParentYangName = "interfaces"
self.EntityData.SegmentPath = "interface" + types.AddKeyToken(self.Name, "name")
self.EntityData.AbsolutePath = "Cisco-IOS-XE-interfaces-oper:interfaces/" + self.EntityData.SegmentPath
self.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
self.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
self.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
self.EntityData.Children = types.NewOrderedMap()
self.EntityData.Children.Append("statistics", types.YChild{"Statistics", &self.Statistics})
self.EntityData.Children.Append("diffserv-info", types.YChild{"DiffservInfo", nil})
for i := range self.DiffservInfo {
self.EntityData.Children.Append(types.GetSegmentPath(self.DiffservInfo[i]), types.YChild{"DiffservInfo", self.DiffservInfo[i]})
}
self.EntityData.Children.Append("v4-protocol-stats", types.YChild{"V4ProtocolStats", &self.V4ProtocolStats})
self.EntityData.Children.Append("v6-protocol-stats", types.YChild{"V6ProtocolStats", &self.V6ProtocolStats})
self.EntityData.Children.Append("lag-aggregate-state", types.YChild{"LagAggregateState", nil})
for i := range self.LagAggregateState {
self.EntityData.Children.Append(types.GetSegmentPath(self.LagAggregateState[i]), types.YChild{"LagAggregateState", self.LagAggregateState[i]})