RouteInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)
For display only. Metadata associated with a Compute Engine route.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
route_type |
google.cloud.network_management_v1.types.RouteInfo.RouteType
Type of route. |
next_hop_type |
google.cloud.network_management_v1.types.RouteInfo.NextHopType
Type of next hop. |
route_scope |
google.cloud.network_management_v1.types.RouteInfo.RouteScope
Indicates where route is applicable. |
display_name |
str
Name of a route. |
uri |
str
URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI. |
dest_ip_range |
str
Destination IP range of the route. |
next_hop |
str
Next hop of the route. |
network_uri |
str
URI of a Compute Engine network. NETWORK routes only. |
priority |
int
Priority of the route. |
instance_tags |
MutableSequence[str]
Instance tags of the route. |
src_ip_range |
str
Source IP address range of the route. Policy based routes only. |
dest_port_ranges |
MutableSequence[str]
Destination port ranges of the route. Policy based routes only. |
src_port_ranges |
MutableSequence[str]
Source port ranges of the route. Policy based routes only. |
protocols |
MutableSequence[str]
Protocols of the route. Policy based routes only. |
ncc_hub_uri |
str
URI of a NCC Hub. NCC_HUB routes only. This field is a member of oneof _ _ncc_hub_uri .
|
ncc_spoke_uri |
str
URI of a NCC Spoke. NCC_HUB routes only. This field is a member of oneof _ _ncc_spoke_uri .
|
Classes
NextHopType
NextHopType(value)
Type of next hop:
Values:
NEXT_HOP_TYPE_UNSPECIFIED (0):
Unspecified type. Default value.
NEXT_HOP_IP (1):
Next hop is an IP address.
NEXT_HOP_INSTANCE (2):
Next hop is a Compute Engine instance.
NEXT_HOP_NETWORK (3):
Next hop is a VPC network gateway.
NEXT_HOP_PEERING (4):
Next hop is a peering VPC.
NEXT_HOP_INTERCONNECT (5):
Next hop is an interconnect.
NEXT_HOP_VPN_TUNNEL (6):
Next hop is a VPN tunnel.
NEXT_HOP_VPN_GATEWAY (7):
Next hop is a VPN gateway. This scenario only
happens when tracing connectivity from an
on-premises network to Google Cloud through a
VPN. The analysis simulates a packet departing
from the on-premises network through a VPN
tunnel and arriving at a Cloud VPN gateway.
NEXT_HOP_INTERNET_GATEWAY (8):
Next hop is an internet gateway.
NEXT_HOP_BLACKHOLE (9):
Next hop is blackhole; that is, the next hop
either does not exist or is not running.
NEXT_HOP_ILB (10):
Next hop is the forwarding rule of an
Internal Load Balancer.
NEXT_HOP_ROUTER_APPLIANCE (11):
Next hop is a router appliance
instance <https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview>
__.
NEXT_HOP_NCC_HUB (12):
Next hop is an NCC hub.
RouteScope
RouteScope(value)
Indicates where routes are applicable.
Values: ROUTE_SCOPE_UNSPECIFIED (0): Unspecified scope. Default value. NETWORK (1): Route is applicable to packets in Network. NCC_HUB (2): Route is applicable to packets using NCC Hub's routing table.
RouteType
RouteType(value)
Type of route:
Values: ROUTE_TYPE_UNSPECIFIED (0): Unspecified type. Default value. SUBNET (1): Route is a subnet route automatically created by the system. STATIC (2): Static route created by the user, including the default route to the internet. DYNAMIC (3): Dynamic route exchanged between BGP peers. PEERING_SUBNET (4): A subnet route received from peering network. PEERING_STATIC (5): A static route received from peering network. PEERING_DYNAMIC (6): A dynamic route received from peering network. POLICY_BASED (7): Policy based route.