keystone  18.0.0
About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Victoria" series (maintained release).
  Fossies Dox: keystone-18.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

keystone.common.validation.parameter_types Namespace Reference

Variables

dictionary boolean
 
dictionary name
 
dictionary external_id_string
 
dictionary id_string
 
dictionary mapping_id_string
 
dictionary description
 
dictionary url
 
dictionary email
 
dictionary integer_min0
 

Variable Documentation

◆ boolean

dictionary keystone.common.validation.parameter_types.boolean
Initial value:
1 = {
2  'type': 'boolean',
3  'enum': [True, False]
4 }

Definition at line 14 of file parameter_types.py.

◆ description

dictionary keystone.common.validation.parameter_types.description
Initial value:
1 = {
2  'type': 'string'
3 }

Definition at line 54 of file parameter_types.py.

◆ email

dictionary keystone.common.validation.parameter_types.email
Initial value:
1 = {
2  'type': 'string',
3  'format': 'email'
4 }

Definition at line 68 of file parameter_types.py.

◆ external_id_string

dictionary keystone.common.validation.parameter_types.external_id_string
Initial value:
1 = {
2  'type': 'string',
3  'minLength': 1,
4  'maxLength': 64
5 }

Definition at line 32 of file parameter_types.py.

◆ id_string

dictionary keystone.common.validation.parameter_types.id_string
Initial value:
1 = {
2  'type': 'string',
3  'minLength': 1,
4  'maxLength': 64,
5  # TODO(lbragstad): Find a way to make this configurable such that the end
6  # user chooses how much control they want over id_strings with a regex
7  'pattern': r'^[a-zA-Z0-9-]+$'
8 }

Definition at line 38 of file parameter_types.py.

◆ integer_min0

dictionary keystone.common.validation.parameter_types.integer_min0
Initial value:
1 = {
2  'type': 'integer',
3  'minimum': 0
4 }

Definition at line 73 of file parameter_types.py.

◆ mapping_id_string

dictionary keystone.common.validation.parameter_types.mapping_id_string
Initial value:
1 = {
2  'type': 'string',
3  'minLength': 1,
4  'maxLength': 64,
5  'pattern': '^[a-zA-Z0-9-_]+$'
6 }

Definition at line 47 of file parameter_types.py.

◆ name

dictionary keystone.common.validation.parameter_types.name
Initial value:
1 = {
2  'type': 'string',
3  'minLength': 1,
4  'maxLength': 255,
5  'pattern': r'[\S]+'
6 }

Definition at line 25 of file parameter_types.py.

◆ url

dictionary keystone.common.validation.parameter_types.url
Initial value:
1 = {
2  'type': 'string',
3  'minLength': 0,
4  'maxLength': 225,
5  # NOTE(edmondsw): we could do more to validate per various RFCs, but
6  # decision was made to err on the side of leniency. The following is based
7  # on rfc1738 section 2.1
8  'pattern': '^[a-zA-Z0-9+.-]+:.+'
9 }

Definition at line 58 of file parameter_types.py.