Skip to main content

ip_sec_connection_tunnel_routes

Creates, updates, deletes, gets or lists an ip_sec_connection_tunnel_routes resource.

Overview​

Nameip_sec_connection_tunnel_routes
TypeResource
Idoci.network.ip_sec_connection_tunnel_routes

Fields​

The following fields are returned by SELECT queries:

A summary of the routes advertised to and received from the on-premises network.<br />

NameDatatypeDescription
advertiserstringThe source of the route advertisement. (CUSTOMER, ORACLE)
ageinteger (int64)The age of the route.
asPatharrayA list of ASNs in AS_Path.
isBestPathbooleanIndicates this is the best route.
prefixstringThe BGP network layer reachability information.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectipscId, tunnelId, regionlimit, page, advertiserThe routes advertised to the on-premises network and the routes received from the on-premises network.<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
ipscIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
tunnelIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
advertiserstringSpecifies the advertiser of the routes. If set to ORACLE, this returns only the routes advertised by Oracle. When set to CUSTOMER, this returns only the routes advertised by the CPE.
limitintegerFor list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). Example: 50
pagestringFor list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).

SELECT examples​

The routes advertised to the on-premises network and the routes received from the on-premises network.<br />

SELECT
advertiser,
age,
asPath,
isBestPath,
prefix
FROM oci.network.ip_sec_connection_tunnel_routes
WHERE ipscId = '{{ ipscId }}' -- required
AND tunnelId = '{{ tunnelId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND advertiser = '{{ advertiser }}'
;