Getting a List of DRG Attachments

Get a list of DRG attachments that belong to a particular dynamic routing gateway (DRG).

This task functions differently in the Console than in the API or CLI. The Console distinguishes by attachment type while the other methods don't.

    1. On the Dynamic Routing Gateways list page, select the DRG that you want to work with. If you need help finding the list page or the DRG, see Listing DRGs.
    2. On the details page, perform one of the following actions depending on the option that you see:
      • Select the Attachments tab. The various attachment types are separated into sections.
      • Under Resources, the attachment types are listed according to their type. The number of attachments with a particular type is listed. Scroll down to the table following the VCN details, which lists the subnets in the VCN.

      The attachment types are:

      • VCN attachments
      • Virtual circuit attachments
      • IPSec tunnel attachments
      • Remote peering connection attachments
      • Loopback attachments
      • Cross-tenancy attachments
  • Use the network drg get-all-drg-attachments command and required parameters to get a list of DRG attachments that belong to a particular DRG:

    oci network drg get-all-drg-attachments --drg-id ocid ... [OPTIONS]

    Use the parameters shown to get a list of attachments with a certain type that belong to a particular DRG:

    oci network drg get-all-drg-attachments --drg-id ocid --attachment-type [ALL | IPSEC_TUNNEL | REMOTE_PEERING_CONNECTION | VCN | VIRTUAL_CIRCUIT ] ... [OPTIONS]

    Use the parameters shown to get a list of all attachments that belong to a different tenancy:

    oci network drg get-all-drg-attachments --drg-id ocid --is-cross-tenancy [true | false] ... [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the GetAllDrgAttachments operation to get a list of DRG attachments that belong to a particular DRG.