cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
344
Views
0
Helpful
1
Replies

Troubleshooting a Template issue.

previousqna
Level 5
Level 5

All ,

 

 

I’m trying to clarify an error message that I’m getting while attempting to commit a template targeting a CSR1000v.

 

Operation ‘merge’ on non-existing node:

 

 

At first I thought this was due to a typo in the device name , but I’ve confirmed the device exists.

 

Does this message imply the structure of the XML template is incorrect?

 

  

 

For /services/allowaccess:allowaccess[name='EBP_Demo_1_AppA'], it evaluates to "CSR_EBP_Chain_1"

 

Operation 'merge' on existing node: /devices/device[name='CSR_EBP_Chain_1'] (from file "allowaccess-template.xml", line 103)

 

Evaluating "/hosts" (from file "allowaccess-template.xml", line 106)

 

Context node: /services/allowaccess:allowaccess[name='EBP_Demo_1_AppA']

 

Result:

 

For /services/allowaccess:allowaccess[name='EBP_Demo_1_AppA']/hosts[real_addr='104.255.220.181'], it evaluates to []

 

Evaluating "real_addr" (from file "allowaccess-template.xml", line 112)

 

Context node: /services/allowaccess:allowaccess[name='EBP_Demo_1_AppA']/hosts[real_addr='104.255.220.181']

 

Result:

 

For /services/allowaccess:allowaccess[name='EBP_Demo_1_AppA']/hosts[real_addr='104.255.220.181'], it evaluates to "104.255.220.181"

 

Evaluating "nat_addr" (from file "allowaccess-template.xml", line 113)

 

Context node: /services/allowaccess:allowaccess[name='EBP_Demo_1_AppA']/hosts[real_addr='104.255.220.181']

 

Result:

 

For /services/allowaccess:allowaccess[name='EBP_Demo_1_AppA']/hosts[real_addr='104.255.220.181'], it evaluates to "104.255.221.181"

 

Operation 'merge' on non-existing node: /devices/device[name='CSR_EBP_Chain_1']/config/ios:ip/nat/inside/source/static/nat-static-address-list[local-ip='104.255.220.181'][global-ip='104.255.221.181'] (from file "allowaccess-template.xml", line 113)

1 Reply 1

previousqna
Level 5
Level 5

If you have tags=merge set and you encounter something that’s doesn’t exist you will see such a message. You can change the tags to make sure you don’t accidently create something you expect to be there if you want.