Description

This article describes how to resolve SDWAN policy deployment failures especially when an address objects are used in the intents and address object description has new line  characters.

Symptoms

 
  • Customer created address object with description having new line characters. Here is an example of address object with new line character in the object
  • description. 
image.png

image.png
 
  • SDWAN policy intent created referring new address object. Here is an example of SDWAN policy intent created with address object created in earlier step.

image.png
  • SDWAN deployment failed due to commit error on the device since new line character present in address object description. 

 <nc:error-message>\ndescription: 'Here is the address object with new line\ncharacter': Must be a string excluding '&amp;', '&lt;', '&gt;' and '\\n'\n</nc:error-message>\n</nc:rpc-error>\n<nc:rpc-error>\n<nc:error-type>protocol</nc:error-type>\n<nc:error-tag>operation-failed</nc:error-tag>\n<nc:error-severity>error</nc:error-severity>\n<nc:error-message>syntax error, expecting &lt;rpc&gt; or &lt;/rpc&gt;</nc:error-message>\n<nc:error-info>\n<nc:bad-element>ip-prefix</nc:bad-element>\n</nc:error-info>\n</nc:rpc-error>\n

 

Solution

User can follow instructions to resolve the problem and proceed with SDWAN policy deployment. 

 

  • Remove new line character from address object description. Here is an example of screenshot showing address object edited without any new line character. 
image.png

 
  • Deploy the SDWAN policy again with intents referring to the address object. 

 

  • This bug fixed in CSO 6.3 patch11 or later versions where  address object description will be restricted to single line. 

Modification History

Updated KCS Validation