10. Manage AML-IP nodes with the AML Dashboard¶
10.1. Background¶
The AML Dashboard is a web-based tool that allows users to interact with the AML framework.
This tutorial guides you through the process of managing AML-IP nodes (creating, stopping and deleting) using the AML Dashboard.
10.2. Prerequisites¶
Ensure you have installed the AML Dashboard using one of the following methods:
For more information, check the AML Dashboard Interfaces and AML Dashboard Usage sections.
10.3. Running the demo¶
To run the necessary components for managing AML-IP nodes using the AML Dashboard, follow these steps:
10.3.1. Start the backend server¶
To begin, you need to launch the backend server:
Navigate to the
backenddirectory.
cd backend
Load the AML-IP environment.
source /AML-IP/install/setup.bash
Start the server:
python3 server.py
10.3.2. Start the AML Dashboard¶
Once the backend server is running, start the AML Dashboard frontend:
Navigate to the
frontend/aml_dashboarddirectory.
cd frontend/aml_dashboard
Start the AML Dashboard:
npm run dev
Access the dashboard at http://localhost:5173/.
10.4. Manage AML-IP nodes¶
To manage AML-IP nodes, in the AML Dashboard, go to the AML-IP tab.
10.5. Manage Agent Nodes¶
10.5.1. Create an Agent Node¶
To create an Agent Node (Client, Server or Repeater), follow these steps:
In the
AML-IPtab, go to theAgent Nodetab.Specify the necessary parameters for the corresponding Agent Node creation.
Warning
In UDP communication the internal and the external port must coincide.
Click on the
Createbutton in the Create Agent Node.Once the node is successfully created, the corresponding Agent Node Status will update to Created !.
Note
Currently, each Agent Node can only be created once.
10.5.2. Stop and Delete an Agent Node¶
To stop an Agent Node, follow these steps:
In the
AML-IPtab, go to theAgent Nodetab.Click on the
Deletebutton in the Delete Agent Node.Once the node is successfully deleted, the corresponding Agent Node Status will update to Deleted !.
10.6. Manage Computing Nodes¶
10.6.1. Create a Computing Node¶
To create a Computing Node, follow these steps:
In the
AML-IPtab, go to theComputing Nodetab.Click on the
Createbutton in the Computing Node.Once the node is successfully created, the Computing Node Status will update to Created and running !.
10.6.2. Stop a Computing node¶
Computing nodes can be stopped without deleting them. This allows you to restart the node later when needed. To stop a Computing Node, follow these steps:
In the
AML-IPtab, go to theComputing Nodetab.Indicate the ID of the node you want to stop.
Alternatively, if you want to stop all Computing nodes, in the Indicate the ID of Computing Node to manage section, write
all.Click on the
Stopbutton in the Stop Computing Node.Once the node is successfully stopped, the corresponding Computing Node Status will update to Stopped !.
10.6.3. Run a Computing node¶
To run a stopped Computing Node, follow these steps:
In the
AML-IPtab, go to theComputing Nodetab.Indicate the ID of the node you want to run.
Alternatively, if you want to run all stopped Computing nodes, in the Indicate the ID of Computing Node to manage section, write
all.Click on the
Runbutton in the Run Computing Node.Once the node is successfully running, the corresponding Computing Node Status will update to Running !.
10.6.4. Delete a Computing Node¶
To delete a Computing Node, follow these steps:
In the
AML-IPtab, go to theComputing Nodetab.Indicate the ID of the node you want to delete.
Alternatively, if you want to delete all Computing nodes, in the Indicate the ID of Computing Node to manage section, write
all.Click on the
Stop and Deletebutton in the Stop and Delete Computing Node.Once the node is successfully deleted, the corresponding Computing Node Status will update to Deleted !.
10.7. Manage Inference Nodes¶
10.7.1. Create an Inference Node¶
To create an Inference Node, follow these steps:
In the
AML-IPtab, go to theInference Nodetab.Click on the
Createbutton in the Inference Node.Once the node is successfully created, the Inference Node Status will update to Created !.
10.7.2. Stop an Inference node¶
Inference nodes can be stopped without deleting them. This allows you to restart the node later when needed. To stop an Inference Node, follow these steps:
In the
AML-IPtab, go to theInference Nodetab.Indicate the ID of the node you want to stop.
Alternatively, if you want to stop all Inference nodes, in the Indicate the ID of Inference Node to manage section, write
all.Click on the
Stopbutton in the Stop Inference Node.Once the node is successfully stopped, the corresponding Inference Node Status will update to Stopped !.
10.7.3. Run an Inference node¶
To run a stopped Inference Node, follow these steps:
In the
AML-IPtab, go to theInference Nodetab.Indicate the ID of the node you want to run.
Alternatively, if you want to run all stopped Inference nodes, in the Indicate the ID of Inference Node to manage section, write
all.Click on the
Runbutton in the Run Inference Node.Once the node is successfully running, the corresponding Inference Node Status will update to Running !.
10.7.4. Delete an Inference Node¶
To delete an Inference Node, follow these steps:
In the
AML-IPtab, go to theInference Nodetab.Indicate the ID of the node you want to delete.
Alternatively, if you want to delete all Inference nodes, in the Indicate the ID of Inference Node to manage section, write
all.Click on the
Stop and Deletebutton in the Stop and Delete Inference Node.Once the node is successfully deleted, the corresponding Inference Node Status will update to Deleted !.
10.8. Manage Sender Node¶
10.8.1. Create a Sender Node¶
To create a Sender Node, follow these steps:
In the
AML-IPtab, go to theSender Nodetab.Click on the
Createbutton in the Sender Node.Once the node is successfully created, the Sender Node Status will update to Created !.
Note
Currently, a Sender Node can only be created once.
10.8.2. Delete a Sender Node¶
To delete a Sender Node, follow these steps:
In the
AML-IPtab, go to theSender Nodetab.Click on the
Deletebutton in the Delete Sender Node.Once the node is successfully deleted, the corresponding Sender Node Status will update to Deleted !.