Class DrgRouteTable
All 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.
Inherited Members
Namespace: Oci.VnmonitoringService.Models
Assembly: OCI.DotNetSDK.Vnmonitoring.dll
Syntax
public class DrgRouteTable
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as the DRG. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
DrgId
Declaration
[Required(ErrorMessage = "DrgId is required.")]
[JsonProperty(PropertyName = "drgId")]
public string DrgId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the DRG the DRG that contains this route table. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the DRG route table. |
Remarks
Required
ImportDrgRouteDistributionId
Declaration
[JsonProperty(PropertyName = "importDrgRouteDistributionId")]
public string ImportDrgRouteDistributionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the import route distribution used to specify how incoming route advertisements from referenced attachments are inserted into the DRG route table. |
IsEcmpEnabled
Declaration
[Required(ErrorMessage = "IsEcmpEnabled is required.")]
[JsonProperty(PropertyName = "isEcmpEnabled")]
public bool? IsEcmpEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | 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. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
public DrgRouteTable.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| DrgRouteTable.LifecycleStateEnum? | The DRG route table's current state. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the DRG route table was created, in the format defined by RFC3339.
|
Remarks
Required