From 695a7acf30d0f6be1191a162fe147d4810210c52 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 30 Jan 2013 12:44:07 +0100 Subject: //ovh -> //ext/ovh --- ovh/soapi/Makefile | 25 - ovh/soapi/README | 1 - ovh/soapi/domainCapabilities | 29 - ovh/soapi/domainInfo | 29 - ovh/soapi/domainList | 28 - ovh/soapi/soapi-re-1.24.wsdl | 20105 ----------------------------------------- ovh/soapi/zoneEntryAdd | 33 - ovh/soapi/zoneEntryDel | 33 - ovh/soapi/zoneEntryList | 29 - ovh/soapi/zoneExport | 29 - ovh/soapi/zoneImport | 33 - 11 files changed, 20374 deletions(-) delete mode 100644 ovh/soapi/Makefile delete mode 100644 ovh/soapi/README delete mode 100755 ovh/soapi/domainCapabilities delete mode 100755 ovh/soapi/domainInfo delete mode 100755 ovh/soapi/domainList delete mode 100644 ovh/soapi/soapi-re-1.24.wsdl delete mode 100755 ovh/soapi/zoneEntryAdd delete mode 100755 ovh/soapi/zoneEntryDel delete mode 100755 ovh/soapi/zoneEntryList delete mode 100755 ovh/soapi/zoneExport delete mode 100755 ovh/soapi/zoneImport (limited to 'ovh/soapi') diff --git a/ovh/soapi/Makefile b/ovh/soapi/Makefile deleted file mode 100644 index 15ef8f3f..00000000 --- a/ovh/soapi/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -.PHONY: all install -all: select-target - -exes := $(shell \ - find . -mindepth 1 -maxdepth 1 -type f -executable -exec basename \{\} \;) - -target_exes := $(addprefix ../../bin/,$(exes)) - -install: $(target_exes) - -../../bin/%: % SOAPpy - ln -snf ../ovh/soapi/$* $@ - -src: - mkdir $@ - -src/SOAPpy: src - cd $< && \ - svn co https://pywebsvcs.svn.sourceforge.net/svnroot/pywebsvcs/trunk/SOAPpy - -src/SOAPpy/build/lib/SOAPpy: src/SOAPpy - cd $< && python setup.py build - -SOAPpy: src/SOAPpy/build/lib.linux-x86_64-2.6/SOAPpy - ln -snf $< diff --git a/ovh/soapi/README b/ovh/soapi/README deleted file mode 100644 index 42ad5ebf..00000000 --- a/ovh/soapi/README +++ /dev/null @@ -1 +0,0 @@ -https://www.ovh.com/soapi/en/ diff --git a/ovh/soapi/domainCapabilities b/ovh/soapi/domainCapabilities deleted file mode 100755 index a438e0b8..00000000 --- a/ovh/soapi/domainCapabilities +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/python - -from os import environ -from os.path import dirname, realpath -from SOAPpy import WSDL -from json import dumps, JSONEncoder - -def default(o): - try: - iterable = iter(o) - except TypeError: - pass - else: - return list(iterable) - return JSONEncoder.default(o) - -wsdl = dirname(realpath(__file__)) + '/soapi-re-1.24.wsdl' -soap = WSDL.Proxy(wsdl) - -username = environ['KREBS_OVH_USER'] -password = environ['KREBS_OVH_PASS'] -domain = environ.get('KREBS_OVH_DOMAIN','krebsco.de') - -session = soap.login(username, password, 'de', 0) - -result = soap.domainCapabilities(session, domain) -print dumps(result, sort_keys=True, indent=2, default=default) - -soap.logout(session) diff --git a/ovh/soapi/domainInfo b/ovh/soapi/domainInfo deleted file mode 100755 index 35459d06..00000000 --- a/ovh/soapi/domainInfo +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/python - -from os import environ -from os.path import dirname, realpath -from SOAPpy import WSDL -from json import dumps, JSONEncoder - -def default(o): - try: - iterable = iter(o) - except TypeError: - pass - else: - return list(iterable) - return JSONEncoder.default(o) - -wsdl = dirname(realpath(__file__)) + '/soapi-re-1.24.wsdl' -soap = WSDL.Proxy(wsdl) - -username = environ['KREBS_OVH_USER'] -password = environ['KREBS_OVH_PASS'] -domain = environ.get('KREBS_OVH_DOMAIN','krebsco.de') - -session = soap.login(username, password, 'de', 0) - -result = soap.domainInfo(session, domain) -print dumps(result, sort_keys=True, indent=2, default=default) - -soap.logout(session) diff --git a/ovh/soapi/domainList b/ovh/soapi/domainList deleted file mode 100755 index 342eec72..00000000 --- a/ovh/soapi/domainList +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/python - -from os import environ -from os.path import dirname, realpath -from SOAPpy import WSDL -from json import dumps, JSONEncoder - -def default(o): - try: - iterable = iter(o) - except TypeError: - pass - else: - return list(iterable) - return JSONEncoder.default(o) - -wsdl = dirname(realpath(__file__)) + '/soapi-re-1.24.wsdl' -soap = WSDL.Proxy(wsdl) - -username = environ['KREBS_OVH_USER'] -password = environ['KREBS_OVH_PASS'] - -session = soap.login(username, password, 'de', 0) - -result = soap.domainList(session) -print dumps(result, sort_keys=True, indent=2, default=default) - -soap.logout(session) diff --git a/ovh/soapi/soapi-re-1.24.wsdl b/ovh/soapi/soapi-re-1.24.wsdl deleted file mode 100644 index c628c564..00000000 --- a/ovh/soapi/soapi-re-1.24.wsdl +++ /dev/null @@ -1,20105 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -