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 FlushConfigGroup(self, string):
42 return self._GenericInvoke("flushConfigGroup", string)
43
44 - def MaintenanceRoundDelay(self):
45 return self._GenericInvoke("maintenanceRoundDelay")
46
47 - def MaintenanceJobs(self):
48 return self._GenericInvoke("maintenanceJobs")
49
50 - def MaintenanceBalancing(self):
51 return self._GenericInvoke("maintenanceBalancing")
52
53 - def MaintenanceEvacuated(self):
54 return self._GenericInvoke("maintenanceEvacuated")
55
56 - def MaintenanceIncidents(self):
57 return self._GenericInvoke("maintenanceIncidents")
58
59 - def DropAllReservations(self, clientId):
60 return self._GenericInvoke("dropAllReservations", clientId)
61
62 - def ComputeDRBDMap(self):
63 return self._GenericInvoke("computeDRBDMap")
64
65 - def AllocateDRBDMinor(self, diskUUID, nodeUUIDList):
66 return self._GenericInvoke("allocateDRBDMinor", diskUUID, nodeUUIDList)
67
68 - def ReleaseDRBDMinors(self, diskUUID):
69 return self._GenericInvoke("releaseDRBDMinors", diskUUID)
70
71 - def ReserveMAC(self, clientId, mAC):
72 return self._GenericInvoke("reserveMAC", clientId, mAC)
73
74 - def GenerateMAC(self, clientId, networkUUIDMaybeForJSON):
75 return self._GenericInvoke("generateMAC", clientId, networkUUIDMaybeForJSON)
76
77 - def GenerateDRBDSecret(self, clientId):
78 return self._GenericInvoke("generateDRBDSecret", clientId)
79
80 - def ReserveLV(self, clientId, logicalVolume):
81 return self._GenericInvoke("reserveLV", clientId, logicalVolume)
82
83 - def ReserveIp(self, clientId, networkUUID, ip4Address, bool):
84 return self._GenericInvoke("reserveIp", clientId, networkUUID, ip4Address, bool)
85
86 - def ReleaseIp(self, clientId, networkUUID, ip4Address):
87 return self._GenericInvoke("releaseIp", clientId, networkUUID, ip4Address)
88
89 - def GenerateIp(self, clientId, networkUUID):
90 return self._GenericInvoke("generateIp", clientId, networkUUID)
91
92 - def CommitTemporaryIps(self, clientId):
93 return self._GenericInvoke("commitTemporaryIps", clientId)
94
95 - def CommitReleaseTemporaryIp(self, networkUUID, ip4Address):
96 return self._GenericInvoke("commitReleaseTemporaryIp", networkUUID, ip4Address)
97
98 - def ListReservedIps(self, clientId):
99 return self._GenericInvoke("listReservedIps", clientId)
100
101 - def ListLocks(self, clientId):
102 return self._GenericInvoke("listLocks", clientId)
103
104 - def ListAllLocks(self):
105 return self._GenericInvoke("listAllLocks")
106
107 - def ListAllLocksOwners(self):
108 return self._GenericInvoke("listAllLocksOwners")
109
110 - def ListLocksWaitingStatus(self):
111 return self._GenericInvoke("listLocksWaitingStatus")
112
113 - def TryUpdateLocks(self, clientId, ganetiLockRequest):
114 return self._GenericInvoke("tryUpdateLocks", clientId, ganetiLockRequest)
115
116 - def UpdateLocksWaiting(self, clientId, integer, ganetiLockRequest):
117 return self._GenericInvoke("updateLocksWaiting", clientId, integer, ganetiLockRequest)
118
119 - def FreeLocks(self, clientId):
120 return self._GenericInvoke("freeLocks", clientId)
121
122 - def FreeLocksLevel(self, clientId, lockLevel):
123 return self._GenericInvoke("freeLocksLevel", clientId, lockLevel)
124
125 - def DownGradeLocksLevel(self, clientId, lockLevel):
126 return self._GenericInvoke("downGradeLocksLevel", clientId, lockLevel)
127
128 - def IntersectLocks(self, clientId, ganetiLocksList):
129 return self._GenericInvoke("intersectLocks", clientId, ganetiLocksList)
130
131 - def OpportunisticLockUnion(self, clientId, ganetiLocks_ownerState_PairList):
132 return self._GenericInvoke("opportunisticLockUnion", clientId, ganetiLocks_ownerState_PairList)
133
134 - def GuardedOpportunisticLockUnion(self, int, clientId, ganetiLocks_ownerState_PairList):
135 return self._GenericInvoke("guardedOpportunisticLockUnion", int, clientId, ganetiLocks_ownerState_PairList)
136
137 - def HasPendingRequest(self, clientId):
138 return self._GenericInvoke("hasPendingRequest", clientId)
139
140 - def AddInstance(self, instance, clientId, bool):
141 return self._GenericInvoke("addInstance", instance, clientId, bool)
142
143 - def AddInstanceDisk(self, instanceUUID, disk, intMaybeForJSON, bool):
144 return self._GenericInvoke("addInstanceDisk", instanceUUID, disk, intMaybeForJSON, bool)
145
146 - def AddTcpUdpPort(self, int):
147 return self._GenericInvoke("addTcpUdpPort", int)
148
149 - def AllocatePort(self):
150 return self._GenericInvoke("allocatePort")
151
152 - def AttachInstanceDisk(self, instanceUUID, diskUUID, intMaybeForJSON):
153 return self._GenericInvoke("attachInstanceDisk", instanceUUID, diskUUID, intMaybeForJSON)
154
155 - def DetachInstanceDisk(self, instanceUUID, diskUUID):
156 return self._GenericInvoke("detachInstanceDisk", instanceUUID, diskUUID)
157
158 - def RemoveInstance(self, instanceUUID):
159 return self._GenericInvoke("removeInstance", instanceUUID)
160
161 - def RemoveInstanceDisk(self, instanceUUID, diskUUID):
162 return self._GenericInvoke("removeInstanceDisk", instanceUUID, diskUUID)
163
164 - def SetInstancePrimaryNode(self, instanceUUID, nodeUUID):
165 return self._GenericInvoke("setInstancePrimaryNode", instanceUUID, nodeUUID)
166
167 - def SetInstanceStatus(self, instanceUUID, adminStateMaybeForJSON, boolMaybeForJSON, adminStateSourceMaybeForJSON):
168 return self._GenericInvoke("setInstanceStatus", instanceUUID, adminStateMaybeForJSON, boolMaybeForJSON, adminStateSourceMaybeForJSON)
169
170 - def UpdateCluster(self, cluster):
171 return self._GenericInvoke("updateCluster", cluster)
172
173 - def UpdateDisk(self, disk):
174 return self._GenericInvoke("updateDisk", disk)
175
176 - def UpdateInstance(self, instance):
177 return self._GenericInvoke("updateInstance", instance)
178
179 - def UpdateNetwork(self, network):
180 return self._GenericInvoke("updateNetwork", network)
181
182 - def UpdateNode(self, node):
183 return self._GenericInvoke("updateNode", node)
184
185 - def UpdateNodeGroup(self, nodeGroup):
186 return self._GenericInvoke("updateNodeGroup", nodeGroup)
187
188 - def SetMaintdRoundDelay(self, int):
189 return self._GenericInvoke("setMaintdRoundDelay", int)
190
191 - def ClearMaintdJobs(self):
192 return self._GenericInvoke("clearMaintdJobs")
193
194 - def AppendMaintdJobs(self, jobIdList):
195 return self._GenericInvoke("appendMaintdJobs", jobIdList)
196
197 - def SetMaintdBalance(self, bool):
198 return self._GenericInvoke("setMaintdBalance", bool)
199
200 - def SetMaintdBalanceThreshold(self, double):
201 return self._GenericInvoke("setMaintdBalanceThreshold", double)
202
203 - def AddMaintdEvacuated(self, stringList):
204 return self._GenericInvoke("addMaintdEvacuated", stringList)
205
206 - def RmMaintdEvacuated(self, string):
207 return self._GenericInvoke("rmMaintdEvacuated", string)
208
209 - def UpdateMaintdIncident(self, incident):
210 return self._GenericInvoke("updateMaintdIncident", incident)
211
212 - def RmMaintdIncident(self, string):
213 return self._GenericInvoke("rmMaintdIncident", string)
214