DrgRouteTable¶
- class oci.vn_monitoring.models.DrgRouteTable(**kwargs)¶
Bases:
objectAll routing inside the DRG is driven by the contents of DRG route tables. DRG route tables contain rules which route packets to a particular network destination, represented as a DRG attachment. The routing decision for a packet entering a DRG is determined by the rules in the DRG route table assigned to the attachment-of-entry.
Each DRG attachment can inject routes in any DRG route table, provided there is a statement corresponding to the attachment in the route table’s importDrgRouteDistribution. You can also insert static routes into the DRG route tables.
The DRG route table is always in the same compartment as the DRG. There must always be a default DRG route table for each attachment type.
Attributes:
A constant which can be used with the lifecycle_state property of a DrgRouteTable.
A constant which can be used with the lifecycle_state property of a DrgRouteTable.
A constant which can be used with the lifecycle_state property of a DrgRouteTable.
A constant which can be used with the lifecycle_state property of a DrgRouteTable.
[Required] Gets the compartment_id of this DrgRouteTable.
Gets the defined_tags of this DrgRouteTable.
Gets the display_name of this DrgRouteTable.
[Required] Gets the drg_id of this DrgRouteTable.
Gets the freeform_tags of this DrgRouteTable.
[Required] Gets the id of this DrgRouteTable.
Gets the import_drg_route_distribution_id of this DrgRouteTable.
[Required] Gets the is_ecmp_enabled of this DrgRouteTable.
[Required] Gets the lifecycle_state of this DrgRouteTable.
[Required] Gets the time_created of this DrgRouteTable.
Methods:
__init__(**kwargs)Initializes a new DrgRouteTable object with values from keyword arguments.
- LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'¶
A constant which can be used with the lifecycle_state property of a DrgRouteTable. This constant has a value of “AVAILABLE”
- LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'¶
A constant which can be used with the lifecycle_state property of a DrgRouteTable. This constant has a value of “PROVISIONING”
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED'¶
A constant which can be used with the lifecycle_state property of a DrgRouteTable. This constant has a value of “TERMINATED”
- LIFECYCLE_STATE_TERMINATING = 'TERMINATING'¶
A constant which can be used with the lifecycle_state property of a DrgRouteTable. This constant has a value of “TERMINATING”
- __init__(**kwargs)¶
Initializes a new DrgRouteTable object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this DrgRouteTable.
compartment_id (str) – The value to assign to the compartment_id property of this DrgRouteTable.
drg_id (str) – The value to assign to the drg_id property of this DrgRouteTable.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DrgRouteTable.
display_name (str) – The value to assign to the display_name property of this DrgRouteTable.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DrgRouteTable.
time_created (datetime) – The value to assign to the time_created property of this DrgRouteTable.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this DrgRouteTable. Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “TERMINATING”, “TERMINATED”
import_drg_route_distribution_id (str) – The value to assign to the import_drg_route_distribution_id property of this DrgRouteTable.
is_ecmp_enabled (bool) – The value to assign to the is_ecmp_enabled property of this DrgRouteTable.
- property compartment_id¶
[Required] Gets the compartment_id of this DrgRouteTable. The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as the DRG.
- Returns
The compartment_id of this DrgRouteTable.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this DrgRouteTable. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this DrgRouteTable.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this DrgRouteTable. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this DrgRouteTable.
- Return type
str
- property drg_id¶
[Required] Gets the drg_id of this DrgRouteTable. The OCID of the DRG the DRG that contains this route table.
- Returns
The drg_id of this DrgRouteTable.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this DrgRouteTable. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this DrgRouteTable.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this DrgRouteTable. The OCID of the DRG route table.
- Returns
The id of this DrgRouteTable.
- Return type
str
- property import_drg_route_distribution_id¶
Gets the import_drg_route_distribution_id of this DrgRouteTable. The OCID of the import route distribution used to specify how incoming route advertisements from referenced attachments are inserted into the DRG route table.
- Returns
The import_drg_route_distribution_id of this DrgRouteTable.
- Return type
str
- property is_ecmp_enabled¶
[Required] Gets the is_ecmp_enabled of this DrgRouteTable. If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises network, enable ECMP on the DRG route table to which these attachments import routes.
- Returns
The is_ecmp_enabled of this DrgRouteTable.
- Return type
bool
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this DrgRouteTable. The DRG route table’s current state.
Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “TERMINATING”, “TERMINATED”
- Returns
The lifecycle_state of this DrgRouteTable.
- Return type
str