Revert "Improve the validation of 'nets' parameter"
This reverts commit 6e71a88542
.
Closes-Bug: #1816694
Change-Id: I90472481c4494bc1097b7f4f0cfc629563e98be8
This commit is contained in:
parent
6e71a88542
commit
fc050d553d
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue