Difference between revisions of "Wug Management System"

From CTWUG Wiki
Jump to: navigation, search
(API)
(Removing all content from page)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
= Purpose =
 
To replace the existing [[NOC]] with an open-source, WUG-managed system.
 
  
== Helping Out ==
 
* Join #ctwug-devel
 
* Have a chat with us about what needs to be done
 
* Fork the [https://github.com/dodgymike/WMS github project]
 
* Make some changes
 
* Submit a pull request - one of the peojct collaborators will merge (or reject) your changes
 
* rinse and repeat!
 
 
== Existing System ==
 
=== Scripts ===
 
* [[NOC:radius_client]] - BMD
 
* [[NOC:ctwug_init]] - Aragon
 
* [[NOC:ctwug_version]] - BMD
 
* [[NOC:ctwug_backup]] - BMD
 
* [[NOC:ctwug_updated]] - Warlock072
 
* [[NOC:ctwug_global_settings]]
 
* [[NOC:ctwug_cpu_killer_killer]] - BMD
 
* [[NOC:ctwug_radius_client]] - BMD
 
* [[NOC:ctwug_firewall]] - Aragon
 
* [[NOC:ctwug_qos]] - dade
 
* [[NOC:ctwug_run]] - BMD
 
* [[NOC:ctwug_lobridge_fixer]] - BMD
 
 
=== API ===
 
==== Fetch scripts ====
 
{|
 
!Purpose!!URL!!Returns
 
|-
 
|Fetch scripts||http://noc.ctwug.za.net/web/api/update?id=FID&serial=SERIAL&init=1||All the scripts, including ctwug_version.rsc fetch script
 
|-
 
|Update NOC version info||http://noc.ctwug.za.net/web/api/temp?id=FID&serial=SERIAL||Done
 
|-
 
|Update NOC rb info||http://noc.ctwug.za.net/web/api/update?id=".$fid."&serial=".$fserial."&update=2&version=".$fver."&cpu=".$fcpu."&freq=".$fcpufreq."&arch=".$farch."&board=".$fboard."&fw=".$ffw."&ip=".$fip."&ospf=".$fospf."&policy=".$fpolicy||Version
 
|-
 
|Returns the scripts version||http://noc.ctwug.za.net/web/api/update?id=Dade-RB1&serial=205E01E11CB3&update=1||Version
 
|-
 
|Returns the firewall script|http://noc.ctwug.za.net/web/api/firewall/firewall.rsc|The firewall script
 
|-
 
|Gametime indicator|http://noc.ctwug.za.net/web/api/gametime|0 or 1 for gametime
 
|-
 
|}
 
 
== New System ==
 
* [[WMS:Design]]
 
* [[WMS:Scripts]]
 

Latest revision as of 18:10, 30 June 2013