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

Implement defaults for end hosts #397

Closed
wants to merge 3 commits into from

Conversation

xaviramon
Copy link
Contributor

Change Summary

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Documentation content changes
  • Other (please describe):

Related Issue(s)

Fixes #37

Component(s) name

Proposed changes

How to test

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have updated molecule CI testing accordingly
  • I have read the CONTRIBUTING document.
  • All new and existing tests passed (pre-commit, make linting and make sanity-lint).

@github-actions github-actions bot added role: eos_cli_config_gen issue related to eos_cli_config_gen role type: documentation Improvements or additions to documentation labels Nov 27, 2020
@titom73 titom73 changed the title Creating Jinja template and documentation Implement defaults for end hosts Nov 28, 2020
@titom73 titom73 self-requested a review November 28, 2020 08:19
@titom73 titom73 added this to the v1.1.2 milestone Nov 28, 2020
Copy link
Contributor

@titom73 titom73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update code to remove LACP fallback (#368) and Storm-control (#306)

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 %}
Copy link
Contributor

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 %}
Copy link
Contributor

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 %}
Copy link
Contributor

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 %}
Copy link
Contributor

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 %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already covered by #368

@github-actions github-actions bot added the state: conflict PR with conflict label Nov 29, 2020
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@carlbuchmann carlbuchmann modified the milestones: v1.1.2, v1.1.3 Dec 4, 2020
@github-actions github-actions bot removed the state: conflict PR with conflict label Dec 7, 2020
@github-actions
Copy link

github-actions bot commented Dec 7, 2020

Conflicts have been resolved. A maintainer will review the pull request shortly.

@xaviramon xaviramon marked this pull request as ready for review December 7, 2020 11:29
@titom73 titom73 marked this pull request as draft December 11, 2020 08:40
@titom73 titom73 marked this pull request as ready for review December 11, 2020 10:32
@titom73
Copy link
Contributor

titom73 commented Dec 11, 2020

PR to be updated with:

  • Edge STP modes
  • Storm control for port-channel (to be tested)

@carlbuchmann carlbuchmann modified the milestones: v1.1.3, v1.2.0 Dec 16, 2020
@titom73 titom73 marked this pull request as draft December 16, 2020 16:25
@github-actions github-actions bot added the state: conflict PR with conflict label Jan 6, 2021
@github-actions
Copy link

github-actions bot commented Jan 6, 2021

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@carlbuchmann
Copy link
Member

closing due to stale PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
role: eos_cli_config_gen issue related to eos_cli_config_gen role state: conflict PR with conflict type: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement defaults for end hosts / servers
3 participants