NECo: A tool to design and run experiments on arbitrary platforms.
[nepi.git] / src / neco / execution / callbacks.py
1
2 def deploy(ec_weakref, xml):
3     from neco.util.parser import XMLParser    
4
5     # parse xml and build topology graph
6     parser = XMLParser()
7     box = parser.from_xml(xml)
8
9     # instantiate resource boxes
10     
11
12     # allocate physical resources
13     # configure physical resources
14     # allocate virtual resources
15     # configure virtual resources
16     # allocate software resources
17     # configure software resources
18     # schedule application start/stop
19
20