Commit Graph

7 Commits

Author SHA1 Message Date
Julio Castillo f8208670e2 Fix variable cf_version validation 2022-10-20 19:12:57 +02:00
Julio Castillo 2d7319c4e8 Fix cron description 2022-10-20 19:10:46 +02:00
Julio Castillo 21152c3c45 Improve net dashboard variables 2022-10-20 19:10:46 +02:00
Aurélien Legrand 4d067fe2cd
Network Dashboard: CFv2 and performance improvements (#896)
* Improving Cloud Function v2 support for the Networking Dashboard.

* yapf formatting.

* Improving support for CFv2 and performance for asset inventory queries

* Update README.md

added v2 parameter do readme

* cleanip up main.py and improving performance by 20% in metrics.py by reusing the same client instance

* Making a condition clearer

* Update blueprints/cloud-operations/network-dashboard/cloud-function/metrics/subnets.py

Co-authored-by: David Gleich <gleichda@google.com>

* Update after PR from Maurizio on Firewall Policies and David's comments.

Co-authored-by: maunope <44614195+maunope@users.noreply.github.com>
Co-authored-by: David Gleich <gleichda@google.com>
2022-10-19 18:59:28 +02:00
Somnath Shukla a12da693a3
added support 2nd generation cloud function (#872)
* added support 2nd generation cloud function

* changed function_version to a simple boolean v2
removed memory_2ndGen

* will use the var.v2 to add the invoker role

* removed the list uisng compact and formated the code

* formated the code and added conditional feature

* formated the code

* added formating

* resolved the merge conflict

* Update readme

* Create local function object

* added secret_volumes
and secret_environment_variables for CF V2

Co-authored-by: Julio Castillo <jccb@google.com>
2022-10-13 08:09:00 +02:00
Aurélien Legrand a709febfdb
Network dashboard: Subnet IP utilization update (#837)
* Adding IP utilization per subnet metrics and folder level support.

* Update README.md

* Removing unused imports

* yapf formatting

* removing unused imports

* removing hard coded prefix

* Update README.md

* Variable renaming

* variable renaming

* formatting

* Comments and yapf formatting

* in the proper blueprints folder this time

* Updated after comments from David.

Co-authored-by: Aurélien Legrand <legranda@google.com>
2022-09-30 10:51:16 +02:00
Julio Castillo a248602827 Rename examples folder to blueprints 2022-09-09 16:38:43 +02:00