Return the full path to the capture

This commit is contained in:
Julien Duponchelle committed 2016-04-26 17:36:24 +02:00
1 parent 264254e657
commit 76b2ca2bc0
3 files changed
+8 -2

No files matched your search

+2 -1
View File
@@ -145,5 +145,6 @@ class Link:
return {
"vms": res, "link_id": self._id,
"capturing": self._capturing,
"capture_file_name": self._capture_file_name
"capture_file_name": self._capture_file_name,
"capture_file_path": self.capture_file_path
}
+4
View File
@@ -61,6 +61,10 @@ LINK_OBJECT_SCHEMA = {
"capture_file_name": {
"description": "Read only propertie. The name of the capture file if capture is running",
"type": ["string", "null"]
},
"capture_file_path": {
"description": "Read only propertie. The full path of the capture file if capture is running",
"type": ["string", "null"]
}
},
"required": ["vms"],