Make ServerDTO fully functional
For now the ServerDTO class does not make many sense.
Since this object is used as central VM object, it should have some useful methods:
* methods for injecting/deleting files
* methods for executing commands/scripts
* methods for waitig/checking availability
All this can be done with ssh
Blueprint can be implemented in 3 steps:
* add all this functionality to ServerDTO class
* switch everything from rally.sshutls to new ServerDTO functionality and remove sshutils
* rename ServerDTO to Server
Blueprint information
- Status:
- Complete
- Approver:
- Sergey Skripnick
- Priority:
- Medium
- Drafter:
- Sergey Skripnick
- Direction:
- Approved
- Assignee:
- Sergey Skripnick
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Sergey Skripnick
- Completed by
- Boris Pavlovic
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add ssh methods to ServerDTO
Addressed by: https:/
Add ssh object to ServerDTO
Addressed by: https:/
Use ServerDTO.ssh in devstack engine
Gerrit topic: https:/
Addressed by: https:/
Switch LxcProvider from sshutils
Gerrit topic: https:/
Addressed by: https:/
Switch sshutils.SSH from subprocess to paramiko
Addressed by: https:/
Remove old sshutils functions
Addressed by: https:/
Rename ServerDTO to Server
Work Items
Work items:
[eyerediskin] add ssh to ServerDTO: DONE
[eyerediskin] switch devstack engine from sshutils: DONE
[eyerediskin] switch lxc provider from sshutils: DONE
[miarmak] switch ssh from subprocess to paramiko: DONE
[eyerediskin] remove sshutils: DONE
[miarmak] rename ServerDTO -> Server: DONE