Jump to: navigation, search

Manila/specs/scenario-tests

< Manila
Revision as of 12:01, 23 February 2015 by Vponomaryov (talk | contribs) (Scenario tests for Manila)

Scenario test cases for Manila project

Blueprint: https://blueprints.launchpad.net/manila/+spec/scenario-tests

Dictionary

Definition Meaning
UVM User VM. It is used as client machine for mounting shares.
SSH Secure SHell. It is used for connection to UVMs.

Prerequisites

- Depending on share driver mode, it can be required to create share-network w/o security-services.
- Depending on protocol, its versions and access type, “mount” operations should be defined explicitly, scenario tests assume it as predefined and known. Hence, scenarios do not include difference between access type (IP, User, Cert). Due to this scenario tests should be data driven by “access_type”, “access_proto”,  “access_level” and “mount command with all expected options”.
- Italic texts depend on specific implementations and can be unsupported by share backends.
- All user VMs should be separate VMs from host of shares. They should have network connectivity with share host. User VMs should be built with image that has shared file systems clients.
- Share host should have open ports for SSH protocol and protocols of shared file systems.

List of scenarious

Name Description
1 Share access and file operations
2 Single/Group access operations
3 Relations between source shares and child shares

1. Share access and file operations

Action Result
1 Create UVM ok, created
2 Create share S ok, created
3 SSH to UVM ok, connected
4 Try mount S to UVM fail, access denied
5 Provide RO access ok
6 Try mount S to UVM ok, mounted
7 Try create files on S fail, access denied
8 Unmount S from UVM ok
9 Remove RO access ok, removed
10 Try mount S to UVM fail, access denied
11 Provide RW access ok, provided
12 Try mount S to UVM ok, mounted
13 Try write files to S ok, written
14 Try read files from S ok, read
15 Try delete files on S ok, deleted
16 Unmount S from UVM ok, unmounted
17 Delete S ok, deleted
18 Try mount S fail, not found
19 Delete UVM ok, deleted

2. Single/Group access operations

Action Result
1 TBD
2 TBD

3. Relations between source shares and child shares

Action Result
1 TBD
2 TBD