Skip to content

Configure TGW Information.

POST
/api/config/namespaces/{namespace}/aws_tgw_site/{name}/set_tgw_info
curl --request POST \
--url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/config/namespaces/example/aws_tgw_site/example/set_tgw_info \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "direct_connect_info": { "asn": 1, "direct_connect_gateway_id": "example", "vgw_id": "example" }, "name": "example", "namespace": "example", "tgw_info": { "private_ips": [ "example" ], "public_ips": [ "example" ], "subnet_ids": [ { "az_name": "example", "inside_subnet": { "az_name": "example", "id": "example", "ipv4_prefix": "example" }, "inside_subnet_id": "example", "outside_subnet": { "az_name": "example", "id": "example", "ipv4_prefix": "example" }, "outside_subnet_id": "example", "workload_subnet": { "az_name": "example", "id": "example", "ipv4_prefix": "example" }, "workload_subnet_id": "example" } ], "tgw_id": "example", "vpc_id": "example", "vpc_name": "example" } }'

Configure TGW Information like tgw-ID, F5 Distributed Cloud site’s VPC-ID.

Examples of this operation.

namespace
required
string

Namespace Namespace for the object to be configured.

name
required
string

Name Name of the object to be configured.

Media typeapplication/json
Request to configure TGW Information

Request to configure TGW Information.

object
direct_connect_info
object
asn
AWS Side ASN

The autonomous system (AS) number on the AWS side for Border Gateway Protocol (BGP) configuration.

integer format: int64
direct_connect_gateway_id
DirectConnect Gateway ID

DirectConnect Gateway ID Required: YES.

string
<= 1024 characters
vgw_id
Virtual Private Gateway ID

Virtual Private Gateway ID Required: YES.

string
<= 1024 characters
name
Name

Name of the object to be configured.

string
>= 6 characters <= 1024 characters
namespace
Namespace

Namespace for the object to be configured.

string
>= 6 characters <= 1024 characters
tgw_info
object
private_ips
AWS Node Private IPs

AWS Private IPs used by the nodes Required: YES.

Array<string>
public_ips
AWS Node Elastic IPs

AWS Elastic IPs used by the nodes Required: YES.

Array<string>
subnet_ids
AWS Subnet Ids Info

AWS Subnet IDs used by F5 Distributed Cloud site

Required: YES.

Array<object>
AWS Subnets Ids

AWS Subnet IDs used by F5 Distributed Cloud site.

object
az_name
AZ Name

AWS availability zone, must be consistent with the selected AWS region.

string
<= 1024 characters
inside_subnet
object
az_name
AZ Name

AWS availability zone, must be consistent with the selected AWS region. Required: YES.

string
<= 1024 characters
id
Subnet ID

Subnet ID

string
>= 1 <= 4094 <= 64 characters
ipv4_prefix
Subnet CIDR block

Subnet CIDR block. It has to be private address space. Required: YES.

string
<= 1024 characters
inside_subnet_id
Inside Subnet ID

Inside subnet ID used by F5 Distributed Cloud site.

string
<= 1024 characters
outside_subnet
object
az_name
AZ Name

AWS availability zone, must be consistent with the selected AWS region. Required: YES.

string
<= 1024 characters
id
Subnet ID

Subnet ID

string
>= 1 <= 4094 <= 64 characters
ipv4_prefix
Subnet CIDR block

Subnet CIDR block. It has to be private address space. Required: YES.

string
<= 1024 characters
outside_subnet_id
Outside Subnet ID

Outside subnet ID used by F5 Distributed Cloud site.

string
<= 1024 characters
workload_subnet
object
az_name
AZ Name

AWS availability zone, must be consistent with the selected AWS region. Required: YES.

string
<= 1024 characters
id
Subnet ID

Subnet ID

string
>= 1 <= 4094 <= 64 characters
ipv4_prefix
Subnet CIDR block

Subnet CIDR block. It has to be private address space. Required: YES.

string
<= 1024 characters
workload_subnet_id
Workload Subnet ID

Workload subnet ID used by F5 Distributed Cloud site.

string
<= 1024 characters
tgw_id
TGW ID

TGW ID populated by AWS Required: YES.

string
<= 1024 characters
vpc_id
VPC ID

VPC ID where the F5 Distributed Cloud site exists Required: YES.

string
<= 1024 characters
vpc_name
VPC Name

VPC Name where the F5 Distributed Cloud site exists.

string
<= 1024 characters
Examplegenerated
{
"direct_connect_info": {
"asn": 1,
"direct_connect_gateway_id": "example",
"vgw_id": "example"
},
"name": "example",
"namespace": "example",
"tgw_info": {
"private_ips": [
"example"
],
"public_ips": [
"example"
],
"subnet_ids": [
{
"az_name": "example",
"inside_subnet": {
"az_name": "example",
"id": "example",
"ipv4_prefix": "example"
},
"inside_subnet_id": "example",
"outside_subnet": {
"az_name": "example",
"id": "example",
"ipv4_prefix": "example"
},
"outside_subnet_id": "example",
"workload_subnet": {
"az_name": "example",
"id": "example",
"ipv4_prefix": "example"
},
"workload_subnet_id": "example"
}
],
"tgw_id": "example",
"vpc_id": "example",
"vpc_name": "example"
}
}

A successful response.

Media typeapplication/json
Response to configure TGW info

Response to configure TGW info.

object
Examplegenerated
{}

Returned when operation is not authorized.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when there is no permission to access resource.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when resource is not found.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation on resource is conflicting with current value.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation has been rejected as it is happening too frequently.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server encountered an error in processing API.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when service is unavailable temporarily.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server timed out processing request.

Media typeapplication/json
string format: string
Examplegenerated
example