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
/
cisco_media_gateway_mib.go
1332 lines (1109 loc) · 83.5 KB
/
cisco_media_gateway_mib.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
// The MIB module for managing Trunk Media Gateway.
//
// A Media Gateway is a network element that provides conversion
// between the audio signals carried on telephone circuits and
// data packets carried over the Internet or over other packet
// data networks.
//
// Trunk Media Gateway interface is between the telephone network
// and a Voice over IP/ATM network.
// The interface on a Trunk Gateway terminates a trunk connected
// to PSTN switch (e.g., Class 5, Class 4, etc.).
//
// Media Gateways use a call control architecture where the call
// control 'intelligence' is outside the gateways and handled by
// external call control elements, called Media Gateway
// Controllers (MGCs).
// The MGCs or Call Agents, synchronize with each other to
// send coherent commands to the gateways under their control.
//
// MGCs use master/slave protocols to command the gateways under
// their control. Examples of these protocols are:
// * Simple Gateway Control Protocol
// * Media Gateway Control Protocol
// * Megaco (H.248)
// * Simple Resource Control Protocol
//
// To connect MG to MGCs using these control protocols through
// an IP/UDP Ports which must be configured. To resolve IP
// Addresses, DNS name services may be used.
package cisco_media_gateway_mib
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 cisco_media_gateway_mib"))
ydk.RegisterEntity("{urn:ietf:params:xml:ns:yang:smiv2:CISCO-MEDIA-GATEWAY-MIB CISCO-MEDIA-GATEWAY-MIB}", reflect.TypeOf(CISCOMEDIAGATEWAYMIB{}))
ydk.RegisterEntity("CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB", reflect.TypeOf(CISCOMEDIAGATEWAYMIB{}))
}
// CCallControlJitterDelayMode represents which is specified by jitter nominal delay.
type CCallControlJitterDelayMode string
const (
CCallControlJitterDelayMode_adaptive CCallControlJitterDelayMode = "adaptive"
CCallControlJitterDelayMode_fixed CCallControlJitterDelayMode = "fixed"
)
// CGwAdminState represents New connections would be blocked.
type CGwAdminState string
const (
CGwAdminState_inService CGwAdminState = "inService"
CGwAdminState_forcedOutOfService CGwAdminState = "forcedOutOfService"
CGwAdminState_gracefulOutOfService CGwAdminState = "gracefulOutOfService"
)
// CGwServiceState represents No new connections are allowed.
type CGwServiceState string
const (
CGwServiceState_inService CGwServiceState = "inService"
CGwServiceState_forcedOutOfService CGwServiceState = "forcedOutOfService"
CGwServiceState_gracefulOutOfService CGwServiceState = "gracefulOutOfService"
)
// CISCOMEDIAGATEWAYMIB
type CISCOMEDIAGATEWAYMIB struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// This table contains the global media gateway parameters information. It
// supports the modification of the global media gateway parameters.
CMediaGwTable CISCOMEDIAGATEWAYMIB_CMediaGwTable
// This table contains the available signaling protocols that are supported by
// the media gateway for communication with MGCs.
CmgwSignalProtocolTable CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable
// This table contains a list of media gateway IP address and the IP address
// associated interface information. If IP address associated interface is
// PVC, only aal5 control PVC or aal5 bearer PVC are valid. When the
// PVC is aal5 control, the IP address is used to communicate to MGC; when
// the PVC is aal5 bearer, the IP address is used to communicate to other
// gateway. The PVC information is kept in cwAtmChanExtConfigTable:
// cwacChanPvcType: aal5/aal2/aal1 cwacChanApplication:
// control/bearer/signaling If IP address associated interface is not PVC,
// refer to the IP addresses associated interface table for the usage of IP
// address.
CMediaGwIpConfigTable CISCOMEDIAGATEWAYMIB_CMediaGwIpConfigTable
// This table provides the domain names which are configured by users. The
// domain names can be used to represent IP addresses for: gateway
// External DNS name server MGC (call agent) .
CMediaGwDomainNameConfigTable CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable
// There is only one DNS name server on a gateway and the domain name of the
// DNS name server is put on cMediaGwDomainNameConfigTable with 'dnsServer
// (2)'. There could be multi IP addresses are associated with the DNS name
// server, this table is used to store these IP addresses. If any domain
// name using external resolution, the last entry of this table is not allowed
// to be deleted.
CMediaGwDnsIpConfigTable CISCOMEDIAGATEWAYMIB_CMediaGwDnsIpConfigTable
// This table is for managing LIF (Logical Interface) in a media gateway.
// LIF is a logical interface which groups the TDM DSx1s associated with a
// set of packet resource partitions (PVCs) in a media gateway. LIF is used
// for: 1. VoIP switching 2. VoATM switching .
CmgwLifTable CISCOMEDIAGATEWAYMIB_CmgwLifTable
// This table defines general call control attributes for the media gateway.
CMediaGwCallControlConfigTable CISCOMEDIAGATEWAYMIB_CMediaGwCallControlConfigTable
// This table stores the gateway resource statistics information.
CMediaGwRscStatsTable CISCOMEDIAGATEWAYMIB_CMediaGwRscStatsTable
}
func (cISCOMEDIAGATEWAYMIB *CISCOMEDIAGATEWAYMIB) GetEntityData() *types.CommonEntityData {
cISCOMEDIAGATEWAYMIB.EntityData.YFilter = cISCOMEDIAGATEWAYMIB.YFilter
cISCOMEDIAGATEWAYMIB.EntityData.YangName = "CISCO-MEDIA-GATEWAY-MIB"
cISCOMEDIAGATEWAYMIB.EntityData.BundleName = "cisco_ios_xe"
cISCOMEDIAGATEWAYMIB.EntityData.ParentYangName = "CISCO-MEDIA-GATEWAY-MIB"
cISCOMEDIAGATEWAYMIB.EntityData.SegmentPath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB"
cISCOMEDIAGATEWAYMIB.EntityData.AbsolutePath = cISCOMEDIAGATEWAYMIB.EntityData.SegmentPath
cISCOMEDIAGATEWAYMIB.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cISCOMEDIAGATEWAYMIB.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cISCOMEDIAGATEWAYMIB.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cISCOMEDIAGATEWAYMIB.EntityData.Children = types.NewOrderedMap()
cISCOMEDIAGATEWAYMIB.EntityData.Children.Append("cMediaGwTable", types.YChild{"CMediaGwTable", &cISCOMEDIAGATEWAYMIB.CMediaGwTable})
cISCOMEDIAGATEWAYMIB.EntityData.Children.Append("cmgwSignalProtocolTable", types.YChild{"CmgwSignalProtocolTable", &cISCOMEDIAGATEWAYMIB.CmgwSignalProtocolTable})
cISCOMEDIAGATEWAYMIB.EntityData.Children.Append("cMediaGwIpConfigTable", types.YChild{"CMediaGwIpConfigTable", &cISCOMEDIAGATEWAYMIB.CMediaGwIpConfigTable})
cISCOMEDIAGATEWAYMIB.EntityData.Children.Append("cMediaGwDomainNameConfigTable", types.YChild{"CMediaGwDomainNameConfigTable", &cISCOMEDIAGATEWAYMIB.CMediaGwDomainNameConfigTable})
cISCOMEDIAGATEWAYMIB.EntityData.Children.Append("cMediaGwDnsIpConfigTable", types.YChild{"CMediaGwDnsIpConfigTable", &cISCOMEDIAGATEWAYMIB.CMediaGwDnsIpConfigTable})
cISCOMEDIAGATEWAYMIB.EntityData.Children.Append("cmgwLifTable", types.YChild{"CmgwLifTable", &cISCOMEDIAGATEWAYMIB.CmgwLifTable})
cISCOMEDIAGATEWAYMIB.EntityData.Children.Append("cMediaGwCallControlConfigTable", types.YChild{"CMediaGwCallControlConfigTable", &cISCOMEDIAGATEWAYMIB.CMediaGwCallControlConfigTable})
cISCOMEDIAGATEWAYMIB.EntityData.Children.Append("cMediaGwRscStatsTable", types.YChild{"CMediaGwRscStatsTable", &cISCOMEDIAGATEWAYMIB.CMediaGwRscStatsTable})
cISCOMEDIAGATEWAYMIB.EntityData.Leafs = types.NewOrderedMap()
cISCOMEDIAGATEWAYMIB.EntityData.YListKeys = []string {}
return &(cISCOMEDIAGATEWAYMIB.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CMediaGwTable
// This table contains the global media gateway parameters
// information.
// It supports the modification of the global media gateway
// parameters.
type CISCOMEDIAGATEWAYMIB_CMediaGwTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// A Media Gateway Entry. At system power-up, an entry is created by the
// agent if the system detects a media gateway module has been added to the
// system, and an entry is deleted if the entry associated media gateway
// module has been removed from the system. The type is slice of
// CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry.
CMediaGwEntry []*CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry
}
func (cMediaGwTable *CISCOMEDIAGATEWAYMIB_CMediaGwTable) GetEntityData() *types.CommonEntityData {
cMediaGwTable.EntityData.YFilter = cMediaGwTable.YFilter
cMediaGwTable.EntityData.YangName = "cMediaGwTable"
cMediaGwTable.EntityData.BundleName = "cisco_ios_xe"
cMediaGwTable.EntityData.ParentYangName = "CISCO-MEDIA-GATEWAY-MIB"
cMediaGwTable.EntityData.SegmentPath = "cMediaGwTable"
cMediaGwTable.EntityData.AbsolutePath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB/" + cMediaGwTable.EntityData.SegmentPath
cMediaGwTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cMediaGwTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cMediaGwTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cMediaGwTable.EntityData.Children = types.NewOrderedMap()
cMediaGwTable.EntityData.Children.Append("cMediaGwEntry", types.YChild{"CMediaGwEntry", nil})
for i := range cMediaGwTable.CMediaGwEntry {
cMediaGwTable.EntityData.Children.Append(types.GetSegmentPath(cMediaGwTable.CMediaGwEntry[i]), types.YChild{"CMediaGwEntry", cMediaGwTable.CMediaGwEntry[i]})
}
cMediaGwTable.EntityData.Leafs = types.NewOrderedMap()
cMediaGwTable.EntityData.YListKeys = []string {}
return &(cMediaGwTable.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry
// A Media Gateway Entry.
// At system power-up, an entry is created by the agent
// if the system detects a media gateway module has been added
// to the system, and an entry is deleted if the entry associated
// media gateway module has been removed from the system.
type CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. An index that uniquely identifies an entry in the
// cMediaGwTable. The type is interface{} with range: 1..2147483647.
CmgwIndex interface{}
// This object is used to represent a domain name under which the Media
// Gateway could also be registered in a DNS name server. The value of this
// object reflects the value of cmgwConfigDomainName from the entry with a
// value of 'gateway(1)' for object cmgwConfigDomainNameEntity of
// cMediaGwDomainNameConfigTable. If there is no entry in
// cMediaGwDomainNameConfigTable with 'gateway(1)' of
// cmgwConfigDomainNameEntity, then the value of this object will be empty
// string. The type is string with length: 0..64.
CmgwDomainName interface{}
// This object represents the entPhysicalIndex of the card in which media
// gateway is running. It will contain value 0 if the entPhysicalIndex value
// is not available or not applicable. The type is interface{} with range:
// 0..2147483647.
CmgwPhysicalIndex interface{}
// This object indicates the current service state of the Media Gateway. This
// object is controlled by 'cmgwAdminState' object. The type is
// CGwServiceState.
CmgwServiceState interface{}
// This object is used to change the service state of the Media Gateway from
// inService to outOfService or from outOfService to inService. The
// resulting service state of the gateway is represented by
// 'cmgwServiceState'. The type is CGwAdminState.
CmgwAdminState interface{}
// This object is used to represent grace period. The grace period (restart
// delay in RSIP message) is expressed in a number of seconds. It means how
// soon the gateway will be taken out of service. The value -1 indicates that
// the grace period time is disabled. The type is interface{} with range:
// -1..65535. Units are seconds.
CmgwGraceTime interface{}
// This object is used to represent the VT (sonet Virtual Tributary) counting.
// standard - standard counting (based on Bellcore TR253) titan - TITAN5500
// counting (based on Tellabs TITAN 5500) Note: 'titan' is valid only if
// sonet line medium type (sonetMediumType of SONET-MIB) is 'sonet' and
// sonet path payload type (cspSonetPathPayload of CISCO-SONET-MIB) is
// 'vt15vc11'. The type is CmgwVtMappingMode.
CmgwVtMappingMode interface{}
// This object is used to enable or disable the source IP and port filtering
// with MGC for security consideration as follows: 'true' - source IP and
// port filter is enabled 'false' - source IP and port filter is disable .
// The type is bool.
CmgwSrcFilterEnabled interface{}
// This object is used to enable or disable the lawful intercept for
// government. as follows: 'true' - enable lawful intercept 'false' -
// disable lawful intercept. The type is bool.
CmgwLawInterceptEnabled interface{}
// This object is to enable or disable V23 tone. Setting the object value to
// 'true', will cause VXSM (Voice Switching Service Module) to detect V23
// tone. The type is bool.
CmgwV23Enabled interface{}
}
func (cMediaGwEntry *CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry) GetEntityData() *types.CommonEntityData {
cMediaGwEntry.EntityData.YFilter = cMediaGwEntry.YFilter
cMediaGwEntry.EntityData.YangName = "cMediaGwEntry"
cMediaGwEntry.EntityData.BundleName = "cisco_ios_xe"
cMediaGwEntry.EntityData.ParentYangName = "cMediaGwTable"
cMediaGwEntry.EntityData.SegmentPath = "cMediaGwEntry" + types.AddKeyToken(cMediaGwEntry.CmgwIndex, "cmgwIndex")
cMediaGwEntry.EntityData.AbsolutePath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB/cMediaGwTable/" + cMediaGwEntry.EntityData.SegmentPath
cMediaGwEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cMediaGwEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cMediaGwEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cMediaGwEntry.EntityData.Children = types.NewOrderedMap()
cMediaGwEntry.EntityData.Leafs = types.NewOrderedMap()
cMediaGwEntry.EntityData.Leafs.Append("cmgwIndex", types.YLeaf{"CmgwIndex", cMediaGwEntry.CmgwIndex})
cMediaGwEntry.EntityData.Leafs.Append("cmgwDomainName", types.YLeaf{"CmgwDomainName", cMediaGwEntry.CmgwDomainName})
cMediaGwEntry.EntityData.Leafs.Append("cmgwPhysicalIndex", types.YLeaf{"CmgwPhysicalIndex", cMediaGwEntry.CmgwPhysicalIndex})
cMediaGwEntry.EntityData.Leafs.Append("cmgwServiceState", types.YLeaf{"CmgwServiceState", cMediaGwEntry.CmgwServiceState})
cMediaGwEntry.EntityData.Leafs.Append("cmgwAdminState", types.YLeaf{"CmgwAdminState", cMediaGwEntry.CmgwAdminState})
cMediaGwEntry.EntityData.Leafs.Append("cmgwGraceTime", types.YLeaf{"CmgwGraceTime", cMediaGwEntry.CmgwGraceTime})
cMediaGwEntry.EntityData.Leafs.Append("cmgwVtMappingMode", types.YLeaf{"CmgwVtMappingMode", cMediaGwEntry.CmgwVtMappingMode})
cMediaGwEntry.EntityData.Leafs.Append("cmgwSrcFilterEnabled", types.YLeaf{"CmgwSrcFilterEnabled", cMediaGwEntry.CmgwSrcFilterEnabled})
cMediaGwEntry.EntityData.Leafs.Append("cmgwLawInterceptEnabled", types.YLeaf{"CmgwLawInterceptEnabled", cMediaGwEntry.CmgwLawInterceptEnabled})
cMediaGwEntry.EntityData.Leafs.Append("cmgwV23Enabled", types.YLeaf{"CmgwV23Enabled", cMediaGwEntry.CmgwV23Enabled})
cMediaGwEntry.EntityData.YListKeys = []string {"CmgwIndex"}
return &(cMediaGwEntry.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry_CmgwVtMappingMode represents CISCO-SONET-MIB) is 'vt15vc11'.
type CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry_CmgwVtMappingMode string
const (
CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry_CmgwVtMappingMode_standard CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry_CmgwVtMappingMode = "standard"
CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry_CmgwVtMappingMode_titan CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry_CmgwVtMappingMode = "titan"
)
// CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable
// This table contains the available signaling protocols that
// are supported by the media gateway for communication with
// MGCs.
type CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Each entry represents an signaling protocol supported by the media gateway.
// The type is slice of
// CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry.
CmgwSignalProtocolEntry []*CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry
}
func (cmgwSignalProtocolTable *CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable) GetEntityData() *types.CommonEntityData {
cmgwSignalProtocolTable.EntityData.YFilter = cmgwSignalProtocolTable.YFilter
cmgwSignalProtocolTable.EntityData.YangName = "cmgwSignalProtocolTable"
cmgwSignalProtocolTable.EntityData.BundleName = "cisco_ios_xe"
cmgwSignalProtocolTable.EntityData.ParentYangName = "CISCO-MEDIA-GATEWAY-MIB"
cmgwSignalProtocolTable.EntityData.SegmentPath = "cmgwSignalProtocolTable"
cmgwSignalProtocolTable.EntityData.AbsolutePath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB/" + cmgwSignalProtocolTable.EntityData.SegmentPath
cmgwSignalProtocolTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cmgwSignalProtocolTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cmgwSignalProtocolTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cmgwSignalProtocolTable.EntityData.Children = types.NewOrderedMap()
cmgwSignalProtocolTable.EntityData.Children.Append("cmgwSignalProtocolEntry", types.YChild{"CmgwSignalProtocolEntry", nil})
for i := range cmgwSignalProtocolTable.CmgwSignalProtocolEntry {
cmgwSignalProtocolTable.EntityData.Children.Append(types.GetSegmentPath(cmgwSignalProtocolTable.CmgwSignalProtocolEntry[i]), types.YChild{"CmgwSignalProtocolEntry", cmgwSignalProtocolTable.CmgwSignalProtocolEntry[i]})
}
cmgwSignalProtocolTable.EntityData.Leafs = types.NewOrderedMap()
cmgwSignalProtocolTable.EntityData.YListKeys = []string {}
return &(cmgwSignalProtocolTable.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry
// Each entry represents an signaling protocol supported
// by the media gateway.
type CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 1..2147483647.
// Refers to
// cisco_media_gateway_mib.CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry_CmgwIndex
CmgwIndex interface{}
// This attribute is a key. An index that uniquely identifies an entry in
// cmgwSignalProtocolTable. The type is interface{} with range: 1..65535.
CmgwSignalProtocolIndex interface{}
// This object is used to represent the protocol type. other - None of the
// following types. mgcp - Media Gateway Control Protocol h248 - Media
// Gateway Control (ITU H.248) tgcp - Trunking Gateway Control Protocol. The
// type is CmgwSignalProtocol.
CmgwSignalProtocol interface{}
// This object is used to represent the protocol version. For example
// cmgwSignalProtocol is 'mgcp(2)' and this object is string '1.0'.
// cmgwSignalProtocol is 'h248(3)' and this object is set to '2.0'. The type
// is string with length: 1..16.
CmgwSignalProtocolVersion interface{}
// This object is used to represent the UDP port associated with the
// protocol. If the value of cmgwSignalProtocol is 'mgcp(2)' and the value of
// cmgwSignalProtcolVersion is '1.0', the default value of this object is
// '2727'. If the value of cmgwSignalProtocol is 'h248(3)' and the value of
// cmgwSignalProtcolVersion is '1.0', the default value of this object is
// '2944'. The type is interface{} with range: 0..65535.
CmgwSignalProtocolPort interface{}
// This object specifies the protocol port of the Media Gateway Controller
// (MGC). If the value of cmgwSignalProtocol is 'mgcp(2)' or 'tgcp(4)' and the
// value of cmgwSignalProtcolVersion is '1.0', the default value of this
// object is '2427'. If the value of cmgwSignalProtocol is 'h248(3)' and the
// value of cmgwSignalProtcolVersion is '1.0', the default value of this
// object is '2944'. The type is interface{} with range: 0..65535.
CmgwSignalMgcProtocolPort interface{}
// This object specifies the preference of the signal protocol supported in
// the media gateway. If this object is set to 0, the corresponding signal
// protocol will not be used by the gateway. The value of this object is
// unique within the corresponding gateway. The entry with lower value has
// higher preference. The type is interface{} with range: 0..255.
CmgwSignalProtocolPreference interface{}
// This object specifies the protocol version used by the gateway in the
// messages to MGC in order to exchange the service capabilities. For example
// cmgwSignalProtocol is 'h248(3)' and this object can be string '1' or '1.0',
// '2' or '2.0'. 'MAX' is a special string indicating the gateway will use
// the highest protocol version supported in the gateway, but it can be
// changed to lower version after it negotiates with MGC. The final
// negotiated protocol version will be indicated in cmgwSignalProtocolVersion.
// The version strings other than 'MAX' can be specified for the gateway to
// communicate with the MGC which doesn't support service capabilities
// negotiation. For example if a MGC supports only version 1.0 MGCP, this
// object should be set to '1' to instruct the gateway using MGCP version 1.0
// format messages to communicate with MGC. . The type is string with length:
// 1..16.
CmgwSignalProtocolConfigVer interface{}
}
func (cmgwSignalProtocolEntry *CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry) GetEntityData() *types.CommonEntityData {
cmgwSignalProtocolEntry.EntityData.YFilter = cmgwSignalProtocolEntry.YFilter
cmgwSignalProtocolEntry.EntityData.YangName = "cmgwSignalProtocolEntry"
cmgwSignalProtocolEntry.EntityData.BundleName = "cisco_ios_xe"
cmgwSignalProtocolEntry.EntityData.ParentYangName = "cmgwSignalProtocolTable"
cmgwSignalProtocolEntry.EntityData.SegmentPath = "cmgwSignalProtocolEntry" + types.AddKeyToken(cmgwSignalProtocolEntry.CmgwIndex, "cmgwIndex") + types.AddKeyToken(cmgwSignalProtocolEntry.CmgwSignalProtocolIndex, "cmgwSignalProtocolIndex")
cmgwSignalProtocolEntry.EntityData.AbsolutePath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB/cmgwSignalProtocolTable/" + cmgwSignalProtocolEntry.EntityData.SegmentPath
cmgwSignalProtocolEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cmgwSignalProtocolEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cmgwSignalProtocolEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cmgwSignalProtocolEntry.EntityData.Children = types.NewOrderedMap()
cmgwSignalProtocolEntry.EntityData.Leafs = types.NewOrderedMap()
cmgwSignalProtocolEntry.EntityData.Leafs.Append("cmgwIndex", types.YLeaf{"CmgwIndex", cmgwSignalProtocolEntry.CmgwIndex})
cmgwSignalProtocolEntry.EntityData.Leafs.Append("cmgwSignalProtocolIndex", types.YLeaf{"CmgwSignalProtocolIndex", cmgwSignalProtocolEntry.CmgwSignalProtocolIndex})
cmgwSignalProtocolEntry.EntityData.Leafs.Append("cmgwSignalProtocol", types.YLeaf{"CmgwSignalProtocol", cmgwSignalProtocolEntry.CmgwSignalProtocol})
cmgwSignalProtocolEntry.EntityData.Leafs.Append("cmgwSignalProtocolVersion", types.YLeaf{"CmgwSignalProtocolVersion", cmgwSignalProtocolEntry.CmgwSignalProtocolVersion})
cmgwSignalProtocolEntry.EntityData.Leafs.Append("cmgwSignalProtocolPort", types.YLeaf{"CmgwSignalProtocolPort", cmgwSignalProtocolEntry.CmgwSignalProtocolPort})
cmgwSignalProtocolEntry.EntityData.Leafs.Append("cmgwSignalMgcProtocolPort", types.YLeaf{"CmgwSignalMgcProtocolPort", cmgwSignalProtocolEntry.CmgwSignalMgcProtocolPort})
cmgwSignalProtocolEntry.EntityData.Leafs.Append("cmgwSignalProtocolPreference", types.YLeaf{"CmgwSignalProtocolPreference", cmgwSignalProtocolEntry.CmgwSignalProtocolPreference})
cmgwSignalProtocolEntry.EntityData.Leafs.Append("cmgwSignalProtocolConfigVer", types.YLeaf{"CmgwSignalProtocolConfigVer", cmgwSignalProtocolEntry.CmgwSignalProtocolConfigVer})
cmgwSignalProtocolEntry.EntityData.YListKeys = []string {"CmgwIndex", "CmgwSignalProtocolIndex"}
return &(cmgwSignalProtocolEntry.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry_CmgwSignalProtocol represents tgcp - Trunking Gateway Control Protocol
type CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry_CmgwSignalProtocol string
const (
CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry_CmgwSignalProtocol_other CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry_CmgwSignalProtocol = "other"
CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry_CmgwSignalProtocol_mgcp CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry_CmgwSignalProtocol = "mgcp"
CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry_CmgwSignalProtocol_h248 CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry_CmgwSignalProtocol = "h248"
CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry_CmgwSignalProtocol_tgcp CISCOMEDIAGATEWAYMIB_CmgwSignalProtocolTable_CmgwSignalProtocolEntry_CmgwSignalProtocol = "tgcp"
)
// CISCOMEDIAGATEWAYMIB_CMediaGwIpConfigTable
// This table contains a list of media gateway IP address and
// the IP address associated interface information.
//
// If IP address associated interface is PVC, only
// aal5 control PVC or aal5 bearer PVC are valid.
// When the PVC is aal5 control, the IP address is used to
// communicate to MGC; when the PVC is aal5 bearer, the IP
// address is used to communicate to other gateway.
// The PVC information is kept in cwAtmChanExtConfigTable:
// cwacChanPvcType: aal5/aal2/aal1
// cwacChanApplication: control/bearer/signaling
//
// If IP address associated interface is not PVC, refer to the
// IP addresses associated interface table for the usage
// of IP address.
type CISCOMEDIAGATEWAYMIB_CMediaGwIpConfigTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// A Media Gateway IP configuration entry. Each entry represents a media
// gateway IP address for MGCs to communicate with the media gateway. The type
// is slice of
// CISCOMEDIAGATEWAYMIB_CMediaGwIpConfigTable_CMediaGwIpConfigEntry.
CMediaGwIpConfigEntry []*CISCOMEDIAGATEWAYMIB_CMediaGwIpConfigTable_CMediaGwIpConfigEntry
}
func (cMediaGwIpConfigTable *CISCOMEDIAGATEWAYMIB_CMediaGwIpConfigTable) GetEntityData() *types.CommonEntityData {
cMediaGwIpConfigTable.EntityData.YFilter = cMediaGwIpConfigTable.YFilter
cMediaGwIpConfigTable.EntityData.YangName = "cMediaGwIpConfigTable"
cMediaGwIpConfigTable.EntityData.BundleName = "cisco_ios_xe"
cMediaGwIpConfigTable.EntityData.ParentYangName = "CISCO-MEDIA-GATEWAY-MIB"
cMediaGwIpConfigTable.EntityData.SegmentPath = "cMediaGwIpConfigTable"
cMediaGwIpConfigTable.EntityData.AbsolutePath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB/" + cMediaGwIpConfigTable.EntityData.SegmentPath
cMediaGwIpConfigTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cMediaGwIpConfigTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cMediaGwIpConfigTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cMediaGwIpConfigTable.EntityData.Children = types.NewOrderedMap()
cMediaGwIpConfigTable.EntityData.Children.Append("cMediaGwIpConfigEntry", types.YChild{"CMediaGwIpConfigEntry", nil})
for i := range cMediaGwIpConfigTable.CMediaGwIpConfigEntry {
cMediaGwIpConfigTable.EntityData.Children.Append(types.GetSegmentPath(cMediaGwIpConfigTable.CMediaGwIpConfigEntry[i]), types.YChild{"CMediaGwIpConfigEntry", cMediaGwIpConfigTable.CMediaGwIpConfigEntry[i]})
}
cMediaGwIpConfigTable.EntityData.Leafs = types.NewOrderedMap()
cMediaGwIpConfigTable.EntityData.YListKeys = []string {}
return &(cMediaGwIpConfigTable.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CMediaGwIpConfigTable_CMediaGwIpConfigEntry
// A Media Gateway IP configuration entry.
// Each entry represents a media gateway IP address for MGCs
// to communicate with the media gateway.
type CISCOMEDIAGATEWAYMIB_CMediaGwIpConfigTable_CMediaGwIpConfigEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 1..2147483647.
// Refers to
// cisco_media_gateway_mib.CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry_CmgwIndex
CmgwIndex interface{}
// This attribute is a key. A unique index to identify each media gateway IP
// address. The type is interface{} with range: 1..64.
CmgwIpConfigIndex interface{}
// This object is ifIndex of the interface which is associated to the media
// gateway IP address. For ATM interface, the IP address should be associated
// to an existing PVC: cmgwIpConfigIfIndex represents port of the PVC
// cmgwIpConfigVpi represents VPI of the PVC cmgwIpConfigVci represents VCI
// of the PVC And one PVC only can be associated with one IP address. If this
// object is set to zero which means the IP address is not associated to any
// interface. The type is interface{} with range: 0..2147483647.
CmgwIpConfigIfIndex interface{}
// This object represents VPI of the PVC which is associated to the IP
// address. If the IP address is not associated to PVC, the value of this
// object is set to -1. The type is interface{} with range: -1..4095.
CmgwIpConfigVpi interface{}
// This object represents VCI of the PVC which is associated to the IP
// address. If the IP address is not associated to PVC, the value of this
// object is set to -1. The type is interface{} with range: -1..65535.
CmgwIpConfigVci interface{}
// This object is the IP address type. The type is InetAddressType.
CmgwIpConfigAddrType interface{}
// The configured IP address of media gateway. This object can not be
// modified. The type is string with length: 0..255.
CmgwIpConfigAddress interface{}
// This object is used to specify the number of leading one bits which from
// the mask to be logical-ANDed with the media gateway address before being
// compared to the value in the cmgwIpCofigAddress. Any assignment (implicit
// or otherwise) of an instance of this object to a value x must be rejected
// if the bitwise logical-AND of the mask formed from x with the value of the
// corresponding instance of the cmgwIpCofigAddress object is not equal to
// cmgwIpCofigAddress. The type is interface{} with range: 0..2040.
CmgwIpConfigSubnetMask interface{}
// This object specifies cmgwIpConfigAddress of the entry will become the
// default gateway address. This object can be set to 'true' for only one
// entry in the table. The type is bool.
CmgwIpConfigDefaultGwIp interface{}
// This object specifies whether the address defined in cmgwIpConfigAddress is
// the address mapping at the remote end of this PVC. If this object is set
// to 'true', the address defined in cmgwIpConfigAddress is for the remote end
// of the PVC. If this object is set to 'false', the address defined in
// cmgwIpConfigAddress is for the local end of the PVC. The type is bool.
CmgwIpConfigForRemoteMapping interface{}
// This object is used to add and delete an entry. When an entry of the table
// is created, the following objects are mandatory: cmgwIpConfigIfIndex
// cmgwIpConfigVpi cmgwIpConfigVci cmgwIpConfigAddress
// cmgwIpConfigSubnetMask These objects can not be modified after the value
// of this object is set to 'active'. Modification can only be done by
// deleting and re-adding the entry again. After the system verify the
// validity of the data, it will set the cmgwIpConfigRowStatus to 'active'.
// The type is RowStatus.
CmgwIpConfigRowStatus interface{}
}
func (cMediaGwIpConfigEntry *CISCOMEDIAGATEWAYMIB_CMediaGwIpConfigTable_CMediaGwIpConfigEntry) GetEntityData() *types.CommonEntityData {
cMediaGwIpConfigEntry.EntityData.YFilter = cMediaGwIpConfigEntry.YFilter
cMediaGwIpConfigEntry.EntityData.YangName = "cMediaGwIpConfigEntry"
cMediaGwIpConfigEntry.EntityData.BundleName = "cisco_ios_xe"
cMediaGwIpConfigEntry.EntityData.ParentYangName = "cMediaGwIpConfigTable"
cMediaGwIpConfigEntry.EntityData.SegmentPath = "cMediaGwIpConfigEntry" + types.AddKeyToken(cMediaGwIpConfigEntry.CmgwIndex, "cmgwIndex") + types.AddKeyToken(cMediaGwIpConfigEntry.CmgwIpConfigIndex, "cmgwIpConfigIndex")
cMediaGwIpConfigEntry.EntityData.AbsolutePath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB/cMediaGwIpConfigTable/" + cMediaGwIpConfigEntry.EntityData.SegmentPath
cMediaGwIpConfigEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cMediaGwIpConfigEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cMediaGwIpConfigEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cMediaGwIpConfigEntry.EntityData.Children = types.NewOrderedMap()
cMediaGwIpConfigEntry.EntityData.Leafs = types.NewOrderedMap()
cMediaGwIpConfigEntry.EntityData.Leafs.Append("cmgwIndex", types.YLeaf{"CmgwIndex", cMediaGwIpConfigEntry.CmgwIndex})
cMediaGwIpConfigEntry.EntityData.Leafs.Append("cmgwIpConfigIndex", types.YLeaf{"CmgwIpConfigIndex", cMediaGwIpConfigEntry.CmgwIpConfigIndex})
cMediaGwIpConfigEntry.EntityData.Leafs.Append("cmgwIpConfigIfIndex", types.YLeaf{"CmgwIpConfigIfIndex", cMediaGwIpConfigEntry.CmgwIpConfigIfIndex})
cMediaGwIpConfigEntry.EntityData.Leafs.Append("cmgwIpConfigVpi", types.YLeaf{"CmgwIpConfigVpi", cMediaGwIpConfigEntry.CmgwIpConfigVpi})
cMediaGwIpConfigEntry.EntityData.Leafs.Append("cmgwIpConfigVci", types.YLeaf{"CmgwIpConfigVci", cMediaGwIpConfigEntry.CmgwIpConfigVci})
cMediaGwIpConfigEntry.EntityData.Leafs.Append("cmgwIpConfigAddrType", types.YLeaf{"CmgwIpConfigAddrType", cMediaGwIpConfigEntry.CmgwIpConfigAddrType})
cMediaGwIpConfigEntry.EntityData.Leafs.Append("cmgwIpConfigAddress", types.YLeaf{"CmgwIpConfigAddress", cMediaGwIpConfigEntry.CmgwIpConfigAddress})
cMediaGwIpConfigEntry.EntityData.Leafs.Append("cmgwIpConfigSubnetMask", types.YLeaf{"CmgwIpConfigSubnetMask", cMediaGwIpConfigEntry.CmgwIpConfigSubnetMask})
cMediaGwIpConfigEntry.EntityData.Leafs.Append("cmgwIpConfigDefaultGwIp", types.YLeaf{"CmgwIpConfigDefaultGwIp", cMediaGwIpConfigEntry.CmgwIpConfigDefaultGwIp})
cMediaGwIpConfigEntry.EntityData.Leafs.Append("cmgwIpConfigForRemoteMapping", types.YLeaf{"CmgwIpConfigForRemoteMapping", cMediaGwIpConfigEntry.CmgwIpConfigForRemoteMapping})
cMediaGwIpConfigEntry.EntityData.Leafs.Append("cmgwIpConfigRowStatus", types.YLeaf{"CmgwIpConfigRowStatus", cMediaGwIpConfigEntry.CmgwIpConfigRowStatus})
cMediaGwIpConfigEntry.EntityData.YListKeys = []string {"CmgwIndex", "CmgwIpConfigIndex"}
return &(cMediaGwIpConfigEntry.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable
// This table provides the domain names which are configured by
// users.
// The domain names can be used to represent IP addresses
// for:
// gateway
// External DNS name server
// MGC (call agent)
type CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Each entry represents a domain name used in the system. Creation and
// deletion are supported. Modification is prohibited. The type is slice of
// CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable_CMediaGwDomainNameConfigEntry.
CMediaGwDomainNameConfigEntry []*CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable_CMediaGwDomainNameConfigEntry
}
func (cMediaGwDomainNameConfigTable *CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable) GetEntityData() *types.CommonEntityData {
cMediaGwDomainNameConfigTable.EntityData.YFilter = cMediaGwDomainNameConfigTable.YFilter
cMediaGwDomainNameConfigTable.EntityData.YangName = "cMediaGwDomainNameConfigTable"
cMediaGwDomainNameConfigTable.EntityData.BundleName = "cisco_ios_xe"
cMediaGwDomainNameConfigTable.EntityData.ParentYangName = "CISCO-MEDIA-GATEWAY-MIB"
cMediaGwDomainNameConfigTable.EntityData.SegmentPath = "cMediaGwDomainNameConfigTable"
cMediaGwDomainNameConfigTable.EntityData.AbsolutePath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB/" + cMediaGwDomainNameConfigTable.EntityData.SegmentPath
cMediaGwDomainNameConfigTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cMediaGwDomainNameConfigTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cMediaGwDomainNameConfigTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cMediaGwDomainNameConfigTable.EntityData.Children = types.NewOrderedMap()
cMediaGwDomainNameConfigTable.EntityData.Children.Append("cMediaGwDomainNameConfigEntry", types.YChild{"CMediaGwDomainNameConfigEntry", nil})
for i := range cMediaGwDomainNameConfigTable.CMediaGwDomainNameConfigEntry {
cMediaGwDomainNameConfigTable.EntityData.Children.Append(types.GetSegmentPath(cMediaGwDomainNameConfigTable.CMediaGwDomainNameConfigEntry[i]), types.YChild{"CMediaGwDomainNameConfigEntry", cMediaGwDomainNameConfigTable.CMediaGwDomainNameConfigEntry[i]})
}
cMediaGwDomainNameConfigTable.EntityData.Leafs = types.NewOrderedMap()
cMediaGwDomainNameConfigTable.EntityData.YListKeys = []string {}
return &(cMediaGwDomainNameConfigTable.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable_CMediaGwDomainNameConfigEntry
// Each entry represents a domain name used in the system.
//
// Creation and deletion are supported. Modification
// is prohibited.
type CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable_CMediaGwDomainNameConfigEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 1..2147483647.
// Refers to
// cisco_media_gateway_mib.CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry_CmgwIndex
CmgwIndex interface{}
// This attribute is a key. An index that is uniquely identifies a domain name
// configured in the system. The type is interface{} with range: 1..128.
CmgwConfigDomainNameIndex interface{}
// This object indicates which entity to use this domain name. gateway(1) -
// The domain name of media gateway. With the same cmgwIndex,
// there is one and only one entry allowed with the value
// 'gateway(1)' of this object. dnsServer(2) - The domain name of DNS name
// server that is used by Media gateway to find Internet
// Network Address from a DNS name. mgc(3) - The domain
// name of a MGC (Media Gateway Controller) associated with the
// media gateway. . The type is CmgwConfigDomainNameEntity.
CmgwConfigDomainNameEntity interface{}
// This object specifies the domain name. The domain name should be unique if
// there are more than one entries having the same value in the object
// cmgwConfigDomainNameEntity. For example, the gateway domain name should be
// unique if the cmgwConfigDomainNameEntity has the value of 'gateway(1)'.
// The type is string with length: 1..64.
CmgwConfigDomainName interface{}
// This object is used to add and delete an entry. When an entry is created,
// the following objects are mandatory: cmgwConfigDomainName
// cmgwConfigDomainNameEntity When deleting domain name of DNS name server
// (cmgwConfigDomainNameEntity is dnsServer (2)), the
// cMediaGwDnsIpConfigTable should be empty. Adding/deleting entry with
// cmgwConfigDomainNameEntity of 'mgc' will cause adding/deleting entry in
// cMgcConfigTable (CISCO-MGC-MIB) automatically. The cmgwConfigDomainName
// and cmgwConfigDomainNameEntity can not be modified if the value of this
// object is 'active'. . The type is RowStatus.
CmgwConfigDomainNameRowStatus interface{}
}
func (cMediaGwDomainNameConfigEntry *CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable_CMediaGwDomainNameConfigEntry) GetEntityData() *types.CommonEntityData {
cMediaGwDomainNameConfigEntry.EntityData.YFilter = cMediaGwDomainNameConfigEntry.YFilter
cMediaGwDomainNameConfigEntry.EntityData.YangName = "cMediaGwDomainNameConfigEntry"
cMediaGwDomainNameConfigEntry.EntityData.BundleName = "cisco_ios_xe"
cMediaGwDomainNameConfigEntry.EntityData.ParentYangName = "cMediaGwDomainNameConfigTable"
cMediaGwDomainNameConfigEntry.EntityData.SegmentPath = "cMediaGwDomainNameConfigEntry" + types.AddKeyToken(cMediaGwDomainNameConfigEntry.CmgwIndex, "cmgwIndex") + types.AddKeyToken(cMediaGwDomainNameConfigEntry.CmgwConfigDomainNameIndex, "cmgwConfigDomainNameIndex")
cMediaGwDomainNameConfigEntry.EntityData.AbsolutePath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB/cMediaGwDomainNameConfigTable/" + cMediaGwDomainNameConfigEntry.EntityData.SegmentPath
cMediaGwDomainNameConfigEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cMediaGwDomainNameConfigEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cMediaGwDomainNameConfigEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cMediaGwDomainNameConfigEntry.EntityData.Children = types.NewOrderedMap()
cMediaGwDomainNameConfigEntry.EntityData.Leafs = types.NewOrderedMap()
cMediaGwDomainNameConfigEntry.EntityData.Leafs.Append("cmgwIndex", types.YLeaf{"CmgwIndex", cMediaGwDomainNameConfigEntry.CmgwIndex})
cMediaGwDomainNameConfigEntry.EntityData.Leafs.Append("cmgwConfigDomainNameIndex", types.YLeaf{"CmgwConfigDomainNameIndex", cMediaGwDomainNameConfigEntry.CmgwConfigDomainNameIndex})
cMediaGwDomainNameConfigEntry.EntityData.Leafs.Append("cmgwConfigDomainNameEntity", types.YLeaf{"CmgwConfigDomainNameEntity", cMediaGwDomainNameConfigEntry.CmgwConfigDomainNameEntity})
cMediaGwDomainNameConfigEntry.EntityData.Leafs.Append("cmgwConfigDomainName", types.YLeaf{"CmgwConfigDomainName", cMediaGwDomainNameConfigEntry.CmgwConfigDomainName})
cMediaGwDomainNameConfigEntry.EntityData.Leafs.Append("cmgwConfigDomainNameRowStatus", types.YLeaf{"CmgwConfigDomainNameRowStatus", cMediaGwDomainNameConfigEntry.CmgwConfigDomainNameRowStatus})
cMediaGwDomainNameConfigEntry.EntityData.YListKeys = []string {"CmgwIndex", "CmgwConfigDomainNameIndex"}
return &(cMediaGwDomainNameConfigEntry.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable_CMediaGwDomainNameConfigEntry_CmgwConfigDomainNameEntity represents gateway.
type CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable_CMediaGwDomainNameConfigEntry_CmgwConfigDomainNameEntity string
const (
CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable_CMediaGwDomainNameConfigEntry_CmgwConfigDomainNameEntity_gateway CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable_CMediaGwDomainNameConfigEntry_CmgwConfigDomainNameEntity = "gateway"
CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable_CMediaGwDomainNameConfigEntry_CmgwConfigDomainNameEntity_dnsServer CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable_CMediaGwDomainNameConfigEntry_CmgwConfigDomainNameEntity = "dnsServer"
CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable_CMediaGwDomainNameConfigEntry_CmgwConfigDomainNameEntity_mgc CISCOMEDIAGATEWAYMIB_CMediaGwDomainNameConfigTable_CMediaGwDomainNameConfigEntry_CmgwConfigDomainNameEntity = "mgc"
)
// CISCOMEDIAGATEWAYMIB_CMediaGwDnsIpConfigTable
// There is only one DNS name server on a gateway
// and the domain name of the DNS name server is put on
// cMediaGwDomainNameConfigTable with 'dnsServer (2)'.
//
// There could be multi IP addresses are associated with the
// DNS name server, this table is used to store these IP
// addresses.
//
// If any domain name using external resolution, the last entry
// of this table is not allowed to be deleted.
type CISCOMEDIAGATEWAYMIB_CMediaGwDnsIpConfigTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Each entry represents an IP address of the DNS name server. The type is
// slice of
// CISCOMEDIAGATEWAYMIB_CMediaGwDnsIpConfigTable_CMediaGwDnsIpConfigEntry.
CMediaGwDnsIpConfigEntry []*CISCOMEDIAGATEWAYMIB_CMediaGwDnsIpConfigTable_CMediaGwDnsIpConfigEntry
}
func (cMediaGwDnsIpConfigTable *CISCOMEDIAGATEWAYMIB_CMediaGwDnsIpConfigTable) GetEntityData() *types.CommonEntityData {
cMediaGwDnsIpConfigTable.EntityData.YFilter = cMediaGwDnsIpConfigTable.YFilter
cMediaGwDnsIpConfigTable.EntityData.YangName = "cMediaGwDnsIpConfigTable"
cMediaGwDnsIpConfigTable.EntityData.BundleName = "cisco_ios_xe"
cMediaGwDnsIpConfigTable.EntityData.ParentYangName = "CISCO-MEDIA-GATEWAY-MIB"
cMediaGwDnsIpConfigTable.EntityData.SegmentPath = "cMediaGwDnsIpConfigTable"
cMediaGwDnsIpConfigTable.EntityData.AbsolutePath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB/" + cMediaGwDnsIpConfigTable.EntityData.SegmentPath
cMediaGwDnsIpConfigTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cMediaGwDnsIpConfigTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cMediaGwDnsIpConfigTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cMediaGwDnsIpConfigTable.EntityData.Children = types.NewOrderedMap()
cMediaGwDnsIpConfigTable.EntityData.Children.Append("cMediaGwDnsIpConfigEntry", types.YChild{"CMediaGwDnsIpConfigEntry", nil})
for i := range cMediaGwDnsIpConfigTable.CMediaGwDnsIpConfigEntry {
cMediaGwDnsIpConfigTable.EntityData.Children.Append(types.GetSegmentPath(cMediaGwDnsIpConfigTable.CMediaGwDnsIpConfigEntry[i]), types.YChild{"CMediaGwDnsIpConfigEntry", cMediaGwDnsIpConfigTable.CMediaGwDnsIpConfigEntry[i]})
}
cMediaGwDnsIpConfigTable.EntityData.Leafs = types.NewOrderedMap()
cMediaGwDnsIpConfigTable.EntityData.YListKeys = []string {}
return &(cMediaGwDnsIpConfigTable.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CMediaGwDnsIpConfigTable_CMediaGwDnsIpConfigEntry
// Each entry represents an IP address of the DNS name
// server.
type CISCOMEDIAGATEWAYMIB_CMediaGwDnsIpConfigTable_CMediaGwDnsIpConfigEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 1..2147483647.
// Refers to
// cisco_media_gateway_mib.CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry_CmgwIndex
CmgwIndex interface{}
// This attribute is a key. An index that uniquely identifies an IP address of
// DNS name server. The type is interface{} with range: 1..6.
CmgwDnsIpIndex interface{}
// The domain name of DNS name server. The value of this object reflects the
// value of cmgwConfigDomainName from the entry with a value of
// 'dnsServer(2)' for object cmgwConfigDomainNameEntity of
// cMediaGwDomainNameConfigTable. If there is no entry in
// cMediaGwDomainNameConfigTable with 'dnsServer(2)' of
// cmgwConfigDomainNameEntity, then the value of this object will be empty
// string. The type is string with length: 1..64.
CmgwDnsDomainName interface{}
// DNS name server IP address type. The type is InetAddressType.
CmgwDnsIpType interface{}
// The IP address of DNS name server. The IP address of DNS name server must
// be unique in this table. The type is string with length: 0..255.
CmgwDnsIp interface{}
// This object is used to add and delete an entry. When an entry of the table
// is created, the value of this object should be set to 'createAndGo' and the
// following objects are mandatory: cmgwDnsIp When the user wants to
// delete the entry, the value of this object should be set to 'destroy'. The
// entry can not be modified if the value of this object is 'active'. The
// type is RowStatus.
CmgwDnsIpRowStatus interface{}
}
func (cMediaGwDnsIpConfigEntry *CISCOMEDIAGATEWAYMIB_CMediaGwDnsIpConfigTable_CMediaGwDnsIpConfigEntry) GetEntityData() *types.CommonEntityData {
cMediaGwDnsIpConfigEntry.EntityData.YFilter = cMediaGwDnsIpConfigEntry.YFilter
cMediaGwDnsIpConfigEntry.EntityData.YangName = "cMediaGwDnsIpConfigEntry"
cMediaGwDnsIpConfigEntry.EntityData.BundleName = "cisco_ios_xe"
cMediaGwDnsIpConfigEntry.EntityData.ParentYangName = "cMediaGwDnsIpConfigTable"
cMediaGwDnsIpConfigEntry.EntityData.SegmentPath = "cMediaGwDnsIpConfigEntry" + types.AddKeyToken(cMediaGwDnsIpConfigEntry.CmgwIndex, "cmgwIndex") + types.AddKeyToken(cMediaGwDnsIpConfigEntry.CmgwDnsIpIndex, "cmgwDnsIpIndex")
cMediaGwDnsIpConfigEntry.EntityData.AbsolutePath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB/cMediaGwDnsIpConfigTable/" + cMediaGwDnsIpConfigEntry.EntityData.SegmentPath
cMediaGwDnsIpConfigEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cMediaGwDnsIpConfigEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cMediaGwDnsIpConfigEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cMediaGwDnsIpConfigEntry.EntityData.Children = types.NewOrderedMap()
cMediaGwDnsIpConfigEntry.EntityData.Leafs = types.NewOrderedMap()
cMediaGwDnsIpConfigEntry.EntityData.Leafs.Append("cmgwIndex", types.YLeaf{"CmgwIndex", cMediaGwDnsIpConfigEntry.CmgwIndex})
cMediaGwDnsIpConfigEntry.EntityData.Leafs.Append("cmgwDnsIpIndex", types.YLeaf{"CmgwDnsIpIndex", cMediaGwDnsIpConfigEntry.CmgwDnsIpIndex})
cMediaGwDnsIpConfigEntry.EntityData.Leafs.Append("cmgwDnsDomainName", types.YLeaf{"CmgwDnsDomainName", cMediaGwDnsIpConfigEntry.CmgwDnsDomainName})
cMediaGwDnsIpConfigEntry.EntityData.Leafs.Append("cmgwDnsIpType", types.YLeaf{"CmgwDnsIpType", cMediaGwDnsIpConfigEntry.CmgwDnsIpType})
cMediaGwDnsIpConfigEntry.EntityData.Leafs.Append("cmgwDnsIp", types.YLeaf{"CmgwDnsIp", cMediaGwDnsIpConfigEntry.CmgwDnsIp})
cMediaGwDnsIpConfigEntry.EntityData.Leafs.Append("cmgwDnsIpRowStatus", types.YLeaf{"CmgwDnsIpRowStatus", cMediaGwDnsIpConfigEntry.CmgwDnsIpRowStatus})
cMediaGwDnsIpConfigEntry.EntityData.YListKeys = []string {"CmgwIndex", "CmgwDnsIpIndex"}
return &(cMediaGwDnsIpConfigEntry.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CmgwLifTable
// This table is for managing LIF (Logical Interface)
// in a media gateway.
//
// LIF is a logical interface which groups the TDM
// DSx1s associated with a set of packet resource partitions
// (PVCs) in a media gateway.
//
// LIF is used for:
// 1. VoIP switching
// 2. VoATM switching
type CISCOMEDIAGATEWAYMIB_CmgwLifTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// An entry of this table is created by the media gateway when it supports the
// VoIP/VoATM application. The type is slice of
// CISCOMEDIAGATEWAYMIB_CmgwLifTable_CmgwLifEntry.
CmgwLifEntry []*CISCOMEDIAGATEWAYMIB_CmgwLifTable_CmgwLifEntry
}
func (cmgwLifTable *CISCOMEDIAGATEWAYMIB_CmgwLifTable) GetEntityData() *types.CommonEntityData {
cmgwLifTable.EntityData.YFilter = cmgwLifTable.YFilter
cmgwLifTable.EntityData.YangName = "cmgwLifTable"
cmgwLifTable.EntityData.BundleName = "cisco_ios_xe"
cmgwLifTable.EntityData.ParentYangName = "CISCO-MEDIA-GATEWAY-MIB"
cmgwLifTable.EntityData.SegmentPath = "cmgwLifTable"
cmgwLifTable.EntityData.AbsolutePath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB/" + cmgwLifTable.EntityData.SegmentPath
cmgwLifTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cmgwLifTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cmgwLifTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cmgwLifTable.EntityData.Children = types.NewOrderedMap()
cmgwLifTable.EntityData.Children.Append("cmgwLifEntry", types.YChild{"CmgwLifEntry", nil})
for i := range cmgwLifTable.CmgwLifEntry {
cmgwLifTable.EntityData.Children.Append(types.GetSegmentPath(cmgwLifTable.CmgwLifEntry[i]), types.YChild{"CmgwLifEntry", cmgwLifTable.CmgwLifEntry[i]})
}
cmgwLifTable.EntityData.Leafs = types.NewOrderedMap()
cmgwLifTable.EntityData.YListKeys = []string {}
return &(cmgwLifTable.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CmgwLifTable_CmgwLifEntry
// An entry of this table is created by the media gateway
// when it supports the VoIP/VoATM application.
type CISCOMEDIAGATEWAYMIB_CmgwLifTable_CmgwLifEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 1..2147483647.
// Refers to
// cisco_media_gateway_mib.CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry_CmgwIndex
CmgwIndex interface{}
// This attribute is a key. An index that uniquely identifies a LIF in the
// media gateway. The type is interface{} with range: 1..255.
CmgwLifNumber interface{}
// This object represents the total number of PVC within this LIF. When
// users associate/disassociate a PVC with a LIF by giving a non-zero/zero
// value of cwacChanLifNum in cwAtmChanExtConfigTable, the value of this
// object will be incremented/decremented accordingly. The value zero means
// there is no PVC associated with the LIF. The type is interface{} with
// range: 0..10000.
CmgwLifPvcCount interface{}
// This object represents the total number of Voice Interfaces within this
// LIF. When users associate/disassociate a Voice Interface with a LIF by
// giving a non-zero/zero value of ccasVoiceCfgLifNumber for the DS0 group in
// ccasVoiceExtCfgTable, the value of this object will be
// incremented/decremented accordingly. The value zero means there is no
// Voice Interface associated with the LIF. The type is interface{} with
// range: 0..1000.
CmgwLifVoiceIfCount interface{}
}
func (cmgwLifEntry *CISCOMEDIAGATEWAYMIB_CmgwLifTable_CmgwLifEntry) GetEntityData() *types.CommonEntityData {
cmgwLifEntry.EntityData.YFilter = cmgwLifEntry.YFilter
cmgwLifEntry.EntityData.YangName = "cmgwLifEntry"
cmgwLifEntry.EntityData.BundleName = "cisco_ios_xe"
cmgwLifEntry.EntityData.ParentYangName = "cmgwLifTable"
cmgwLifEntry.EntityData.SegmentPath = "cmgwLifEntry" + types.AddKeyToken(cmgwLifEntry.CmgwIndex, "cmgwIndex") + types.AddKeyToken(cmgwLifEntry.CmgwLifNumber, "cmgwLifNumber")
cmgwLifEntry.EntityData.AbsolutePath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB/cmgwLifTable/" + cmgwLifEntry.EntityData.SegmentPath
cmgwLifEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cmgwLifEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cmgwLifEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cmgwLifEntry.EntityData.Children = types.NewOrderedMap()
cmgwLifEntry.EntityData.Leafs = types.NewOrderedMap()
cmgwLifEntry.EntityData.Leafs.Append("cmgwIndex", types.YLeaf{"CmgwIndex", cmgwLifEntry.CmgwIndex})
cmgwLifEntry.EntityData.Leafs.Append("cmgwLifNumber", types.YLeaf{"CmgwLifNumber", cmgwLifEntry.CmgwLifNumber})
cmgwLifEntry.EntityData.Leafs.Append("cmgwLifPvcCount", types.YLeaf{"CmgwLifPvcCount", cmgwLifEntry.CmgwLifPvcCount})
cmgwLifEntry.EntityData.Leafs.Append("cmgwLifVoiceIfCount", types.YLeaf{"CmgwLifVoiceIfCount", cmgwLifEntry.CmgwLifVoiceIfCount})
cmgwLifEntry.EntityData.YListKeys = []string {"CmgwIndex", "CmgwLifNumber"}
return &(cmgwLifEntry.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CMediaGwCallControlConfigTable
// This table defines general call control attributes for
// the media gateway.
type CISCOMEDIAGATEWAYMIB_CMediaGwCallControlConfigTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// One entry for each media gateway which supports call control protocol. The
// type is slice of
// CISCOMEDIAGATEWAYMIB_CMediaGwCallControlConfigTable_CMediaGwCallControlConfigEntry.
CMediaGwCallControlConfigEntry []*CISCOMEDIAGATEWAYMIB_CMediaGwCallControlConfigTable_CMediaGwCallControlConfigEntry
}
func (cMediaGwCallControlConfigTable *CISCOMEDIAGATEWAYMIB_CMediaGwCallControlConfigTable) GetEntityData() *types.CommonEntityData {
cMediaGwCallControlConfigTable.EntityData.YFilter = cMediaGwCallControlConfigTable.YFilter
cMediaGwCallControlConfigTable.EntityData.YangName = "cMediaGwCallControlConfigTable"
cMediaGwCallControlConfigTable.EntityData.BundleName = "cisco_ios_xe"
cMediaGwCallControlConfigTable.EntityData.ParentYangName = "CISCO-MEDIA-GATEWAY-MIB"
cMediaGwCallControlConfigTable.EntityData.SegmentPath = "cMediaGwCallControlConfigTable"
cMediaGwCallControlConfigTable.EntityData.AbsolutePath = "CISCO-MEDIA-GATEWAY-MIB:CISCO-MEDIA-GATEWAY-MIB/" + cMediaGwCallControlConfigTable.EntityData.SegmentPath
cMediaGwCallControlConfigTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cMediaGwCallControlConfigTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cMediaGwCallControlConfigTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cMediaGwCallControlConfigTable.EntityData.Children = types.NewOrderedMap()
cMediaGwCallControlConfigTable.EntityData.Children.Append("cMediaGwCallControlConfigEntry", types.YChild{"CMediaGwCallControlConfigEntry", nil})
for i := range cMediaGwCallControlConfigTable.CMediaGwCallControlConfigEntry {
cMediaGwCallControlConfigTable.EntityData.Children.Append(types.GetSegmentPath(cMediaGwCallControlConfigTable.CMediaGwCallControlConfigEntry[i]), types.YChild{"CMediaGwCallControlConfigEntry", cMediaGwCallControlConfigTable.CMediaGwCallControlConfigEntry[i]})
}
cMediaGwCallControlConfigTable.EntityData.Leafs = types.NewOrderedMap()
cMediaGwCallControlConfigTable.EntityData.YListKeys = []string {}
return &(cMediaGwCallControlConfigTable.EntityData)
}
// CISCOMEDIAGATEWAYMIB_CMediaGwCallControlConfigTable_CMediaGwCallControlConfigEntry
// One entry for each media gateway which supports call control
// protocol.
type CISCOMEDIAGATEWAYMIB_CMediaGwCallControlConfigTable_CMediaGwCallControlConfigEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 1..2147483647.
// Refers to
// cisco_media_gateway_mib.CISCOMEDIAGATEWAYMIB_CMediaGwTable_CMediaGwEntry_CmgwIndex
CmgwIndex interface{}
// This object specifies Type Of Service (TOS) field of IP header for the
// signaling control packet in VoIP application. The type is interface{} with
// range: 0..255.
CMediaGwCcCfgControlTos interface{}
// This object specifies Type Of Service (TOS) field of IP header for the