class documentation

High-level WConfD client implementation.

This uses a backing Transport-like class on top of which it implements data serialization/deserialization.

Method __init__ Constructor for the Client class.

Inherited from AbstractStubClient:

Method _GenericInvoke Undocumented
Method _GetAddress Returns the socket address

Inherited from AbstractClient (via AbstractStubClient):

Method CallMethod Send a generic request and return the response.
Method Close Close the underlying connection.
Method close Same as Close, to be used with contextlib.closing(...).
Instance Variable allow_non_master Undocumented
Instance Variable timeouts Undocumented
Instance Variable transport Undocumented
Instance Variable transport_class Undocumented
Instance Variable version Undocumented
Method _CloseTransport Close the transport, ignoring errors.
Method _InitTransport (Re)initialize the transport if needed.
Method _SendMethodCall Undocumented

Inherited from ClientRpcStub (via AbstractStubClient, AbstractClient):

Method AddInstance Undocumented
Method AddInstanceDisk Undocumented
Method AddTcpUdpPort Undocumented
Method AllocateDRBDMinor Undocumented
Method AllocatePort Undocumented
Method AttachInstanceDisk Undocumented
Method CleanupLocks Undocumented
Method CommitReleaseTemporaryIp Undocumented
Method CommitTemporaryIps Undocumented
Method ComputeDRBDMap Undocumented
Method DetachInstanceDisk Undocumented
Method DownGradeLocksLevel Undocumented
Method DropAllReservations Undocumented
Method Echo Undocumented
Method FlushConfig Undocumented
Method FlushConfigGroup Undocumented
Method FreeLocks Undocumented
Method FreeLocksLevel Undocumented
Method GenerateDRBDSecret Undocumented
Method GenerateIp Undocumented
Method GenerateMAC Undocumented
Method GuardedOpportunisticLockUnion Undocumented
Method HasPendingRequest Undocumented
Method IntersectLocks Undocumented
Method ListAllLocks Undocumented
Method ListAllLocksOwners Undocumented
Method ListLocks Undocumented
Method ListLocksWaitingStatus Undocumented
Method ListReservedIps Undocumented
Method LockConfig Undocumented
Method OpportunisticLockUnion Undocumented
Method PrepareClusterDestruction Undocumented
Method ReadConfig Undocumented
Method ReleaseDRBDMinors Undocumented
Method ReleaseIp Undocumented
Method RemoveInstance Undocumented
Method RemoveInstanceDisk Undocumented
Method ReserveIp Undocumented
Method ReserveLV Undocumented
Method ReserveMAC Undocumented
Method SetInstancePrimaryNode Undocumented
Method SetInstanceStatus Undocumented
Method TryUpdateLocks Undocumented
Method UnlockConfig Undocumented
Method UpdateCluster Undocumented
Method UpdateDisk Undocumented
Method UpdateInstance Undocumented
Method UpdateLocksWaiting Undocumented
Method UpdateNetwork Undocumented
Method UpdateNode Undocumented
Method UpdateNodeGroup Undocumented
Method VerifyConfig Undocumented
Method WriteConfig Undocumented
Method WriteConfigAndUnlock Undocumented
Method _GetSocketPath Undocumented
def __init__(self, timeouts=None, transport=Transport, allow_non_master=None):

Constructor for the Client class.

Arguments are the same as for AbstractClient.