add customer level
This commit is contained in:
15
server/testxml
Executable file
15
server/testxml
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys
|
||||
import xmlrpclib
|
||||
import md5
|
||||
|
||||
(x, dynid, subdomain, zone, sharedSecret, adminPwd) = sys.argv
|
||||
|
||||
d = "%s %s %s %s %s" % (dynid, subdomain, zone, sharedSecret, adminPwd)
|
||||
checksum = md5.new(d).hexdigest()
|
||||
|
||||
s = xmlrpclib.ServerProxy("http://localhost:8024")
|
||||
r = s.register(dynid, subdomain, zone, sharedSecret, checksum, "test@test.de")
|
||||
|
||||
print r
|
Reference in New Issue
Block a user