Svilen Ivanov
01-21-2009, 04:37 AM
Hello,
I'm trying to instrument a configuration file using APK (adlfix) but the backslashes ("\") in the property value disappear. Here is the config file before restart of the appliance:
# $$propN: x:ans_regexp
+/x/ REDIRECT rpx@localhost
The "ans_regexp" property have value "rpx-.*@rpx\.recoveryplanner\.com" (w/o surrounding double quotes - note the backslashes in the value). After restart the file becomes:
# $$propN: rpx-.*@rpx-ca.recoveryplanner.com:ans_regexp
+/rpx-.*@rpx-ca.recoveryplanner.com/ REDIRECT rpx@localhost
Here is an extract from ADL config file:
assembly main
{
.category = General
.description = "Main assembly of the application"
subordinate LUX64 : .class = LUX64
{
.standby = 0
.ignore = 0
...
[snip]
...
ans_regexp = rpx-.*@rpx-ca\.recoveryplanner\.com
mailq = mailq
cpu : dflt = 0.25
bw : dflt = 50M
mem : dflt = 256M
}
I'm using Applogic 2.4.5 Beta hf2586 hf2602 hf1910 and the APK kit is inherited from stock LUX64 appliance.
Additionally, I wasn't able to find in the documentation how to specify quoting style (http://doc.3tera.com/AppLogic24/AdvADLPropertyMarkup.html) in case of "dhcp" method of property propagation.
Any ideas?
Best regards,
Svi
Update: I was able to workaround it by putting 2 backslashes wherever a single backslash is required, but it is inconvenient
I'm trying to instrument a configuration file using APK (adlfix) but the backslashes ("\") in the property value disappear. Here is the config file before restart of the appliance:
# $$propN: x:ans_regexp
+/x/ REDIRECT rpx@localhost
The "ans_regexp" property have value "rpx-.*@rpx\.recoveryplanner\.com" (w/o surrounding double quotes - note the backslashes in the value). After restart the file becomes:
# $$propN: rpx-.*@rpx-ca.recoveryplanner.com:ans_regexp
+/rpx-.*@rpx-ca.recoveryplanner.com/ REDIRECT rpx@localhost
Here is an extract from ADL config file:
assembly main
{
.category = General
.description = "Main assembly of the application"
subordinate LUX64 : .class = LUX64
{
.standby = 0
.ignore = 0
...
[snip]
...
ans_regexp = rpx-.*@rpx-ca\.recoveryplanner\.com
mailq = mailq
cpu : dflt = 0.25
bw : dflt = 50M
mem : dflt = 256M
}
I'm using Applogic 2.4.5 Beta hf2586 hf2602 hf1910 and the APK kit is inherited from stock LUX64 appliance.
Additionally, I wasn't able to find in the documentation how to specify quoting style (http://doc.3tera.com/AppLogic24/AdvADLPropertyMarkup.html) in case of "dhcp" method of property propagation.
Any ideas?
Best regards,
Svi
Update: I was able to workaround it by putting 2 backslashes wherever a single backslash is required, but it is inconvenient