Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

OpenCALEA

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical
Re: [OpenCALEA] Re: control design

  • From: Ken Jenson
  • Date: Thu Apr 05 16:11:12 2007
  • Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=kh72sSYVRj0t29cMKJB95H+VVPm6Lml54cIa0WY4V0Ik6TISzi1PKzY0pPv/cR0FyQ55ina8T5quOOEZ2yALSO3T0XeHT1D1Ve9zbgzn7GRgRxqW1XSF3Pl+OFSwxMUTRcZdcSFPBAqNpKnPNrC20DJMf/cISB536OCx258lB4Q=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=lW4GsbHdMBqPgs+TrLq0kE/NXapINghVj/HJPssz90tWfwf78WQlxEhDfluaFPO+Oqzdm6wcgZZGujA+A7JyksMY6cOZgHT2HeZQ5hNPMbe1fmN1sMkJ4hE5njbv8ne7Urr1BwcKqnEu2NQLcW8oDW68z8DrY2+35OVJuB8wf60=

Hi Manish
 
I need to investigate the controller features you mention.  Our chief scientist reviewed the latest version and his comment to me was that it didn't work..  I have yet to look at it myself.  I'll ask him to forward information about what he saw that didn't work.
 
I'll also ask him if it would be possible for me to release a couple of PHP objects to the public domain at some point.
 
With regards to XML, I was just thinking that calling shell exec and parsing text responses is not the best way to interact with linux apps.  If I could specify a return type of xml, then I can easily process/display the output in PHP, XSL etc.
 
I'll post my feedback after release about any other issues and feature requests that I might have.
 
Regards
 
Ken


 
On 4/5/07, Manish Karir <mkarir@merit.edu> wrote:

Hi Ken

Are you using the new collector/controller features in version 0.5?
These were intended to add some sesssion management capability.

The collector process runs on the tap devices (where tap would run).
Its role is to keep track of the various tap processing running
on the device.

The controller process is run on a separate (and possibly remote)
device.  Its role is to communicate with the collector processes and
start/stop taps.

Are you building similar capability with your PHP application?  A PHP
based front-end would be a great addition to the project! The community
would really appreciate if you would be willing to contribute it
to the code base.  I'm not exactly sure what sort of XML return values
would help your application, perhaps you can describe it in a bit more
detail?

thanks
manish


On Thu, 5 Apr 2007, Ken Jenson wrote:

> We are currently integrating a PHP application with a box running
> OpenCalea.  We are creating php forms for Tap Config, Collector Config and
> Tap session management.  We are writing a file that contains session
> information so that on reboot we can restart those sessions.  All actions
> are via 'shell_exec' using command line parameters.
>
> It would be nice to have some of the session management more automated.  It
> would be nice to be able to easily query a list of tap sessions with their
> attributes, start an stop them etc.  If the functions returned XML that
> would be sweet.
>
> We are shipping next week so I guess some of my requests will need to wait
> until a couple of versions later.
>
> I would love to see a LAMP wrapper, in fact, I wouldn't mind contributing
> something to it..
>
> Ken Jenson
>
> On 4/5/07, Rich <w7ki@northwestradio.com> wrote:
>>
>>
>> >>
>> >>   Another option would be to define an "interception" in a database of
>> >> sorts (rdbms or otherwise), and have every IAP source independently
>> >> check that database periodically (frequently), and take appropriate
>> >> action (eg. start/restart/stop an intercept, and send CmII events).
>> >> There would still need to be an interface (possibly gui?) to define an
>> >> intercept, and if each data source logged info it could also be used as
>> >> part of the "secure and accurate record" we keep.
>> >>
>> >>   Ideas for other options are certainly welcome.
>>
>> Perhaps we could make a 'LAMP' wrapper such that we can retain the
>> simplicity of a command-line driven program while offering a GUI feature
>> set
>> to those who are interested.
>>
>> Also, FWIW, everything compiles & runs on a vanilla CentOS 4.4 install.
>>
>> - Rich
>>
>>
>
>
> --
> Ken Jenson
> 801-224-6302 (hm)
> 801-318-1200 (cell)
>



--
Ken Jenson
801-224-6302 (hm)
801-318-1200 (cell)


Discussion Communities


About Merit | Services | Network | Resources & Support | Network Research
News | Events | Contact | Site Map | Merit Network Home


Merit Network, Inc.