Symptom
-We are getting the error "Error in generating configuration diff for the device" when trying to review the config preview on a template and also when trying to do the template push.
-The template is being pushed from vmanage 20.8.1 to a cedge ISR4321/K9 running 17.8.1a
-The template push fails when trying to add these commands on the cli add on feature template:
voice class sip-profiles 1
rule 1 request ANY sip-header Remote-Party-ID modify "\".*(<sip:.*)" "\"xxxx\" \1"
rule 2 request ANY sip-header From modify "\".*(<sip:.*)" "\"xxxx\" \1"
- The error is caused by the "<" symbol
Conditions
-vmanage running 20.8.1
-cedge running 17.8.1a
-cli add on template with these commands:
voice class sip-profiles 1
rule 1 request ANY sip-header Remote-Party-ID modify "\".*(<sip:.*)" "\"xxxxxxxxxx\" \1"
rule 2 request ANY sip-header From modify "\".*(<sip:.*)" "\"xxxxxxxxxx\" \1"
Workaround
Configure the devices via cli
Not including the "<" in the lines when configuring from vManage also will pass.
Further Problem Description
For the "\" use within vManage you can use the string \x5c,
Example: if you have the following string \1 on vManage you have to submit
\x5c1