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

[acl-loader] Add acl-loader utility. #109

Merged
merged 1 commit into from
Oct 24, 2017

Conversation

oleksandrivantsiv
Copy link
Collaborator

  • Add acl-loader implementation based on translate-acl utility.
  • Add shortcuts to show command.
  • Add shortcuts to config command.

@click.argument('table_name', type=click.STRING, required=False)
@click.argument('rule_id', type=click.STRING, required=False)
@click.pass_context
def rule(ctx, table_name, rule_id):
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add an option to specify max_priority explicitly instead of using default value?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Do you want to make it mandatory? Or we still should use a default value if priority is not provided by user?

Copy link
Contributor

Choose a reason for hiding this comment

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

It should be optional and we should fall back to default value if not specified by user.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@stcheng
Copy link
Contributor

stcheng commented Oct 12, 2017

resolve the conflicts

@oleksandrivantsiv
Copy link
Collaborator Author

@stcheng conflict resolved

- Add acl-loader implementation based on translate-acl utility.
- Add shortcuts to show command.
- Add shortcuts to config command.
@stcheng stcheng merged commit 4804711 into sonic-net:master Oct 24, 2017
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
e030133 [thermalctld] Print exception using repr(e) to get more information (sonic-net#103) (sonic-net#109)
mihirpat1 pushed a commit to mihirpat1/sonic-utilities that referenced this pull request Sep 15, 2023
Currently, we are building both Python 2 and Python 3 versions of sonic-platform-common. However, we are currently not creating a Python 3 version of sonic-config-engine, so the build breaks. As I intend to remove this dependency in the near future anyway, I am removing it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants