leaf ru-instance-id {
type string;
- // [ast] added extra concat, because only 3 params are accepted in NTS
- // must "re-match(current(), concat(/hw:hardware/hw:component/hw:mfg-name,
- // '_', /hw:hardware/hw:component/hw:model-name, '_',
- // /hw:hardware/hw:component/hw:serial-num ))";
- must "re-match(current(), concat(concat(/hw:hardware/hw:component/hw:mfg-name,
- '_', /hw:hardware/hw:component/hw:model-name), '_',
- /hw:hardware/hw:component/hw:serial-num))";
- // [ast] end fix
+ must "re-match(current(), concat(/hw:hardware/hw:component/hw:mfg-name,
+ '_', /hw:hardware/hw:component/hw:model-name, '_',
+ /hw:hardware/hw:component/hw:serial-num ))";
description
"a unique instance identifier that may be used to identify a
particular hardware instance, e.g., when used performing hierarchical