SemFio Networks

  • Home
  • About
  • Services
    • Wi-Fi DevOps with Mist
  • Partners
    • Mist
  • Training
  • Contacts
  • Blog
  • Home
  • About
  • Services
    • Wi-Fi DevOps with Mist
  • Partners
    • Mist
  • Training
  • Contacts
  • Blog

Python - Auto-Populate Tag Values in Ekahau Pro

7/24/2020

0 Comments

 
Ekahau released a new version (v10.2) last month. The best feature out of this new version (for me at least) is the ability to create personalized tags for AP objects. Each tag can have a key and a value.

​Here is an example:
Picture

Description

My good friend Haydn Andrews had the idea to create a script that would auto populate the value of some tags based on the AP properties. This could be used for a lot of AP related properties if you think about it:
  • Installation details
  • Special bracket needed
  • Antenna related information (internet, external, model...)
  • PoE budget information
  • Service loop required
  • ...

In our case we focused on the antenna(s). So we wanted to auto populate the value of three tags that we created:
  • antenna-type
  • antenna-vendor
  • antenna-name

antenna-type would be set to "internal" or "external" depending on the type of antenna used.
antenna-vendor would be set to the antenna vendor (for external antenna only).
antenna-name would be set to the model of antenna (for external antenna only).

That's how the following script was born: https://github.com/francoisverges/semfio-ekahau/blob/master/tag-antenna/tag-antenna.py

The script will create a modified copy of your esx project and leave the original unchanged. However, we recommend running the script against a copy of the original esx project file.

This script will only works if you create the tags within your project before running the script. The easier to do this is to create the three tags on an AP that has external antennas. The three tags to create are: "antenna-name", "antenna-type", and "antenna-vendor".

The Code


    
Feel free to modify it so you can use it with your own tags.

Note: we might update it in the future. So make sure to also check the GitHub repository to see the latest version available: https://github.com/francoisverges/semfio-ekahau

Usage

As mentioned previously, the tags (key only) need to be created on the original project file on at least 1 AP object as shown below:
Picture
You can then create a copy of your project file (.esx file) and run the script against it:
Picture
A modified version of your project file will be created. When you open it, you should see the tags configured with the proper values on all access points:
Picture
Picture
Picture
The flexibility of creating our own tags opens a lot of opportunities for us. Feel free to take this and modify it to your needs.

Links & Resources

  • Source Code on Github: https://github.com/francoisverges/semfio-ekahau/tree/master/tag-antenna
  • Other Ekahau related scripts on Github: https://github.com/francoisverges/semfio-ekahau
  • Github Wiki: https://github.com/francoisverges/semfio-ekahau/wiki/How-to-use-%22Antenna-Tag%22
  • Ekahau 10.2 release notes: https://www.ekahau.com/blog/pro-10-2-release-notes/
  • Haydn Andrews' blog: thewlan.com.au 
0 Comments



Leave a Reply.

    Picture

    François Vergès

    François Vergès is the founder of SemFio Networks. As a Network Engineer, he has a real passion for Wi-Fi.

    Picture Picture Picture

    Categories

    All
    5G
    5GHz
    6GHz
    802.11
    802.11ax
    802.11v
    802.1X
    AirConsole
    Aruba
    ArubaOS
    AutoCAD
    Automation
    Brand
    Capture
    Cisco
    Cisco WLC
    CLI
    Cloud
    Co-Channel Contention
    Controller Upgrade
    Course
    CWNE
    CWNP
    Design
    DFS
    Diagrams
    Ekahau
    FreeRADIUS
    Frequencies
    FSPL
    Hotspot
    Ideas
    Industry Canada
    Interference
    ISED
    Jetson Nano
    KRACK
    London
    MagicQuadrant
    MakeWi FiVisible
    MakeWi-FiVisible
    Market
    Meetup
    Mobility Express
    News
    Packet Analysis
    Programming
    Python
    Reference Guide
    Script
    Security
    SemFio
    Site-survey
    Site-survey
    Spectrum-analysis
    Technology
    Timeline
    Tip
    Training
    Validation
    Video
    Warehouse
    WiFi
    Wi-FI
    Wi-Fi
    Wi Fi 6
    Wi-Fi 6
    Wifitraining
    Wi Fi Troubleshooting
    Wi-Fi Troubleshooting
    Wireshark
    WLAN Pi
    WLPC
    WPA2

    Archives

    July 2020
    March 2020
    February 2020
    January 2020
    December 2019
    October 2019
    August 2019
    July 2019
    June 2019
    April 2019
    January 2019
    December 2018
    November 2018
    August 2018
    May 2018
    April 2018
    March 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    May 2017
    April 2017
    February 2017
    January 2017
    November 2016
    September 2016
    August 2016
    May 2016
    April 2016
    March 2016
    February 2016
    December 2015
    November 2015
    September 2015
    August 2015
    July 2015
    April 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014
    June 2014
    May 2014

    RSS Feed

SemFioNetworks-EmailContact SemFioNetworks-LinkedInProfile SemFioNetworks-YoutubeChannel

Let's Talk

Please get in touch with us if you have any questions. We offer a wide variety of professional Wi-Fi services that can help your wireless environment becoming faster, more secure and more efficient!
Get in touch
SemFioNetworks-Logo
Copyright © 2020 by SemFio Networks Inc.