Changeset 241 for trunk/system/queues_import.php
- Timestamp:
- Aug 2, 2009, 4:56:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/queues_import.php
r239 r241 8 8 $Routerboard = new Routerboard($Config['MainRouter']['HostName'], $Config['MainRouter']['UserName'], $Config['MainRouter']['Password']); 9 9 $Routerboard->PrivateKey = 'generators/id_dsa'; 10 print_r($Routerboard->ListUpdate(array('tool', 'netwatch'), array('host', 'comment'), array()));10 //print_r($Routerboard->ListGetPrint(array('queue', 'tree'), array('name', 'limit-at', 'max-limit', 'parent', 'packet-mark', 'queue'))); 11 11 //print_r($Routerboard->Execute('ip address {:foreach i in=[find] do={:put "address=".[get $i address]." network=".[get $i network])}}')); 12 12 //print_r($Routerboard->GetItem('system ntp client print')); 13 13 14 print_r(ksort(array(1 => 'aaa', 0 => 'bbb'))); 15 14 16 ?>
Note:
See TracChangeset
for help on using the changeset viewer.