Statistics
| Branch: | Tag: | Revision:

root / lib / rpc @ 1c4910f7

Name Size
  stub
__init__.py 792 Bytes
client.py 6.9 kB
errors.py 1.8 kB
node.py 31.9 kB
transport.py 6.3 kB

Latest revisions

# Date Author Comment
51b69fc8 02/28/2014 03:44 pm Petr Pudlak

Remove unused import in rpc/transport.py

.. which got there by mistake.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

f3aebf6f 02/28/2014 03:00 pm Petr Pudlak

Retry luxi/wconfd RPC calls if the connection is closed

Since the daemon can decide to close a client connection after a
timeout, the client needs to be able to automatically reconnect.

This patch introduces this functionality into the RPC client:
If an attempt to send data fails on 'Broken pipe', it's retried one more...

a53772a0 02/14/2014 04:57 pm Klaus Aehlig

Merge branch 'stable-2.11' into master

  • stable-2.11
    Update design doc wrt to improved SSL design
    Test node certificate renewal in QA
    Use node UUID as client certificate serial number
    Revert "Temporarily remove SSL changes from NEWS file"
    Revert "Disabling client certificate usage"...
d5104ca4 02/14/2014 03:51 pm Helga Velroyen

Revert "Disabling client certificate usage"

This reverts commit 45f75526b848, which was introduced to
temporarily disable the implementation of SSL client
certificates. As this patch series fixes the reason for
the disabling, we are rolling back the patch....

c4071978 02/14/2014 11:47 am Petr Pudlak

Add an RPC Python client for generated stub classes

The client provides _GenericInvoke(...) for a stub and uses its
_GetSocketPath() for opening a Transport.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

abd0ddfc 02/14/2014 11:47 am Petr Pudlak

Add a Python directory for RPC generated stubs

Directory "lib/rpc/stubs" will contains RPC stubs generated from
Haskell.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

d36e433d 02/14/2014 11:47 am Petr Pudlak

Let RPC clients handle their socket address

.. instead of AbstractClient itself. Also let every client call
_InitTransport() as needed. This allows to determine socket addresses
later than during the initialization of a class.

Signed-off-by: Petr Pudlak <>...

a28216b0 02/10/2014 06:18 pm Klaus Aehlig

Fix default for luxi clients in python

As masterd is going away, set default for all clients to
luxid's socket.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Helga Velroyen <>

1a182390 02/07/2014 11:14 am Santi Raffa

OpCodes: modify InstanceSetParams for private parameters

Modify InstanceSetParams to accept and process private parameters.

Signed-off-by: Santi Raffa <>
Reviewed-by: Jose A. Lopes <>

560ef132 02/07/2014 11:13 am Santi Raffa

serializer: emit and encode Private values

For inbound data the simplest, safest thing to do is to traverse all
JSON right after encoding and search for private parameters by key.

This ensures that all consumers of this data get Private values
transparently and consistently; the serializing methods don't have to...

View revisions

Also available in: Atom