Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update labs #215

Merged
merged 3 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed docs/class4/_static/class4-shared-001.png
Binary file not shown.
Binary file removed docs/class4/_static/class4-shared-002.png
Binary file not shown.
Binary file removed docs/class4/_static/class4-shared-003.png
Binary file not shown.
Binary file removed docs/class4/_static/class4-shared-004.png
Binary file not shown.
Binary file removed docs/class4/_static/class4-shared-005.png
Binary file not shown.
Binary file removed docs/class4/_static/class4-shared-006.png
Binary file not shown.
Binary file removed docs/class4/_static/class4-shared-007.png
Binary file not shown.
Binary file modified docs/class4/_static/lab1-task2-002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/class4/_static/lab1-task2-003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/class4/_static/lab1-task2-004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/class4/_static/lab1-task2-005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/class4/_static/lab1-task3-001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/class4/_static/lab1-task3-002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/class4/_static/lab1-task3-003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/class4/_static/lab2-task2-006-alt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/class4/_static/lab2-task2-007-alt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/class4/_static/shared-001a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 17 additions & 16 deletions docs/class4/lab1.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


Lab 1: API Discovery
=========================================================================================

Expand Down Expand Up @@ -39,6 +41,11 @@ steps will define an application, register its DNS and assign a target as an ori
.. image:: _static/shared-001.png
:width: 800px

#. Click on the arrow to the right of **Namespace**, select your namespace from the list.

.. image:: _static/shared-001a.png
:width: 500px

#. In the left-hand navigation expand **Manage** and click **Load Balancers > HTTP Load**
**Balancers**

Expand Down Expand Up @@ -122,8 +129,8 @@ steps will define an application, register its DNS and assign a target as an ori
.. image:: _static/lab1-task1-012.png
:width: 800px

Task 2: Swagger File Import & Version Control
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Task 2: OpenAPI File Import
~~~~~~~~~~~~~~~~~~~~~~~~~~~

In this task's series of steps you will import swagger files into the F5 Distributed Cloud tenant and explore
version control features.
Expand All @@ -141,22 +148,17 @@ version control features.
.. image:: _static/shared-001.png
:width: 800px

#. In the left-hand navigation, click on **Files** under the **Manage** section.

#. Click **Add Swagger File** in the main window area as shown. Alternatively, the link near
the top of the window can also be used.
#. In the left-hand navigation, click on **Files** then **OpenAPI Files** under the **Manage** section.

.. note::
*If you receive an error when clicking on "Add Swagger File" located at the center
of the window, click "Add Swagger File" at the top of the same window.*
#. Click **Add OpenAPI File** located in the center of the window.

.. image:: _static/lab1-task2-002.png
:width: 800px

#. In the resulting **New Swagger File** window, input **app-api** for the **Name** under
#. In the resulting **OpenAPI File** window, input **app-api** for the **Name** under
the **Metadata** section.

#. In the **Upload Swagger File** section, click the **Upload File** button. Select the file
#. In the **OpenAPI Upload** section, click the **Upload File** button. Select the file
downloaded in Step 1 above and click **Open**.

.. image:: _static/lab1-task2-003.png
Expand All @@ -167,7 +169,7 @@ version control features.
.. image:: _static/lab1-task2-004.png
:width: 800px

#. In the resulting **Swagger Files** window, you will see the upload file with additional
#. In the resulting **OpenAPI File** window, you will see the upload file with additional
metadata.

.. note::
Expand All @@ -177,7 +179,7 @@ version control features.
.. image:: _static/lab1-task2-005.png
:width: 800px

Task 3: Swagger Definition
Task 3: API Definition
~~~~~~~~~~~~~~~~~~~~~~~~~~

In this task's series of steps you will establish the Swagger Definition which serves as an object
Expand All @@ -198,10 +200,9 @@ pointer to imported swagger files you just uploaded.
#. In the resulting **New API Definition** window, input **app-api-spec**
for the **Name** under the **Metadata** section.

#. In the **Swagger Specs** section, click **Add Item** box in the
**Swagger Specs** column.
#. In the **OpenAPI Specification Files** section, click **Add Item**.

#. Select the version 1 of the previously uploaded swagger spec file. It will be in the
#. Select the version 1 of the previously uploaded OpenAPI spec file. It will be in the
format **<namespace>/app-api/v1-<current-date>**.

#. Once selected, click **Save and Exit** in the bottom-right corner.
Expand Down
16 changes: 11 additions & 5 deletions docs/class4/lab2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,17 +178,23 @@ previously built Load Balancer object delivering the targeted API.
.. image:: _static/lab2-task2-005.png
:width: 800px

#. In the resulting configuration window, select **/api/DogLookup/GetAllDogs** for **API
Endpoint** input.
#. In the resulting configuration window, update the following fields then click **Apply**.

#. Select **ANY** for **Method** input and then click the **Apply** button.
* **API Endpoint:** ``/api/DogLookup/GetAllDogs``
* **Method List:** ``ANY``
* **Threshold:** ``3``
* **Duration:** ``Minute``

.. image:: _static/lab2-task2-006.png

.. note::
*This will rate limit a client after making 3 requests within 1 minute.*

.. image:: _static/lab2-task2-006-alt.png
:width: 800px

#. Review the API Endpoint rate limiting rule and click, the **Apply** button.

.. image:: _static/lab2-task2-007.png
.. image:: _static/lab2-task2-007-alt.png
:width: 800px

#. Note the updated configuration for API Rate limiting, Click **Other Settings** on the
Expand Down
Loading