Skip to content

Conversation

@ktbyers
Copy link
Contributor

@ktbyers ktbyers commented Nov 19, 2017

No description provided.

@ktbyers
Copy link
Contributor Author

ktbyers commented Nov 19, 2017

Reimplementation of napalm-automation/napalm-base#213

@ktbyers
Copy link
Contributor Author

ktbyers commented Nov 19, 2017

Originally created by @kderynski

@coveralls
Copy link

coveralls commented Nov 19, 2017

Coverage Status

Coverage decreased (-0.2%) to 77.641% when pulling 6ef1308 on commit_confirmed2 into d5768ad on develop.

@ktbyers ktbyers changed the title Add framework to support commit confirmed DON'T MERGE: Add framework to support commit confirmed Nov 19, 2017
@ktbyers
Copy link
Contributor Author

ktbyers commented Nov 19, 2017

I want to test this some more to make sure we have the right abstractions.

@coveralls
Copy link

coveralls commented Nov 20, 2017

Coverage Status

Coverage decreased (-0.2%) to 77.967% when pulling 935f359 on commit_confirmed2 into 6b6f128 on develop.

@ktbyers
Copy link
Contributor Author

ktbyers commented Nov 20, 2017

  timer  commit session with a timeout. If not committed within this time, config will be reverted.
  <cr>

Software image version: 4.18.3.1F-2GB

@ktbyers
Copy link
Contributor Author

ktbyers commented Nov 20, 2017

This includes a proof-of-concept on implementing in Cisco IOS.

Note, I need to fix one of the methods as the name is wrong. Also I am not sure I want the confirm_abort method or whether we should just rely on the standard rollback method.

def commit_config(self):
def commit_config(self, confirmed=None):
"""Implementation of NAPALM method commit_config."""
if confirmed is not None:
Copy link
Member

Choose a reason for hiding this comment

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

@ktbyers ktbyers closed this Nov 22, 2017
@mirceaulinic mirceaulinic deleted the commit_confirmed2 branch May 6, 2020 11:09
@mirceaulinic mirceaulinic restored the commit_confirmed2 branch May 6, 2020 11:09
@mirceaulinic mirceaulinic deleted the commit_confirmed2 branch May 4, 2021 15:15
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

Successfully merging this pull request may close these issues.

4 participants