Browse Source

Relax UUID regex

Current UUID regular expression is too restrictive, NSX Manager might
generate UUIDs that does not match regex, but are valid UUID values.

Change-Id: I51d12a647bb06cffc02dc0403426825a8f17da35
Igor Zinovik 2 years ago
parent
commit
b082bbc2c6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      environment_config.yaml

+ 1
- 1
environment_config.yaml View File

@@ -50,7 +50,7 @@ attributes:
50 50
     weight: 25
51 51
     type: "text"
52 52
     regex:
53
-      source: &uuid '[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}'
53
+      source: &uuid '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
54 54
       error: 'Enter transport zone UUID'
55 55
   default_vlan_tz_uuid:
56 56
     value: ''

Loading…
Cancel
Save