[sr-dev] domain attributes
Jesus Rodriguez
jesusr at voztele.com
Thu Jul 2 13:44:17 CEST 2009
Hi Juha,
> i'm thinking of extending domain module to support domain attributes.
> the idea is that domain_reload would also load domain's attributes to
> memory, where they can be accessed fast without db operations. when
> is_domain_local(domain) is called, attributes of the domain would get
> automatically loaded into avps.
>
> if people consider this worth implementing, the next question is,
> where
> in the db domain attributes would be stored. it might be possible to
> use avpops usr_preferences table, but it contains fields uuid and
> username that are not relevant for domain attributes. perhaps a
> special
> uuid and/or username value could be used to denote that the record
> defines a domain attribute? if not, a new table would need to be
> created, which might be cleaner anyway.
>
> any comments or better ideas on this?
I think a new table is much cleaner and clear than using
usr_preferences.
Saludos
JesusR.
------------------------------------
Jesus Rodriguez
VozTelecom Sistemas, S.L.
jesusr at voztele.com
http://www.voztele.com
Tel. 902360305
-------------------------------------
More information about the sr-dev
mailing list