This is sample code from the webinar series Making APIs Work For You to show how you can leverage BlueCat DNS Integrity™ API and develop solutions for software defined networking for Enterprise DNS, DHCP and IPAM services.
Before using the code, you must download Python and your preferred Python IDE.
- Install Python version 2.x or 3.x.
- Install Python libraries:
pip install requests zeep
- Clone this repository with git:
git clone https://github.com/bluecatlabs/making-apis-work-for-you.git
NOTE: Episode 1 code uses Python suds library instead of zeep library for SOAP API examples. Episode 2 will show you how to convert code from suds to zeep on Episode 1.
Make sure to only use the code provided in a lab environment reserved for testing and learning purposes. You should change the scripts as per enterprise standards before adapting it for production use. Before executing the scripts, make sure to change the variables and URL for the BAM service to match your environment.
To execute the script, run python 1-scriptname.py
You can view all the previous webinars on the BlueCat Customer Care Portal
Here is the current list of webinars in this webinar series:
- Episode 1: Jump start to BAM API - [Customer Link ] [Non-Customer Link][Code]
- Episode 2: Working Through Your IP Space - [Customer Link] [Non-Customer Link][Code]
- Episode 3: Searching Enterprise DNS - [Customer Link] [Non-Customer Link][Code]
- Episode 4: BDDS Server Management - [Customer Link][Non-Customer Link][Code]
- Episode 5: User Security Management - [Customer Link][Non-Customer Link][Code]
- Episode 6: Advanced BAM Reporting - [Customer Link][Non-Customer Link][Code]
- Episode 7: Deploying your Configuration - [Customer Link][Non-Customer Link][Code]
- Vivek Mistry
- James Fuentes
- Rosalie Thompson
- Darren McPhee
- Gunvit Bhatia
- Joel Brooks
Copyright 2017 BlueCat Networks, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.