05-09-2017 07:41 AM - edited 03-01-2019 03:48 AM
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)
05-09-2017 07:42 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide