Merge "Create QoS Policy - add description"

This commit is contained in:
Zuul 2025-05-07 19:43:21 +00:00 committed by Gerrit Code Review
commit b3c881cfba
4 changed files with 17 additions and 4 deletions

View File

@ -31,7 +31,7 @@
<dd>{{ port.mac_state }}</dd>
{% endif %}
{% if port.qos_policy_id %}
<dt>{% trans "QOS Policy ID" %}</dt>
<dt>{% trans "QoS Policy ID" %}</dt>
<dd>{{ port.qos_policy_id }}</dd>
{% endif %}
</dl>

View File

@ -53,7 +53,7 @@
type: "object",
properties: {
qospolicy: {
title: gettext('QoS Policy Id'),
title: gettext('QoS Policy ID'),
type: 'string',
readOnly: true
},

View File

@ -34,7 +34,8 @@
'horizon.app.core.network_qos.resourceType',
'horizon.framework.widgets.form.ModalFormService',
'horizon.framework.widgets.toast.service',
'horizon.framework.util.actions.action-result.service'
'horizon.framework.util.actions.action-result.service',
'horizon.app.core.network_qos.basePath'
];
function createService(
@ -44,7 +45,8 @@
resourceType,
modalFormService,
toast,
actionResultService
actionResultService,
basePath
) {
var service = {
@ -67,6 +69,7 @@
function perform() {
var createPolicy = workflow.init();
createPolicy.title = gettext('Create QoS Policy');
createPolicy.helpUrl = basePath + 'actions/create.description.html';
return modalFormService.open(createPolicy).then(submit);
}

View File

@ -0,0 +1,10 @@
<dl>
<dd translate>QoS is defined as the ability to guarantee certain network requirements like bandwidth, latency, jitter,
and reliability in order to satisfy a Service Level Agreement (SLA) between an application provider and end users.</dd>
<dd translate>Network devices such as switches and routers can mark traffic so that it is handled with a higher priority to fulfill the QoS conditions agreed under the SLA.
In other cases, certain network traffic such as Voice over IP (VoIP) and video streaming needs to be transmitted with minimal bandwidth constraints.
On a system without network QoS management, all traffic will be transmitted in a “best-effort” manner making it impossible to guarantee service delivery to customers.</dd>
<dt translate>Shared</dt>
<dd translate>Make the QoS policy accessible by other projects.</dd>
</dl>