-
Notifications
You must be signed in to change notification settings - Fork 219
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
Implement defaults for end hosts #397
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spanning-tree portfast | ||
{% elif ethernet_interfaces[ethernet_interface].spanning_tree_portfast is defined and ethernet_interfaces[ethernet_interface].spanning_tree_portfast == 'network' %} | ||
spanning-tree portfast network | ||
{% elif ethernet_interfaces[ethernet_interface].spanning_tree_portfast is defined and ethernet_interfaces[ethernet_interface].spanning_tree_portfast is not none %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can check user configured correct value with a test like:
{% if ethernet_interfaces[ethernet_interface].spanning_tree_portfast in ['auto', 'edge', ''network, 'normal'] %}
spanning-tree portfast | ||
{% elif port_channel_interfaces[port_channel_interface].spanning_tree_portfast is defined and port_channel_interfaces[port_channel_interface].spanning_tree_portfast == 'network' %} | ||
spanning-tree portfast network | ||
{% elif port_channel_interfaces[port_channel_interface].spanning_tree_portfast is defined and port_channel_interfaces[port_channel_interface].spanning_tree_portfast is not none %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can check user configured correct value with a test like:
{% if ethernet_interfaces[ethernet_interface].spanning_tree_portfast in ['auto', 'edge', ''network, 'normal'] %}
@@ -105,6 +113,13 @@ interface {{ port_channel_interface }} | |||
pim ipv4 sparse-mode | |||
{% endif %} | |||
{% endif %} | |||
{% if port_channel_interfaces[port_channel_interface].storm_control is defined and port_channel_interfaces[port_channel_interface].storm_control is not none %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change already covered by PR #306
@@ -132,6 +132,13 @@ interface {{ ethernet_interface }} | |||
{% if ethernet_interfaces[ethernet_interface].pim.ipv4.sparse_mode is defined and ethernet_interfaces[ethernet_interface].pim.ipv4.sparse_mode == true %} | |||
pim ipv4 sparse-mode | |||
{% endif %} | |||
{% if ethernet_interfaces[ethernet_interface].storm_control is defined and ethernet_interfaces[ethernet_interface].storm_control is not none %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change already covered by PR #306
@@ -88,6 +88,14 @@ interface {{ port_channel_interface }} | |||
|
|||
{% endfor %} | |||
{% endif %} | |||
{% if port_channel_interfaces[port_channel_interface].lacp_fallback is defined and port_channel_interfaces[port_channel_interface].lacp_fallback is not none %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already covered by #368
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
PR to be updated with:
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
closing due to stale PR |
Change Summary
Types of changes
Related Issue(s)
Fixes #37
Component(s) name
Proposed changes
How to test
Checklist:
pre-commit
,make linting
andmake sanity-lint
).