Step(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A simulated forwarding path is composed of multiple steps. Each step has a well-defined state and an associated configuration.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
description |
str
A description of the step. Usually this is a summary of the state. |
state |
google.cloud.network_management_v1.types.Step.State
Each step is in one of the pre-defined states. |
causes_drop |
bool
This is a step that leads to the final state Drop. |
project_id |
str
Project ID that contains the configuration this step is validating. |
instance |
google.cloud.network_management_v1.types.InstanceInfo
Display information of a Compute Engine instance. This field is a member of oneof _ step_info .
|
firewall |
google.cloud.network_management_v1.types.FirewallInfo
Display information of a Compute Engine firewall rule. This field is a member of oneof _ step_info .
|
route |
google.cloud.network_management_v1.types.RouteInfo
Display information of a Compute Engine route. This field is a member of oneof _ step_info .
|
endpoint |
google.cloud.network_management_v1.types.EndpointInfo
Display information of the source and destination under analysis. The endpoint information in an intermediate state may differ with the initial input, as it might be modified by state like NAT, or Connection Proxy. This field is a member of oneof _ step_info .
|
forwarding_rule |
google.cloud.network_management_v1.types.ForwardingRuleInfo
Display information of a Compute Engine forwarding rule. This field is a member of oneof _ step_info .
|
vpn_gateway |
google.cloud.network_management_v1.types.VpnGatewayInfo
Display information of a Compute Engine VPN gateway. This field is a member of oneof _ step_info .
|
vpn_tunnel |
google.cloud.network_management_v1.types.VpnTunnelInfo
Display information of a Compute Engine VPN tunnel. This field is a member of oneof _ step_info .
|
deliver |
google.cloud.network_management_v1.types.DeliverInfo
Display information of the final state "deliver" and reason. This field is a member of oneof _ step_info .
|
forward |
google.cloud.network_management_v1.types.ForwardInfo
Display information of the final state "forward" and reason. This field is a member of oneof _ step_info .
|
abort |
google.cloud.network_management_v1.types.AbortInfo
Display information of the final state "abort" and reason. This field is a member of oneof _ step_info .
|
drop |
google.cloud.network_management_v1.types.DropInfo
Display information of the final state "drop" and reason. This field is a member of oneof _ step_info .
|
load_balancer |
google.cloud.network_management_v1.types.LoadBalancerInfo
Display information of the load balancers. This field is a member of oneof _ step_info .
|
network |
google.cloud.network_management_v1.types.NetworkInfo
Display information of a Google Cloud network. This field is a member of oneof _ step_info .
|
gke_master |
google.cloud.network_management_v1.types.GKEMasterInfo
Display information of a Google Kubernetes Engine cluster master. This field is a member of oneof _ step_info .
|
cloud_sql_instance |
google.cloud.network_management_v1.types.CloudSQLInstanceInfo
Display information of a Cloud SQL instance. This field is a member of oneof _ step_info .
|
Classes
State
State(value)
Type of states that are defined in the network state machine. Each step in the packet trace is in a specific state.
Values: STATE_UNSPECIFIED (0): Unspecified state. START_FROM_INSTANCE (1): Initial state: packet originating from a Compute Engine instance. An InstanceInfo is populated with starting instance information. START_FROM_INTERNET (2): Initial state: packet originating from the internet. The endpoint information is populated. START_FROM_PRIVATE_NETWORK (3): Initial state: packet originating from a VPC or on-premises network with internal source IP. If the source is a VPC network visible to the user, a NetworkInfo is populated with details of the network. START_FROM_GKE_MASTER (21): Initial state: packet originating from a Google Kubernetes Engine cluster master. A GKEMasterInfo is populated with starting instance information. START_FROM_CLOUD_SQL_INSTANCE (22): Initial state: packet originating from a Cloud SQL instance. A CloudSQLInstanceInfo is populated with starting instance information. APPLY_INGRESS_FIREWALL_RULE (4): Config checking state: verify ingress firewall rule. APPLY_EGRESS_FIREWALL_RULE (5): Config checking state: verify egress firewall rule. APPLY_ROUTE (6): Config checking state: verify route. APPLY_FORWARDING_RULE (7): Config checking state: match forwarding rule. SPOOFING_APPROVED (8): Config checking state: packet sent or received under foreign IP address and allowed. ARRIVE_AT_INSTANCE (9): Forwarding state: arriving at a Compute Engine instance. ARRIVE_AT_INTERNAL_LOAD_BALANCER (10): Forwarding state: arriving at a Compute Engine internal load balancer. ARRIVE_AT_EXTERNAL_LOAD_BALANCER (11): Forwarding state: arriving at a Compute Engine external load balancer. ARRIVE_AT_VPN_GATEWAY (12): Forwarding state: arriving at a Cloud VPN gateway. ARRIVE_AT_VPN_TUNNEL (13): Forwarding state: arriving at a Cloud VPN tunnel. NAT (14): Transition state: packet header translated. PROXY_CONNECTION (15): Transition state: original connection is terminated and a new proxied connection is initiated. DELIVER (16): Final state: packet could be delivered. DROP (17): Final state: packet could be dropped. FORWARD (18): Final state: packet could be forwarded to a network with an unknown configuration. ABORT (19): Final state: analysis is aborted. VIEWER_PERMISSION_MISSING (20): Special state: viewer of the test result does not have permission to see the configuration in this step.