Skip to content

colbyzg/o365

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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' ------ !!!!!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages