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

Add parameter "-S/--services" for ACL CLI to create service ACL table. #1387

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

fredyu190011
Copy link

@fredyu190011 fredyu190011 commented Jan 28, 2021

- What I did
Add parameter "-S/--services" in ACL CLI.

Syntax for ACL

  • config acl add table <table_name> <table_type> [(-d | --description) ] [(-p | --ports) ] [(-s | --stage) (ingress | egress)] [(-S | --services) <services_string>]

- How I did it
User cannot create CTRLPLANE ACL table which with "services" information.
Creating CTRLACL table without services information through CLI will cause dut crash.

- How to verify it
User can create CTRLPLANE ACL table that has dut work normally through CLI.

- Previous command output (if the output of a command-line utility has changed)

- New command output (if the output of a command-line utility has changed)

- Details if related
Signed-off-by: Fred Yu fred_yu@edge-core.com

 - What I did
 Add parameter "-v/--services" in ACL CLI.

 Syntax for ACL
 * config acl add table <table_name> <table_type> [(-d | --description) <description>] [(-p | --ports) <interfaces>] [(-s | --stage) (ingress | egress)] [(-v | --services) <services_string>]

 - Why I did it
 User cannot create CTRLPLANE ACL table which with "services" information.
 Creating CTRLACL table without services information through CLI will cause dut crash.

 - How I verified it
 User can create CTRLPLANE ACL table that has dut work normally through CLI.

 - Details if related
 Signed-off-by: Fred Yu fred_yu@edge-core.com
@lgtm-com
Copy link

lgtm-com bot commented Feb 2, 2021

This pull request introduces 1 alert when merging 759002e into 28d358f - view on LGTM.com

new alerts:

  • 1 for Testing equality to None

@fredyu190011 fredyu190011 changed the title Add parameter "-v/--services" for ACL CLI to create service ACL table. Add parameter "-S/--services" for ACL CLI to create service ACL table. Feb 2, 2021
@fredyu190011
Copy link
Author

I have already fixed the conflict, please review it.

@lgtm-com
Copy link

lgtm-com bot commented Apr 29, 2021

This pull request introduces 1 alert when merging 52d7013 into 08337aa - view on LGTM.com

new alerts:

  • 1 for Testing equality to None

@lgtm-com
Copy link

lgtm-com bot commented Apr 30, 2021

This pull request introduces 1 alert when merging c2771cc into 08337aa - view on LGTM.com

new alerts:

  • 1 for Testing equality to None

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.

1 participant