francisco-1088 / merakiupgradesensitivity Goto Github PK
View Code? Open in Web Editor NEWDelay upgrades in sensitive Meraki networks to a specific date in the future or a set amount of days into the future.
License: Other
Delay upgrades in sensitive Meraki networks to a specific date in the future or a set amount of days into the future.
License: Other
Hi Francisco,
the actionBatches query returns that 5 of 5 tasks are already pending/scheduled, but they are not displayed in the dashboard
GET: https://api.meraki.com/api/v1/organizations/ORG.ID/actionBatches
In addition, the date of scheduled upgrades, if any, will not be adjusted.
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"
GET: https://api.meraki.com/api/v1/organizations/ORG.ID/firmware/upgrades
Hi Francisco,
I found out that in the query for the networks, the array "productType" returned by the API was changed to "productTypes".
GET: https://api.meraki.com/api/v1/organizations/ORG.ID/networks
Because of that, the Script fails.
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.
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.