Changes between Version 2 and Version 3 of Software/eAM/aInventory
- Timestamp:
- Dec 21, 2012, 8:45:15 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Software/eAM/aInventory
v2 v3 211 211 === Usage Examples === 212 212 213 Create tes bed, add node to it and add basic attributes213 Create testbed, add node to it and add basic attributes 214 214 215 215 {{{ … … 236 236 237 237 {{{ 238 # Delete all attributes col ected by the inventory process running on the node238 # 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 240 XXXXX 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' 241 245 # Add first device (and add it to the node) 242 246 wget -qO- 'http://new.orbit-lab.org:5054/inventory/resource_add?name=ethernet0&type=device'