Some operations that can be invoked on classes using the dmctl have arguments of the type unknown, or -1. Are these operations only for internal Smarts use, or is there a special parameter or argument to use in these cases instead?
For example, I would like to use the functions in the handler classes, such as DomainConfigHandler.
Operations for class DomainConfigHandler:
I am able to use enableConfig and disableConfig, but cannot get things such as importConfig to work. Ideally, I would like to configure things such as Domains and Escalation Policies through a Perl script using the API, rather than importing configurations from an XML file using sm_config. Any suggestions would be appreciated.
Yeah, my guess is that those are defunct, deprecated, or otherwise unuseable operations. I believe the operations you are looking for are more applicable in the ICS_ConfigurationManager class.
In particular you can use the following operation to "import" dynamically created XML configurations from within a script.:
importConfig xmlConfig replaceAll force
You can look at the icoi-init.asl script installed in SAM for some very basic usage with the IMPORT_CONFIGURATION rule.
---
IMPORT_CONFIGURATION { local importStatus; local result;
Also, do you know if there is a way to configure the broker, other than through brcontrol? I know services connect automatically to their default broker, but we also are trying to have a second broker for presentation, in which we maintain static entries.
TCorcoran
53 Posts
355
0
Posted February 26th, 2009 15:00
Can you provide an example?