Page 1 of 1

Scripting status of server

Posted: Fri Dec 12, 2014 5:04 pm
by gabrielp
Any way to script the status of a flow? The Switch clients and other software can contact the Switch server and get information out. I'd like to build a tool that would easily show me the status of a flow, if its running or not. Does anyone know how to get information from the Switch server via HTTP? I know the web services module could probably do some of this but I'd like to take advantage of the parts already available.

Scripting status of server

Posted: Mon Dec 15, 2014 10:36 am
by freddyp
As you expected there is indeed a GetFlowState in the web services module, but there is no such thing in the scripting part. This is also not surprising because you need an external source to check for this: if the flow status check were part of a (separate) flow the check would only work if that flow were running, so you would have to check the check (and so on).



Freddy