Skip to content

Commit

Permalink
Merge branch 'main' into luisdev
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarinve committed Apr 8, 2024
2 parents 8488f60 + fd4603d commit 05a460b
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions data-plane/container-validator/validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ paths:
properties:
id:
type: string
pattern: '^((urn:sdx:topology:)[A-Za-z_.:-]*$)'
pattern: '^((urn:sdx:topology:)[A-Za-z0-9_.:-]*$)'
name:
type: string
minLength: 3
maxLength: 30
pattern: '^[A-Za-z_.-]*$'
pattern: '^[A-Za-z0-9_.-]*$'
version:
type: integer
format: int64
Expand All @@ -77,7 +77,7 @@ paths:
properties:
id:
type: string
pattern: '^((urn:sdx:node:)[A-Za-z_.-\:]*$)'
pattern: '^((urn:sdx:node:)[A-Za-z0-9_.\:/-]*$)'
name:
type: string
minLength: 3
Expand Down Expand Up @@ -107,12 +107,12 @@ paths:
properties:
id:
type: string
pattern: '^((urn:sdx:link:)[A-Za-z_.-\:]*$)'
pattern: '^((urn:sdx:link:)[A-Za-z0-9_.\:/-]*$)'
name:
type: string
minLength: 3
maxLength: 30
pattern: '^[A-Za-z0-9_.-/]*$'
pattern: '^[A-Za-z0-9_./\:-]*$'
ports:
type: array
minItems: 1
Expand Down Expand Up @@ -261,21 +261,23 @@ components:
properties:
id:
type: string
pattern: '^((urn:sdx:port:)[A-Za-z_.-\:]*$)'
pattern: '^((urn:sdx:port:)[A-Za-z0-9_.\:/-]*$)'
name:
type: string
minLength: 3
maxLength: 30
pattern: '^[A-Za-z0-9_.-]*$'
pattern: '^[A-Za-z0-9_.\:/-]*$'
node:
type: string
pattern: '^((urn:sdx:node:)[A-Za-z_.-\:]*$)'
pattern: '^((urn:sdx:node:)[A-Za-z0-9_.\:/-]*$)'
type:
type: string
enum: ['100FE','1GE','10GE','25GE','40GE','50GE','100GE','400GE','Other']
mtu:
type: integer
format: int32
short_name:
type: string
nni:
type: string
status:
Expand All @@ -284,6 +286,10 @@ components:
state:
type: string
enum: ['enabled','disabled']
label_range:
type: array
items:
type: string
services:
items:
type: object
Expand Down Expand Up @@ -316,6 +322,11 @@ components:
type: number
minimum: -90.0
maximum: 90.0
iso3166_2_lvl4:
type: string
minLength: 5
maxLength: 5
pattern: '^[A-Z]{2}-[A-Z]{2}$'
ErrorMessage:
type: object
required:
Expand Down

0 comments on commit 05a460b

Please sign in to comment.