Add the exclusive tag to nitos nodes in order to show that they are reservables and...
authorMohamed Larabi <mohamed.larabi@inria.fr>
Thu, 20 Sep 2012 09:30:10 +0000 (11:30 +0200)
committerMohamed Larabi <mohamed.larabi@inria.fr>
Thu, 20 Sep 2012 09:30:10 +0000 (11:30 +0200)
sfa/rspecs/elements/versions/nitosv1Node.py

index c9235d6..0154214 100644 (file)
@@ -62,6 +62,9 @@ class NITOSv1Node:
             if position_3d:
                 node_elem.add_instance('position_3d', position_3d, Position3D.fields)
 
+            # all nitos nodes are exculsive
+            exclusive_elem = node_elem.add_element('exclusive')
+            exclusive_elem.set_text('TRUE')
 
             # add granularity of the reservation system
             granularity = node.get('granularity')['grain']