Data Source: oci_core_ipsec_connection_tunnel_routes
This data source provides the list of Ipsec Connection Tunnel Routes in Oracle Cloud Infrastructure Core service.
The routes advertised to the on-premises network and the routes received from the on-premises network.
Example Usage
data "oci_core_ipsec_connection_tunnel_routes" "test_ipsec_connection_tunnel_routes" {
#Required
ipsec_id = oci_core_ipsec.test_ipsec.id
tunnel_id = oci_core_tunnel.test_tunnel.id
#Optional
advertiser = var.ipsec_connection_tunnel_route_advertiser
}
Argument Reference
The following arguments are supported:
advertiser
- (Optional) Specifies the advertiser of the routes. If set toORACLE
, this returns only the routes advertised by Oracle. When set toCUSTOMER
, this returns only the routes advertised by the CPE.ipsec_id
- (Required) The OCID of the IPSec connection.tunnel_id
- (Required) The OCID of the tunnel.
Attributes Reference
The following attributes are exported:
tunnel_routes
- The list of tunnel_routes.
IpsecConnectionTunnelRoute Reference
The following attributes are exported:
advertiser
- The source of the route advertisement.age
- The age of the route.as_path
- A list of ASNs in AS_Path.is_best_path
- Indicates this is the best route.prefix
- The BGP network layer reachability information.