Skip to content

Commit 4e0b975

Browse files
committed
schema: Update pattern to support integrated SR OS types
1 parent 9465cb5 commit 4e0b975

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

schema/clab.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@
380380
]
381381
},
382382
{
383-
"pattern": "cp:.+"
383+
"pattern": "^((lc|cp):\\s)?((cpu|ram|max_nics)=\\d+|slot=[A-Z]|chassis=[^\\s]+|card=.*|\\s)+$"
384384
}
385385
]
386386
}
@@ -1272,4 +1272,4 @@
12721272
"name",
12731273
"topology"
12741274
]
1275-
}
1275+
}

0 commit comments

Comments
 (0)