Commit Graph

83 Commits

Author SHA1 Message Date
Aurélien Legrand 7f5c177cfe
Network Dashboard: PSA support for Filestore and Memorystore (#1106)
* Support for Filestore and Memorystore PSA ranges

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2023-01-25 15:02:30 +00:00
Ludovico Magnocavallo 3cca689792
Check linting for Python dashboard files (#1107)
* enable Python lint check for network dashboard

* fix linting for network dashboard
2023-01-21 17:17:51 +01:00
Aurélien Legrand 5063c3b513
Network dashboard: PSA ranges support, starting with Cloud SQL (#1063)
* Adding PSA ranges support and ip utilization, starting with Cloud SQL

* yapf formatting

* refactor

* fix camelcase

* remove unused variable

* remove test file

* rename discover plugin

* fixing issue with asset name

Co-authored-by: Ludo <ludomagno@google.com>
2022-12-22 13:14:42 +01:00
Aurélien Legrand 7acb6b3747
Update src/README.md for Network Dashboard (#1060)
* Update src/README.md for Network Dashboard

Proposing some small updates to src/README.md file for the Network Dashboard

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-12-21 16:30:09 +01:00
Julio Castillo b031d7add5 Fix tests 2022-12-18 20:37:16 +01:00
Ludovico Magnocavallo 93361d7f3d
Networking dashboard and discovery tool refactor (#1020)
* wip

* wip

* wip

* wip

* wip

* discovery

* single discovery

* page token

* batch requests

* remove plugin name

* streamline

* streamline

* dynamic routes

* dynamic routes

* forwarding rules and addresses

* batch requests

* metrics

* notes

* notes

* streamline

* fixes, dump

* streamline

* remove globals

* wip metrics

* subnet time series

* networks per project plugin

* firewall rules timeseries

* use names in metric labels

* firewall policies timeseries

* wip

* instances per network timeseries

* routes timeseries

* custom quota

* simpler quota, network peering timeseries

* peering timeseries

* timeseries names

* wip descriptors

* metric descriptors

* fixes

* wip

* Use partial for all cf init functions

* Add requirements.txt

* fix org key mismatch

* Fix folder short cli name

* Fix instance_networks when iterable is empty

* more readability and fixing some strings

* replace() -> removeprefix and remove unneeded quoting

* setdefault in init()s

* Fix next hop type

* Remove unneeded fstring

* create descriptors

* create descriptors log

* rename descriptor requests function

* non-working metrics implementation (duplicate timeseries batched)

* timeseries

* fixes

* write timseries

* fix timeseries plugins

* start documenting code

* docstrings and comments

* docstrings comments and small fixes

* rename cf to src

* discover nodes instead of just projects

* discovery node can be a folder or org

* cf entrypoint and fixes

* cf deployment

* remove old paths

* cloud function deploy readme

* diagrams

* resource ids in example

* discovery tool readme

* top-level README

* Some documentation fixes

* Add secondary ranges

* Update README.md

* add legend to scope diagram

* improve description of discovery configuration variable

* add comment in example for custom quotas file

* rename op_project to monitoring_project

* dashboard metric rename wip

* Update discover-cai-compute.py

* deploy sample dashboard

Co-authored-by: Julio Castillo <jccb@google.com>
Co-authored-by: Aurélien Legrand <aurelien.legrand01@gmail.com>
2022-12-18 10:07:24 +01:00
Brian Jung 5b71f2f54c
Adding Secondary IP Utilization calculation (#982)
* hello

* Adding secondary range IP address utilization calculation.

* using yapf to format code

* Minor fixes for Network Monitor

Co-authored-by: Brian Jung <brianhmj@google.com>
2022-12-07 11:45:20 +01:00
Julio Castillo 612d7283e8 Enforce nonempty descriptions ending in a colon 2022-11-24 18:56:01 +01:00
Sebastian Kunze e4fc47a063
Normalize prefix handling in blueprints (#1003) 2022-11-23 11:09:00 +01:00
Wiktor Niesiobędzki 97c6a25b90 Use hungarian notation.
As per: https://cloud.google.com/apis/design/naming_convention#quantities
2022-11-16 16:44:24 +01:00
Wiktor Niesiobędzki 755ff7b1d2 Add trigger service account creation 2022-11-16 16:44:01 +01:00
Wiktor Niesiobędzki 9e37a915c8 Review fixes.
* Refactor trigger_config and trigger_config_v2 into one structure
* bump default python version to 3.10
* typo fixes
2022-11-16 16:44:01 +01:00
Maurizio Noseda Pedraglio 9815403230 removed vpc connector var 2022-11-15 14:12:41 +01:00
Maurizio Noseda Pedraglio ce624f2c93 moving metrics project conf to next PR 2022-11-15 14:03:54 +01:00
Maurizio Noseda Pedraglio 6a6e3260c3 Merge branch 'maunope/static_routes' of https://github.com/maunope/cloud-foundation-fabric into maunope/static_routes 2022-11-10 18:23:12 +01:00
Maurizio Noseda Pedraglio f3002e9e55 #599 comments 2022-11-10 18:23:06 +01:00
maunope d65f9acbdc
Merge branch 'vpc-sc' into maunope/static_routes 2022-11-10 14:00:18 +01:00
Maurizio Noseda Pedraglio bb072af325 addressed #599 comments 2022-11-10 13:22:41 +01:00
Maurizio Noseda Pedraglio 9eb63dfaba merge 2022-11-10 13:14:23 +01:00
maunope c2da049330
Merge branch 'maunope/static_routes' into vpc-sc 2022-11-10 13:03:42 +01:00
Maurizio Noseda Pedraglio da0c05c3e8 updated tfdoc 2022-11-10 12:57:52 +01:00
Maurizio Noseda Pedraglio 55d544b172 Merge branch 'master' of https://github.com/GoogleCloudPlatform/cloud-foundation-fabric into vpc-sc 2022-11-10 12:54:39 +01:00
Maurizio Noseda Pedraglio 2bc60e6dee readme updates, removed default prefix, completed vpc-sc compatibility 2022-11-10 12:44:17 +01:00
Aurélien Legrand 5f6eb135c1
Merge branch 'master' into net-dash-psa 2022-11-03 14:03:50 +01:00
aurelien.legrand01@gmail.com c261bfe52a Improving comment for Redis. 2022-11-03 11:21:58 +01:00
Julio Castillo 9a6b6fd202
Merge branch 'master' into maunope/static_routes 2022-11-02 08:44:21 +01:00
Brian Jung 980cc678c8
Update main.tf 2022-10-28 11:19:46 -04:00
Maurizio Noseda Pedraglio 06c2ae3d52 Merge branch 'maunope/static_routes' of https://github.com/maunope/cloud-foundation-fabric into maunope/static_routes 2022-10-28 15:58:33 +02:00
Maurizio Noseda Pedraglio fe29b9397a fixed proj creation and readme 2022-10-28 15:55:47 +02:00
Brian Jung 22736473fd
Update versions.tf 2022-10-28 09:22:59 -04:00
Brian Jung b38ade0a26
Create versions.tf 2022-10-28 09:21:17 -04:00
Brian Jung e0c41f959f
Update main.tf 2022-10-28 09:18:01 -04:00
Aurélien Legrand 5841c112d4
Merge branch 'master' into maunope/static_routes 2022-10-28 14:36:17 +02:00
Maurizio Noseda Pedraglio 5b3262172d Merge branch 'maunope/static_routes' of https://github.com/maunope/cloud-foundation-fabric into maunope/static_routes 2022-10-28 14:20:13 +02:00
Maurizio Noseda Pedraglio 561e113f61 added services to monitoring project 2022-10-28 14:19:26 +02:00
Brian Jung 1148a5fd24
Update README.md 2022-10-27 13:22:42 -04:00
Brian Jung 1ca493e3d7
Update main.tf
Added a terraform and provider block - terraform relies on plugins and following best practices to allow allowing the rightmost component of a version to increment. (https://developer.hashicorp.com/terraform/language/providers/requirements#version-constraints)

Also removed comment about it being ok to use project roles of monitoring viewer and compute networkViewer. (Look at Issue #922)
2022-10-27 13:17:20 -04:00
Julio Castillo 2c83b9179a
Update README.md 2022-10-27 09:18:34 +02:00
Aurélien Legrand 1b19587f0c
Update README.md 2022-10-25 11:50:40 +02:00
Maurizio Noseda Pedraglio 946868062c updated readme 2022-10-25 11:37:14 +02:00
aurelien.legrand01@gmail.com 0ffb08d89c Adding support for PSA ranges, starting with Redis instances. 2022-10-25 11:33:58 +02:00
Maurizio Noseda Pedraglio c359c13d4a removed unneeded import 2022-10-24 13:49:31 +02:00
Maurizio Noseda Pedraglio 0a878454aa dashboard fix 2022-10-21 18:48:53 +02:00
Maurizio Noseda Pedraglio 4b1138c5bb pr comments fixed 2022-10-21 18:44:53 +02:00
Maurizio Noseda Pedraglio cebc9360f8 fixes to dashboard and statc routes category metric name 2022-10-21 17:43:00 +02:00
Julio Castillo b194b51ef3
Merge branch 'master' into maunope/static_routes 2022-10-20 23:11:44 +02:00
Julio Castillo f8208670e2 Fix variable cf_version validation 2022-10-20 19:12:57 +02:00
Julio Castillo ea9227dedf Update README 2022-10-20 19:10:46 +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