X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Frspecs%2Felements%2Fnode.py;h=e0f65e40990b1a9a56f16873dd692e1bfc37ff6b;hb=1cc8e9613cab8b5b22478de369f259e591c54e6d;hp=a2e11cd5d3b751315d57b8c17e2c66f938cd4f79;hpb=a8d895c1315a02001b6bd6f393232fa07aa810ea;p=sfa.git diff --git a/sfa/rspecs/elements/node.py b/sfa/rspecs/elements/node.py index a2e11cd5..e0f65e40 100644 --- a/sfa/rspecs/elements/node.py +++ b/sfa/rspecs/elements/node.py @@ -1,22 +1,27 @@ from sfa.rspecs.elements.element import Element -class Node(Element): +class NodeElement(Element): - fields = { - 'component_id': None, - 'component_name': None, - 'component_manager_id': None, - 'authority_id': None, - 'exclusive': None, - 'location': None, - 'bw_unallocated': None, - 'bw_limit': None, - 'boot_state': None, - 'slivers': [], - 'hardware_type': [], - 'disk_image': [], - 'interfaces': [], - 'tags': [], - } + fields = [ + 'client_id', + 'component_id', + 'component_name', + 'component_manager_id', + 'client_id', + 'sliver_id', + 'authority_id', + 'exclusive', + 'location', + 'bw_unallocated', + 'bw_limit', + 'boot_state', + 'slivers', + 'hardware_types', + 'disk_images', + 'interfaces', + 'services', + 'tags', + 'pl_initscripts', + ]