Skip to content

[acl]: Revisit ACL test#753

Merged
stcheng merged 1 commit intosonic-net:masterfrom
stcheng:acltb-ervisit
Dec 15, 2018
Merged

[acl]: Revisit ACL test#753
stcheng merged 1 commit intosonic-net:masterfrom
stcheng:acltb-ervisit

Conversation

@stcheng
Copy link
Contributor

@stcheng stcheng commented Dec 7, 2018

  1. The current ACL loader will insert a default DROP rule that
    whatever doesn't match any rules will fall into this slot and
    get dropped. Thus the current DROP rules inserted during the
    test cannot be used to inspect if a rule is successfully
    inserted or not. Thus I modified the rule file to make it test
    if a packet is forwarded and received.

  2. A test #0 is added to make sure that if a packet doesn't fall into
    any slots it will be dropped by default.

  3. Remove the current EtherType match rule since whatever ethertypes
    that are not IP or IPv6 would be dropped. A TODO task is to add
    rules that matches IPv4/IPv6 separately and determine if the field
    works or not.

Signed-off-by: Shuotian Cheng stcheng_89@hotmail.com

1. The current ACL loader will insert a default DROP rule that
   whatever doesn't match any rules will fall into this slot and
   get dropped. Thus the current DROP rules inserted during the
   test cannot be used to inspect if a rule is successfully
   inserted or not. Thus I modified the rule file to make it test
   if a packet is forwarded and received.

2. A test #0 is added to make sure that if a packet doesn't fall into
   any slots it will be dropped by default.

3. Remove the current EtherType match rule since whatever ethertypes
   that are not IP or IPv6 would be dropped. A TODO task is to add
   rules that matches IPv4/IPv6 separately and determine if the field
   works or not.

Signed-off-by: Shuotian Cheng <stcheng_89@hotmail.com>
@stcheng
Copy link
Contributor Author

stcheng commented Dec 15, 2018

thanks @andriymoroz-mlnx !

@stcheng stcheng merged commit c6f65aa into sonic-net:master Dec 15, 2018
@stcheng stcheng deleted the acltb-ervisit branch December 15, 2018 04:36
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
To include following changes:

- [teammgrd]: Add retry logic for starting port channel with teamd (sonic-net#756)
- [portsorch] fix bug in initializePort (sonic-net#753)
- [intfmgrd] Fix intfmgrd hanging untill first interface becomes ready (sonic-net#748)
- [intfmgrd]: Support loopback (sonic-net#742)
-Improve comments for neighbor warmrestart related functions and warmRestartAssist class (sonic-net#740)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…D automatically (#25593)

#### Why I did it
src/sonic-platform-daemons
```
* aa50994 - (HEAD -> 202511, origin/202511) PSUD: Handle Redis BUSY errors gracefully (sonic-net#761) (2 hours ago) [mssonicbld]
* dfe00a2 - Read SFP temperature from TRANSCEIVER_DOM_TEMPERATURE table (sonic-net#760) (6 hours ago) [Vasundhara Volam]
* fe5ec7d - Set initial state before config manager task is up (sonic-net#752) (sonic-net#755) (5 days ago) [Gagan Punathil Ellath]
* 0a250b6 - psud: Handle all exceptions in try_get() to prevent crashes (sonic-net#754) (5 days ago) [mssonicbld]
* e23750e - [xcvrd] Separate VDM basic and statistic observables (sonic-net#753) (6 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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.

2 participants