[YANG] update sonic DB version string format (#17608)
Old format: version_a_b_c New format: version_<branch>_<nn> Signed-off-by: Ying Xie <ying.xie@microsoft.com>
This commit is contained in:
parent
c410b18f8f
commit
a0210df43a
@ -23,7 +23,7 @@ module sonic-versions {
|
||||
leaf VERSION {
|
||||
type string {
|
||||
length 1..255;
|
||||
pattern 'version_([1-9]|[1-9]{1}[0-9]{1})_([0-9]{1,2})_([0-9]{1,2})';
|
||||
pattern 'version_(([1-9]|[1-9]{1}[0-9]{1})_([0-9]{1,2})_([0-9]{1,2})|([1-9]{1}[0-9]{5})_([0-9]{2}))';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user