original_docstring: Add any extra variables that may have been set in config.
  
      :param user_cidr: ``str`` IP address range in CIDR notation
      :param inventory: ``dict`` Living inventory of containers and hosts
      :param user_defined_config: ``dict`` User defined variables
      
docstring: Add any extra variables that may have been set in config.
docstring_tokens: Add any extra variables that may have been set in config .
code: def _parse_global_variables(user_cidr, inventory, user_defined_config):
      """Add any extra variables that may have been set in config.
  
      :param user_cidr: ``str`` IP address range in CIDR notation
      :param inventory: ``dict`` Living inventory of containers and hosts
      :param user_defined_config: ``dict`` User defined variables
      """
      if 'all' not in inventory:
          inventory['all'] = {}
  
      if 'vars' not in inventory['all']:
          inventory['all']['vars'] = {}
  
      # Write the users defined cidr into global variables.
      inventory['all']['vars']['container_cidr'] = user_cidr
  
      if 'global_overrides' in user_defined_config:
          if isinstance(user_defined_config['global_overrides'], dict):
              inventory['all']['vars'].update(
                  user_defined_config['global_overrides']
              )
code_tokens: def _parse_global_variables ( user_cidr , inventory , user_defined_config ) : if 'all' not in inventory : inventory [ 'all' ] = { } if 'vars' not in inventory [ 'all' ] : inventory [ 'all' ] [ 'vars' ] = { } inventory [ 'all' ] [ 'vars' ] [ 'container_cidr' ] = user_cidr if 'global_overrides' in user_defined_config : if isinstance ( user_defined_config [ 'global_overrides' ] , dict ) : inventory [ 'all' ] [ 'vars' ] . update ( user_defined_config [ 'global_overrides' ] )
short_docstring: Add any extra variables that may have been set in config.
short_docstring_tokens: Add any extra variables that may have been set in config .
comment: """Add any extra variables that may have been set in config.
  
      :param user_cidr: ``str`` IP address range in CIDR notation
      :param inventory: ``dict`` Living inventory of containers and hosts
      :param user_defined_config: ``dict`` User defined variables
      """$SEP$# Write the users defined cidr into global variables.