| 55 |   | * Make it active, i.e set INF_status to 1 if domain should appear on status page | 
          
          
            | 56 |   | {{{ | 
          
          
            | 57 |   |  wget -qO- 'http://new.orbit-lab.org:5054/attribute_modify?name=<new_name&attribute=INF_status&value=1 | 
          
          
            | 58 |   | }}} | 
          
          
            | 59 |   | Domain have to have INF_x_max and INF_y_max attributes. It is necessary to restart status service after these changes. | 
          
          
            | 60 |   | * Change description  | 
          
          
            | 61 |   | {{{ | 
          
          
            | 62 |   |  wget -qO- 'http://new.orbit-lab.org:5054/attribute_modify?name=<new_name>&attribute=INF_description&value=<new_description> | 
          
          
            | 63 |   | }}} | 
          
          
            | 64 |   |  | 
          
          
            | 65 |   | ===== Define list of nodes ===== | 
          
          
            | 66 |   |  | 
          
          
            | 67 |   | * Delete old list of nodes  - currently, there is no possibility to do it trough service, it has to be done into database directly | 
          
          
            | 68 |   | {{{ | 
          
          
            | 69 |   | DELETE FROM inventory54.relations WHERE subject_id=(SELECT id FROM inventory54.resources where name='<new_name>'); | 
          
          
            | 70 |   | }}} | 
          
          
            | 71 |   | Pay attention, <new_name> is used because name is already changed. If you this before changing the name, than use <old_name>. | 
          
          
            | 72 |   | * Add nodes  - do the flowing for each node that belongs to resource i.e. testbed | 
          
          
            | 73 |   | {{{ | 
          
          
            | 74 |   |  wget -qO- 'http://new.orbit-lab.org:5054/relation_add?parent=<new_name>&child=<node_name> | 
          
          
            | 75 |   | }}} |