"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cinder/api/validation/parameter_types.py" between
cinder-15.5.0.tar.gz and cinder-15.6.0.tar.gz

About: OpenStack Cinder (Core Service: Block Storage) provides persistent block storage to running instances. Its pluggable driver architecture facilitates the creation and management of block storage devices.
The "Train" series (maintained release).

parameter_types.py  (cinder-15.5.0):parameter_types.py  (cinder-15.6.0)
skipping to change at line 210 skipping to change at line 210
# NOTE: 'host' is defined in "services" table, and that # NOTE: 'host' is defined in "services" table, and that
# means a hostname. The hostname grammar in RFC952 does # means a hostname. The hostname grammar in RFC952 does
# not allow for underscores in hostnames. However, this # not allow for underscores in hostnames. However, this
# schema allows them, because it sometimes occurs in # schema allows them, because it sometimes occurs in
# real systems. As it is a cinder host, not a hostname, # real systems. As it is a cinder host, not a hostname,
# and due to some driver needs, colons and forward slashes # and due to some driver needs, colons and forward slashes
# were also included in the regex. # were also included in the regex.
'pattern': '^[a-zA-Z0-9-._#@:/+]*$' 'pattern': '^[a-zA-Z0-9-._#@:/+]*$'
} }
cinder_host = {
# A string that represents a cinder host.
# Examples:
# hostname
# hostname.domain
# hostname.domain@backend
# hostname.domain@backend#pool
# hostname.domain@backend#[dead:beef::cafe]:/complex_ipv6_pool_w_share
'type': ['string', 'null'], 'minLength': 1, 'maxLength': 255,
'pattern': r'^[a-zA-Z0-9-._#@:/+\[\]]*$' # hostname plus brackets
}
resource_type = {'type': ['string', 'null'], 'minLength': 0, 'maxLength': 40} resource_type = {'type': ['string', 'null'], 'minLength': 0, 'maxLength': 40}
service_id = { service_id = {
'type': ['integer', 'string', 'null'], 'type': ['integer', 'string', 'null'],
'pattern': '^[0-9]*$', 'maxLength': 11 'pattern': '^[0-9]*$', 'maxLength': 11
} }
optional_uuid = {'oneOf': [{'type': 'null'}, optional_uuid = {'oneOf': [{'type': 'null'},
{'type': 'string', 'format': 'uuid'}]} {'type': 'string', 'format': 'uuid'}]}
 End of changes. 1 change blocks. 
0 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)