Projets-2015-2016-IaaS Docker-SRS: Difference between revisions

From air
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 115: Line 115:


==Logical database requirement==
==Logical database requirement==
[[File:Database_diagram.png|center|thumb|1000px|Database diagram]]
[[File:Database.jpg|center|thumb|1000px|Database diagram]]


==Software System attributes==
==Software System attributes==
Line 128: Line 128:
===Availability===
===Availability===


The system must be available 24h/24, 7days/7 since both providers and clients should be able to use it.
The system should be available 24h/24, 7days/7 since both providers and clients should be able to use it. However, the servers may be down, but it must remain available 95% of the time.


===Security===
===Security===


The security of the service must be optimal, clients should not be able to access information on instances of other clients. Furthermore, providers should also not be able to access container's information.
The security of the service must be optimal, clients should not be able to access information on instances of other clients. Furthermore, providers should also not be able to access container's information. The database modifications must be restricted too.


===Maintainability===
===Maintainability===

Latest revision as of 10:07, 14 March 2016

The document provides a template of the Software Requirements Specification (SRS). It is inspired of the IEEE/ANSI 830-1998 Standard.


Read first:

Document History
Version Date Authors Description Validator Validation Date
0.1.0 February 2016 Romain Barthelemy, Alan Damotte, Robin Eudes, Kai Guo, Malek Mammar Collaborative IaaS using Docker Pierre-Yves Gibello February 2016

Introduction

Purpose of the requirements document

  • This Software Requirements Specification (SRS) identifies the requirements for the Collaborative Iaas project .
  • This document is a guideline about the functionalities offered and the problems that the system solves.

Scope of the product

The objective of this project is to allow a user group (member) to pool their laptops or desktop in order to calculate big data of few users. To do so, the solution should work with Docker to virtualize user machines and control the use of resources of each machine.

Definitions, acronyms and abbreviations

References

Overview of the remainder of the document

The rest of the SRS examines the specifications of the Collaborative Iaas project in details. Section two of the SRS presents the general factors that affect the Collaborative Iaas project and its requirements, such as user characteristics and project constraints. Section three outlines the detailed, specific and functional requirements, performance, system and other related requirements of the project. Supporting information about appendices is provided in Section three.

General description

Product perspective

Context diagram
Use case diagram

Product functions

  • Client :
    • Register to the service
    • Ask for an instance precising required resources
    • Launch an instance
    • Connect to running instance
    • Stop an instance
    • Remove an instance
    • Give a mark to a provider
  • Provider :
    • Register to the service
    • Download required files
    • Launch coordinator system
    • Provide some of his resources
    • Start providing
    • Stop providing
    • See resources consumption of the instances running on his machine

User characteristics

  • The client/provider doesn't have to be familiar with programming
  • The client/provider should know unix basics
  • The client/provider should know how ssh works
  • The provider should know how to launch a script in a terminal

General constraints

  • System constraint:
    • The provider's machine must run on a unix system (Ubuntu for example)
    • The provider must have Docker installed
  • Environment constraint:
    • Internet access is required to use the service

Assumptions and dependencies

  • The client/provider have an internet access

Specific requirements, covering functional, non-functional and interface requirements

Functional requirements

  • The system must allow user to create their profile
  • The system must allow client to ask for an instance precising required resources
  • The system must allow client to launch an instance
  • The system must allow client to connect to running instance
  • The system must allow client to stop an instance
  • The system must allow client to remove an instance
  • The system should allow client to give a mark to a provider


  • The system must allow client to download required files
  • The system must allow client to launch coordinator system
  • The system must allow client to provide some of his resources
  • The system must allow client to start providing
  • The system must allow client to stop providing
  • The system should allow client to see resources consumption of the instances running on his machine

Performance requirements

Design constraints

Logical database requirement

Database diagram

Software System attributes

Reliability

The system must deliver correct informations all the time, so that :

  • Clients could only connect to their instances
  • Clients could know status of their instances
  • Providers could know status of their machine

Availability

The system should be available 24h/24, 7days/7 since both providers and clients should be able to use it. However, the servers may be down, but it must remain available 95% of the time.

Security

The security of the service must be optimal, clients should not be able to access information on instances of other clients. Furthermore, providers should also not be able to access container's information. The database modifications must be restricted too.

Maintainability

Updates have to be easy to do, in order to add new functionalities, improve the service easily.

Portability

For the moment, the system will be available in Linux only for provider side
However, if packages are available on other systems, we might release the system on other OS later.

Other requirements

  • The system must be able to run on Linux 14 or higher
  • The system must not consume too much CPU
  • The system must not consume too much Memory

Product evolution

Appendices

Specification

  • The global project's page can be found here.

Licensing Requirements

Project under GPLv3 licence : https://www.gnu.org/licenses/gpl-3.0.fr.html