[202311][YANG][sonic-utilities] update sonic DB version string format (#17600)
Old format: version_a_b_c New format: version_<branch>_<nn> sonic-utilities: * fba4bf0b 2023-12-21 | [202311][db_migrator] add db migrator version space for 202305/202311 branch (#3082) (HEAD -> 202311, github/202311) [Ying Xie] Signed-off-by: Ying Xie <ying.xie@microsoft.com>
This commit is contained in:
parent
16e695b912
commit
af08f29d4d
@ -1 +1 @@
|
|||||||
Subproject commit 1b1402f5dc0fd01e5f0d25679e7382fc96226a40
|
Subproject commit fba4bf0b932949117d5383afccdeb36d6a882209
|
@ -23,7 +23,7 @@ module sonic-versions {
|
|||||||
leaf VERSION {
|
leaf VERSION {
|
||||||
type string {
|
type string {
|
||||||
length 1..255;
|
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