Minor cloudcafe updates for security groups tests

- Adding LinuxClient delete_file method
- Adding networks common constants
- Updating security groups data plane delay config default value

Change-Id: I0ee0c15a501270c3a7b7b6ab02be93917c4618a9
This commit is contained in:
Leonardo Maycotte
2016-01-08 12:12:10 -06:00
parent 3ad9dd1183
commit f603ba3b58
3 changed files with 13 additions and 1 deletions

View File

@@ -252,6 +252,16 @@ class LinuxClient(RemoteInstanceClient):
if output:
return output.rstrip('\n') == 'File exists'
def delete_file(self, file_path):
"""
Deletes the file.
@param file_path: Path to the file
@type file_path: string
"""
command = 'rm {file_path}'.format(file_path=file_path)
self.ssh_client.execute_command(command)
def generate_mountpoint(self, prefix=None):
"""
Generates a string to use as a path for mounting drives on the