User Tools

Site Tools


use-cases:node-basic-operations
Use case name

#13: Node basic operations

Goal

Perform basic operations on nodes

Scope

Server (Software) and Node (Software)

Level

Summary

Pre-conditions
  1. The node announced or registered on the sistem
  2. The user that performs the deletion (actioner) has to be registered
Primary actor

A registered actioner

Trigger
  1. A registed user with some credentials level uses the server interface (or server API) to start/stop/restart a node

OR

  1. A registed user with some credentials level start/stop/restart a node where has been registered
Main Success Scenario 1
  1. The actioner selects a node and click on manage options
  2. As alternative: the actioner sends a valid request with all information to the Public server API
  3. The server verifies the actioner credentials
  4. The node performs the action
  5. If the action implies a stop or restart:
  6. The server verifies if the node actually is part of any sliver and/or if it's running an experiment
  7. The server notifies to each sliver that the node will be stopped or restarted
  8. The server notifies to each user with an experiment on the node that the node will be stopped or restarted
  9. The server stops the node and remove all assigned slivers
Main Success Scenario 2
  1. The actioner logged into a node runs the special command OPERATION { STOP | RESTART }
  2. As alternative: the actioner sends a valid request with all information to the Public node API
  3. The node verisifies the SSH with special permissions
  4. The node performs the action
  5. The server verifies if the node actually is part of any sliver and/or if it's running an experiment
  6. The server notifies to each sliver that the node will be stopped or restarted
  7. The server notifies to each user with an experiment on the node that the node will be stopped or restarted
  8. The server stops the node and remove all assigned slivers
Details

DAVIDE: We need to discuss the model of user permissions and roles to have clear who can make each action and who not

LEANDRO: A research device can be soft-restarted, or hard restarted by power-cycling the research device from the control node.

use-cases/node-basic-operations.txt · Last modified: 2012/04/15 22:16 by leandro