Git Product home page Git Product logo

aireos_macfan's Introduction

AireOS_MACfan

Required from customer

  • "ap_inventory.csv" - an inventory file of customer's APs, with (at min.) the following columns:
    • "ap_number"
    • "mac_address"

Customers often provide a spreadsheet with AP mac addresses in various formats.
The Cisco AireOS WLC works with Expanded Unix format, which is colon-delimited between bytes.
There are two parts to this Python 'app'; 'sanimacs.py' can be used by itself to parse
any mac format, from customer file named 'ap_inventory.csv'. It strips delimiters
and outputs bare mac-addresses.
'Sanimacs.py' also removes any rows with empty fields or invalid mac-addrs based on length (too short / long) or some typos (invalid characters).

The script, 'AireOS_MACfan.py' uses output from previous script (sanimacs.py) to format macs for AireOS and create AP naming commands, which are output to text file, 'ap_naming.txt'. The naming convention here is just a site code and AP number. Can be adapted to fit your customer's naming convention.

Save customer's spreadsheet to CSV format, ensuring that the AP name/number and
mac-address columns are named "ap_number" and "mac_address", respectively.

"requirements.txt" PIP file is included for necessary modules.

aireos_macfan's People

Contributors

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