Package ganeti :: Package rpc :: Package stub :: Module wconfd
[hide private]
[frames] | no frames]

Source Code for Module ganeti.rpc.stub.wconfd

  1  # This file is automatically generated, do not edit! 
  2  # pylint: disable-all 
3 -class ClientRpcStub(object):
4 - def _GenericInvoke(self, method, *args):
5 raise NotImplementedError()
6
7 - def _GetSocketPath(self):
8 from ganeti import pathutils 9 return pathutils.WCONFD_SOCKET
10
11 - def Echo(self, string):
12 return self._GenericInvoke("echo", string)
13
14 - def CleanupLocks(self):
15 return self._GenericInvoke("cleanupLocks")
16
17 - def PrepareClusterDestruction(self, clientId):
18 return self._GenericInvoke("prepareClusterDestruction", clientId)
19
20 - def ReadConfig(self):
21 return self._GenericInvoke("readConfig")
22
23 - def WriteConfig(self, clientId, configData):
24 return self._GenericInvoke("writeConfig", clientId, configData)
25
26 - def VerifyConfig(self):
27 return self._GenericInvoke("verifyConfig")
28
29 - def LockConfig(self, clientId, bool):
30 return self._GenericInvoke("lockConfig", clientId, bool)
31
32 - def UnlockConfig(self, clientId):
33 return self._GenericInvoke("unlockConfig", clientId)
34
35 - def WriteConfigAndUnlock(self, clientId, configData):
36 return self._GenericInvoke("writeConfigAndUnlock", clientId, configData)
37
38 - def FlushConfig(self):
39 return self._GenericInvoke("flushConfig")
40
41 - def DropAllReservations(self, clientId):
42 return self._GenericInvoke("dropAllReservations", clientId)
43
44 - def ComputeDRBDMap(self):
45 return self._GenericInvoke("computeDRBDMap")
46
47 - def AllocateDRBDMinor(self, diskUUID, nodeUUIDList):
48 return self._GenericInvoke("allocateDRBDMinor", diskUUID, nodeUUIDList)
49
50 - def ReleaseDRBDMinors(self, diskUUID):
51 return self._GenericInvoke("releaseDRBDMinors", diskUUID)
52
53 - def ReserveMAC(self, clientId, mAC):
54 return self._GenericInvoke("reserveMAC", clientId, mAC)
55
56 - def GenerateMAC(self, clientId, networkUUIDMaybeForJSON):
57 return self._GenericInvoke("generateMAC", clientId, networkUUIDMaybeForJSON)
58
59 - def GenerateDRBDSecret(self, clientId):
60 return self._GenericInvoke("generateDRBDSecret", clientId)
61
62 - def ReserveLV(self, clientId, logicalVolume):
63 return self._GenericInvoke("reserveLV", clientId, logicalVolume)
64
65 - def ReserveIp(self, clientId, networkUUID, ip4Address, bool):
66 return self._GenericInvoke("reserveIp", clientId, networkUUID, ip4Address, bool)
67
68 - def ReleaseIp(self, clientId, networkUUID, ip4Address):
69 return self._GenericInvoke("releaseIp", clientId, networkUUID, ip4Address)
70
71 - def GenerateIp(self, clientId, networkUUID):
72 return self._GenericInvoke("generateIp", clientId, networkUUID)
73
74 - def CommitTemporaryIps(self, clientId):
75 return self._GenericInvoke("commitTemporaryIps", clientId)
76
77 - def CommitReleaseTemporaryIp(self, networkUUID, ip4Address):
78 return self._GenericInvoke("commitReleaseTemporaryIp", networkUUID, ip4Address)
79
80 - def ListReservedIps(self, clientId):
81 return self._GenericInvoke("listReservedIps", clientId)
82
83 - def ListLocks(self, clientId):
84 return self._GenericInvoke("listLocks", clientId)
85
86 - def ListAllLocks(self):
87 return self._GenericInvoke("listAllLocks")
88
89 - def ListAllLocksOwners(self):
90 return self._GenericInvoke("listAllLocksOwners")
91
92 - def ListLocksWaitingStatus(self):
93 return self._GenericInvoke("listLocksWaitingStatus")
94
95 - def TryUpdateLocks(self, clientId, ganetiLockRequest):
96 return self._GenericInvoke("tryUpdateLocks", clientId, ganetiLockRequest)
97
98 - def UpdateLocksWaiting(self, clientId, integer, ganetiLockRequest):
99 return self._GenericInvoke("updateLocksWaiting", clientId, integer, ganetiLockRequest)
100
101 - def FreeLocks(self, clientId):
102 return self._GenericInvoke("freeLocks", clientId)
103
104 - def FreeLocksLevel(self, clientId, lockLevel):
105 return self._GenericInvoke("freeLocksLevel", clientId, lockLevel)
106
107 - def DownGradeLocksLevel(self, clientId, lockLevel):
108 return self._GenericInvoke("downGradeLocksLevel", clientId, lockLevel)
109
110 - def IntersectLocks(self, clientId, ganetiLocksList):
111 return self._GenericInvoke("intersectLocks", clientId, ganetiLocksList)
112
113 - def OpportunisticLockUnion(self, clientId, ganetiLocks_ownerState_PairList):
114 return self._GenericInvoke("opportunisticLockUnion", clientId, ganetiLocks_ownerState_PairList)
115
116 - def GuardedOpportunisticLockUnion(self, int, clientId, ganetiLocks_ownerState_PairList):
117 return self._GenericInvoke("guardedOpportunisticLockUnion", int, clientId, ganetiLocks_ownerState_PairList)
118
119 - def HasPendingRequest(self, clientId):
120 return self._GenericInvoke("hasPendingRequest", clientId)
121
122 - def AddInstance(self, instance, clientId):
123 return self._GenericInvoke("addInstance", instance, clientId)
124