Topic | Abstract |
---|---|
Configuration View | Configuration View overview |
Headline bar | Configuration View controls |
Scenario visualization area | Network topology & map visualization |
Network element configuration pane | Element configuration controls |
Network element table | Configured element list |
Configuration View
The Configuration view provides a graphical interface to perform scenario management operations. You can use this view to create, update & delete scenarios in the platform backend persistent store.
To learn more about scenarios check out the Network Model section of the Platform Concepts wiki page
Other views can be found in the GUI Overview wiki page
Headline Bar
The headline bar is always visible within the Configuration view. It provides the following buttons:
View
Drop-down menu for selecting visualization area mode to display:
- Network: Network topology view
- Map: Map view
NEW
Create a new scenario:
- Opens a dialog prompt for a new scenario name
- Validates the scenario name format & length
- Verifies that scenario does not already exist in backend store
- Creates a new empty scenario
- Displays the new scenario in the visualization area
- Opens the Network Element configuration pane
- Shows the Network Element table with a single scenario element
NOTE: Operation fails silently if a scenario with the same name already exists. In this case you must click on NEW again and enter a unique scenario name.
NOTE: At this point the scenario exists only in the frontend. Any operations performed on the scenario will be lost if the browser is refreshed. To persist the new scenario you must send it the the backend store using the SAVE button.
OPEN
Open an existing scenario:
- Opens a dialog with a drop-down list of scenarios stored in the backend store
- Retrieves the selected scenario and loads it into the frontend
- Displays the selected scenario in the visualization area
- Opens the Network Element configuration pane
- Shows the Network Element table with the list of elements in the selected scenario
NOTE: Any unsaved changes to a scenario being configured in the frontend will be lost when another scenario is opened.
NOTE: Operations performed on the scenario will only be persisted when sent to the backend store using the SAVE button.
SAVE
Save scenario modifications:
- Opens a dialog prompt for the scenario name to be saved
- Defaults to the name of the currently configured scenario
- Provides Save As functionality by allowing you to change the scenario name
- Validates the scenario name format & length
- Sends the latest scenario to the backend where it is added to the persistent store
NOTE: Once saved, there is no means of retrieving the previously saved version.
NOTE: This operation overwrites any existing scenario with the same name. Be careful to use a unique name when saving to another scenario name.
IMPORT
Import a scenario from a yaml file:
- Opens a file explorer to find the scenario file to import
- Loads the chosen scenario file into the frontend
- Displays the imported scenario in the visualization area
- Opens the Network Element configuration pane
- Shows the Network Element table with the list of elements in the imported scenario
NOTE: Any unsaved changes to a scenario being configured in the frontend will be lost when a scenario is imported.
NOTE: At this point the scenario exists only in the frontend. To persist the imported scenario you must send it the the backend store using the SAVE button.
NOTE: Scenario validation during import operation is limited. We recommend a visual inspection of the network elements after import.
EXPORT
Export a scenario to a yaml file:
- Opens a dialog prompt for the name of the yaml file to be created
- Defaults to the name of the currently configured scenario
- Downloads the exported file in the browser
- Creates a unique download file name if file already exists
Scenario Visualization Area
This area is only visible when a scenario is being configured. It provides a visual representation of either the network element hierarchy or geographic position on a map for the scenario being configured. The View drop-down menu is used to toggle the visualization mode. The visualization area is updated whenever a scenario is created, updated, opened, imported or deleted.
Network View
We use a 3rd party graphing tool called vis.js to create a network view of the scenario elements. You can drag and zoom the network view using the provided controls or using your mouse click & scroll buttons.
The scenario visualization shows basic network element information such as type, name & network characteristics directly in the graph. For more details on a specific element you can hover over the element to view an information tooltip, or you can click on it to open it in the network element configuration pane. You can switch between elements by clicking on a new one or on the graph background. You can set the network element positions using click & drag.
NOTE: Hovering over a link will also open a tooltip with additional network characteristics information.
Map View
We use a 3rd party mapping client called Leaflet to render map tiles. Physical location assets such as UEs, PoAs & Compute nodes are then overlaid on the maps using markers, circles and lines. You can drag and zoom the map view using the provided controls or using your mouse click & scroll buttons.
We use Leaflet-Geoman to enable location & path editing directly in the Map View for element configuration. You can click on any marker to select it for configuration and then use the buttens on the top-left of the Map View to edit the element. Once changes are finished, the element being configured is updated and the new values can then be applied to the configured scenario.
Network Element Configuration Pane
This pane is only visible when a scenario is being configured. It provides a means of creating, editing, deleting & cloning network elements in the scenario. It provides the following buttons:
NOTE: There is no EDIT button. To edit an element you must click on it in the scenario visualization area.
NOTE: Any updates made to the scenario using this pane will only be persisted when sent to the backend using the headline bar SAVE button.
NEW
Configure a new scenario element:
- Enabled when no element is currently selected for editing
- Provides a set of forms to configure a new network element
- When applied, adds the new element to the scenario
Element configuration fields:
Element Type
Drop-down list of scenario element types. Divided into layers according to the Network Model.
Parent Node
Drop-down list of available parent nodes. Only shows valid & available parent elements.
Unique Element Name
Text field to input network element name. Accepts lowercase alphanumeric or ‘-‘ or ‘.’ with a limit of 30 characters.
Latency / Jitter / Packet Loss / Throughput (DL/UL)
Number fields to input element network characteristics. Network characteristics are described in more detail here.
Connectivity Model
Drop-down list of supported connectivity models:
- OPEN: Allows full connectivity between terminals and all other scenario elements
- PDU: Limits terminal connectivity to other scenario elements according to active PDU sessions
Cellular Connectivity Control feature & usage is described in more detail here.
Data Network Name
Text field to input data network name. Accepts alphanumeric or ‘-‘ or ‘.’ with a limit of 50 characters.
This value may be used as a target data network for terminal PDU sessions.
Cellular Connectivity Control feature & usage is described in more detail here.
Local (LADN)
Checkbox to indicate if the data network is a Local Area Data Network.
When checked, terminal connectivity to the data network is blocked when the terminal is outside the data network service area.
D2D Radius
Text field to input maximum distance (in meters) between UEs to be considered in D2D range or proximity.
Device-to-device (D2D) Communication feature & usage is described in more detail here.
Disable D2D via network
Checkbox to indicate if communication between terminals via the network should be disabled.
When checked, connectivity between UEs that are not in D2D proximity is blocked.
Device-to-device (D2D) Communication feature & usage is described in more detail here.
Service Provider / Edge Compute Service Provider
Text field to input service provider name. Accepts alphanumeric or ‘ ‘ with a limit of 50 characters.
NOTE: Currently ignored by the platform.
MCC / MNC
Text fields to input 3-digit hexadecimal Mobile Country Code (MCC) and Mobile Network Code (MNC) for simulated 3GPP cellular network.
Default Cell ID / Cell ID
Text field to enter 28-character bit string cell identifier for a cellular PoA in the simulated 3GPP cellular network.
Location & Path Coordinates, Radius, End-of-path mode, Velocity & Supported Wireless Types
Text & Number input fields for provisioning geospatial data for physical & network location assets. GIS feature & usage is described in more detail here.
To enable D2D in a UE, d2d must be added to the list of supported wireless types. Device-to-device (D2D) Communication feature & usage is described in more detail here.
Zone Color
Text field to enter a 6-character hexadecimal zone color. Value may be set manually or using the provided color picker. This color is used in the map view for PoA icons and ranges that are in the configured zone.
Container Image Name
Text field to input docker container image name to run. By default, pulls images from Docker Hub to your local registry. You may use another registry by adding the URL in the container image name (e.g. meep-docker-registry:30001/demo-server).
Port
Number field to input the service port to expose in the k8s pod. This port is pod-specific and can be accessed by all other pods.
NOTE: Although the backend supports a set of service ports, the frontend currently supports a single service port. If you need to expose more than 1 service port, you must do so using user-defined charts.
External Port
Number field to input the service port to expose in the k8s cluster. This port maps to a k8s NodePort and must be unique within the cluster. Valid values range from 30000 to 32767.
External ports provide direct access from clients running outside the k8s cluster to a service running in a k8s pod. This connection is not impacted by network characteristics defined in the scenario.
NOTE: To access an internal service and apply network characteristics to the connection you must configure an external node.
Protocol
Drop-down list of currently supported service protocol types.
Group Service Name
Text field to input the Mobility Group service name. This service identifies the service group to which a service instance belongs.
Several instances may join the same mobility group in order to offer a multi-edge service. Each service instance must register with the Mobility Group Manager as specified in the Application State Transfer service.
NOTE: Multi-edge services that do not require state transfer support are also enabled using this field. If multiple service instances specify the same group service name but do not register to the Mobility Group Manager, application traffic is automatically routed to the nearest service instance based on hop count. Any changes to this behavior must be coordinated through the Mobility Group Manager.
GPU Count
Number field to input the number of GPUs to reserve. The pod will not be scheduled unless the requested number of GPUs are available.
GPU Type
Drop-down list of currently supported GPU types.
Min CPU Count
Number field to input the minimum number of CPUs to reserve. The pod will not be scheduled unless the requested number of CPUs are available.
CPU resources are measured in CPU units as described in the k8s documentation. AdvantEDGE currently supports whole or fractional CPU units using a float.
Max CPU Count
Number field to input the maximum number of CPUs to reserve. The pod will not be provided more than Max CPU resources.
CPU resources are measured in CPU units as described in the k8s documentation. AdvantEDGE currently supports whole or fractional CPU units using a float.
Min Memory (MB)
Number field to input the minimum amount of memory (in MB) to reserve. The pod will not be scheduled unless the requested amount of memory is available.
Max Memory (MB)
Number field to input the maximum amount of memory (in MB) to reserve. The pod will not be provided more than Max Memory resources.
Environment Variables
Text field to input a list of environment variables to set in the k8s container. Accepts a comma-separated list of variables (e.g. VAR=value[,VAR=value]) with alphanumeric or ‘_’ or ‘-‘ or ‘.’ characters.
Command
Text field to input the command to execute on container startup. This command replaces the default container entry point.
Arguments
Text field to input the arguments to pass to the container entry point command.
Placement Identifier
Text field to input the k8s node identifier where the pod must be scheduled. More details are provided in the Pod Placement wiki page.
External App / Ingress Service Mapping / Egress Service Mapping
Checkbox to indicate if the application is running externally to the k8s cluster.
When configuring an external application, text fields are enabled to input ingress & egress service mappings as detailed in the External Nodes wiki page.
User-Defined Chart
Checkbox to indicate if the application must be installed using a user-provided helm chart. When unchecked, the backend will automatically generate a helm chart using the configured values. When checked, the backend will install the user-provided helm chart.
When installing the user-defined chart, the –name argument and the fullnameOverride variable are both passed and set to the value <scenario name>-<unique element name>. This permits the installation of several instances using the same helm chart.
NOTE: For more information on writing helm charts see the Helm website or the Helm Charts repository for examples.
User Chart Location
Text field to input the user-defined chart location used by the Virtualization Engine. User-defined charts must be placed on the k8s master node at the following location: ~/.meep/virt-engine/user-charts/
. The Virtualization Engine uses the relative path provided in the user chart location field to retrieve the requested user-defined charts from this folder.
NOTE: For AdvantEDGE versions older than v1.5, user charts may be placed anywhere on the backend host where the Virtualization Engine is running. This user chart location must to be specified as a full path, with the exception of the ‘~’ character that is replaced by the $HOME path.
User Chart Group
Text field to input the user chart service information. This field provides the necessary details about the user chart service to enable network characteristics and mobility group management. If not specified, the user chart services may be accessed but will bypass traffic management.
The field is formatted as follows: Svc instance:svc group name:port:protocol
- Svc instance: Name of exposed user chart service
- Svc group name: Mobility group name to which service belongs (optional)
- Port: Service port
- Protocol: Service protocol
NOTE: The platform currently supports provisioning for a single user chart service.
User Chart Alternate Values
Text field to input the path to an alternate values.yaml file to use during chart installation. Alternate values.yaml files must be placed on the k8s master node at the following location: ~/.meep/virt-engine/user-charts/
. The Virtualization Engine uses the relative path provided in the user chart alternate values field to retrieve the requested alternate values.yaml files from this folder.
NOTE: For AdvantEDGE versions older than v1.5, alternate values.yaml files may be placed anywhere on the backend host where the Virtualization Engine is running. A full path is required, with the exception of the ‘~’ character that is replaced by the $HOME path.
DELETE
Remove an existing scenario element:
- Enabled when an element is selected in the visualization area
- Removes the existing element from the scenario
- Updates the network visualization
- Updates the network element table
CLONE
Copy an existing scenario element with its child elements:
- Enabled when an element is selected in the visualization area
- Creates a new element and copies all configuration field values
- A new unique name is automatically generated
- The parent node field is cleared and must be manually selected
- When applied, adds the cloned node to the scenario and automatically clones the child elements
- To avoid creating an invalid scenario, the following configuration fields are cleared for all cloned child elements:
- External Port
- Ingress service mapping
- Egress service mapping
- To avoid creating an invalid scenario, the following configuration fields are cleared for all cloned child elements:
CANCEL
Cancels network element configuration changes:
- Enabled when an element is being configured
- Makes no changes to the scenario
- Returns element configuration pane to its original state
APPLY
Applies the network element configuration changes:
- Enabled when an element is being configured
- Verifies element field values for scenario validity
- Provides visual error feedback
- Creates a new element or updates an existing element in the scenario
- Updates the network visualization
- Updates the network element table
- Returns element configuration pane to its original state
Network Element Table
This table is only visible when a scenario is being configured. It provides a list of network elements for the scenario being configured. It is updated whenever a scenario is created, updated, opened, imported or deleted.
The table provides basic element information such as name, type, parent name & total element count. The table is sortable, which makes it useful for quickly identifying network elements in larger scenarios.