Changes between Version 3 and Version 4 of Software/eAM/aInventory
- Timestamp:
- Dec 21, 2012, 1:23:03 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Software/eAM/aInventory
v3 v4 238 238 # Delete all attributes collected by the inventory process running on the node 239 239 wget -qO- 'http://new.orbit-lab.org:5054/inventory/attribute_delete?name=node1-1.sb10.orbit-lab.org&attribute=INV_*' 240 XXXXX Delete all devices for the node??? XXXXX241 240 # First, find all devices that belong to node 242 wget -qO- 'http://new.orbit-lab.org:5054/inventory/resource_list?parent=node1-1.sb10.orbit-lab.org' 241 wget -q -O device_list.xml 'http://new.orbit-lab.org:5054/inventory/resource_list?parent=node1-1.sb10.orbit-lab.org' 242 device1,device2,device3,...,deviceN = parse_xml(device_list.xml) 243 243 # Then delete all devices by using resource_delete 244 244 wget -qO- 'http://new.orbit-lab.org:5054/inventory/resource_delete?set=device1,device2,...deviceN' 245 # Add first device (and add it to the node)245 # Add first device named "intelv2770" (and add it to the node) 246 246 wget -qO- 'http://new.orbit-lab.org:5054/inventory/resource_add?name=ethernet0&type=device' 247 247 wget -qO- 'http://new.orbit-lab.org:5054/inventory/relation_add?parent=node1-1.sb10.orbit-lab.org&child=ethernet0'