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 atomic acl updates on cisco ios #334

Open
MEschenbacher opened this issue Dec 15, 2022 · 0 comments
Open

Implement atomic acl updates on cisco ios #334

MEschenbacher opened this issue Dec 15, 2022 · 0 comments

Comments

@MEschenbacher
Copy link
Contributor

The cisco ios generator currently removes the acl and redeploys it. This action impacts traffic and potentially permanently disrupts administrative access to the device during the process (unless explicitly designed otherwise). There is no atomic configuration application mechanism as for other networking devices (e.g. Juniper's commit or Cumulus Linux's nv config apply).

I propose a change to the generator which should be enabled by a switch/option atomic and create atomic ACL list updates in cisco ios the following way:

  • deploy the new acls (temporarily) to ${acl}-new and ipv6-${acl}-new
  • change traffic-filter and access-group to the new (temporary) acl identifiers
  • deploy the new acls to ${acl} and ipv6-${acl}
  • change traffic-filter and access-group to the regular acl identifiers ${acl} and ipv6-${acl}
  • remove the new acls ${acl}-new and ipv6-${acl}-new
@MEschenbacher MEschenbacher changed the title Implement atomic acl application on cisco ios Implement atomic acl updates on cisco ios Dec 15, 2022
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