blob: 2b326a0c3b6882d75703bf6354c26b15c33dac12 [file] [log] [blame]
Shad Ansari2f7f9be2017-06-07 13:34:53 -07001# $language = "VBScript"
2# $interface = "1.0"
3
4Sub SendApplicationCommand(shell_command)
5 crt.Screen.Send shell_command & VbCr & VbCr
6 crt.sleep 1000
7End Sub
8
9Sub main
10
11 pon_ni = inputbox("PON NI: XGPON:[0-7] XGS:[0-1]" )
12 interval = 1000
13 oper = "none"
14
15 SendApplicationCommand "/api/set object=xgpon_ni pon_ni=" & pon_ni & " sn_acquisition.interval=" & interval & " sn_acquisition.onu_post_discovery_mode=" & oper & " sn_acquisition.burst_profile=0 sn_acquisition.control=disable"
16 crt.sleep 100
17
18End Sub