From: Mohamed Larabi Date: Thu, 20 Sep 2012 09:30:10 +0000 (+0200) Subject: Add the exclusive tag to nitos nodes in order to show that they are reservables and... X-Git-Tag: sfa-2.1-15~16 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=6641102e564105238879c45653397ad9cefab586;p=sfa.git Add the exclusive tag to nitos nodes in order to show that they are reservables and not shared --- diff --git a/sfa/rspecs/elements/versions/nitosv1Node.py b/sfa/rspecs/elements/versions/nitosv1Node.py index c9235d6b..0154214d 100644 --- a/sfa/rspecs/elements/versions/nitosv1Node.py +++ b/sfa/rspecs/elements/versions/nitosv1Node.py @@ -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']