Merge pull request #3859 from chouseknecht/devel

Fix 3857 name regex
reviewable/pr18780/r1
Chris Houseknecht 9 years ago
commit 100cc644a3

@ -145,7 +145,7 @@ except ImportError:
pass
NAME_PATTERN = re.compile(r"^[a-zA-Z0-9_]{1,61}[a-z0-9_]$")
NAME_PATTERN = re.compile(r"^[a-zA-Z0-9]+[a-zA-Z0-9\._-]+[a-zA-Z0-9_]+$")
def virtual_network_to_dict(vnet):

Loading…
Cancel
Save