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

portchannel_convergence needs two puppet runs #84

Open
mmailand opened this issue Jul 16, 2016 · 0 comments
Open

portchannel_convergence needs two puppet runs #84

mmailand opened this issue Jul 16, 2016 · 0 comments

Comments

@mmailand
Copy link
Contributor

We need two puppet runs to get a convergence on the property lacp_mode for portchannels.

leaf01(config)#bash sudo /opt/puppetlabs/bin/puppet resource eos_portchannel Port-Channel1 description='leaf02 po1 trunk mlag' lacp_mode='active' members='Ethernet7'
Notice: /Eos_portchannel[Port-Channel1]/ensure: created
eos_portchannel { 'Port-Channel1':
ensure => 'present',
description => 'leaf02 po1 trunk mlag',
lacp_mode => 'active',
members => ['Ethernet7'],
}
show running-config section interface
....
interface Ethernet7
channel-group 1 mode on

leaf01(config)#bash sudo /opt/puppetlabs/bin/puppet resource eos_portchannel Port-Channel1 description='leaf02 po1 trunk mlag' lacp_mode='active' members='Ethernet7'
Notice: /Eos_portchannel[Port-Channel1]/lacp_mode: lacp_mode changed 'on' to 'active'
eos_portchannel { 'Port-Channel1':
ensure => 'present',
description => 'leaf02 po1 trunk mlag',
lacp_mode => 'active',
members => ['Ethernet7'],
}

show running-config section interface
...
interface Ethernet7
channel-group 1 mode active

Proposed fix from the PR:

leaf01(config)#bash sudo /opt/puppetlabs/bin/puppet resource eos_portchannel Port-Channel1 description='leaf02 po1 trunk mlag' lacp_mode='active' members='Ethernet7'
Notice: /Eos_portchannel[Port-Channel1]/ensure: created
eos_portchannel { 'Port-Channel1':
ensure => 'present',
description => 'leaf02 po1 trunk mlag',
lacp_mode => 'active',
members => ['Ethernet7'],
}

show running-config section interface
...
interface Ethernet7
channel-group 1 mode active

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant