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


Ignore:
Timestamp:
Dec 21, 2012, 1:29:27 PM (12 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Software/eAM/aInventory

    v4 v5  
    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 named "intelv2770" (and add it to the node)
    246   wget -qO- 'http://new.orbit-lab.org:5054/inventory/resource_add?name=ethernet0&type=device'
    247   wget -qO- 'http://new.orbit-lab.org:5054/inventory/relation_add?parent=node1-1.sb10.orbit-lab.org&child=ethernet0'
     245# Add first device named "node1-1.sb10-e0" (and add it to the node)
     246  wget -qO- 'http://new.orbit-lab.org:5054/inventory/resource_add?name=node1-1.sb10-e0&type=device'
     247  wget -qO- 'http://new.orbit-lab.org:5054/inventory/relation_add?parent=node1-1.sb10.orbit-lab.org&child=node1-1-e0'
    248248# Add attributes for the new device
    249   wget -qO- 'http://new.orbit-lab.org:5054/inventory/attribute_add?name=ethernet0&attribute=INV_MAC_0&value=00:01:02:03:04:05'
     249  wget -qO- 'http://new.orbit-lab.org:5054/inventory/attribute_add?name=node1-1.sb10-e0&attribute=INV_MAC_0&value=00:01:02:03:04:05'
    250250}}}
    251251