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 PrepareClusterDestruction(self, clientId):
15 return self._GenericInvoke("prepareClusterDestruction", clientId)
16
17 - def ReadConfig(self):
18 return self._GenericInvoke("readConfig")
19
20 - def WriteConfig(self, clientId, configData):
21 return self._GenericInvoke("writeConfig", clientId, configData)
22
23 - def VerifyConfig(self):
24 return self._GenericInvoke("verifyConfig")
25
26 - def LockConfig(self, clientId, bool):
27 return self._GenericInvoke("lockConfig", clientId, bool)
28
29 - def UnlockConfig(self, clientId):
30 return self._GenericInvoke("unlockConfig", clientId)
31
32 - def FlushConfig(self):
33 return self._GenericInvoke("flushConfig")
34
35 - def DropAllReservations(self, clientId):
36 return self._GenericInvoke("dropAllReservations", clientId)
37
38 - def ComputeDRBDMap(self):
39 return self._GenericInvoke("computeDRBDMap")
40
41 - def AllocateDRBDMinor(self, instanceUUID, nodeUUIDList):
42 return self._GenericInvoke("allocateDRBDMinor", instanceUUID, nodeUUIDList)
43
44 - def ReleaseDRBDMinors(self, instanceUUID):
45 return self._GenericInvoke("releaseDRBDMinors", instanceUUID)
46
47 - def ReserveMAC(self, clientId, mAC):
48 return self._GenericInvoke("reserveMAC", clientId, mAC)
49
50 - def GenerateMAC(self, clientId, networkUUIDMaybeForJSON):
51 return self._GenericInvoke("generateMAC", clientId, networkUUIDMaybeForJSON)
52
53 - def GenerateDRBDSecret(self, clientId):
54 return self._GenericInvoke("generateDRBDSecret", clientId)
55
56 - def ReserveLV(self, clientId, logicalVolume):
57 return self._GenericInvoke("reserveLV", clientId, logicalVolume)
58
59 - def ReserveIp(self, clientId, networkUUID, ip4Address, bool):
60 return self._GenericInvoke("reserveIp", clientId, networkUUID, ip4Address, bool)
61
62 - def ReleaseIp(self, clientId, networkUUID, ip4Address):
63 return self._GenericInvoke("releaseIp", clientId, networkUUID, ip4Address)
64
65 - def GenerateIp(self, clientId, networkUUID):
66 return self._GenericInvoke("generateIp", clientId, networkUUID)
67
68 - def CommitTemporaryIps(self, clientId):
69 return self._GenericInvoke("commitTemporaryIps", clientId)
70
71 - def CommitReleaseTemporaryIp(self, networkUUID, ip4Address):
72 return self._GenericInvoke("commitReleaseTemporaryIp", networkUUID, ip4Address)
73
74 - def ListReservedIps(self, clientId):
75 return self._GenericInvoke("listReservedIps", clientId)
76
77 - def ListLocks(self, clientId):
78 return self._GenericInvoke("listLocks", clientId)
79
80 - def ListAllLocks(self):
81 return self._GenericInvoke("listAllLocks")
82
83 - def ListAllLocksOwners(self):
84 return self._GenericInvoke("listAllLocksOwners")
85
86 - def ListLocksWaitingStatus(self):
87 return self._GenericInvoke("listLocksWaitingStatus")
88
89 - def TryUpdateLocks(self, clientId, ganetiLockRequest):
90 return self._GenericInvoke("tryUpdateLocks", clientId, ganetiLockRequest)
91
92 - def UpdateLocksWaiting(self, clientId, integer, ganetiLockRequest):
93 return self._GenericInvoke("updateLocksWaiting", clientId, integer, ganetiLockRequest)
94
95 - def FreeLocks(self, clientId):
96 return self._GenericInvoke("freeLocks", clientId)
97
98 - def FreeLocksLevel(self, clientId, lockLevel):
99 return self._GenericInvoke("freeLocksLevel", clientId, lockLevel)
100
101 - def DownGradeLocksLevel(self, clientId, lockLevel):
102 return self._GenericInvoke("downGradeLocksLevel", clientId, lockLevel)
103
104 - def IntersectLocks(self, clientId, ganetiLocksList):
105 return self._GenericInvoke("intersectLocks", clientId, ganetiLocksList)
106
107 - def OpportunisticLockUnion(self, clientId, ganetiLocks_ownerState_PairList):
108 return self._GenericInvoke("opportunisticLockUnion", clientId, ganetiLocks_ownerState_PairList)
109
110 - def GuardedOpportunisticLockUnion(self, int, clientId, ganetiLocks_ownerState_PairList):
111 return self._GenericInvoke("guardedOpportunisticLockUnion", int, clientId, ganetiLocks_ownerState_PairList)
112
113 - def HasPendingRequest(self, clientId):
114 return self._GenericInvoke("hasPendingRequest", clientId)
115