Sha256: 0cc9d62f9aa5bf32dfb313c7e8b6e58fbc327850d81ed14024fccf0c67bd7759

Contents?: true

Size: 1.42 KB

Versions: 4

Compression:

Stored size: 1.42 KB

Contents

# How to find the Edge Gateway UUID

Using: [VCloud Tools](https://github.com/alphagov/vcloudtools)


## Logging into VCloud

```
#$> export VCLOUD_API_ROOT=https://api.vcd.example.com/api eval `vcloud-login`
Please log into vCloud
Username: username@organisation
Password:
```

## Finding the organisation uuid

```
#$> vcloud-browse /org | grep MyOrg
    <Org type="application/vnd.vmware.vcloud.org+xml" name="MyOrg" href="https://api.vcd.example.com/api/org/77595ec2-2391-4817-9257-66b12533d684"/>
```

In this example, the Org UUID is `77595ec2-2391-4817-9257-66b12533d684`

## Finding the VDC UUID

```
#$> vcloud-browse /org/77595ec2-2391-4817-9257-66b12533d684 | grep vnd.vmware.vcloud.vdc+xml
    <Link rel="down" type="application/vnd.vmware.vcloud.vdc+xml" name="VDC1" href="https://api.vcd.example.com/api/vdc/4887d502-5873-4d0c-bb63-075792277ec6"/>
```
In this example, the VDC UUID is `4887d502-5873-4d0c-bb63-075792277ec6`

## Find the Edge Gateway UUID

```
#$> vcloud-browse /admin/vdc/4887d502-5873-4d0c-bb63-075792277ec6/edgeGateways\?format=references | grep 'EdgeGatewayReference '
    <EdgeGatewayReference type="application/vnd.vmware.admin.edgeGateway+xml" name="My VSE (nft00012a3)" id="urn:vcloud:gateway:be8e9731-0f3d-474b-b739-085afd27cdfd" href="https://api.vcd.example.com/api/admin/edgeGateway/be8e9731-0f3d-474b-b739-085afd27cdfd"/>
```
In this example, the Edge Gateway UUID is `be8e9731-0f3d-474b-b739-085afd27cdfd`

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vcloud-net-spinner-0.2.0 docs/find_organisation_edgegateway_uuid.md
vcloud-net-spinner-0.1.6 docs/find_organisation_edgegateway_uuid.md
vcloud-net-spinner-0.1.5 docs/find_organisation_edgegateway_uuid.md
vcloud-net-spinner-0.1.4 docs/find_organisation_edgegateway_uuid.md