from sfa.rspecs.elements.element import Element
-
-class Node(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': [],
- }
-
-
+
+
+class NodeElement(Element):
+
+ 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',
+ ]