3.3. Managing Devices with F5 VS Code Extension

3.3.1. Connect to your BIG-IP Devices

  1. Click on the file Explorer icon (top left corner - below the VS Code icon).

  2. Navigate to the /ATC/f5extension folder and open the devices.json file.

    VS Code Explorer icon

    Directory image

  3. Highlight all of the text in the JSON file.

    [
        {
            "device": "admin@52.11.43.7",
            "password": "xxxxxxxxxxxxxxxx"
        },
        {
            "device": "admin@52.41.210.58",
            "password": "xxxxxxxxxxxxxxxx"
        }
    ]
    

  4. Right-click (MacOS: Command-click) on the highlighted text and select Import Devices.

    Directory image

    We are using this file to import multiple devices all at once, including the passwords. This can also be done without the passwords, so that you would have to add the passwords manually when connecting.

  5. Click on the F5 icon in the left navigation menu to switch to the F5 Extension.

  6. Click on each BIG-IP host to connect to it. Upon successful connection, you will see a hexagon with an F5 in the middle.

    Directory image

  7. The status bar at the bottom of the VS Code windows shows that the Terraform deployment installed the following ATC extensions: AS3, DO, TS, and CFE.

    VS Code status bar with arrow pointing to AS3 version

    You can click on the ATC extension names to get updates.

3.3.2. Check AS3 Extension Status

Now, we will issue a REST call to the AS3 API endpoint to ensure that it is functioning. We will use a feature of the F5 Extension called Make HTTP Request available in the context menu.

  1. Ensure you are connected to BIG-IP #1, then switch back to the Explorer.

  2. Navigate to /ATC/AS3 and open as3check_makehttprequest.json.

    Location of the file to open

  3. Select all of the text of the JSON file and then right click on the text to open the context menu.

  4. Select Make HTTP Request to send the JSON as a request to BIG-IP #1.

    Context menu

  5. The response will appear in a new panel. You should see that the version returned matches the version number in the status bar.

    Response windows

  6. Repeat the AS3 status check for BIG-IP #2.

Attention

Don’t forget to connect to BIG-IP #2 in the F5 Extension panel first.