Advertisement
Guest User

Untitled

a guest
Feb 16th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. import suds
  2. from configobj import ConfigObj
  3.  
  4. cspconfigfile = ConfigObj (config_file)
  5. csp_cmserver = cspconfigfile['CUCM']['server']
  6. csp_username = cspconfigfile['CUCM']['user']
  7. csp_password = cspconfigfile['CUCM']['pass']
  8. csp_version = cspconfigfile['CUCM']['version']
  9. # For GNU/Linux
  10. wsdl = 'file:///var/www/schema/CUCM/current/AXLAPI.wsdl'
  11. csp_location = 'https://' + csp_cmserver + ':8443/axl/'
  12.  
  13. # Tiempo de inicio de ejecucion.
  14. csp_soap_client = Client(wsdl,location=csp_location, username=csp_username, password=csp_password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement