summaryrefslogtreecommitdiffstats
path: root/src/main/thrift/bwlp.thrift
diff options
context:
space:
mode:
authorJonathan Bauer2016-08-31 16:42:38 +0200
committerJonathan Bauer2016-08-31 16:42:38 +0200
commitce366d169ddfb316c08953188bbd01ae50ac99c8 (patch)
treeb5a52823293fba66e007558cc3f746ac2b502878 /src/main/thrift/bwlp.thrift
parentFix some minor handling issues with transfers wrt global image exchange (diff)
downloadmaster-sync-shared-ce366d169ddfb316c08953188bbd01ae50ac99c8.tar.gz
master-sync-shared-ce366d169ddfb316c08953188bbd01ae50ac99c8.tar.xz
master-sync-shared-ce366d169ddfb316c08953188bbd01ae50ac99c8.zip
new API calls for VMX edit stuff
Diffstat (limited to 'src/main/thrift/bwlp.thrift')
-rw-r--r--src/main/thrift/bwlp.thrift8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift
index 4985da0..e60574d 100644
--- a/src/main/thrift/bwlp.thrift
+++ b/src/main/thrift/bwlp.thrift
@@ -526,6 +526,14 @@ service SatelliteServer {
void setImageVersionExpiry(1: Token userToken, 2: UUID imageBaseId 3: UnixTimestamp expireTime)
throws (1:TAuthorizationException authError, 2:TNotFoundException notFound, 3:TInvocationException serverError, 4:TInvalidDateParam dateError),
+ // Get image's VM metadata for the given version
+ binary getImageVersionVirtConfig(1: Token userToken, 2: UUID imageVersionId)
+ throws (1:TAuthorizationException authError, 2:TNotFoundException notFound, 3:TInvocationException serverError),
+
+ // Set image's VM metadata for the given version
+ binary setImageVersionVirtConfig(1: Token userToken, 2: UUID imageVersionId, 3: binary meta)
+ throws (1:TAuthorizationException authError, 2:TNotFoundException notFound, 3:TInvocationException serverError),
+
// Client asks server to replicate an image from the master server
UUID requestImageReplication(1:Token userToken, 2: UUID imageVersionId)
throws (1:TAuthorizationException authError, 2:TNotFoundException notFound, 3:TInvocationException serverError),