Changes between Version 3 and Version 4 of Software/eAM/aInventory


Ignore:
Timestamp:
Dec 21, 2012, 1:23:03 PM (11 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Software/eAM/aInventory

    v3 v4  
    238238# Delete all attributes collected by the inventory process running on the node
    239239  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??? XXXXX
    241240# 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)
    243243# Then delete all devices by using resource_delete
    244244  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)
    246246  wget -qO- 'http://new.orbit-lab.org:5054/inventory/resource_add?name=ethernet0&type=device'
    247247  wget -qO- 'http://new.orbit-lab.org:5054/inventory/relation_add?parent=node1-1.sb10.orbit-lab.org&child=ethernet0'