Hi,

I've got a must statement that causes a compilation error on a Cisco NCS device 
(admittedly ancient (NCS version 3.4.4), but can't update it), as follows:

must "(../../packets * current()) <= (../../interval * 1000)";

Error is 'error: XPath syntax error: 40: unknown operator current'

However, our internal XPATH compiler thinks this is valid, and if I change the 
order in the must statement to the following, the NCS is happy:

must "(current() * ../../packets) <= (../../interval * 1000)";

Can anyone confirm if there is a genuine error in the original must statement, 
or is it valid XPATH?

Thanks,

William
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to