02-28-2019 02:11 PM - edited 02-28-2019 02:12 PM
Lets say i have a leaf A of type string without any pattern. Can i augment a pattern to that leaf from another yang ? This would involve modification of type behavior.
Container start{
leaf A{
type string ;
}
}
Lets say i want to add the following pattern to the leaf A
pattern
'([0-9a-fA-F])*';
03-01-2019 01:55 AM
03-01-2019 12:09 PM
Thanks for replying.
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