This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 210ddf1d73 Moved Fair Queueing Pacing Rate Bps field to Cache
Configuration Settings section (#7330)
210ddf1d73 is described below
commit 210ddf1d738b7a3ed342ec0d8f0be99e972e4460
Author: Rima Shah <[email protected]>
AuthorDate: Wed Feb 1 13:05:38 2023 -0700
Moved Fair Queueing Pacing Rate Bps field to Cache Configuration Settings
section (#7330)
---
CHANGELOG.md | 3 ++-
.../form.deliveryService.DNS.tpl.html | 30 +++++++++++-----------
.../form.deliveryService.HTTP.tpl.html | 30 +++++++++++-----------
3 files changed, 32 insertions(+), 31 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9ce1e4d024..9c2dcaa096 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,7 @@ The format is based on [Keep a
Changelog](http://keepachangelog.com/en/1.0.0/).
## [unreleased]
### Added
-- [#7314](https://github.com/apache/trafficcontrol/pull/7314) *Traffic Portal*
Added capability feature to Delivery Service Form (HTTP, DNS)
+- [#7314](https://github.com/apache/trafficcontrol/pull/7314) *Traffic Portal*
Added capability feature to Delivery Service Form (HTTP, DNS).
- [#7295](https://github.com/apache/trafficcontrol/pull/7295) *Traffic Portal*
Added description and priority order for Layered Profile on server form.
- [#6234](https://github.com/apache/trafficcontrol/issues/6234) *Traffic Ops,
Traffic Portal* Added description field to Server Capabilities
- [#6033](https://github.com/apache/trafficcontrol/issues/6033) *Traffic Ops,
Traffic Portal* Added ability to assign multiple servers per capability.
@@ -39,6 +39,7 @@ The format is based on [Keep a
Changelog](http://keepachangelog.com/en/1.0.0/).
- [#7120](https://github.com/apache/trafficcontrol/pull/7120) *Docs* Update
t3c documentation regarding parent.config parent_retry.
### Fixed
+- [#5557](https://github.com/apache/trafficcontrol/issues/5557) *Traffic
Portal* Moved `Fair Queueing Pacing Rate Bps` DS field to `Cache Configuration
Settings` section.
- [#7252](https://github.com/apache/trafficcontrol/issues/7252) *Traffic
Router* Fixed integer overflow for `czCount`, by resetting the count to max
value when it overflows.
- [#7221](https://github.com/apache/trafficcontrol/issues/7221) *Docs* Fixed
request structure spec in cdn locks description in APIv4.
- [#7225](https://github.com/apache/trafficcontrol/issues/7225) *Docs* Fixed
docs for /roles response description in APIv4.
diff --git
a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.DNS.tpl.html
b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.DNS.tpl.html
index 8a0b3b9afd..7b94260d1d 100644
---
a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.DNS.tpl.html
+++
b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.DNS.tpl.html
@@ -555,6 +555,21 @@ under the License.
</aside>
</div>
</div>
+ <div class="form-group" ng-class="{'has-error':
hasError(routingConfig.fqPacingRate), 'has-feedback':
hasError(routingConfig.fqPacingRate)}">
+ <label class="has-tooltip control-label col-md-2
col-sm-2 col-xs-12" for="fqPacingRate">Fair Queueing Pacing Rate Bps<div
class="helptooltip">
+ <div class="helptext">The maximum bytes per second
a cache will deliver on any single TCP connection. This uses the Linux kernel's
Fair Queuing (<code>setsockopt(SO_MAX_PACING_RATE)</code>) to limit the rate of
delivery.</div>
+ </div>
+ </label>
+ <div class="col-md-10 col-sm-10 col-xs-12">
+ <input id="fqPacingRate" name="fqPacingRate"
type="number" class="form-control" placeholder="Rate-limit connections to this
Bytes per second" ng-model="deliveryService.fqPacingRate" step="1" min="0">
+ <small class="input-error"
ng-show="hasPropertyError(routingConfig.fqPacingRate, 'min')">Too Small (must
be greater than or equal to 0)</small>
+ <aside class="current-value"
ng-if="settings.isRequest" ng-show="deliveryService.fqPacingRate !=
dsCurrent.fqPacingRate">
+ <h3 ng-if="open()">Current Value</h3>
+ <h3 ng-if="!open()">Previous Value</h3>
+ <pre>{{::dsCurrent.fqPacingRate}}</pre>
+ </aside>
+ </div>
+ </div>
<div class="form-group" ng-class="{'has-error':
hasError(cacheConfig.signingAlgorithm), 'has-feedback':
hasError(cacheConfig.signingAlgorithm)}">
<label class="has-tooltip control-label col-md-2
col-sm-2 col-xs-12" for="signingAlgorithm">Signing Algorithm<div
class="helptooltip">
<div class="helptext">
@@ -1157,21 +1172,6 @@ under the License.
</aside>
</div>
</div>
- <div class="form-group" ng-class="{'has-error':
hasError(routingConfig.fqPacingRate), 'has-feedback':
hasError(routingConfig.fqPacingRate)}">
- <label class="has-tooltip control-label col-md-2
col-sm-2 col-xs-12" for="fqPacingRate">Fair Queueing Pacing Rate Bps<div
class="helptooltip">
- <div class="helptext">The maximum bytes per second
a cache will deliver on any single TCP connection. This uses the Linux kernel's
Fair Queuing (<code>setsockopt(SO_MAX_PACING_RATE)</code>) to limit the rate of
delivery.</div>
- </div>
- </label>
- <div class="col-md-10 col-sm-10 col-xs-12">
- <input id="fqPacingRate" name="fqPacingRate"
type="number" class="form-control" placeholder="Rate-limit connections to this
Bytes per second" ng-model="deliveryService.fqPacingRate" step="1" min="0">
- <small class="input-error"
ng-show="hasPropertyError(routingConfig.fqPacingRate, 'min')">Too Small (must
be greater than or equal to 0)</small>
- <aside class="current-value"
ng-if="settings.isRequest" ng-show="deliveryService.fqPacingRate !=
dsCurrent.fqPacingRate">
- <h3 ng-if="open()">Current Value</h3>
- <h3 ng-if="!open()">Previous Value</h3>
- <pre>{{::dsCurrent.fqPacingRate}}</pre>
- </aside>
- </div>
- </div>
<div class="form-group" ng-class="{'has-error':
hasError(routingConfig.trResponseHeaders), 'has-feedback':
hasError(routingConfig.trResponseHeaders)}">
<label class="has-tooltip control-label col-md-2
col-sm-2 col-xs-12" for="trResponseHeaders">Traffic Router Additional Response
Headers<div class="helptooltip">
<div class="helptext">
diff --git
a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.HTTP.tpl.html
b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.HTTP.tpl.html
index 0bc2ec1f79..5a1f7123ff 100644
---
a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.HTTP.tpl.html
+++
b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.HTTP.tpl.html
@@ -555,6 +555,21 @@ under the License.
</aside>
</div>
</div>
+ <div class="form-group" ng-class="{'has-error':
hasError(routingConfig.fqPacingRate), 'has-feedback':
hasError(routingConfig.fqPacingRate)}">
+ <label class="has-tooltip control-label col-md-2
col-sm-2 col-xs-12" for="fqPacingRate">Fair Queueing Pacing Rate Bps<div
class="helptooltip">
+ <div class="helptext">The maximum bytes per second
a cache will deliver on any single TCP connection. This uses the Linux kernel's
Fair Queuing (<code>setsockopt(SO_MAX_PACING_RATE)</code>) to limit the rate of
delivery.</div>
+ </div>
+ </label>
+ <div class="col-md-10 col-sm-10 col-xs-12">
+ <input id="fqPacingRate" name="fqPacingRate"
type="number" class="form-control" placeholder="Rate-limit connections to this
Bytes per second" ng-model="deliveryService.fqPacingRate" step="1" min="0">
+ <small class="input-error"
ng-show="hasPropertyError(routingConfig.fqPacingRate, 'min')">Too Small (must
be greater than or equal to 0)</small>
+ <aside class="current-value"
ng-if="settings.isRequest" ng-show="deliveryService.fqPacingRate !=
dsCurrent.fqPacingRate">
+ <h3 ng-if="open()">Current Value</h3>
+ <h3 ng-if="!open()">Previous Value</h3>
+ <pre>{{::dsCurrent.fqPacingRate}}</pre>
+ </aside>
+ </div>
+ </div>
<div class="form-group" ng-class="{'has-error':
hasError(cacheConfig.signingAlgorithm), 'has-feedback':
hasError(cacheConfig.signingAlgorithm)}">
<label class="has-tooltip control-label col-md-2
col-sm-2 col-xs-12" for="signingAlgorithm">Signing Algorithm<div
class="helptooltip">
<div class="helptext">
@@ -1221,21 +1236,6 @@ under the License.
</aside>
</div>
</div>
- <div class="form-group" ng-class="{'has-error':
hasError(routingConfig.fqPacingRate), 'has-feedback':
hasError(routingConfig.fqPacingRate)}">
- <label class="has-tooltip control-label col-md-2
col-sm-2 col-xs-12" for="fqPacingRate">Fair Queueing Pacing Rate Bps<div
class="helptooltip">
- <div class="helptext">The maximum bytes per second
a cache will deliver on any single TCP connection. This uses the Linux kernel's
Fair Queuing (<code>setsockopt(SO_MAX_PACING_RATE)</code>) to limit the rate of
delivery.</div>
- </div>
- </label>
- <div class="col-md-10 col-sm-10 col-xs-12">
- <input id="fqPacingRate" name="fqPacingRate"
type="number" class="form-control" placeholder="Rate-limit connections to this
Bytes per second" ng-model="deliveryService.fqPacingRate" step="1" min="0">
- <small class="input-error"
ng-show="hasPropertyError(routingConfig.fqPacingRate, 'min')">Too Small (must
be greater than or equal to 0)</small>
- <aside class="current-value"
ng-if="settings.isRequest" ng-show="deliveryService.fqPacingRate !=
dsCurrent.fqPacingRate">
- <h3 ng-if="open()">Current Value</h3>
- <h3 ng-if="!open()">Previous Value</h3>
- <pre>{{::dsCurrent.fqPacingRate}}</pre>
- </aside>
- </div>
- </div>
<div class="form-group" ng-class="{'has-error':
hasError(routingConfig.trResponseHeaders), 'has-feedback':
hasError(routingConfig.trResponseHeaders)}">
<label class="has-tooltip control-label col-md-2
col-sm-2 col-xs-12" for="trResponseHeaders">Traffic Router Additional Response
Headers<div class="helptooltip">
<div class="helptext">