summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenri Bragge <henri.bragge@ixonos.com>2011-04-01 11:41:37 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-04-11 12:02:42 +0200
commit375413a93ff842f129b02fda06954ba0b41e76cc (patch)
treee2e73d9c99eb3628d8d63bab93b767759c40c082
parentfe327d0a78f89a28ab5de13cb6183fbfc1aaa830 (diff)
downloadconnman-375413a93ff842f129b02fda06954ba0b41e76cc.tar.gz
connman-375413a93ff842f129b02fda06954ba0b41e76cc.tar.bz2
connman-375413a93ff842f129b02fda06954ba0b41e76cc.zip
doc: Add service provisioning method in Manager API
-rw-r--r--doc/manager-api.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/manager-api.txt b/doc/manager-api.txt
index 2c7aa07c..c247d9f4 100644
--- a/doc/manager-api.txt
+++ b/doc/manager-api.txt
@@ -97,6 +97,17 @@ Methods dict GetProperties()
Possible Errors: [service].Error.InvalidArguments
+ void ProvisionService(string configuration)
+
+ Provide a configuration for services.
+
+ Service configuration is provided as a single string
+ that follows the same format as configuration files,
+ see config-format.txt. An exception to this format
+ is that only one service can be provisioned per call.
+
+ Possible Errors: [service].Error.InvalidArguments
+
object ConnectProvider(dict provider)
Connect to a VPN specified by the given provider