NetworkRoutingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
bgp_always_compare_med |
bool
Enable comparison of Multi-Exit Discriminators (MED) across routes with different neighbor ASNs when using the STANDARD BGP best path selection algorithm. This field is a member of oneof _ _bgp_always_compare_med .
|
bgp_best_path_selection_mode |
str
The BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers. Can be LEGACY (default) or STANDARD. Check the BgpBestPathSelectionMode enum for the list of possible values. This field is a member of oneof _ _bgp_best_path_selection_mode .
|
bgp_inter_region_cost |
str
Allows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm. Can be DEFAULT or ADD_COST_TO_MED. Check the BgpInterRegionCost enum for the list of possible values. This field is a member of oneof _ _bgp_inter_region_cost .
|
routing_mode |
str
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values. This field is a member of oneof _ _routing_mode .
|
Classes
BgpBestPathSelectionMode
BgpBestPathSelectionMode(value)
The BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers. Can be LEGACY (default) or STANDARD.
BgpInterRegionCost
BgpInterRegionCost(value)
Allows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm. Can be DEFAULT or ADD_COST_TO_MED.
RoutingMode
RoutingMode(value)
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions.