Giter VIP home page Giter VIP logo

o365's Introduction

o365

Description:

This script parses Microsoft's Office 365 IP webpage (http://technet.microsoft.com/en-us/library/hh373144.aspx) and updates a specific object-group in a Cisco ASA with the new IP addreses. It can also remove IPs, but that functionality is commented out.

If run with the "--fresh" paramater, the script will delete the existing IP text files from previous runs - this can be useful when debugging.

Usage:

#./o365.py 

###############################################################################################
Microsoft URL: http://technet.microsoft.com/en-us/library/hh373144.aspx
User Account: colby-test
Devices: 192.168.14.2, 192.168.14.1, 1.1.1.1
Object Group: MS-OFFICE365-SUBNETS
###############################################################################################

====== Configuring 192.168.14.2 ======

====== Configuration applied successfully, output file '192.168.14.2_2014-07-12_23-38.out' was created ======

====== Configuring 192.168.14.1 ======

!!!!!! ------ There was an issue with 192.168.14.1, see file: '192.168.14.1_2014-07-12_23-38.error.out' ------ !!!!!!

!!!!!! ------ There was an issue with 1.1.1.1, see file: '1.1.1.1_2014-07-12_23-38.error.out' ------ !!!!!!

o365's People

Contributors

colbyzg avatar

Stargazers

 avatar

Watchers

 avatar  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.