forked from keysightgems/Huawei_Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIxia_NetNgpfPPPoX.tcl
More file actions
699 lines (626 loc) · 37.8 KB
/
Ixia_NetNgpfPPPoX.tcl
File metadata and controls
699 lines (626 loc) · 37.8 KB
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
# Copyright (c) Ixia technologies 2010-2011, Inc.
# Release Version 1.0
#===============================================================================
# Change made
# Version 1.0
# 1. Create
# Version 1.1
# 2. add unconfig
class PppoeHost {
inherit ProtocolStackObject
#public variable type
public variable optionSet
public variable rangeStats
public variable hostCnt
public variable hPppox
constructor { port { onStack null } { hPppoe null } } { chain $port $onStack $hPppoe } {
set tag "PppoeHost::constructor [info script]"
Deputs "----- TAG: $tag -----"
global LoadConfigMode
if { $hPppoe == "null" && $LoadConfigMode == 1 } {
set hPppoe [GetObjNameFromString $this "null"]
puts "hPppoe: $hPppoe"
}
if { $hPppoe != "null" } {
set eth_hnd [GetValidHandleObj "pppoe_host" $hPppoe $hPort]
if { [llength $eth_hnd] == 2 } {
set handle [lindex $eth_hnd 1]
set hPppox [lindex $eth_hnd 0]
set handleName [ ixNet getA $handle/pppoxRange -name ]
}
}
if { $handle == "" } {
set handleName $this
reborn $onStack
}
}
method reborn { { onStack null } } {}
method config { args } {}
method connect { } { start }
method disconnect { } { stop }
method abort { } {
set tag "body PppoeHost::abort [info script]"
Deputs "----- TAG: $tag -----"
ixNet exec abort $hPppox
return [GetStandardReturnHeader]
}
method get_summary_stats {} {}
method unconfig {} {
set tag "body PppoeHost::unconfig [info script]"
Deputs "----- TAG: $tag -----"
catch {
# set ptemp [ixNet getL $hPort/protocols/bgp neighborRange]
# Deputs "$ptemp"
# if {[llength $ptemp] == 1 } {
# set temphandle $hPort
# chain
# Deputs "disable $temphandle bgp protocol"
# ixNet setA $temphandle/protocols/bgp -enabled false
# ixNet commit
# } else {
# chain
# }
chain
if {[ixNet getL $hPppox range] == ""} {
ixNet remove $stack
ixNet commit
}
}
}
method igmp_over_pppoe {} {}
method wait_connect_complete { args } {}
method wait_disconnect_complete {} {}
method CreatePPPoEPerSessionView {} {
set tag "body PppoeHost::CreateDhcpPerSessionView [info script]"
Deputs "----- TAG: $tag -----"
set root [ixNet getRoot]
set customView [ ixNet add $root/statistics view ]
ixNet setM $customView -caption "dhcpPerSessionView" -type layer23ProtocolStack -visible true
ixNet commit
set customView [ ixNet remapIds $customView ]
Deputs "view:$customView"
set availableFilter [ ixNet getList $customView availableProtocolStackFilter ]
Deputs "available filter:$availableFilter"
set filter [ ixNet getList $customView layer23ProtocolStackFilter ]
Deputs "filter:$filter"
Deputs "handle:$handle"
set pppoxRange [ixNet getList $handle pppoxRange]
Deputs "pppoxRange:$pppoxRange"
set rangeName [ ixNet getA $pppoxRange -name ]
Deputs "range name:$rangeName"
foreach afil $availableFilter {
Deputs "$afil"
if { [ regexp $rangeName $afil ] } {
set stackFilter $afil
}
}
Deputs "stack filter:$stackFilter"
ixNet setM $filter -drilldownType perSession -protocolStackFilterId [ list $stackFilter ]
ixNet commit
set srtStat [lindex [ixNet getF $customView statistic -caption {Session Name}] 0]
ixNet setA $filter -sortAscending true -sortingStatistic $srtStat
ixNet commit
foreach s [ixNet getL $customView statistic] {
ixNet setA $s -enabled true
}
ixNet setA $customView -enabled true
ixNet commit
return $customView
}
}
body PppoeHost::igmp_over_pppoe {} {
set tag "body PppoeHost::igmp_over_pppoe [info script]"
Deputs "----- TAG: $tag -----"
set igmp_name igmp_[clock seconds]
IgmpOverPppoeHost $igmp_name $this
return PppoeHost::$igmp_name
}
body PppoeHost::wait_disconnect_complete {} {
set tag "body PppoeHost::wait_disconnect_complete [info script]"
Deputs "----- TAG: $tag -----"
set timeout 300
return [GetStandardReturnHeader]
}
body PppoeHost::reborn { { onStack null } } {
set tag "body PppoeHost::reborn [info script]"
Deputs "----- TAG: $tag -----"
set flag 1
if { [ info exists hPort ] == 0 || $hPort == "" } {
set flag 1
} else {
set sg_ethernet_list [ixNet getL $hPort/protocolStack ethernet]
foreach sg_ethernet $sg_ethernet_list {
set sg_pppoxEndpoint [ixNet getL $sg_ethernet pppoxEndpoint]
if {$sg_pppoxEndpoint != ""} {
set flag 0
set stack $sg_ethernet
break
}
}
}
if { $flag } {
chain
set sg_ethernet $stack
}
Deputs "stack: $stack"
set sg_ethernet $stack
#-- add pppox endpoint stack
if { [llength [ixNet getL $stack pppoxEndpoint]] > 0 } {
set sg_pppoxEndpoint [lindex [ixNet getL $stack pppoxEndpoint] 0]
} else {
set sg_pppoxEndpoint [ixNet add $sg_ethernet pppoxEndpoint]
}
Deputs "sg_pppoxEndpoint: $sg_pppoxEndpoint"
# ixNet setA $sg_pppoxEndpoint -name $this
# ixNet commit
set sg_pppoxEndpoint [lindex [ixNet remapIds $sg_pppoxEndpoint] 0]
set hPppox $sg_pppoxEndpoint
#-- add range
set sg_range [ixNet add $sg_pppoxEndpoint range]
ixNet setMultiAttrs $sg_range/macRange \
-enabled True
ixNet setMultiAttrs $sg_range/vlanRange \
-enabled False \
ixNet setMultiAttrs $sg_range/pppoxRange \
-enabled True \
-name $this \
-numSessions 1
ixNet commit
set sg_range [ixNet remapIds $sg_range]
set handle $sg_range
#set trafficObj
#disable all the interface defined on port
foreach int [ ixNet getL $hPort interface ] {
ixNet setA $int -enabled false
}
ixNet commit
}
body PppoeHost::config { args } {
global errorInfo
global errNumber
set tag "body PppoeHost::config [info script]"
Deputs "----- TAG: $tag -----"
eval { chain } $args
set ENcp [ list ipv4 ipv6 ipv4v6 ]
set EAuth [ list none auto chap_md5 pap ]
#param collection
Deputs "Args:$args "
foreach { key value } $args {
set key [string tolower $key]
switch -exact -- $key {
-mru_size {
set mru_size $value
}
-session_num -
-count {
if { [ string is integer $value ] } {
set count $value
} else {
error "$errNumber(1) key:$key value:$value"
}
}
-ipcp_encap {
set value [ string tolower $value ]
if { [ lsearch -exact $ENcp $value ] >= 0 } {
set ipcp_encap $value
} else {
error "$errNumber(1) key:$key value:$value"
}
}
-authentication {
set value [ string tolower $value ]
if { [ lsearch -exact $EAuth $value ] >= 0 } {
set authentication $value
} else {
error "$errNumber(1) key:$key value:$value"
}
}
-enable_domain {
set trans [ BoolTrans $value ]
if { $trans == "1" || $trans == "0" } {
set enable_domain $trans
} else {
error "$errNumber(1) key:$key value:$value"
}
}
-domain {
set domain $value
}
-user_name {
set user_name $value
}
-password {
set password $value
}
}
}
if { [ info exists count ] } {
ixNet setMultiAttrs $handle/pppoxRange \
-numSessions $count
}
if { [ info exists mru_size ] } {
ixNet setMultiAttrs $handle/pppoxRange \
-mtu $mru_size
}
if { [ info exists ipcp_encap ] } {
switch $ipcp_encap {
ipv4 {
set ipcp_encap IPv4
}
ipv6 {
set ipcp_encap IPv6
}
ipv4v6 {
set ipcp_encap DualStack
}
}
ixNet setA $handle/pppoxRange -ncpType $ipcp_encap
}
if { [ info exists authentication ] } {
switch $authentication {
auto {
set authentication papOrChap
if { [ info exists user_name ] } {
ixNet setMultiAttrs $handle/pppoxRange \
-chapName $user_name \
-papUser $user_name
}
if { [ info exists password ] } {
ixNet setMultiAttrs $handle/pppoxRange \
-chapSecret $password \
-papPassword $password
}
}
chap_md5 {
set authentication chap
if { [ info exists user_name ] } {
ixNet setMultiAttrs $handle/pppoxRange \
-chapName $user_name
}
if { [ info exists password ] } {
ixNet setMultiAttrs $handle/pppoxRange \
-chapSecret $password
}
}
pap {
set authentication pap
if { [ info exists user_name ] } {
ixNet setMultiAttrs $handle/pppoxRange \
-papUser $user_name
}
if { [ info exists password ] } {
ixNet setMultiAttrs $handle/pppoxRange \
-papPassword $password
}
}
}
ixNet setA $handle/pppoxRange -authType $authentication
}
if { [ info exists enable_domain ] } {
ixNet setA $handle/pppoxRange -enableDomainGroups $enable_domain
}
if { [ info exists domain ] } {
foreach domainGroup [ ixNet getL $handle/pppoxRange domainGroup ] {
ixNet remove $domainGroup
}
foreach domainGroup $domain {
set dg [ixNet add $handle/pppoxRange domainGroup ]
ixNet setA $dg -baseName $domainGroup
ixNet commit
}
}
ixNet commit
return [GetStandardReturnHeader]
}
body PppoeHost::get_summary_stats {} {
set tag "body PppoeHost::get_summary_stats [info script]"
Deputs "----- TAG: $tag -----"
# ͳ¼ÆÏî
# attempted_count
# avg_success_transaction_count
# connected_success_count
# disconnected_success_count
# failed_connect_count
# failed_disconnect_count
# max_setup_time
# min_setup_time
# retry_count
# rx_chap_count
# rx_ipcp_count
# rx_ipv6cp_count
# rx_lcp_config_ack_count
# rx_lcp_config_nak_count
# rx_lcp_config_reject_count
# rx_lcp_config_request_count
# rx_lcp_echo_reply_count
# rx_lcp_echo_request_count
# rx_lcp_term_ack_count
# rx_lcp_term_request_count
# rx_pap_count
# hosts
# success_setup_rate
# hosts_up
# tx_chap_count
# tx_ipcp_count
# tx_ipv6cp_count
# tx_lcp_config_ack_count
# tx_lcp_config_nak_count
# tx_lcp_config_reject_count
# tx_lcp_config_request_count
# tx_lcp_echo_reply_count
# tx_lcp_echo_request_count
# tx_lcp_term_ack_count
# tx_lcp_term_request_count
# tx_pap_count
set root [ixNet getRoot]
set view {::ixNet::OBJ-/statistics/view:"PPP General Statistics"}
# set view [ ixNet getF $root/statistics view -caption "Port Statistics" ]
Deputs "view:$view"
set captionList [ ixNet getA $view/page -columnCaptions ]
Deputs "caption list:$captionList"
set port_name [ lsearch -exact $captionList {Stat Name} ]
set attempted_count [ lsearch -exact $captionList {Sessions Initiated} ]
set connected_success_count [ lsearch -exact $captionList {Sessions Succeeded} ]
set ret [ GetStandardReturnHeader ]
set stats [ ixNet getA $view/page -rowValues ]
Deputs "stats:$stats"
set connectionInfo [ ixNet getA $hPort -connectionInfo ]
Deputs "connectionInfo :$connectionInfo"
regexp -nocase {chassis=\"([0-9\.]+)\" card=\"([0-9\.]+)\" port=\"([0-9\.]+)\"} $connectionInfo match chassis card port
Deputs "chas:$chassis card:$card port$port"
foreach row $stats {
eval {set row} $row
Deputs "row:$row"
Deputs "portname:[ lindex $row $port_name ]"
if { [ string length $card ] == 1 } {
set card "0$card"
}
if { [ string length $port ] == 1 } {
set port "0$port"
}
if { "${chassis}/Card${card}/Port${port}" != [ lindex $row $port_name ] } {
continue
}
set statsItem "attempted_count"
set statsVal [ lindex $row $attempted_count ]
Deputs "stats val:$statsVal"
set ret $ret[ GetStandardReturnBody $statsItem $statsVal ]
set statsItem "connected_success_count"
set statsVal [ lindex $row $connected_success_count ]
Deputs "stats val:$statsVal"
set ret $ret[ GetStandardReturnBody $statsItem $statsVal ]
Deputs "ret:$ret"
}
return $ret
}
body PppoeHost::wait_connect_complete { args } {
set tag "body PppoeHost::wait_connect_complete [info script]"
Deputs "----- TAG: $tag -----"
set timeout 300
foreach { key value } $args {
set key [string tolower $key]
switch -exact -- $key {
-wait_time -
-timeout {
set trans [ TimeTrans $value ]
if { [ string is integer $trans ] } {
set timeout $trans
} else {
error "$errNumber(1) key:$key value:$value"
}
}
}
}
set startClick [ clock seconds ]
while { 1 } {
set click [ clock seconds ]
if { [ expr $click - $startClick ] >= $timeout } {
return [ GetErrorReturnHeader "timeout" ]
}
set stats [ get_summary_stats ]
set initStats [ GetStatsFromReturn $stats attempted_count ]
set succStats [ GetStatsFromReturn $stats connected_success_count ]
Deputs "initStats:$initStats == succStats:$succStats ?"
if { $succStats != "" && $succStats >= $initStats && $initStats > 0 } {
break
}
after 1000
}
return [GetStandardReturnHeader]
}
# =============
# ethernet
# =============
# Child Lists:
# dcbxEndpoint (kList : add, remove, getList)
# dhcpEndpoint (kList : add, remove, getList)
# dhcpServerEndpoint (kList : add, remove, getList)
# dot1x (kList : add, remove, getList)
# emulatedRouter (kList : add, remove, getList)
# emulatedRouterEndpoint (kList : add, remove, getList)
# esmc (kList : add, remove, getList)
# fcoeClientEndpoint (kList : add, remove, getList)
# fcoeFwdEndpoint (kList : add, remove, getList)
# ip (kList : add, remove, getList)
# ipEndpoint (kList : add, remove, getList)
# pppox (kList : add, remove, getList)
# pppoxEndpoint (kList : add, remove, getList)
# ptp (kList : add, remove, getList)
# vepaEndpoint (kList : add, remove, getList)
# vicClient (kList : add, remove, getList)
# Attributes:
# -name (readOnly=False, type=(kString))
# -objectId (readOnly=True, type=(kString))
# Execs:
# customProtocolStack((kArray)[(kObjref)=/vport/protocolStack/...],(kArray)[(kString)],(kEnumValue)=kAppend,kMerge,kOverwrite)
# disableProtocolStack((kObjref)=/vport/protocolStack/...,(kString))
# enableProtocolStack((kObjref)=/vport/protocolStack/...,(kString))
# =============
# pppoxEndpoint
# =============
# Child Lists:
# ancp (kList : add, remove, getList)
# dhcp2v6Client (kList : add, remove, getList)
# dhcpv6Client (kList : add, remove, getList)
# dhcpv6Server (kList : add, remove, getList)
# igmpMld (kList : add, remove, getList)
# igmpQuerier (kList : add, remove, getList)
# iptv (kList : add, remove, getList)
# range (kList : add, remove, getList)
# Attributes:
# -name (readOnly=False, type=(kString))
# -objectId (readOnly=True, type=(kString))
# -perSessionStats (readOnly=True, type=(kArray)[(kString)])
# Execs:
# customProtocolStack((kArray)[(kObjref)=/vport/protocolStack/...],(kArray)[(kString)],(kEnumValue)=kAppend,kMerge,kOverwrite)
# disableProtocolStack((kObjref)=/vport/protocolStack/...,(kString))
# enableProtocolStack((kObjref)=/vport/protocolStack/...,(kString))
# pppoxCancel((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxClearStats((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppoxEndpoint])
# pppoxConfigure((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxDeconfigure((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxNegotiateTo((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppoxEndpoint],(kInteger))
# pppoxNegotiateTo((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppoxEndpoint],(kInteger),(kEnumValue)=async,sync)
# pppoxPause((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxPause((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kEnumValue)=async,sync)
# pppoxResume((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxResume((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kEnumValue)=async,sync)
# pppoxRetry((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxRetry((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kEnumValue)=async,sync)
# pppoxSendNdpRs((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kInteger))
# pppoxSendNdpRs((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kInteger),(kEnumValue)=async,sync)
# pppoxStart((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxStart((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kEnumValue)=async,sync)
# pppoxStop((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxStop((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kEnumValue)=async,sync)
# =============
# pppoxEndpoint.range
# =============
# Child Lists:
# ancpRange (kOptional : getList)
# dhcpv6ClientRange (kOptional : getList)
# dhcpv6PdClientRange (kOptional : getList)
# dhcpv6ServerRange (kOptional : getList)
# dot1xRange (kOptional : getList)
# esmcRange (kOptional : getList)
# igmpMldRange (kOptional : getList)
# igmpQuerierRange (kOptional : getList)
# iptvRange (kOptional : getList)
# macRange (kRequired : getList)
# pppoxRange (kRequired : getList)
# ptpRangeOverMac (kOptional : getList)
# vicClientRange (kOptional : getList)
# vlanRange (kRequired : getList)
# Execs:
# pppoxCancel((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxConfigure((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxDeconfigure((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxPause((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxPause((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kEnumValue)=async,sync)
# pppoxResume((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxResume((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kEnumValue)=async,sync)
# pppoxRetry((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxRetry((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kEnumValue)=async,sync)
# pppoxSendNdpRs((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kInteger))
# pppoxSendNdpRs((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kInteger),(kEnumValue)=async,sync)
# pppoxStart((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxStart((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kEnumValue)=async,sync)
# pppoxStop((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range])
# pppoxStop((kArray)[(kObjref)=/vport/protocolStack/atm/pppox,/vport/protocolStack/atm/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/atm/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/atm/pppoxEndpoint,/vport/protocolStack/atm/pppoxEndpoint/range,/vport/protocolStack/ethernet/pppox,/vport/protocolStack/ethernet/pppox/dhcpoPppClientEndpoint/range,/vport/protocolStack/ethernet/pppox/dhcpoPppServerEndpoint/range,/vport/protocolStack/ethernet/pppoxEndpoint,/vport/protocolStack/ethernet/pppoxEndpoint/range],(kEnumValue)=async,sync)
# =============
# pppoxEndpoint.range.pppoxRange
# =============
# Child Lists:
# acMac (kList : add, remove, getList)
# acName (kList : add, remove, getList)
# domainGroup (kList : add, remove, getList)
# Attributes:
# -acName (readOnly=False, type=(kString))
# -acOptions (readOnly=False, type=(kString))
# -actualRateDownstream (readOnly=False, type=(kInteger64))
# -actualRateUpstream (readOnly=False, type=(kInteger64))
# -agentCircuitId (readOnly=False, type=(kString))
# -agentRemoteId (readOnly=False, type=(kString))
# -authOptions (readOnly=False, type=(kString))
# -authRetries (readOnly=False, type=(kInteger64))
# -authTimeout (readOnly=False, type=(kInteger64))
# -authType (readOnly=False, type=(kString))
# -chapName (readOnly=False, type=(kString))
# -chapSecret (readOnly=False, type=(kString))
# -clientBaseIid (readOnly=False, type=(kString))
# -clientBaseIp (readOnly=False, type=(kString))
# -clientDnsOptions (readOnly=False, type=(kString))
# -clientIidIncr (readOnly=False, type=(kInteger64))
# -clientIpIncr (readOnly=False, type=(kString))
# -clientNetmask (readOnly=False, type=(kString))
# -clientNetmaskOptions (readOnly=False, type=(kString))
# -clientPrimaryDnsAddress (readOnly=False, type=(kString))
# -clientSecondaryDnsAddress (readOnly=False, type=(kString))
# -clientSignalIwf (readOnly=False, type=(kBool))
# -clientSignalLoopChar (readOnly=False, type=(kBool))
# -clientSignalLoopEncapsulation (readOnly=False, type=(kBool))
# -clientSignalLoopId (readOnly=False, type=(kBool))
# -dataLink (readOnly=False, type=(kString))
# -dnsServerList (readOnly=False, type=(kString))
# -domainList (readOnly=False, type=(kString))
# -echoReqInterval (readOnly=False, type=(kInteger64))
# -enabled (readOnly=False, type=(kBool))
# -enableDnsRa (readOnly=False, type=(kBool))
# -enableDomainGroups (readOnly=False, type=(kBool))
# -enableEchoReq (readOnly=False, type=(kBool))
# -enableEchoRsp (readOnly=False, type=(kBool))
# -enableIncludeTagInPadi (readOnly=False, type=(kBool), deprecated)
# -enableIncludeTagInPado (readOnly=False, type=(kBool), deprecated)
# -enableIncludeTagInPadr (readOnly=False, type=(kBool), deprecated)
# -enableIncludeTagInPads (readOnly=False, type=(kBool), deprecated)
# -enableIntermediateAgentTags (readOnly=False, type=(kBool), deprecated)
# -enableMruNegotiation (readOnly=False, type=(kBool))
# -enablePasswordCheck (readOnly=False, type=(kBool))
# -enableRedial (readOnly=False, type=(kBool))
# -encaps1 (readOnly=False, type=(kString))
# -encaps2 (readOnly=False, type=(kString))
# -ipv6AddrPrefixLen (readOnly=False, type=(kInteger64))
# -ipv6PoolPrefix (readOnly=False, type=(kString))
# -ipv6PoolPrefixLen (readOnly=False, type=(kInteger64))
# -lcpOptions (readOnly=False, type=(kString))
# -lcpRetries (readOnly=False, type=(kInteger64))
# -lcpTermRetries (readOnly=False, type=(kInteger64))
# -lcpTermTimeout (readOnly=False, type=(kInteger64))
# -lcpTimeout (readOnly=False, type=(kInteger64))
# -mtu (readOnly=False, type=(kInteger64))
# -name (readOnly=False, type=(kString))
# -ncpRetries (readOnly=False, type=(kInteger64))
# -ncpTimeout (readOnly=False, type=(kInteger64))
# -ncpType (readOnly=False, type=(kString))
# -numSessions (readOnly=False, type=(kInteger64))
# -objectId (readOnly=True, type=(kString))
# -padiRetries (readOnly=False, type=(kInteger64))
# -padiTimeout (readOnly=False, type=(kInteger64))
# -padrRetries (readOnly=False, type=(kInteger64))
# -padrTimeout (readOnly=False, type=(kInteger64))
# -papPassword (readOnly=False, type=(kString))
# -papUser (readOnly=False, type=(kString))
# -pppoeOptions (readOnly=False, type=(kString))
# -redialMax (readOnly=False, type=(kInteger64))
# -redialTimeout (readOnly=False, type=(kInteger64))
# -serverBaseIid (readOnly=False, type=(kString))
# -serverBaseIp (readOnly=False, type=(kString))
# -serverDnsOptions (readOnly=False, type=(kString))
# -serverIidIncr (readOnly=False, type=(kInteger64))
# -serverIpIncr (readOnly=False, type=(kString), deprecated)
# -serverNetmask (readOnly=False, type=(kString))
# -serverNetmaskOptions (readOnly=False, type=(kString))
# -serverPrimaryDnsAddress (readOnly=False, type=(kString))
# -serverSecondaryDnsAddress (readOnly=False, type=(kString))
# -serverSignalIwf (readOnly=False, type=(kBool))
# -serverSignalLoopChar (readOnly=False, type=(kBool))
# -serverSignalLoopEncapsulation (readOnly=False, type=(kBool))
# -serverSignalLoopId (readOnly=False, type=(kBool))
# -serviceName (readOnly=False, type=(kString))
# -serviceOptions (readOnly=False, type=(kString))
# -unlimitedRedialAttempts (readOnly=False, type=(kBool))
# -useMagic (readOnly=False, type=(kBool))
# Execs:
# customProtocolStack((kArray)[(kObjref)=/vport/protocolStack/...],(kArray)[(kString)],(kEnumValue)=kAppend,kMerge,kOverwrite)
# disableProtocolStack((kObjref)=/vport/protocolStack/...,(kString))
# enableProtocolStack((kObjref)=/vport/protocolStack/...,(kString))