From c8106a94a3369a98e9eafba941beb84773156f7c Mon Sep 17 00:00:00 2001 From: Guillaume Zajac Date: Tue, 28 Jun 2011 15:19:11 +0200 Subject: doc: Update private network method prototypes --- doc/manager-api.txt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'doc/manager-api.txt') diff --git a/doc/manager-api.txt b/doc/manager-api.txt index cf269789..961c39bb 100644 --- a/doc/manager-api.txt +++ b/doc/manager-api.txt @@ -195,21 +195,20 @@ Methods dict GetProperties() If an application exits unexpectatly the session will be automatically destroyed. - fd, dict {settings} RequestPrivateNetwork(dict options) + object path, dict, fd RequestPrivateNetwork(dict options) [experimental] - Request a new Private Network, whick includes the + Request a new Private Network, which includes the creation of a tun/tap interface, and IP configuration, NAT and IP forwarding on that interface. - A file descritor to the interface is returned together - with the IP, gateway and DNS settings for the - interface. + An object path, a dictionnary and a file descriptor + with IP settings are returned. Possible Errors: [service].Error.InvalidArguments [service].Error.NotSupported - void ReleasePrivateNetwork(fd) [experimental] + void ReleasePrivateNetwork(object path) [experimental] Releases a private network. -- cgit v1.2.3