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

Fix qos order structured and take ! out of if #589

Merged
merged 2 commits into from
Jan 7, 2021
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 @@ -313,7 +313,7 @@ IP virtual router MAC address not defined

| VRF | Routing Enabled |
| --- | --------------- |
| default | false|
| default | false|
### IP Routing Device Configuration

```eos
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ IP virtual router MAC address not defined

| VRF | Routing Enabled |
| --- | --------------- |
| default | false|
| default | false|
### IP Routing Device Configuration

```eos
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ interface Management1
vrf MGMT
ip address 10.73.255.122/24
!
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ interface Management1
vrf MGMT
ip address 10.73.255.122/24
!
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ hostname {{ inventory_hostname }}
{% include 'eos/ip-routing.j2' %}
{# IPv6 Routing #}
{% include 'eos/ipv6-routing.j2' %}
{# qos #}
{% include 'eos/qos.j2' %}
{# IP Extended Communities #}
{% include 'eos/ip-extended-communities.j2' %}
{# Prefix-lists #}
Expand Down Expand Up @@ -174,8 +176,6 @@ hostname {{ inventory_hostname }}
{% include 'eos/management-security.j2' %}
{# management ssh #}
{% include 'eos/management-ssh.j2' %}
{# qos #}
{% include 'eos/qos.j2' %}
{# custom templates #}
{% include 'eos/custom-templates.j2' %}
!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{# eos - qos #}
{% if qos is defined %}
{% if qos.rewrite_dscp is defined and qos.rewrite_dscp == true %}
!
{% if qos.rewrite_dscp is defined and qos.rewrite_dscp == true %}
qos rewrite dscp
{% endif %}
{% if qos.map is defined and qos is not none %}
Expand Down