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)