Newer
Older
Yann Garcia
committed
* Copyright (c) 2022 The AdvantEDGE Authors
Yann Garcia
committed
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
Yann Garcia
committed
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
Yann Garcia
committed
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package model
// Network characteristics object
type NetworkCharacteristics struct {
// Latency in ms
Latency int32 `json:"latency,omitempty"`
// Latency variation in ms
LatencyVariation int32 `json:"latencyVariation,omitempty"`
// Latency distribution. Can only be set in the Scenario Deployment network characteristics, ignored otherwise. Latency distribution is set for the whole network and applied to every end-to-end traffic flows. Default value is 'Normal' distribution.
LatencyDistribution string `json:"latencyDistribution,omitempty"`
// **DEPRECATED** As of release 1.5.0, replaced by throughputUl and throughputDl
Throughput int32 `json:"throughput,omitempty"`
// Downlink throughput limit in Mbps
ThroughputDl int32 `json:"throughputDl,omitempty"`
// Uplink throughput limit in Mbps
ThroughputUl int32 `json:"throughputUl,omitempty"`
// Packet loss percentage
PacketLoss float64 `json:"packetLoss,omitempty"`
}