Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc(eos_cli_config_gen): Add Dps1 to flow tracking output in device config #3786

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- [Monitoring](#monitoring)
- [Flow Tracking](#flow-tracking)
- [Interfaces](#interfaces)
- [DPS Interfaces](#dps-interfaces)
- [Ethernet Interfaces](#ethernet-interfaces)
- [Port-Channel Interfaces](#port-channel-interfaces)

Expand Down Expand Up @@ -74,7 +75,7 @@ interface Management1
| ------------ | --------------------------------- | ------------------------- | ------------------- | ---------- |
| T1 | 3666 | 5666 | 0 | |
| T2 | - | - | 1 | Ethernet40 |
| T3 | - | - | 4 | Ethernet41<br>Port-Channel42 |
| T3 | - | - | 4 | Dps1<br>Ethernet41<br>Port-Channel42 |

##### Exporters Summary

Expand Down Expand Up @@ -140,6 +141,22 @@ flow tracking hardware

## Interfaces

### DPS Interfaces

#### DPS Interfaces Summary

| Interface | IP address | Shutdown | MTU | Flow tracker(s) | TCP MSS Ceiling |
| --------- | ---------- | -------- | --- | --------------- | --------------- |
| Dps1 | - | - | - | Hardware: T3 | |

#### DPS Interfaces Device Configuration

```eos
!
interface Dps1
flow tracker hardware T3
```

### Ethernet Interfaces

#### Ethernet Interfaces Summary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ interface Port-Channel42
flow tracker hardware T3
flow tracker sampled T3
!
interface Dps1
flow tracker hardware T3
!
interface Ethernet40
switchport
flow tracker hardware T2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,8 @@ port_channel_interfaces:
flow_tracker:
sampled: T3
hardware: T3

dps_interfaces:
- name: Dps1
flow_tracker:
hardware: T3
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
{% set count_exporter = tracker.exporters | arista.avd.default([]) | length %}
{% set applied_on = [] %}
{% set table_size = tracker.table_size | arista.avd.default('-') %}
{% for dps_interface in dps_interfaces | arista.avd.default([]) %}
{% if dps_interface.flow_tracker.sampled is arista.avd.defined(tracker.name) %}
{% do applied_on.append(dps_interface.name) %}
{% endif %}
{% endfor %}
{% for ethernet_interface in ethernet_interfaces | arista.avd.default([]) %}
{% if ethernet_interface.flow_tracker.sampled is arista.avd.defined(tracker.name) %}
{% do applied_on.append(ethernet_interface.name) %}
Expand All @@ -68,6 +73,11 @@
{% set count_exporter = tracker.exporters | arista.avd.default([]) | length %}
{% set applied_on = [] %}
{% set table_size = tracker.table_size | arista.avd.default('-') %}
{% for dps_interface in dps_interfaces | arista.avd.default([]) %}
{% if dps_interface.flow_tracker.sampled is arista.avd.defined(tracker.name) %}
{% do applied_on.append(dps_interface.name) %}
{% endif %}
{% endfor %}
{% for ethernet_interface in ethernet_interfaces | arista.avd.default([]) %}
{% if ethernet_interface.flow_tracker.sampled is arista.avd.defined(tracker.name) %}
{% do applied_on.append(ethernet_interface.name) %}
Expand Down Expand Up @@ -121,6 +131,11 @@
{% set on_interval = tracker.record_export.on_interval | arista.avd.default("-") %}
{% set count_exporter = tracker.exporters | arista.avd.default([]) | length %}
{% set applied_on = [] %}
{% for dps_interface in dps_interfaces | arista.avd.default([]) %}
{% if dps_interface.flow_tracker.hardware is arista.avd.defined(tracker.name) %}
{% do applied_on.append(dps_interface.name) %}
{% endif %}
{% endfor %}
{% for ethernet_interface in ethernet_interfaces | arista.avd.default([]) %}
{% if ethernet_interface.flow_tracker.hardware is arista.avd.defined(tracker.name) %}
{% do applied_on.append(ethernet_interface.name) %}
Expand Down
Loading