.. _dellemc.enterprise_sonic.sonic_ars_module:
**********************************
dellemc.enterprise_sonic.sonic_ars
**********************************
**Manage adaptive routing and switching (ARS) configuration on SONiC**
Version added: 3.1.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module provides configuration management of ARS for devices running SONiC
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
dictionary
|
|
ARS configuration
|
|
ars_objects
list
/ elements=dictionary
|
|
List of ARS next-hop group objects configuration
|
|
|
idle_time
integer
|
|
Idle time in microseconds
Range 16-32767
|
|
|
max_flows
integer
|
Choices:
- 256
- 512
- 1024
- 2048
- 4096
- 8192
- 16384
- 32768
|
Maximum number of flows that can be maintained by the ARS object
|
|
|
mode
string
|
Choices:
- fixed
- flowlet-quality
- flowlet-random
- packet-quality
- packet-random
|
ARS path reassignment mode
|
|
|
name
string
/ required
|
|
Name of next-hop group object
|
|
port_bindings
list
/ elements=dictionary
|
|
List of ARS port bindings configuration
|
|
|
name
string
/ required
|
|
Name of port
|
|
|
profile
string
|
|
ARS port profile to bind to port
Required for modifcation
|
|
port_profiles
list
/ elements=dictionary
|
|
List of ARS port profiles configuration
|
|
|
enable
boolean
|
|
Enable/disable ARS for the port
|
|
|
load_future_weight
integer
|
|
Weight of future port load used in EWMA calculations
Range 1-16
|
|
|
load_past_weight
integer
|
|
Weight as a percentage of the past port load
Range 0-100
|
|
|
load_scaling_factor
float
|
Choices:
- 0
- 1
- 2.5
- 4
- 5
- 10
- 20
- 40
- 80
|
Port load scaling factor
|
|
|
name
string
/ required
|
|
Name of port profile
|
|
profiles
list
/ elements=dictionary
|
|
List of ARS profiles configuration
|
|
|
algorithm
string
|
|
ARS algorithm used for quality computation
EWMA - Exponential Weighted Moving Average
|
|
|
load_current_max_val
integer
|
|
Maximum current load threshold value for the quantization process
Range 0-133169151
|
|
|
load_current_min_val
integer
|
|
Minimum current load threshold value for the quantization process
Range 0-133169151
|
|
|
load_future_max_val
integer
|
|
Maximum future load threshold value for the quantization process
Range 0-266338303
|
|
|
load_future_min_val
integer
|
|
Minimum future load threshold value for the quantization process
Range 0-266338303
|
|
|
load_past_max_val
integer
|
|
Maximum past load threshold value for the quantization process
Range 0-10000
|
|
|
load_past_min_val
integer
|
|
Minimum past load threshold value for the quantization process
Range 0-10000
|
|
|
name
string
/ required
|
|
Name of profile
|
|
|
port_load_current
boolean
|
|
Set port load to current sampled value when sampled value is less than the average
|
|
|
port_load_exponent
integer
|
|
EWMA exponent used in port loading computation
Range 1-16
|
|
|
port_load_future
boolean
|
|
Enable/disable future port load, the average queued bytes measured on a port
|
|
|
port_load_future_weight
integer
|
|
Weight of future port load used in EWMA calculations
Range 1-16
|
|
|
port_load_past
boolean
|
|
Enable/disable past port load, the average egress bytes measured on a port
|
|
|
port_load_past_weight
integer
|
|
Weight of past port load used in EWMA calculations
Range 1-16
|
|
|
random_seed
integer
|
|
Random seed value
Range 0-16777214
|
|
|
sampling_interval
integer
|
|
Sampling interval in microseconds
Range 1-255
|
|
switch_binding
dictionary
|
|
ARS switch binding configuration
|
|
|
profile
string
|
|
ARS profile to bind to switch
|
|
state
string
|
Choices:
merged ←
- deleted
- replaced
- overridden
|
The state of the configuration after module completion
|