Commit Graph

96 Commits

Author SHA1 Message Date
Aurélien Legrand 1f344b65e6
Net dash cfv2 (#1859)
* Handling SQL IP address issue

* reverting one change

* Improving this fix based on wiktor's feedback

* formatting

* Adding supporting for Cloud Function v2 (60 minutes timeout vs 9 minutes timeout)

* Removing useless comment

* formatting

* updating inputs/outputs documentation

* feedback from Julio

* formatting

* python formatting

* formatting

* formatting

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2023-11-16 14:45:44 +00:00
Aurélien Legrand 68dea5530a
Handling SQL IP address issue (#1825)
* Handling SQL IP address issue

* reverting one change

* Improving this fix based on wiktor's feedback

* formatting
2023-10-30 17:26:06 +01:00
Aurélien Legrand e10aabdc22
Updating network dashboard: fixing Cloud SQL problem, fixing 1 metric… (#1806)
* Updating network dashboard: fixing Cloud SQL problem, fixing 1 metric issue in the dashboard, pausing for monitoring quota issues, if monitored folders and projects are empty, every project under the discovery root node will be monitored.

* formatting

* time optimization

---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2023-10-25 10:37:25 +00:00
Simone Ruffilli 6d89b88149
versions.tf maintenance + copyright notice bump (#1782)
* Bump copyright notice to 2023

* Delete versions.tf on blueprints

* Pin provider to major version 5

* Remove comment

* Fix lint

* fix bq-ml blueprint readme

---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
Co-authored-by: Julio Castillo <jccb@google.com>
2023-10-20 18:17:47 +02:00
Ludovico Magnocavallo 638841c8d1
Rename network load balancer modules (#1466)
* update LB modules to new names

* update LB modules names

* update test paths
2023-06-26 07:50:10 +00:00
Ludovico Magnocavallo bd3296bc46
Split Cloud Function module in separate v1 and v2 modules (#1450)
* split v1

* v2

* blueprints

* remove _http
2023-06-19 12:50:36 +02:00
dependabot[bot] d245088fa1
Bump requests in /blueprints/cloud-operations/network-dashboard/src (#1389)
Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.1...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 05:37:15 +00:00
Alejandro Leal a2a2942e2c Update README.md 2023-05-15 14:50:47 -04:00
Alejandro Leal 87cd83f5c0 Several updates
Several updates
2023-05-13 23:51:46 -04:00
Avinash Jha e881537f87
Separating GKE Standard and Autopilot Modules (#1330)
* separating GKE Standard and Autopilot Modules

* Changes for Updating the terraform and provide versions

* Changes for Autopilot Readme

* Changes for Autopilot Variable

* Changes for Autopilot Readme

* Changes for Autopilot Readme

* Changes for Blueprint

* Changes for Blueprint ReadMe

* Changes for gke-standard-cluster dependency

* Changes for gke-standard-cluster in gke-fleet

* Changes for gke-standard-cluster in cluster-mesh-gke-fleet-api

* python formatting

* python formatting

* python formatting

* GKE module naming convention

* Readme Changes

* test module

* Removing comment code from Autopilot
2023-04-21 12:08:13 +00:00
simonebruzzechesse 94bf7bd63f
Network Dashboard improvements and bug fixing (#1289)
* update documentation and fix group by issue causing duplicated metric
* fix format md
* fix toc indentation
* update required python version in README
2023-03-29 14:54:06 +02:00
Ludovico Magnocavallo 603d9045eb
port mauri's changes to new code (#1274) 2023-03-24 14:29:12 +00:00
simonebruzzechesse 6aa0fde85b
Small fixes on Network Dashboard cloud function code (#1218)
* small fix on discovery compute quota file
decresed severity of log in discover cai from INFO to DEBUG

* remove else statement in condition

* add flag for debug logging

---------

Co-authored-by: Ludo <ludomagno@google.com>
2023-03-12 09:53:22 +00:00
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