Package flumotion :: Package launch :: Module parse
[hide private]

Module parse

source code

flumotion.launch.parse: A parsing library for flumotion-launch syntax.


Version: $Rev: 6125 $

Classes [hide private]
  Component
  ComponentStore
  Linker
Functions [hide private]
 
err(x) source code
 
parse_plug(arg) source code
 
parse_prop(arg) source code
 
parse_arg(arg, components, linker) source code
 
parse_args(args)
Parse flumotion-launch arguments.
source code
Function Details [hide private]

parse_args(args)

source code 

Parse flumotion-launch arguments.

Parse flumotion-launch arguments, returning a list of component configs.

A component config is what we will pass to a component when we create it. It is a dict:

  • 'name': component name
  • 'type': component type
  • 'properties': dict of property name => property value
  • 'feed': list of [feeder name,...]
  • 'source': list of [feeder name,...], (optional)
  • 'clock-master': clock master or None
  • 'plugs': dict of socket name => plug config