1
は、以下のスニペットで..とcurrent()の使用法が正しいですか? 意味は、current()と../が等しい場合がありますか?現在のvs ../yangのxpath式の使用
container c {
leaf f1 {
type string;
}
leaf f2 {
type string;
when "../f1 = 'abc'";
}
leaf f3 {
type string;
when "current()/../f1 = 'abc'";
}
}