<commit_before>
# 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 /vdc/4887d502-5873-4d0c-bb63-075792277ec6/edgeGateways
            <EdgeGatewayRecord vdc="https://api.vcd.example.com/api/vdc/4887d502-5873-4d0c-bb63-075792277ec6"
              numberOfOrgNetworks="8" numberOfExtNetworks="1"
              name="GDS Development Gateway" isBusy="false" haStatus="UP" gatewayStatus="READY"
              href="https://api.vcd.example.com/api/admin/edgeGateway/be8e9731-0f3d-474b-b739-085afd27cdfd"
              isSyslogServerSettingInSync="true" taskStatus="success"
              taskOperation="networkConfigureEdgeGatewayServices"
              task="https://api.vcd.example.com/api/task/***" taskDetails=" "/>
```
In this example, the Edge Gateway UUID is `be8e9731-0f3d-474b-b739-085afd27cdfd`


<commit_msg>Fix the URL for finding the EdgeGateway<commit_after># 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
            <EdgeGatewayRecord vdc="https://api.vcd.example.com/api/vdc/4887d502-5873-4d0c-bb63-075792277ec6"
              numberOfOrgNetworks="8" numberOfExtNetworks="1"
              name="GDS Development Gateway" isBusy="false" haStatus="UP" gatewayStatus="READY"
              href="https://api.vcd.example.com/api/admin/edgeGateway/be8e9731-0f3d-474b-b739-085afd27cdfd"
              isSyslogServerSettingInSync="true" taskStatus="success"
              taskOperation="networkConfigureEdgeGatewayServices"
              task="https://api.vcd.example.com/api/task/***" taskDetails=" "/>
```
In this example, the Edge Gateway UUID is `be8e9731-0f3d-474b-b739-085afd27cdfd`



{'fraction_non_alphanumeric': 0.14778185928228313, 'fraction_numerical': 0.1260243006499011, 'mean_word_length': 4.049928673323823, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1875240', 'n_tokens_mistral': 1641, 'n_tokens_neox': 1376, 'n_words': 202}