Giter Club home page Giter Club logo

merakiupgradesensitivity's People

Contributors

francisco-1088 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

merakiupgradesensitivity's Issues

Status "Pending" no longer exist

Hi Francisco,
main.py is searching for organization upgrades and filters by status="Pending".
The "Pending" status seems to no longer exist. (Maybe just because we haven't gotten an upgrade from Meraki at the moment). But due to this reason the Script fails.

Meraki API documentation:

status:string
Status of upgrade event: [Cancelled, Completed]

I also saw the following event status: "Scheduled"
grafik
GET: https://api.meraki.com/api/v1/organizations/ORG.ID/firmware/upgrades

Skript fails if no template exists

Hi Francisco,
nowhere in the README.md is it mentioned that it is absolutely necessary to create a template and to bind at least one network with the tag from config.py.
Perhaps this step can be skipped if there is no template.

  1. If there is no Template, the Skript fails.
  2. If there is no Network bound to an Template, the Skript fails.
  3. If there is no Network with the configured Tag in config.py, the Skript fails.
> These are the templated networks in scope in your organization:
> 
> Traceback (most recent call last):
>   File "D:\Projekte\Visual Studio Code\Meraki API SW Update\merakiUpgradeSensitivity\main.py", line 109, in <module>
>     unique_templates_to_check = pd.DataFrame(templated_networks).template_id.unique()
>                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "C:\Python311\Lib\site-packages\pandas\core\generic.py", line 5902, in __getattr__
>     return object.__getattribute__(self, name)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'DataFrame' object has no attribute 'template_id'

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.