Skip to content

In this project, I developed a Python script to automate the process of updating firewall rules based on data from a CSV file. By integrating XML parsing and CSV manipulation, this script efficiently updates firewall rule IP addresses in VMware Cloud Director.

Notifications You must be signed in to change notification settings

ChandimaWish/-Automating-Firewall-Rule-Updates-with-Python-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Automating Firewall Rule Updates with Python πŸ›‘οΈ

πŸ”₯ Project Overview: In this project, I developed a Python script to automate the process of updating firewall rules based on data from a CSV file. By integrating XML parsing and CSV manipulation, this script efficiently updates firewall rule IP addresses in VMware Cloud Director.

βš™οΈ Tech Stack:

Python 🐍 xmltodict for parsing XML files πŸ“„ Pandas for handling CSV files πŸ“Š VMware Cloud Director for firewall rule management ☁️ πŸ”‘ Key Features:

Automatically loads and parses an XML file containing existing firewall rules. Reads updates from a CSV file with source and destination IP changes. Updates the firewall rules based on matching id or name and exports the modified rules to a new XML file. Ensures easy maintenance and scalability for future changes πŸ”§. 🎯 Outcome: This project simplifies the otherwise time-consuming process of manually updating firewall rules. With the power of Python, this solution saves both time and effort, reducing the chances of human errors during manual updates.

About

In this project, I developed a Python script to automate the process of updating firewall rules based on data from a CSV file. By integrating XML parsing and CSV manipulation, this script efficiently updates firewall rule IP addresses in VMware Cloud Director.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages