Skip to content

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

Merged
stcheng merged 1 commit intosonic-net:masterfrom
oleksandrivantsiv:acl-loader
Oct 24, 2017
Merged

[acl-loader] Add acl-loader utility.#109
stcheng merged 1 commit intosonic-net:masterfrom
oleksandrivantsiv:acl-loader

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 (#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.
cyw233 pushed a commit to cyw233/sonic-utilities that referenced this pull request Mar 2, 2026
[code sync] Merge code from sonic-net/sonic-utilities:202405 to 202405
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