Revert "Improve the validation of 'nets' parameter"

This reverts commit 6e71a88542.

Closes-Bug: #1816694
Change-Id: I90472481c4494bc1097b7f4f0cfc629563e98be8
This commit is contained in:
Hongbin Lu 2019-02-20 04:51:41 +00:00
parent 6e71a88542
commit fc050d553d
1 changed files with 1 additions and 25 deletions

View File

@ -110,31 +110,7 @@ hints = {
}
nets = {
'type': ['array', 'null'],
'items': {
'type': 'object',
'properties': {
'network': {
'type': ['string'],
'minLength': 1,
'maxLength': 255,
},
'v4-fixed-ip': {
'type': ['string'],
'format': 'ipv4'
},
'v6-fixed-ip': {
'type': ['string'],
'format': 'ipv6'
},
'port': {
'type': ['string'],
'maxLength': 255,
'minLength': 1,
}
},
'additionalProperties': False
}
'type': ['array', 'null']
}
mounts = {