[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] First steps into Sausalito
- Subject: Re: [cobalt-developers] First steps into Sausalito
- From: Tim Hockin <thockin@xxxxxxx>
- Date: Mon Feb 12 16:14:41 2001
- Organization: Sun Microsystems, Inc.
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
Mat Schaffer wrote:
> > Putting the pkg together and installing the software is not a
> > problem. The
> > query is whether there is a way to add functionality to the
> > cce to achieve
> > this or whether is it better to simply bipass this and query the (vpn)
> > configuration direct using php.
> AFAIK, there aren't any holds in cce for such a thing. All the objects
> in there also seem to be compiled in, so their attributes can't be
There aren't currently hooks for any third-party apps, but that is what
Sausalito is all about. Look in /usr/sausalito/schemas. There you will
find all the class definitions for all the objects in CCE. You can easily
add new classes or extend classes with namespaces for your own use.
> changed. Also, from my experience, it looks like the configuration is
> stored in seperate objects for each service, which limits you more,
> since there's not one big "Configuration" class.
I don't see how this limits you? It gives you power to change without
hurting anything else. If you need exactly one instance of a class per
system, you can make it a namespace on the Sustem class. If you need one
per User, you can make it a Namespace on the User class. If you need an
arbitrary number of objects, make a Class.
> myself. Sorry I couldn't be of more help. But you'll probably just be
> better off accessing the configuration file directly.
This is what sausalito wants to help you avoid - please, ask questions if
you don't get it. The manual is getting better, I promise :)
--
Tim Hockin
Systems Software Engineer
Sun Microsystems, Cobalt Server Appliances
thockin@xxxxxxx