Giter Club home page Giter Club logo

axl's Introduction

##Python module for configuring Cisco UCM with AXL SOAP API ###Dependencies suds-jurko

###Links

###Testing Environment AXL configuration testing has been completed against CUCM v10.5

Installed environment:

  • Centos 7
  • Python 3
  • suds-jurko

###Installation Clone repository

BradsMBP# mkdir test
BradsMBP# cd test
BradsMBP# git clone https://github.com/bobthebutcher/axl.git
Cloning into 'axl'...
remote: Counting objects: 174, done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 174 (delta 11), reused 0 (delta 0), pack-reused 150
Receiving objects: 100% (174/174), 44.67 KiB | 0 bytes/s, done.
Resolving deltas: 100% (94/94), done.
Checking connectivity... done.
BradsMBP#

###Example Usage Update your path

import sys
sys.path.append('/path/to/repo')

Import AXL

from axl.foley import AXL

####Creating connection to CUCM

The user will need the appropriate privileges to access the API

cucm = '10.10.11.14'
wsdl = 'file:///path/to/wsdl/schema/10.5/AXLAPI.wsdl'
ucm = AXL('username', 'password', wsdl, cucm)

####Adding a location

ucm.add_location(location='test_location')
{'success': True, 'error': '', 'response': 'Location successfully added'}

####Adding a region

ucm.add_region(region='test_region')
{'success': True, 'error': '', 'response': 'Region successfully added'}

####Adding a device pool

ucm.add_device_pool(device_pool='test_dev_pool', region='test_region', location='test_location')
{'success': True, 'error': '', 'response': 'Device pool successfully added'}

####Deleting a region

Like in the UCM web interface all dependencies must be removed before an object can be deleted

ucm.delete_region(region='test_region')
{'success': False,
 'error': Key value for constraint (informix.pk_region_pkid) is still being referenced.,
 'response': 'Region could not be deleted'}

####Add a route list

ucm.add_route_list(route_list='test_rl1', route_group='test_rg')
{'success': True, 'response': 'Route list successfully added', 'error': ''}

axl's People

Contributors

alzhyganshal avatar bwks avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.