Class DrgRouteRule
A DRG route rule is a mapping between a destination IP address range and a DRG attachment. The map is used to route matching packets. Traffic will be routed across the attachments using Equal-cost multi-path routing (ECMP) if there are multiple rules with identical destinations and none of the rules conflict.
Inherited Members
Namespace: Oci.VnmonitoringService.Models
Assembly: OCI.DotNetSDK.Vnmonitoring.dll
Syntax
public class DrgRouteRule
Properties
Attributes
Declaration
[JsonProperty(PropertyName = "attributes")]
public object Attributes { get; set; }
Property Value
Type | Description |
---|---|
object | Additional properties for the route, computed by the service. |
Destination
Declaration
[Required(ErrorMessage = "Destination is required.")]
[JsonProperty(PropertyName = "destination")]
public string Destination { get; set; }
Property Value
Type | Description |
---|---|
string | Represents the range of IP addresses to match against when routing traffic.
|
Remarks
Required
DestinationType
Declaration
[Required(ErrorMessage = "DestinationType is required.")]
[JsonProperty(PropertyName = "destinationType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DrgRouteRule.DestinationTypeEnum? DestinationType { get; set; }
Property Value
Type | Description |
---|---|
DrgRouteRule.DestinationTypeEnum? | The type of destination for the rule.
|
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The Oracle-assigned ID of the DRG route rule. |
Remarks
Required
IsBlackhole
Declaration
[JsonProperty(PropertyName = "isBlackhole")]
public bool? IsBlackhole { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification. |
IsConflict
Declaration
[JsonProperty(PropertyName = "isConflict")]
public bool? IsConflict { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates that the route was not imported due to a conflict between route rules. |
NextHopDrgAttachmentId
Declaration
[Required(ErrorMessage = "NextHopDrgAttachmentId is required.")]
[JsonProperty(PropertyName = "nextHopDrgAttachmentId")]
public string NextHopDrgAttachmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the next hop DRG attachment responsible
for reaching the network destination.
|
Remarks
Required
RouteProvenance
Declaration
[Required(ErrorMessage = "RouteProvenance is required.")]
[JsonProperty(PropertyName = "routeProvenance")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DrgRouteRule.RouteProvenanceEnum? RouteProvenance { get; set; }
Property Value
Type | Description |
---|---|
DrgRouteRule.RouteProvenanceEnum? | The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment,
and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains |
Remarks
Required
RouteType
Declaration
[JsonProperty(PropertyName = "routeType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DrgRouteRule.RouteTypeEnum? RouteType { get; set; }
Property Value
Type | Description |
---|---|
DrgRouteRule.RouteTypeEnum? | You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols. |