blob: ea2193fbf0dc9f5dca665e8d7490059b1fdf8754 [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: [0-15]" )
12
13 SendApplicationCommand "/board/trx_enable pon_id=" & pon_ni & " "
14 crt.sleep 100
15 SendApplicationCommand "/api/oper object=gpon_ni sub=set_pon_state pon_ni=" & pon_ni & " pon_state=active_working"
16 crt.sleep 100
17
18End Sub