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


Ignore:
Timestamp:
Dec 21, 2012, 8:45:15 AM (11 years ago)
Author:
Olivera Tosic
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Software/eAM/aInventory

    v2 v3  
    211211=== Usage Examples ===
    212212
    213 Create tesbed, add node to it and add basic attributes
     213Create testbed, add node to it and add basic attributes
    214214
    215215{{{
     
    236236
    237237{{{
    238 # Delete all attributes colected by the inventory process running on the node
     238# 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_*'
    240240XXXXX Delete all devices for the node??? XXXXX
     241# 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'
     243# Then delete all devices by using resource_delete
     244  wget -qO- 'http://new.orbit-lab.org:5054/inventory/resource_delete?set=device1,device2,...deviceN'
    241245# Add first device (and add it to the node)
    242246  wget -qO- 'http://new.orbit-lab.org:5054/inventory/resource_add?name=ethernet0&type=device'