You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/03/31 00:46:59 UTC

[6/6] libcloud git commit: luadns docs Closes #732

luadns docs
Closes #732


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/9739f830
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/9739f830
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/9739f830

Branch: refs/heads/trunk
Commit: 9739f830ceef77c525f11a273592084018251a2d
Parents: 50345da
Author: lostbird <lostbird@lostbird.(none)>
Authored: Wed Mar 30 22:57:11 2016 +0200
Committer: anthony-shaw <an...@gmail.com>
Committed: Thu Mar 31 09:46:29 2016 +1100

----------------------------------------------------------------------
 docs/examples/dns/luadns/instantiate_driver.py | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/9739f830/docs/examples/dns/luadns/instantiate_driver.py
----------------------------------------------------------------------
diff --git a/docs/examples/dns/luadns/instantiate_driver.py b/docs/examples/dns/luadns/instantiate_driver.py
new file mode 100644
index 0000000..249003b
--- /dev/null
+++ b/docs/examples/dns/luadns/instantiate_driver.py
@@ -0,0 +1,5 @@
+from libcloud.dns.types import Provider
+from libcloud.dns.providers import get_driver
+
+cls = get_driver(Provider.LUADNS)
+driver = cls(user='user', key='api_key')